/* Base styles and variables */
:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #DBEAFE;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --background: #FFFFFF;
    --background-alt: #F8FAFC;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --border-radius: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background);
}

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

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

.header-container,
.hero-container,
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--primary);
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin: 1.25rem 0;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: var(--background);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
}

.logo-icon {
    margin-right: 0.75rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 6rem 0 5rem;
    background-color: var(--background-alt);
    background-image: radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.1) 0%, rgba(219, 234, 254, 0.4) 80%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(219, 234, 254, 0.8);
    top: -150px;
    left: -150px;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(219, 234, 254, 0.6);
    bottom: -100px;
    right: -100px;
    z-index: 1;
}

.hero .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 540px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite alternate;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(37, 99, 235, 0.4);
}

.cta-button:hover:before {
    width: 100%;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: var(--background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* How it Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-top: 0;
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background-color: var(--background);
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.review {
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.review:hover {
    transform: translateY(-5px);
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    flex-grow: 1;
}

.reviewer {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.faq-item h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.faq-item p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-icon {
    margin-right: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: 2rem;
    }
    
    .hero::before, .hero::after {
        display: none;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefit-card,
    .review {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step:hover {
        transform: translateY(-10px);
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
}

/* Mobile menu (for JS implementation) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--background);
    z-index: 1000;
    padding: 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 4rem;
}

.mobile-menu ul li {
    margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    padding: 0.5rem 0;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.75rem;
    color: var(--primary);
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.backdrop.active {
    opacity: 1;
    visibility: visible;
}
