/* ========================================
   CSS Variables - Blue & Pink Gradient Theme
   ======================================== */
:root {
    /* Primary Colors - matching the heart icon */
    --color-blue: #5EA3EC;
    --color-blue-light: #87BBEF;
    --color-blue-dark: #4A8FD9;
    --color-pink: #F99FC9;
    --color-pink-light: #FBB8D9;
    --color-pink-dark: #F785B7;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5EA3EC 0%, #F99FC9 100%);
    --gradient-blue: linear-gradient(135deg, #4A8FD9 0%, #87BBEF 100%);
    --gradient-pink: linear-gradient(135deg, #F785B7 0%, #FBB8D9 100%);
    --gradient-soft: linear-gradient(135deg, rgba(94, 163, 236, 0.1) 0%, rgba(249, 159, 201, 0.1) 100%);
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--color-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Promotional Top Banner
   ======================================== */
.promo-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    z-index: 1001;
    overflow: hidden;
    height: 45px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.promo-ticker {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.promo-ticker-content {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.promo-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 60px;
    white-space: nowrap;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 500;
    line-height: 45px;
}

.promo-item i {
    font-size: 16px;
    color: var(--color-white);
}

.promo-item strong {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gray-900);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-blue);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.btn-download {
    background: var(--gradient-primary);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-gray-800);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 185px 0 80px;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=NQrbRjlokkC2HQO7DM4yyGgSAYzGu1pN4gKNIfT3I5orduD9TNgjwamxFNn8At1zPmCCdFkrAE7Jz%2BxYDrRXk3S9d%2FpMcI1uSSj6j7n0tXuVto0w8GB2yP8NBCvmXGX8MRjN0jhihFlNeUnM6F367usp%2BiWux2AqWKFhPeK8%2BCGva6%2BfvWexLWuh7wPs2A%2BBnJ5X%2FY8X5Yk%3D&u2=z2L7v7ZzNrghv7Dr&width=2560');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94, 163, 236, 0.05) 0%, rgba(249, 159, 201, 0.05) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.stat-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-blue);
}

.stat-item strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gray-900);
}

.stat-item span {
    display: block;
    font-size: 14px;
    color: var(--color-gray-500);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}



/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(94, 163, 236, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 163, 236, 0.4);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
}

.btn-secondary:hover {
    background: var(--color-blue);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-soft);
    color: var(--color-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 20px;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--color-gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    border: 2px solid var(--color-gray-100);
    transition: var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* ========================================
   Content Section
   ======================================== */
.content {
    background: var(--gradient-soft);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.content-category {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.category-image {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: var(--color-white);
}

.content-category h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 8px;
    text-align: center;
}

.category-count {
    display: block;
    text-align: center;
    color: var(--color-blue);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.content-category p {
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.6;
}

.category-list {
    list-style: none;
}

.category-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-700);
    margin-bottom: 12px;
    font-size: 15px;
}

.category-list i {
    color: var(--color-blue);
    font-size: 16px;
}

.category-image-visual {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    color: var(--color-white);
    position: relative;
}

.content-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--color-pink);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(249, 159, 201, 0.4);
}

.content-examples {
    margin-top: 80px;
    text-align: center;
}

.examples-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 40px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.example-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    cursor: pointer;
}

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

.example-card img {
    width: 100%;
    height: auto;
    display: block;
}

.example-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    color: var(--color-white);
}

.example-tag {
    display: inline-block;
    background: var(--gradient-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.example-overlay p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--color-white);
}

/* ========================================
   Content Showcase Section
   ======================================== */
.content-showcase {
    padding: var(--section-padding);
    background: var(--color-white);
    overflow: hidden;
    position: relative;
}

/* Section-wide background layer */
.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 40%, rgba(255,255,255,0.9) 100%);
}

/* Ensure content sits above background */
.content-showcase > .container {
    position: relative;
    z-index: 1;
}

.showcase-slider {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 70px;
}

