/* Base Styles & Variables */
:root {
    --blue: #002654;         /* French blue */
    --red: #ED2939;          /* French red */
    --white: #FFFFFF;        /* White */
    --dark: #21283B;         /* Dark shade for text */
    --light: #F9F9F9;        /* Light background */
    --text: #333;            /* Main text color */
    --text-light: #666;      /* Secondary text color */
    --gradient-blue: linear-gradient(135deg, #002654, #001633);
    --gradient-red: linear-gradient(135deg, #ED2939, #C91C29);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8em;
    position: relative;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--red);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

.accent {
    color: var(--red);
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--red);
    transform: translateX(-50%);
}

.section-header p {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--blue);
}

.logo-svg {
    margin-right: 10px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 35px;
}

.desktop-nav ul li a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--blue);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 38, 84, 0.95);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.menu-close::before,
.menu-close::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    top: 50%;
    left: 0;
}

.menu-close::before {
    transform: rotate(45deg);
}

.menu-close::after {
    transform: rotate(-45deg);
}

.mobile-menu nav {
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--red);
}

.btn-mobile {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--red);
    color: var(--white) !important;
    border-radius: 50px;
    font-size: 1rem !important;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    overflow: hidden;
    background-color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.features-list li svg {
    margin-right: 10px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-svg {
    width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(237, 41, 57, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 41, 57, 0.4);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gradient-blue);
    color: var(--white);
    border-color: transparent;
}

/* Features Section */
.features {
    background-color: #f7f9fc;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23002654' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-red);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* How It Works */
.how-it-works {
    background-color: var(--white);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.steps::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--blue), var(--red));
    z-index: 1;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 38, 84, 0.3);
}

.step-number span {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-blue);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 38, 84, 0.3);
    margin-top: 20px;
}

.cta-banner h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-banner p {
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-banner .btn-primary {
    background: var(--gradient-red);
    border: 2px solid var(--white);
    padding: 15px 40px;
}

/* FAQ Section */
.faq {
    background-color: #f7f9fc;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(237, 41, 57, 0.03);
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.accordion-icon {
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    height: auto;
    padding: 5px 25px 25px;
}

/* Keywords */
.keywords {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.keywords-cloud span {
    padding: 8px 16px;
    background: rgba(0, 38, 84, 0.05);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

.keywords-cloud span:hover {
    background: rgba(237, 41, 57, 0.1);
    color: var(--red);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-logo .logo-svg {
    margin-right: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--red);
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--red);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .features-list {
        display: inline-block;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .steps::after {
        display: none;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-banner {
        padding: 40px 20px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
}

/* Menu Open State */
body.menu-open {
    overflow: hidden;
}
