@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Orange/Red Theme - Unique Professional Design */
    --primary-gradient: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    --secondary-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --accent-gradient: linear-gradient(135deg, #854d0e 0%, #a16207 100%);
    --success-gradient: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);

    --primary-orange: #ea580c;
    --primary-red: #dc2626;
    --secondary-orange: #f97316;
    --accent-amber: #f59e0b;
    --success-green: #16a34a;
    --text-dark: #292524;

    --text-primary: #292524;
    --text-secondary: #57534e;
    --text-muted: #78716c;
    --text-light: #a8a29e;

    --bg-primary: #ffffff;
    --bg-secondary: #fafaf9;
    --bg-tertiary: #f5f5f4;
    --bg-orange-light: #fff7ed;

    --border-color: #e7e5e4;
    --shadow-sm: 0 1px 2px rgba(234, 88, 12, 0.08);
    --shadow-md: 0 4px 12px rgba(234, 88, 12, 0.12);
    --shadow-lg: 0 8px 24px rgba(234, 88, 12, 0.16);
    --shadow-xl: 0 16px 40px rgba(234, 88, 12, 0.20);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    padding: 1rem 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-orange);
}

.logo svg {
    transition: transform var(--transition);
}

.logo:hover svg {
    transform: scale(1.05) rotate(-5deg);
}

/* Hero - Warm Orange Theme */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Calculator Section */
.calculator-section {
    padding: 60px 0;
}

.calculator-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* Vehicle Selector - Unique Card Design */
.vehicle-selector {
    margin-bottom: 40px;
}

.vehicle-selector h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.vehicle-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.vehicle-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    border: 3px solid var(--border-color);
    transition: all var(--transition);
}

.vehicle-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.vehicle-card.active {
    border-color: var(--primary-orange);
    background: var(--bg-orange-light);
    box-shadow: var(--shadow-lg);
}

.vehicle-icon {
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: color var(--transition);
}

.vehicle-card.active .vehicle-icon {
    color: var(--primary-orange);
}

.vehicle-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.vehicle-rate {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

.vehicle-card.active .vehicle-rate {
    color: var(--primary-orange);
}

/* Currency Selector */
.currency-selector {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
}

.currency-selector label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.currency-selector label svg {
    color: var(--primary-orange);
}

.currency-dropdown {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.currency-dropdown:hover {
    border-color: var(--primary-orange);
}

.currency-dropdown:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

.currency-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
    margin-bottom: 0;
}

/* Calculator Main */
.calc-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.calc-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.calc-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.input-row {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 14px 14px 46px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 500;
    padding-right: 70px;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

.input-with-icon .unit {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
}

.help-text {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

/* Extra Options */
.extra-options {
    margin-top: 24px;
}

.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-orange-light);
    padding: 16px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-orange);
    margin-bottom: 20px;
}

.info-banner svg {
    flex-shrink: 0;
    color: var(--primary-orange);
    margin-top: 2px;
}

.info-banner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    margin-bottom: 16px;
    cursor: pointer;
    transition: all var(--transition);
}

.checkbox-option:hover {
    border-color: var(--primary-orange);
    background: var(--bg-orange-light);
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-orange);
}

.checkbox-option label {
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.checkbox-title {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.checkbox-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    background: white;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

/* Results Section */
.results-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.results-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.result-primary {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.result-icon-large {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-content-main {
    flex: 1;
}

.result-label-main {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.result-value-main {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.result-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all var(--transition);
}

.result-box:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-sm);
}

.result-box.highlight {
    background: var(--bg-orange-light);
    border-color: var(--primary-orange);
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.result-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.result-subtext {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Tax Relief Box */
.tax-relief-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 2px solid #86efac;
}

.tax-relief-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tax-relief-header svg {
    color: var(--success-green);
}

.tax-relief-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.tax-relief-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.tax-relief-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(134, 239, 172, 0.5);
}

.tax-relief-item:last-child {
    border-bottom: none;
}

.tax-relief-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tax-relief-item strong {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.text-success {
    color: var(--success-green) !important;
}

.tax-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: white;
}

.info-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
}

/* Rates Table */
.rates-table {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
    border: 2px solid var(--border-color);
}

.rate-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.rate-row:last-child {
    border-bottom: none;
}

.rate-row.header {
    background: var(--primary-gradient);
    color: white;
}

.rate-row.header .rate-cell {
    font-weight: 700;
}

.rate-cell {
    padding: 18px 24px;
}

.rate-row:not(.header) {
    background: white;
}

.rate-row:not(.header):hover {
    background: var(--bg-orange-light);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.info-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px solid var(--border-color);
    transition: all var(--transition);
}

.info-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.info-card ul {
    list-style: none;
    margin-bottom: 16px;
}

.info-card ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 12px;
    background: var(--bg-orange-light);
    border-radius: var(--radius-sm);
}

.example-calc {
    background: var(--bg-primary);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.example-calc p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-orange);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-amber);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calc-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
    }

    .stat-divider {
        display: none;
    }

    .vehicle-cards {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .rate-row {
        grid-template-columns: 1fr;
    }

    .rate-cell {
        padding: 14px 18px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .calc-section,
    .results-section {
        padding: 24px;
    }

    .result-value-main {
        font-size: 2rem;
    }

    .result-primary {
        flex-direction: column;
        text-align: center;
    }
}