.showcase-track {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.showcase-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.showcase-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Background media layer for each slide */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 60%, rgba(255,255,255,0.88) 100%);
}
.slide-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.slide-media {
    background: var(--color-gray-50);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.slide-media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.slide-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Support embedded documents/media */
.slide-media iframe,
.slide-media embed,
.slide-media object,
.slide-media .pdf-viewer {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
    border-radius: 20px;
    background: #fff;
}

/* PDF canvas styling */
.pdf-viewer {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pdf-viewer canvas {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

.flashcard-container {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--gradient-soft);
}

.flashcard {
    width: 100%;
    max-width: 400px;
    height: 400px;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
}
/* Ensure the flashcard badge doesn't inherit big flashcard box styles */
.slide-badge.flashcard, .slide-badge.is-flashcard {
    width: auto;
    height: auto;
    position: static;
    cursor: default;
    perspective: none;
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.flashcard-front {
    background: var(--color-white);
    transform: rotateY(0deg);
    z-index: 2;
}

.flashcard-front.flipped {
    transform: rotateY(180deg);
}

.flashcard-back {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: rotateY(-180deg);
}

.flashcard-back.flipped {
    transform: rotateY(0deg);
}

.flashcard-front h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 20px;
    text-align: center;
}

.flashcard-front p {
    font-size: 20px;
    color: var(--color-gray-600);
    text-align: center;
    margin-bottom: 30px;
}

.tap-hint {
    font-size: 14px;
    color: var(--color-blue);
    font-weight: 600;
    padding: 8px 20px;
    background: rgba(94, 163, 236, 0.1);
    border-radius: 20px;
}

.flashcard-back h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.flashcard-back ul {
    list-style: none;
    text-align: left;
    width: 100%;
}

.flashcard-back li {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.slide-info {
    padding: 20px 0;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Make showcase badges smaller so they don't overpower headers */
.content-showcase .slide-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    margin-bottom: 12px;
}

.slide-badge.video {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--color-white);
}

.slide-badge.is-flashcard {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: var(--color-white);
}

.slide-badge.infographic {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--color-white);
}

.slide-badge.comic {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: var(--color-white);
}

.slide-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}

.slide-info p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

.slide-features {
    list-style: none;
}

.slide-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--color-gray-700);
    margin-bottom: 12px;
}

.slide-features li i {
    color: var(--color-blue);
    font-size: 14px;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.flashcard-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flashcard-content i {
    font-size: 48px;
    color: var(--color-pink);
    margin-bottom: 20px;
}

.flashcard-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
    text-align: center;
}

.flashcard-text {
    font-size: 16px;
    color: var(--color-gray-600);
    text-align: center;
}

.flashcard-back-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
}

.showcase-slider {
    position: relative;
}

.showcase-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.showcase-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-blue);
    background: var(--color-white);
    color: var(--color-blue);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    pointer-events: all;
}

.showcase-btn:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: scale(1.1);
}

.showcase-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    width: 40px;
    border-radius: 10px;
    background: var(--gradient-primary);
}

.showcase-labels {
    text-align: center;
    margin-top: 20px;
}

.current-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-blue);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(94, 163, 236, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 159, 201, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonial-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-white);
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-white);
}

.stat-content h3 {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-content p {
    color: var(--color-gray-600);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-blue-light);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, rgba(94, 163, 236, 0.05) 0%, rgba(249, 159, 201, 0.05) 100%);
    border: 2px solid var(--color-blue);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(94, 163, 236, 0.3);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    font-size: 40px;
    color: var(--color-blue-light);
    opacity: 0.3;
}

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

.testimonial-rating i {
    color: #FDB022;
    font-size: 18px;
}

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

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

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(94, 163, 236, 0.2);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--color-gray-600);
}

.verified-badge {
    color: var(--color-blue);
    font-size: 20px;
}

.verified-badge i {
    filter: drop-shadow(0 2px 4px rgba(94, 163, 236, 0.3));
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: var(--color-gray-50);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 32px;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}

.cta p {
    font-size: 20px;
    color: var(--color-gray-600);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cta-note {
    color: var(--color-gray-500);
    font-size: 14px;
}

.cta-note i {
    color: var(--color-blue);
    margin-right: 8px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-300);
    padding: 32px 0 16px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-section p {
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-section h4 {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--color-blue);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid var(--color-gray-800);
    color: var(--color-gray-500);
}

/* ========================================
   Blog Page Styles
   ======================================== */
.blog-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--gradient-soft);
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}

