/* ================================================
   EDUNOVA Showcase - Premium Design System
   ================================================ */

/* ========== CSS VARIABLES ========== */
:root {
    /* Primary Colors */
    --primary: #003366;
    --primary-light: #0066cc;
    --primary-dark: #002244;
    
    /* Secondary Colors */
    --secondary: #0099FF;
    --secondary-light: #33b5ff;
    
    /* Accent - Metallic Gold */
    --accent: #FFD700;
    --accent-dark: #D4AF37;
    --accent-light: #F5E6B8;
    
    /* Backgrounds */
    --bg-primary: #FEFEFE;
    --bg-secondary: #F8F9FC;
    --bg-cream: #FFFBF5;
    --bg-dark: #1A2A4D;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #636E72;
    --text-light: #8A9299;
    --text-white: #FFFFFF;
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-bg-strong: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(212, 175, 55, 0.2);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 51, 102, 0.08);
    --shadow-medium: 0 10px 40px rgba(0, 51, 102, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 51, 102, 0.18);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
    --shadow-gold-strong: 0 15px 50px rgba(212, 175, 55, 0.4);
    
    /* Typography */
    --font-display: 'Playfair Display', 'Didot', Georgia, serif;
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-padding: clamp(1.5rem, 5vw, 10%);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg-cream);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== PARTICLE CANVAS ========== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ========== NAVIGATION ========== */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
}

.glass-nav.scrolled {
    padding: 0.75rem var(--container-padding);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.98);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 10;
}

.logo img {
    height: 50px;
    transition: transform var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-normal);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-dark);
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    border-radius: var(--radius-full);
    color: var(--primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-normal);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-strong);
}

/* Mobile Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.burger div {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.burger.active .line1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.burger.active .line2 {
    opacity: 0;
}

.burger.active .line3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color var(--transition-normal);
}

.mobile-menu a:hover {
    color: var(--accent-dark);
}

.btn-mobile {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius-full);
    color: var(--primary) !important;
    font-weight: 700;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px var(--container-padding) var(--section-padding);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #FFF8ED 50%, var(--bg-secondary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 55%;
    z-index: 2;
    position: relative;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease forwards;
}

.badge-premium i {
    color: var(--accent-dark);
}

.badge-premium span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: 1px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero h1 span {
    display: block;
}

.hero-description {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    border-radius: var(--radius-full);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-strong);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.glow-effect {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-gold), 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: var(--shadow-gold-strong), 0 0 40px rgba(212, 175, 55, 0.5); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-plus {
    font-size: 1.5rem;
    color: var(--accent-dark);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--accent-dark), transparent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 45%;
    z-index: 1;
}

.hero-image-container {
    position: relative;
}

.hero-main-image {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 30px 60px rgba(0, 51, 102, 0.2));
    animation: float 6s ease-in-out infinite;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Floating Cards */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 1.5rem;
    background: var(--glass-bg-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: floatCard 5s ease-in-out infinite;
}

.float-card i {
    font-size: 1.5rem;
    color: var(--accent-dark);
}

.float-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: var(--section-padding) var(--container-padding);
    background: var(--bg-primary);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 2.5rem;
    background: var(--glass-bg-strong);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-dark);
}

.feature-card.featured {
    border-color: var(--accent-dark);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, var(--glass-bg-strong) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-main);
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== DAVID SECTION ========== */
.david-section {
    padding: var(--section-padding) var(--container-padding);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    gap: 5%;
    position: relative;
    overflow: hidden;
}

.david-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.david-content {
    flex: 1;
    z-index: 2;
}

.david-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--accent);
}

.david-section h2 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.david-intro {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.david-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.david-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.david-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.david-feature-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.david-feature-text h4 {
    color: var(--text-white);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.david-feature-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.david-section .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
}

/* David Visual */
.david-visual {
    flex: 1;
    position: relative;
    z-index: 2;
}

.david-image-container {
    position: relative;
    text-align: center;
}

.david-main-image {
    width: 80%;
    max-width: 400px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
    animation: float 5s ease-in-out infinite;
}

.david-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

/* Chat Preview */
.chat-preview {
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    max-width: 90%;
    animation: fadeInUp 0.6s ease forwards;
}

.chat-bubble.user {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.david {
    background: var(--accent);
    color: var(--primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.chat-bubble.david img {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.chat-bubble p {
    font-size: 0.9rem;
    color: inherit;
    font-weight: 500;
    line-height: 1.5;
}

/* ========== SCHOOLS SECTION ========== */
.schools-section {
    padding: var(--section-padding) var(--container-padding);
    background: var(--bg-secondary);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.school-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.school-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.school-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.school-card:hover .school-image img {
    transform: scale(1.1);
}

.school-info {
    padding: 1.5rem;
}

.school-info h4 {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.school-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.school-info i {
    color: var(--accent-dark);
}

.schools-cta {
    text-align: center;
}

.schools-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: var(--section-padding) var(--container-padding);
    background: var(--bg-cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-card.featured {
    border-color: var(--accent-dark);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, var(--bg-primary) 100%);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
}

.testimonial-quote i {
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.2);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1rem;
}

.author-info h5 {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--section-padding) var(--container-padding);
    background: linear-gradient(135deg, var(--bg-cream) 0%, #FFF8ED 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content > p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-feature i {
    color: var(--accent-dark);
}

.cta-feature span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.cta-image {
    flex: 0 0 300px;
}

.cta-image img {
    width: 100%;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 51, 102, 0.15));
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem var(--container-padding) 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
}

.footer-logo span {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent-dark);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--text-white);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links a i {
    margin-right: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-policy p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-policy a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.footer-policy a:hover {
    text-decoration: underline;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .features-grid,
    .schools-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        width: 100%;
        margin-top: 3rem;
    }
    
    .floating-elements {
        display: none;
    }
    
    .david-section {
        flex-direction: column;
        text-align: center;
    }
    
    .david-content {
        order: 2;
    }
    
    .david-visual {
        order: 1;
    }
    
    .david-features {
        align-items: center;
    }
    
    .chat-preview {
        display: none;
    }
    
    .cta-section {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .burger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .schools-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 2rem;
    }
}
