/* ============================================
   EduCheck - MAIN STYLES
   Design: Premium, Modern, Immersive
   ============================================ */

/* ============================================
   1. CSS VARIABLES & COLOR SYSTEM
   ============================================ */

:root {
    /* Primary Colors - premium sky blue */
    --primary-50: #f4fbff;
    --primary-100: #e8f6ff;
    --primary-200: #cff0ff;
    --primary-300: #9edcff;
    --primary-400: #63c2f7;
    --primary-500: #34aeea;
    --primary-600: #188fca;
    --primary-700: #0f6f9e;
    --primary-800: #0a5277;
    --primary-900: #07374d;

    /* Semantic Colors */
    --success: #3fbf9a;
    --warning: #f2b94d;
    --error: #ef6b6b;
    --info: #5c91ff;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fbff;
    --gray-100: #eef5fb;
    --gray-200: #dfeaf4;
    --gray-300: #c9dce9;
    --gray-400: #9eb0c1;
    --gray-500: #70839a;
    --gray-600: #516277;
    --gray-700: #324255;
    --gray-800: #1f2d3a;
    --gray-900: #14212f;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    --gradient-primary-light: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    --gradient-accent: linear-gradient(135deg, #4cc9f0 0%, var(--primary-600) 100%);
    --gradient-warm: linear-gradient(135deg, #7dd3fc 0%, #3fbf9a 100%);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f8fc 100%);
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top left, rgba(24, 143, 202, 0.08), transparent 28%);
    z-index: -1;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-700);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

/* ============================================
   3. CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: clamp(4.5rem, 8vw, 6.5rem) 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.6s ease-out;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
    line-height: 1.2;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(24, 143, 202, 0.12);
    transition: all var(--transition-base);
}

.navbar {
    padding: var(--spacing-lg) 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.logo-text {
    background: var(--primary-600);
    color: var(--primary-50);
    border-radius: var(--radius-sm);
    padding: 0.15rem 0.5rem;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    transition: color var(--transition-base), transform var(--transition-base);
    padding: 0.35rem 0.2rem;
}

.nav-link.is-active,
.nav-link:hover {
    color: var(--primary-700);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link.is-active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
}

.hamburger:hover {
    background: var(--gray-100);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    transition: all var(--transition-base);
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-100);
    padding: var(--spacing-xl);
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: var(--spacing-md) 0;
    color: var(--gray-700);
    font-weight: 500;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* ============================================
   5. BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-900);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-600);
    background: var(--primary-50);
    color: var(--primary-600);
}

.btn-sm {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   6. HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(110deg, rgba(3, 105, 161, 0.8) 0%, rgba(2, 132, 199, 0.5) 42%, rgba(15, 23, 42, 0.72) 100%), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(3, 105, 161, 0.05) 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.1;
    filter: blur(40px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-600);
    top: -200px;
    right: -100px;
    animation: float1 6s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-500);
    bottom: -150px;
    left: -50px;
    animation: float2 8s ease-in-out infinite;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-400);
    top: 50%;
    right: 5%;
    animation: float3 7s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 760px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-xl);
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(8px);
}

.hero-media {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(20, 33, 47, 0.18);
    border: 1px solid rgba(24, 143, 202, 0.14);
    background: white;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.hero-visual-card {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(10px);
    padding: 1rem 1.1rem;
    border-radius: 16px;
    max-width: 240px;
    box-shadow: 0 15px 35px rgba(20,33,47,0.12);
}

.hero-visual-pill {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    margin-bottom: 0.5rem;
    border-radius: 999px;
    background: rgba(24, 143, 202, 0.14);
    color: var(--primary-700);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-visual-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

.badge-icon {
    font-size: 1.2rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: white;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.22);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.avatars {
    display: flex;
    margin-left: calc(var(--spacing-md) * -1);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    border: 3px solid white;
    margin-left: calc(var(--spacing-md) * -1);
    background: var(--gradient-primary);
}

.av-2 {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.av-3 {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.av-4 {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    font-size: 0.75rem;
}

.social-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.rating {
    font-weight: 700;
    color: var(--gray-200);
}

.reviews {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    fill: white;
}

/* ============================================
   7. FEATURES SECTION
   ============================================ */