.blog-hero p {
    font-size: 20px;
    color: var(--color-gray-600);
    margin-bottom: 40px;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    background: var(--color-white);
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.blog-search input {
    flex: 1;
    border: none;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 16px;
    border-radius: 50px;
    outline: none;
}

.blog-search button {
    background: var(--gradient-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.blog-search button:hover {
    transform: scale(1.05);
}

.blog-categories {
    padding: 40px 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
}

.categories-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 24px;
    background: var(--color-gray-100);
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: var(--transition-fast);
}

.category-tab:hover,
.category-tab.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.featured-post {
    padding: 60px 0;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--gradient-soft);
    padding: 60px;
    border-radius: 24px;
}

.featured-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.featured-icon {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--color-white);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.post-category {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.post-date {
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-content h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-content p {
    color: var(--color-gray-600);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.blog-grid-section {
    padding: 60px 0 100px;
}

/* Single blog post */
.blog-post {
    padding: 185px 0 80px;
    background: var(--gradient-soft);
}
.post-header {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
    background: var(--color-white);
    padding: 28px 24px;
    border-radius: 20px;
    border: 2px solid var(--color-gray-100);
    box-shadow: var(--shadow-md);
}
.post-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.post-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--color-gray-900);
    margin: 16px 0 8px;
    line-height: 1.2;
}
.post-subtitle {
    color: var(--color-gray-600);
    font-size: 18px;
    margin-bottom: 12px;
}
.post-meta {
    color: var(--color-gray-500);
    font-weight: 600;
    font-size: 13px;
}
.post-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 24px;
    border: 2px solid var(--color-gray-100);
    box-shadow: var(--shadow-lg);
    padding: 24px 28px;
}
.post-content {
    max-width: 100%;
    margin: 0 auto;
}
.post-content p {
    font-size: 18px;
    line-height: 1.85;
    color: var(--color-gray-700);
    margin: 16px 0;
}
.post-content p:first-of-type::first-letter {
    float: left;
    font-size: 3.2em;
    line-height: 0.9;
    padding-right: 10px;
    padding-top: 6px;
    font-weight: 800;
    color: var(--color-blue);
}
.post-content h3 {
    font-size: 26px;
    margin: 28px 0 12px;
    color: var(--color-gray-900);
    position: relative;
}
.post-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 80px;
    height: 4px;
    border-radius: 4px;
    background: var(--gradient-primary);
}
.post-content h4 {
    font-size: 20px;
    margin: 22px 0 8px;
    color: var(--color-gray-900);
}
.post-content ul {
    margin: 12px 0 20px 18px;
}
.post-content li {
    margin: 8px 0;
}
.post-content hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid var(--color-gray-200);
}
.post-more {
    text-align: center;
    color: var(--color-gray-500);
    font-weight: 600;
}
.post-callout {
    margin: 18px 0 22px;
    padding: 16px 18px;
    border-left: 4px solid var(--color-pink);
    background: rgba(249, 159, 201, 0.12);
    border-radius: 12px;
    color: var(--color-gray-800);
    font-weight: 600;
}
.post-callout i { color: var(--color-pink); margin-right: 8px; }
.post-share { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; }
.post-share .share-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-md); }
.post-share span { color: var(--color-gray-600); font-weight: 700; margin-right: 4px; }
@media (max-width: 640px) {
    .post-title { font-size: 28px; }
    .post-content p { font-size: 16px; }
    .post-card { padding: 18px 16px; }
}

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.blog-card-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-icon {
    font-size: 64px;
    color: var(--color-white);
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card-content {
    padding: 30px;
}

.blog-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-content p {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--color-gray-500);
}

