/* ================================
   CSS Variables & Reset
   ================================ */
:root {
    --primary-blue: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --accent-blue: #60A5FA;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ================================
   Container & Layout
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

.section-dark .section-title,
.section-dark .feature-title {
    color: var(--bg-white);
}

.section-dark .section-subtitle,
.section-dark .feature-description {
    color: var(--text-light);
}

/* ================================
   Header
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: default;
    transition: color var(--transition-fast);
}

.nav-item:hover {
    color: var(--primary-blue);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 50%, #E0E7FF 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 64px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-number::after {
    content: '%';
    font-size: 32px;
}

.stat-item:nth-child(2) .stat-number::after {
    content: '+';
}

.stat-item:nth-child(3) .stat-number::after {
    content: '/7';
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* ================================
   Section Headers
   ================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   Services Section
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    margin-bottom: 24px;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================
   Features Section
   ================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.feature-item {
    text-align: center;
}

.feature-number {
    font-family: 'Poppins', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    line-height: 1.7;
}

/* ================================
   Process Section
   ================================ */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    text-align: center;
}

.step-icon {
    margin-bottom: 20px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ================================
   Trust Indicators Section
   ================================ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.trust-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    flex-shrink: 0;
}

.trust-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.trust-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================
   Testimonials Section
   ================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.author-title {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ================================
   Footer
   ================================ */
.footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 64px 0 32px;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 32px;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--bg-white);
}

.footer-description {
    color: var(--text-light);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 14px;
}

/* ================================
   Animations
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .process-arrow {
        display: none;
    }

    .process-steps {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 36px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-step {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .testimonial-card {
        padding: 24px;
    }

    .feature-number {
        font-size: 48px;
    }
}

/* ================================
   Utility Classes
   ================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
