:root {
    --primary: #E6C229;
    --secondary: #0A2463;
    --accent: #E84855;
    --light-blue: #3E92CC;
    --light: #FFFAFF;
    --dark: #191923;
    --gray: #8B8C89;
    --light-gray: #D8D8D8;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
}

h1 {
    font-size: 5rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

h1:after {
    content: '';
    position: absolute;
    width: 30%;
    height: 0.5rem;
    background: var(--primary);
    left: 0;
    bottom: -1rem;
}

h2 {
    font-size: 3.8rem;
    color: var(--secondary);
}

h3 {
    font-size: 2.4rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1.6rem;
    font-weight: 300;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--light);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: rgba(255, 250, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary);
    font-weight: 700;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

.logo-icon {
    width: 4rem;
    height: 4rem;
}

.main-navigation {
    display: flex;
    align-items: center;
}

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

.menu a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.menu a:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background: var(--primary);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--secondary);
}

.menu a:hover:after {
    width: 100%;
}

.cta-button a {
    color: var(--dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
}

.hamburger, 
.hamburger:before, 
.hamburger:after {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: var(--secondary);
    transition: all 0.3s ease;
    position: absolute;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger:before {
    content: '';
    top: -0.8rem;
}

.hamburger:after {
    content: '';
    bottom: -0.8rem;
}

/* Hero Section */
.hero-section {
    padding: 15rem 0 8rem;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.03) 0%, rgba(230, 194, 41, 0.05) 100%);
    overflow: hidden;
    position: relative;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    width: 50%;
    position: relative;
    z-index: 2;
}

.hero-section p {
    font-size: 1.8rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 50rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    width: 45%;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features-section {
    padding: 10rem 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

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

.feature-card {
    background: white;
    border-radius: 0.8rem;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-bottom: 0.3rem solid transparent;
}

.feature-card:hover {
    transform: translateY(-1rem);
    border-bottom-color: var(--primary);
}

.feature-icon {
    margin-bottom: 2rem;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 36, 99, 0.1);
    border-radius: 1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 10rem 0;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.05) 0%, rgba(62, 146, 204, 0.05) 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
}

.step-card {
    background: white;
    border-radius: 0.8rem;
    padding: 3rem;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

/* FAQ Section */
.faq-section {
    padding: 10rem 0;
    background-color: var(--light);
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.8rem;
    padding: 2rem 3rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
}

.faq-question:after {
    content: '+';
    font-size: 2.4rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 50rem;
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--light-blue) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 70rem;
    margin: 0 auto 3rem;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    background-color: var(--secondary);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 991px) {
    html {
        font-size: 58%;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 5rem;
    }
    
    h1:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu {
        position: fixed;
        top: 7rem;
        right: -100%;
        width: 80%;
        max-width: 35rem;
        height: calc(100vh - 7rem);
        background-color: var(--light);
        flex-direction: column;
        padding: 5rem 3rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        align-items: flex-start;
    }
    
    .menu.active {
        right: 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
