/* ===================================================
   RAIVENS EDTECH - Main Stylesheet
   Modern, Clean, Professional Design
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --orange: #f97316;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --white: #ffffff;
    --black: #000000;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
}

/* ---------- Utility Classes ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-label i {
    font-size: 12px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    max-width: 700px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

.text-center .section-title,
.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light { background: var(--gray-50); }
.bg-dark { background: var(--gray-900); color: var(--gray-300); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-50), #f0e7ff, #ecfdf5);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
}

.brand-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}

.nav-link i { font-size: 10px; margin-left: 4px; }

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #172554 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    overflow: hidden;
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.hero-image-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 2s;
}

.hero-float-card.card-3 {
    bottom: 5%;
    left: 10%;
    animation-delay: 4s;
}

.hero-float-card .card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-float-card .card-icon.blue { background: rgba(37, 99, 235, 0.3); }
.hero-float-card .card-icon.purple { background: rgba(124, 58, 237, 0.3); }
.hero-float-card .card-icon.green { background: rgba(16, 185, 129, 0.3); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- Features Strip ---------- */
.features-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 40px 0;
}

.features-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-strip-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-strip-icon.blue { background: var(--primary-50); color: var(--primary); }
.feature-strip-icon.purple { background: #f3e8ff; color: var(--secondary); }
.feature-strip-icon.cyan { background: #ecfeff; color: var(--accent); }
.feature-strip-icon.green { background: #ecfdf5; color: var(--success); }

.feature-strip-text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-strip-text p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ---------- Problem Section ---------- */
.problem-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.problem-card.problem-hw::before { background: linear-gradient(90deg, var(--danger), var(--orange)); }
.problem-card.problem-teacher::before { background: linear-gradient(90deg, var(--warning), var(--orange)); }

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.problem-card .problem-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.problem-card.problem-hw .problem-icon { background: #fef2f2; color: var(--danger); }
.problem-card.problem-teacher .problem-icon { background: #fffbeb; color: var(--warning); }

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.problem-list li i {
    color: var(--danger);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ---------- Solution Pillars ---------- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.pillar-card:nth-child(1):hover { box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); }
.pillar-card:nth-child(2):hover { box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15); }
.pillar-card:nth-child(3):hover { box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15); }

.pillar-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 24px;
}

.pillar-card:nth-child(1) .pillar-icon { background: var(--primary-50); color: var(--primary); }
.pillar-card:nth-child(2) .pillar-icon { background: #f3e8ff; color: var(--secondary); }
.pillar-card:nth-child(3) .pillar-icon { background: #ecfeff; color: var(--accent); }

.pillar-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.pillar-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.pillar-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.pillar-features li i {
    color: var(--success);
    font-size: 12px;
    flex-shrink: 0;
}

/* ---------- Products Preview ---------- */
.products-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.product-preview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.product-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-preview-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-preview-image i {
    font-size: 48px;
    opacity: 0.5;
}

.product-preview-card:nth-child(1) .product-preview-image { background: linear-gradient(135deg, #dbeafe, #eff6ff); color: var(--primary); }
.product-preview-card:nth-child(2) .product-preview-image { background: linear-gradient(135deg, #e9d5ff, #f3e8ff); color: var(--secondary); }
.product-preview-card:nth-child(3) .product-preview-image { background: linear-gradient(135deg, #cffafe, #ecfeff); color: var(--accent); }
.product-preview-card:nth-child(4) .product-preview-image { background: linear-gradient(135deg, #d1fae5, #ecfdf5); color: var(--success); }

.product-preview-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.product-preview-body {
    padding: 28px;
}

.product-preview-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-preview-body .product-grade {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-preview-body p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
}

.product-price span {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-400);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.product-link:hover { gap: 10px; }

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Comparison Table ---------- */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table thead {
    background: var(--gray-900);
    color: var(--white);
}

.comparison-table th {
    padding: 16px 20px;
    font-weight: 600;
    text-align: left;
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table tbody tr:hover {
    background: var(--primary-50);
}

.comparison-table .check { color: var(--success); font-weight: 700; }
.comparison-table .cross { color: var(--danger); }
.comparison-table .warn { color: var(--warning); }

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ---------- Page Header ---------- */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0f172a, #1e1b4b, #172554);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.page-header .breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.page-header .breadcrumb a:hover { color: var(--white); }

.page-header h1 {
    font-size: clamp(36px, 4vw, 52px);
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Product Cards (Full page) ---------- */
.product-section {
    padding: 80px 0;
}

.product-section:nth-child(even) {
    background: var(--gray-50);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-layout.reverse {
    direction: rtl;
}

.product-layout.reverse > * {
    direction: ltr;
}

.product-image-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-box i {
    font-size: 64px;
    opacity: 0.3;
}

.product-image-box.spark { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--primary); }
.product-image-box.vision { background: linear-gradient(135deg, #e9d5ff, #c4b5fd); color: var(--secondary); }
.product-image-box.aipro { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: var(--accent); }
.product-image-box.aibot { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: var(--success); }

.product-info .section-label { margin-bottom: 12px; }

.product-info h2 {
    font-size: 36px;
    margin-bottom: 8px;
}

.product-info .product-tagline {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.product-info .product-desc {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.product-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.product-highlight i {
    color: var(--success);
    font-size: 14px;
    flex-shrink: 0;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.product-price-box .price {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
}

.product-price-box .price-note {
    font-size: 13px;
    color: var(--gray-400);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.module-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.module-chip:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    color: var(--primary);
}

.module-chip i {
    color: var(--primary);
    font-size: 12px;
    flex-shrink: 0;
}

/* ---------- Courses Page ---------- */
.course-level-section {
    padding: 80px 0;
}

.course-level-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.course-level-badge {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.course-level-badge.spark { background: var(--primary-50); color: var(--primary); }
.course-level-badge.vision { background: #f3e8ff; color: var(--secondary); }
.course-level-badge.aipro { background: #ecfeff; color: var(--accent); }

.course-level-header h2 { font-size: 28px; margin-bottom: 4px; }
.course-level-header p { font-size: 15px; color: var(--gray-500); }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.course-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.course-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.spark .course-number { background: var(--primary-50); color: var(--primary); }
.vision .course-number { background: #f3e8ff; color: var(--secondary); }
.aipro .course-number { background: #ecfeff; color: var(--accent); }

.course-duration {
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.course-card .course-objective {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tag {
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--gray-500);
}

/* ---------- Platform Page ---------- */
.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.platform-feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.platform-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.platform-feature-card .pf-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.platform-feature-card:nth-child(1) .pf-icon { background: var(--primary-50); color: var(--primary); }
.platform-feature-card:nth-child(2) .pf-icon { background: #f3e8ff; color: var(--secondary); }
.platform-feature-card:nth-child(3) .pf-icon { background: #ecfeff; color: var(--accent); }
.platform-feature-card:nth-child(4) .pf-icon { background: #ecfdf5; color: var(--success); }
.platform-feature-card:nth-child(5) .pf-icon { background: #fffbeb; color: var(--warning); }
.platform-feature-card:nth-child(6) .pf-icon { background: #fef2f2; color: var(--danger); }

.platform-feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.platform-feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pf-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
}

.pf-list li i {
    color: var(--success);
    font-size: 11px;
    flex-shrink: 0;
}

/* ---------- Pricing Tiers ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-xl);
    transform: scale(1.03);
}

.pricing-card.featured .pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-card .pricing-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.pricing-card .pricing-price {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.pricing-card .pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-400);
}

.pricing-card .pricing-period {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i {
    color: var(--success);
    font-size: 12px;
    flex-shrink: 0;
}

/* ---------- About Page ---------- */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), #f3e8ff);
}

.about-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-box i {
    font-size: 64px;
    color: var(--primary);
    opacity: 0.3;
}

.about-text h2 { font-size: 36px; margin-bottom: 20px; }

.about-text p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.value-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-card .value-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.value-card:nth-child(1) .value-icon { background: var(--primary-50); color: var(--primary); }
.value-card:nth-child(2) .value-icon { background: #f3e8ff; color: var(--secondary); }
.value-card:nth-child(3) .value-icon { background: #ecfeff; color: var(--accent); }
.value-card:nth-child(4) .value-icon { background: #ecfdf5; color: var(--success); }
.value-card:nth-child(5) .value-icon { background: #fffbeb; color: var(--warning); }
.value-card:nth-child(6) .value-icon { background: #fef2f2; color: var(--orange); }

.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-info-card .ci-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: var(--primary-50);
    color: var(--primary);
}

.contact-info-card h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--gray-500); }
.contact-info-card a { color: var(--primary); font-weight: 500; }

.contact-form-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-form-box > p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 8px;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--warning);
    font-size: 14px;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-author-info h4 { font-size: 15px; }
.testimonial-author-info p { font-size: 13px; color: var(--gray-400); }

/* ---------- Differentiators ---------- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.diff-item {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.diff-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.diff-item .diff-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--primary-50);
    color: var(--primary);
}

.diff-item h4 { font-size: 16px; margin-bottom: 6px; }
.diff-item p { font-size: 13px; color: var(--gray-500); }

/* ---------- Timeline ---------- */
.timeline {
    margin-top: 48px;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h3 { font-size: 20px; margin-bottom: 4px; }
.timeline-item .timeline-date { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    position: relative;
}

.footer-wave {
    color: var(--gray-900);
    margin-bottom: -2px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .brand-name { color: var(--white); }

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links ul li a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-contact ul li i {
    color: var(--primary-light);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: var(--gray-400);
}

.footer-contact ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 1; }
    .hero-visual { order: 2; }
    .hero-description { margin: 0 auto 40px; }
    .hero-stats { justify-content: center; }
    .hero .btn-group { justify-content: center; }

    .features-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .product-layout { grid-template-columns: 1fr; gap: 40px; }
    .product-layout.reverse { direction: ltr; }
    .about-story { grid-template-columns: 1fr; gap: 40px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .problem-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: var(--shadow-2xl);
    }

    .nav-menu.open { right: 0; }

    .nav-link { width: 100%; padding: 12px 16px; }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
    }

    .hamburger { display: flex; }

    .nav-actions .btn { display: none; }

    .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
    .hero-float-card { display: none; }

    .features-strip-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .product-highlights { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; gap: 12px; text-align: center; }
    .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .hero h1 { font-size: 32px; }
    .diff-grid { grid-template-columns: 1fr; }
    .modules-grid { grid-template-columns: 1fr; }
}