.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.feature-card {
    padding: var(--spacing-2xl);
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(24, 143, 202, 0.12);
    transition: all var(--transition-base);
    box-shadow: 0 10px 25px rgba(20,33,47,0.04);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-300);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.15);
    background: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(3, 105, 161, 0.05) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    margin-bottom: var(--spacing-lg);
    transition: transform var(--transition-base);
}

.feature-icon i,
.support-toggle i,
.badge-icon i,
.mobile-bottom-nav a i,
.dashboard-features li i,
.social-links i {
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
}

.feature-icon i {
    font-size: 1.4rem;
}

.support-toggle i {
    font-size: 1.3rem;
}

.dashboard-features li {
    display: flex;
    align-items: center;
}

.dashboard-features li i {
    min-width: 1.1rem;
    margin-right: 0.7rem;
    color: var(--primary-600);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.contact-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, #f8fbff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(300px, 0.95fr);
    gap: 2rem;
    align-items: stretch;
}

.contact-panel {
    display: flex;
    align-items: stretch;
}

.contact-card {
    width: 100%;
    background: white;
    border-radius: 1.5rem;
    border: 1px solid rgba(24, 143, 202, 0.12);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.09);
    padding: 2rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eyebrow {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(52, 174, 234, 0.12);
    color: var(--primary-700);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card h3 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.contact-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    border-radius: 1.25rem;
    background: var(--primary-50);
    border: 1px solid rgba(24, 143, 202, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(52, 174, 234, 0.14), rgba(15, 23, 42, 0.06));
    color: var(--primary-700);
    font-size: 1.1rem;
}

.contact-feature h4 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    color: var(--gray-900);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.contact-form-header {
    margin-bottom: 1rem;
}

.contact-form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.45rem;
}

.contact-form-header p {
    color: var(--gray-600);
}

.contact-form .field textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .btn-full {
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Curve Separator */
.curve-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    fill: var(--primary-50);
}

/* ============================================
   8. DASHBOARDS SECTION
   ============================================ */

.dashboards-section {
    background: var(--primary-50);
}

.dashboards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
}

.dashboard-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out both;
}

.dashboard-card:nth-child(1) { animation-delay: 0.1s; }
.dashboard-card:nth-child(2) { animation-delay: 0.2s; }
.dashboard-card:nth-child(3) { animation-delay: 0.3s; }
.dashboard-card:nth-child(4) { animation-delay: 0.4s; }

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.admin-card::before {
    background: linear-gradient(90deg, #ec4899, #f43f5e);
}

.school-card::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.teacher-card::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.parent-card::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.dashboard-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.dashboard-badge {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
}

.dashboard-header h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.dashboard-header p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

.dashboard-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.dashboard-features li {
    padding: var(--spacing-sm) 0;
    color: var(--gray-700);
    font-weight: 500;
}

.btn-sm {
    margin-top: var(--spacing-md);
    width: 100%;
}

/* Diagonal Separator */
.diagonal-separator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    pointer-events: none;
}

