:root {
    --french-blue: #0055A4;
    --french-white: #FFFFFF;
    --french-red: #EF4135;
    --dark-blue: #003d7a;
    --light-blue: #e6f0ff;
    --accent-gold: #D4AF37;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fc;
    --shadow: 0 4px 20px rgba(0, 85, 164, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 85, 164, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--french-white) 50%, #fff5f5 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--french-blue);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--french-blue);
    margin-bottom: 1rem;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, var(--french-blue) 0%, var(--dark-blue) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--french-white);
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--french-white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--french-white);
    text-decoration: none;
    padding: 1rem 1.25rem;
    display: block;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
}

/* Dropdown */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow {
    font-size: 0.75rem;
    transition: var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--french-white);
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--french-blue);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--french-blue) 0%, var(--dark-blue) 100%);
    color: var(--french-white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(239,65,53,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--french-white);
    animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--french-blue), var(--french-red));
    border-radius: 2px;
}

/* Calculator */
.calculator-wrapper {
    background: var(--french-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-bottom: 4rem;
    border-top: 4px solid var(--french-blue);
    animation: fadeInUp 0.8s ease-out;
}

.mode-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.mode-btn {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-blue);
    background: var(--french-white);
    color: var(--french-blue);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mode-btn.active {
    background: linear-gradient(135deg, var(--french-blue), var(--dark-blue));
    color: var(--french-white);
    border-color: var(--french-blue);
}

.mode-icon {
    font-size: 1.25rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
    background: var(--french-white);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--french-blue);
    box-shadow: 0 0 0 4px rgba(0, 85, 164, 0.1);
}

.currency-symbol {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-weight: 600;
}

.calculate-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--french-red), #d63027);
    color: var(--french-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(239, 65, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 65, 53, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.5rem;
}

/* Results */
.results {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-blue), rgba(239, 65, 53, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--french-blue);
    animation: fadeIn 0.5s ease-out;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 85, 164, 0.1);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: var(--text-dark);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--french-blue);
}

.result-value.highlight {
    color: var(--french-red);
    font-size: 1.75rem;
}

/* Quick Links */
.quick-links {
    margin: 4rem 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: var(--french-white);
    padding: 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--french-blue);
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quick-link-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    margin-bottom: 0.75rem;
    color: var(--french-blue);
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Features */
.features {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--french-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--french-blue);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--french-blue), var(--dark-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--french-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* How to Use */
.how-to-use {
    margin: 4rem 0;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--french-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--french-blue), var(--dark-blue));
    color: var(--french-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.step-content h3 {
    color: var(--french-blue);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* SEO Content */
.seo-content {
    background: var(--french-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 4rem 0;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h3 {
    color: var(--french-blue);
    margin-bottom: 1rem;
}

.content-block p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-block ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.content-block li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.content-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--french-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--french-blue), var(--dark-blue));
    color: var(--french-white);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
    box-shadow: var(--shadow-hover);
}

.cta-section h2 {
    color: var(--french-white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--french-white);
    color: var(--french-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--french-white);
    border: 2px solid var(--french-white);
}

.btn-secondary:hover {
    background: var(--french-white);
    color: var(--french-blue);
}

/* Footer */
.main-footer {
    background: var(--dark-blue);
    color: rgba(255,255,255,0.8);
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--french-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--french-white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, var(--french-blue) 0%, var(--dark-blue) 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        transition: var(--transition);
        box-shadow: var(--shadow-hover);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        margin: 0;
        display: none;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu a {
        color: rgba(255,255,255,0.9);
        padding: 0.75rem 3rem;
    }
    
    .calculator-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .mode-selector {
        flex-direction: column;
    }
    
    .mode-btn {
        min-width: 100%;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .seo-content {
        padding: 2rem 1.5rem;
    }
}/* FAQ Section Improvements */
.faq-section {
    background: var(--french-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--french-blue);
    box-shadow: var(--shadow);
}

.faq-question {
    background: var(--french-white);
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--french-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    gap: 1rem;
}

.faq-question:hover {
    background: var(--light-blue);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--french-blue), var(--dark-blue));
    color: var(--french-white);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 85, 164, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(255, 255, 255, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.faq-answer a {
    color: var(--french-blue);
    text-decoration: underline;
    font-weight: 600;
}

.faq-answer a:hover {
    color: var(--french-red);
}