.blog-card-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more {
    color: var(--color-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.blog-read-more:hover {
    gap: 12px;
}

.load-more-wrapper {
    text-align: center;
}

.btn-load-more {
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    border: 2px solid var(--color-gray-200);
}

.btn-load-more:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
}

.newsletter-cta {
    padding: 80px 0;
    background: var(--gradient-soft);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content i {
    font-size: 64px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 18px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

.newsletter-form-large {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid var(--color-gray-200);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 16px;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form-large input:focus {
    border-color: var(--color-blue);
}

.newsletter-note {
    color: var(--color-gray-500);
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .hero-grid,
    .featured-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 125px;
        flex-direction: column;
        background: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form-large {
        flex-direction: column;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    /* Content Showcase Responsive */
    .showcase-track {
        height: 500px;
    }
    
    .slide-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .showcase-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Testimonials Responsive */
    .testimonial-stats {
        gap: 24px;
    }
    
    .stat-box {
        padding: 20px 24px;
        gap: 16px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-content h3 {
        font-size: 28px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .promo-item {
        font-size: 14px;
        padding: 0 40px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title,
    .blog-hero h1 {
        font-size: 32px;
    }
    
    .promo-top-banner {
        height: 40px;
    }
    
    .navbar {
        top: 40px;
    }
    
    .hero {
        padding: 165px 0 60px;
    }
    
    .promo-item {
        font-size: 13px;
        padding: 0 30px;
        gap: 10px;
        line-height: 40px;
    }
    
    .promo-item i {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    /* Testimonials Mobile */
    .testimonial-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-box {
        width: 100%;
        justify-content: center;
    }
    
    .testimonial-card {
        padding: 30px 24px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .featured-badge {
        font-size: 11px;
        padding: 6px 16px;
        top: -10px;
        right: 20px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .featured-card {
        padding: 30px;
    }
    
    .examples-title {
        font-size: 28px;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .example-card {
        max-width: 100%;
    }
    
    /* Content Showcase Mobile */
    .showcase-track {
        height: 400px;
    }
    
    .flashcard {
        width: 280px;
        height: 180px;
    }
    
    .flashcard-content {
        padding: 20px;
    }
    
    .flashcard-title {
        font-size: 14px;
    }
    
    .flashcard-text {
        font-size: 11px;
    }
    
    .flashcard-back-text {
        font-size: 13px;
    }
    
    .showcase-navigation {
        gap: 15px;
    }
    
    .showcase-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .current-label {
        font-size: 16px;
    }
}

/* ========================================
   Legal Pages Styles
   ======================================== */
.legal-content {
    padding: 185px 0 80px;
    background: var(--color-white);
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}

.legal-updated {
    font-size: 16px;
    color: var(--color-gray-600);
    font-weight: 600;
}

.legal-body {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    background: var(--gradient-soft);
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 40px;
    border-left: 4px solid var(--color-blue);
}

.legal-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 12px;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gradient-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 24px 0 16px 0;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.legal-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.legal-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-weight: 700;
    font-size: 18px;
}

.legal-section ul li strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

.legal-section ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.legal-section ul ul li {
    font-size: 15px;
    padding-left: 28px;
}

.legal-section ul ul li::before {
    content: '•';
    font-size: 16px;
}

.legal-section a {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.legal-section a:hover {
    text-decoration: underline;
    color: var(--color-blue-dark);
}

.contact-info {
    background: var(--color-gray-50);
    padding: 24px;
    border-radius: 16px;
    margin-top: 16px;
    border-left: 4px solid var(--color-blue);
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.legal-footer {
    background: var(--gradient-soft);
    padding: 32px;
    border-radius: 20px;
    margin-top: 48px;
    text-align: center;
    border: 2px solid var(--color-blue-light);
}

.legal-footer p {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 0;
}

/* Legal Pages Responsive */
@media (max-width: 968px) {
    .legal-header h1 {
        font-size: 36px;
    }
    
    .legal-section h2 {
        font-size: 26px;
    }
    
    .legal-section h3 {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .legal-content {
        padding: 165px 0 60px;
    }
    
    .legal-header h1 {
        font-size: 28px;
    }
    
    .legal-section h2 {
        font-size: 22px;
    }
    
    .legal-section h3 {
        font-size: 18px;
    }
    
    .legal-intro,
    .legal-footer {
        padding: 24px 20px;
    }
    
    .legal-section ul li {
        padding-left: 28px;
    }
}