/* ============================================
   9. TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: white;
}

.testimonial-carousel,
.video-carousel {
    position: relative;
    margin-bottom: 2.5rem;
}

.carousel-shell {
    overflow: hidden;
    border-radius: 24px;
    padding: 0.2rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 auto;
    padding: 0.15rem;
}

.carousel-slide > * {
    display: block;
    width: 100%;
    height: 100%;
}

.testimonial-slide,
.video-slide {
    display: block;
}

.testimonial-controls {
    position: absolute;
    top: 1rem;
    right: 0.5rem;
    display: flex;
    gap: .5rem;
    z-index: 2;
}

.video-controls {
    top: auto;
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
}

.slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(24, 143, 202, 0.14);
    box-shadow: 0 8px 20px rgba(20,33,47,0.08);
    color: var(--primary-700);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.slider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20,33,47,0.12);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: .55rem;
    margin-top: 1rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all var(--transition-base);
}

.slider-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--primary-600);
}

.testimonial-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    border: 1px solid rgba(24, 143, 202, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: all var(--transition-base);
    box-shadow: 0 10px 24px rgba(20,33,47,0.04);
    min-height: 250px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

.video-testimonials {
    margin-top: 2.4rem;
}

.video-testimonials-heading {
    margin-bottom: 1rem;
}

.video-testimonials-heading h3 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.video-testimonials-heading p {
    color: var(--gray-600);
}

.video-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(24, 143, 202, 0.12);
    box-shadow: 0 14px 30px rgba(20,33,47,0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(20,33,47,0.12);
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #14212f 0%, #0f6f9e 100%);
    position: relative;
}

.video-frame::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: white;
    font-size: 2rem;
    opacity: 0.9;
    pointer-events: none;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-content {
    padding: 1rem 1rem 1.2rem;
}

.video-card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--gray-900);
}

.video-card-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author div strong {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

.testimonial-author div span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author div strong {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

.testimonial-author div span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ============================================
   10. PRICING SECTION
   ============================================ */

.pricing-section {
    background: var(--primary-50);
}

.subscription-shell {
    max-width: 920px;
    margin: 0 auto;
}

.subscription-card {
    background: white;
    border-radius: 28px;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid rgba(24, 143, 202, 0.14);
    box-shadow: 0 20px 40px rgba(20,33,47,0.08);
}

.subscription-badge {
    display: inline-flex;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(24, 143, 202, 0.12);
    color: var(--primary-700);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.subscription-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.subscription-main h3 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.subscription-main p {
    color: var(--gray-600);
    max-width: 560px;
}

.subscription-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    white-space: nowrap;
}

.subscription-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: all var(--transition-base);
    position: relative;
    animation: fadeInUp 0.6s ease-out both;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-popular {
    border-color: var(--primary-600);
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.2);
    transform: scale(1.05);
}

.pricing-popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.pricing-desc {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.price-currency {
    font-size: 1.5rem;
    color: var(--gray-600);
}

.price-period {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-left: var(--spacing-xs);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--gray-700);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.pricing-features li:before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    margin-right: var(--spacing-md);
    font-size: 1.1rem;
}

.pricing-features li:has-text(✗)::before {
    content: '✗';
    color: var(--gray-400);
}

/* ============================================
   11. FAQ SECTION
   ============================================ */

.faq-section {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl);
    cursor: pointer;
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
    user-select: none;
    transition: background var(--transition-base);
}

.faq-item:hover .faq-question {
    background: var(--primary-50);
}

.faq-question svg {
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-question {
    background: var(--primary-600);
    color: white;
}

.faq-item[open] .faq-question svg {
    transform: rotate(180deg);
}

.faq-item[open] .faq-question svg {
    stroke: white;
}

.faq-answer {
    padding: var(--spacing-xl);
    color: var(--gray-700);
    line-height: 1.8;
    background: white;
    animation: slideDown 0.3s ease-out;
}

/* ============================================
   12. CTA FINAL SECTION
   ============================================ */

.cta-final {
    background: linear-gradient(135deg, #0f6f9e 0%, #0a5277 45%, #063b56 100%);
    color: white;
}

.cta-content {
    text-align: center;
    padding: clamp(2.2rem, 4vw, 3rem);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 100%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 30px 60px rgba(4, 24, 39, 0.2);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.cta-content::before,
.cta-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    filter: blur(4px);
}

.cta-content::before {
    width: 240px;
    height: 240px;
    top: -90px;
    right: -70px;
}

.cta-content::after {
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -40px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-final h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    margin-bottom: var(--spacing-md);
    color: white;
    position: relative;
    z-index: 1;
}

.cta-final p {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.2rem;
    margin-top: 1.25rem;
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.cta-final .btn {
    background: rgba(255, 255, 255, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all var(--transition-base);
}

.cta-final .btn-primary {
    background: white;
    color: var(--primary-700);
    border: 2px solid white;
}

.cta-final .btn:hover {
    transform: translateY(-2px);
}

/* ============================================
   13. MOBILE NAV & SUPPORT WIDGET
   ============================================ */

.mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: min(110vw, 460px);
    padding: 0.6rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 16px 35px rgba(20,33,47,0.16);
    backdrop-filter: blur(14px);
    border: 1px solid var(--primary-800);
    z-index: 1200;
}

.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.55rem 0.35rem;
    color: var(--gray-700);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a:focus-visible {
    color: var(--primary-700);
    background: var(--primary-50);
}

.support-widget {
    position: fixed;
    right: 1rem;
    bottom: 5.4rem;
    z-index: 1250;
}

.support-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 18px 34px rgba(2, 132, 199, 0.28);
    font-size: 1.4rem;
}

.support-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.8rem);
    width: min(88vw, 280px);
    padding: 1rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 20px 40px rgba(20,33,47,0.16);
    border: 1px solid rgba(24, 143, 202, 0.12);
    display: none;
    flex-direction: column;
    gap: 0.6rem;
}

