/* ============================================================
   TWIRL TECH – EDUAI SMARTLEARN PRO
   Premium EdTech Landing Page Styles
   ============================================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0e24;
    --bg-card: #141332;
    --bg-card-hover: #1a1950;
    --bg-surface: #1e1b4b;
    --purple-50: #f5f3ff;
    --purple-100: #ede9fe;
    --purple-200: #ddd6fe;
    --purple-300: #c4b5fd;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --purple-800: #5b21b6;
    --purple-900: #4c1d95;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --green-400: #4ade80;
    --red-400: #f87171;
    --yellow-400: #facc15;
    --text-primary: #ffffff;
    --text-secondary: #c4b5fd;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #22d3ee 100%);
    --gradient-hero: linear-gradient(160deg, #0a0a1a 0%, #1e1b4b 40%, #0f0e24 100%);
    --gradient-cta: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    --shadow-card: 0 4px 24px rgba(124, 58, 237, 0.08);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Poppins', sans-serif;
    --container-width: 1200px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--purple-600);
    color: #fff;
    border-color: var(--purple-600);
}

.btn-primary:hover {
    background: var(--purple-700);
    border-color: var(--purple-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--purple-400);
    color: var(--purple-400);
    transform: translateY(-2px);
}

.btn-outline.light {
    border-color: rgba(255, 255, 255, 0.5);
}

.btn.small {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* ---------- SECTION UTILITIES ---------- */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.25;
}

.section-title.left-align {
    text-align: left;
}

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

.section-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-400);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    transition: var(--transition);
}

#main-header.scrolled {
    background: rgba(10, 10, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(124, 58, 237, 0.1);
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Dashboard Card */
.dashboard-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(124, 58, 237, 0.15);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(124, 58, 237, 0.08);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.dash-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple-600);
    opacity: 0.5;
}

.dash-dots span:first-child { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #facc15; }
.dash-dots span:last-child { background: #4ade80; }

.dash-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-row {
    display: flex;
    gap: 12px;
}

.dash-stat-card {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dash-stat-card.purple {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.dash-stat-card.dark {
    background: rgba(15, 14, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dash-circle {
    position: relative;
    width: 70px;
    height: 70px;
}

.dash-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple-400);
}

.circle-text small {
    font-size: 0.7rem;
    font-weight: 400;
}

.dash-bar-group {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 50px;
}

.dash-bar {
    width: 10px;
    background: linear-gradient(to top, var(--purple-600), var(--purple-400));
    border-radius: 3px;
    min-height: 8px;
}

.small-card {
    max-width: 100px;
}

.dash-big-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cyan-400);
}

.dash-big-number small {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
}

.dash-streak-dots {
    display: flex;
    gap: 4px;
}

.dash-streak-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.dash-streak-dots span.active {
    background: var(--cyan-400);
}

.dash-stat-card.wide {
    flex: 2;
}

.dash-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 40px;
    width: 100%;
}

.dash-mini-bar {
    flex: 1;
    background: linear-gradient(to top, var(--purple-700), var(--purple-400));
    border-radius: 3px;
    min-height: 6px;
}

.dash-greeting-card {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
}

.dash-greeting-text {
    font-size: 0.7rem;
    color: var(--purple-200);
}

.dash-greeting-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.dash-greeting-sub {
    font-size: 0.7rem;
    color: var(--purple-200);
    margin-top: 4px;
}

.dash-greeting-sub strong {
    color: #fff;
    font-size: 0.85rem;
}

.dash-progress-ring {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
}

.dash-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--cyan-400);
}

/* Hero Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(124, 58, 237, 0.12);
    top: -100px;
    right: -150px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(34, 211, 238, 0.06);
    bottom: -100px;
    left: -150px;
}

/* ============================================================
   CHALLENGES SECTION
   ============================================================ */
.challenges-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.challenge-card {
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.challenge-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.challenge-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.solution-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.solution-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--purple-300);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--purple-400);
}

/* Solution Visual */
.solution-visual {
    position: relative;
}

.solution-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sol-card {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(124, 58, 237, 0.15);
    transition: var(--transition);
}

.pronunciation-card {
    background: var(--bg-card);
}

.sol-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.sol-meter {
    height: 8px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
}

.sol-meter-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1.5s ease;
}

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

.sol-badge {
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.sol-badge.excellent {
    background: rgba(74, 222, 128, 0.15);
    color: var(--green-400);
}

.sol-score {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--purple-400);
}

.feedback-card {
    background: rgba(124, 58, 237, 0.08);
}

.sol-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.sol-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.confidence-card {
    background: var(--bg-card);
}

.confidence-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.conf-bar {
    height: 6px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.conf-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--purple-600), var(--cyan-400));
    border-radius: var(--radius-full);
    transition: width 1.5s ease;
}

/* ============================================================
   RHEA SECTION
   ============================================================ */
.rhea-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.rhea-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: var(--radius-xl);
}

.rhea-logo-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rhea-brand {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
}

.rhea-tagline {
    font-size: 0.85rem;
    color: var(--purple-400);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.rhea-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.rhea-features-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.rhea-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rhea-feature {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.rhea-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: var(--shadow-glow);
}

.rhea-feature-icon {
    margin-bottom: 14px;
}

.rhea-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.rhea-feature p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    padding: 60px 0;
    background: var(--gradient-cta);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.stat-number .star {
    color: var(--yellow-400);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--purple-200);
    font-weight: 500;
}

/* ============================================================
   SOLUTIONS CARDS SECTION
   ============================================================ */
.solutions-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.solution-block {
    padding: 40px 36px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.solution-block:hover {
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: var(--shadow-glow);
}

.sol-block-icon {
    margin-bottom: 20px;
}

.solution-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.solution-block > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sol-list {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sol-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.check {
    color: var(--purple-400);
    font-weight: 700;
    font-size: 1rem;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: var(--shadow-glow);
}

.quote-icon {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--purple-600);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--purple-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.author-avatar.blue {
    background: var(--cyan-500);
}

.author-avatar.green {
    background: var(--green-400);
    color: #0a0a1a;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    display: block;
}

.author-role {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(167, 139, 250, 0.08);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 0.95rem;
    color: var(--purple-200);
    margin-bottom: 28px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-newsletter h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-newsletter p {
    font-size: 0.88rem;
    color: var(--purple-200);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    border-color: var(--purple-400);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form .btn {
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
    padding: 80px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
    max-width: 320px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--purple-600);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col li,
.footer-col a {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--purple-400);
}

.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.08);
    padding: 20px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate-in.delay-1 { transition-delay: 0.1s; }
.animate-in.delay-2 { transition-delay: 0.2s; }
.animate-in.delay-3 { transition-delay: 0.3s; }
.animate-in.delay-4 { transition-delay: 0.4s; }
.animate-in.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid,
    .solution-grid,
    .rhea-header,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .challenges-grid,
    .rhea-features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.98);
        flex-direction: column;
        padding: 20px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
        backdrop-filter: blur(20px);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .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);
    }

    .challenges-grid,
    .rhea-features-grid,
    .testimonials-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rhea-header {
        padding: 28px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .cta-btns {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .solution-tags {
        justify-content: center;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-800);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple-600);
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(124, 58, 237, 0.3);
    color: #fff;
}