.support-panel.active {
    display: flex;
}

.support-header {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--gray-900);
}

.support-subtitle {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.support-list li {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
}

.support-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    color: #0f172a;
    text-decoration: none;
}

.support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.08);
    font-size: 1rem;
}

.support-list strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 0.1rem;
}

.support-list strong:hover{
    color: var(--primary-600);
}

.support-list small {
    display: block;
    color: #5e6e85;
    line-height: 1.4;
}

.support-list a:hover {
    background: #f5f8ff;
    color: var(--gray-900);
}

/* ============================================
   14. FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--gray-800);
}

.footer-section h4 {
    margin-bottom: var(--spacing-lg);
    color: white;
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-md);
}

.footer-section a {
    color: var(--gray-300);
    transition: color var(--transition-base);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-lg);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    color: var(--gray-400);
}

.footer-bottom p {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   14. UTILITIES
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */

.bg-light {
    background: var(--primary-50);
}

.desktop-hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.mt-auto {
    margin-top: auto;
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--gray-700);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font: inherit;
    background: var(--gray-50);
    color: var(--gray-800);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    background: white;
    box-shadow: 0 0 0 4px rgba(24, 143, 202, 0.12);
}

/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .testimonial-slide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-slide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial-controls {
        position: static;
        justify-content: center;
        margin-bottom: 0.9rem;
    }

    .video-controls {
        position: static;
        justify-content: center;
        transform: none;
        margin-top: 0.9rem;
    }

    .cta-content {
        padding: 1.6rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: min(100%, 280px);
    }

    .hero-copy,
    .hero-social-proof,
    .hero-ctas {
        justify-content: center;
        text-align: center;
    }

    .hero-media {
        order: -1;
    }

    /* Header */
    .nav-links.desktop {
        display: none;
    }

    .hamburger.desktop {
        display: flex;
    }

    .desktop-hidden {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 85vh;
        padding: var(--spacing-2xl) 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    /* Sections */
    .section {
        padding: var(--spacing-2xl) 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Grid */
    .features-grid,
    .dashboards-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-popular {
        transform: scale(1);
    }

    .pricing-popular:hover {
        transform: translateY(-10px);
    }

    /* Mobile menu */
    .mobile-menu.desktop-hidden {
        display: none;
    }
}

@media (max-width: 640px) {
    .testimonial-slide {
        grid-template-columns: 1fr;
    }

    .video-slide {
        grid-template-columns: 1fr;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    main {
        padding-bottom: 6.5rem;
    }

    .support-widget {
        right: 0.8rem;
        bottom: 5.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-media img {
        min-height: 320px;
    }

    .testimonial-controls {
        position: static;
        justify-content: center;
        margin-bottom: 0.75rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .nav-actions {
        display: none;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
