/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --primary: #6C5CE7;
    --primary-light: #A29BFE;
    --primary-dark: #5541D7;
    --accent: #00CEC9;
    --accent-light: #81ECEC;
    --success: #00B894;
    --warning: #FDCB6E;
    --error: #FF6B6B;
    --info: #74B9FF;

    --bg: #0F0F1A;
    --bg-light: #1A1A2E;
    --card: #16213E;
    --card-light: #1F3460;
    --text: #FFFFFF;
    --text-secondary: #A0A0B0;
    --text-muted: #6B6B80;
    --border: #2D3436;

    --feature-orange: #F39C12;
    --feature-blue: #3498DB;
    --feature-pink: #E84393;
    --feature-green: #00B894;
    --feature-yellow: #F1C40F;
    --feature-red: #FF7675;
    --feature-purple: #9B59B6;

    --gold: #FFD700;
    --gold-dark: #F39C12;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 40px rgba(108,92,231,0.25);
    --shadow-glow: 0 0 60px rgba(108,92,231,0.3);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px 0;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(108, 92, 231, 0.15);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(108, 92, 231, 0.12);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -15%;
    left: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--feature-pink);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(108,92,231,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108,92,231,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}

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

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.45);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: 20px;
}

/* ===== PHONE MOCKUP ===== */
.hero-mockup {
    flex-shrink: 0;
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 620px;
    background: #1a1a2e;
    border-radius: 40px;
    border: 3px solid rgba(108, 92, 231, 0.3);
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.5),
        inset 0 0 30px rgba(108, 92, 231, 0.05);
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #0F0F1A;
    border-radius: 0 0 16px 16px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.2), transparent 60%);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ===== SECTION SHARED STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(108, 92, 231, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
    margin-bottom: 16px;
}

.section-badge.accent {
    background: rgba(0, 206, 201, 0.12);
    color: var(--accent-light);
    border-color: rgba(0, 206, 201, 0.2);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: attr(data-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: var(--shadow-lg);
}

.feature-card:nth-child(1):hover { border-color: rgba(243, 156, 18, 0.3); box-shadow: 0 8px 40px rgba(243, 156, 18, 0.15); }
.feature-card:nth-child(2):hover { border-color: rgba(0, 184, 148, 0.3); box-shadow: 0 8px 40px rgba(0, 184, 148, 0.15); }
.feature-card:nth-child(3):hover { border-color: rgba(232, 67, 147, 0.3); box-shadow: 0 8px 40px rgba(232, 67, 147, 0.15); }
.feature-card:nth-child(4):hover { border-color: rgba(52, 152, 219, 0.3); box-shadow: 0 8px 40px rgba(52, 152, 219, 0.15); }
.feature-card:nth-child(5):hover { border-color: rgba(108, 92, 231, 0.3); box-shadow: 0 8px 40px rgba(108, 92, 231, 0.15); }
.feature-card:nth-child(6):hover { border-color: rgba(255, 118, 117, 0.3); box-shadow: 0 8px 40px rgba(255, 118, 117, 0.15); }
.feature-card:nth-child(7):hover { border-color: rgba(155, 89, 182, 0.3); box-shadow: 0 8px 40px rgba(155, 89, 182, 0.15); }
.feature-card:nth-child(8):hover { border-color: rgba(241, 196, 15, 0.3); box-shadow: 0 8px 40px rgba(241, 196, 15, 0.15); }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ===== GAMIFICATION ===== */
.gamification {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
}

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

.gamification-card {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gamification-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 92, 231, 0.15);
    box-shadow: var(--shadow-md);
}

.gamification-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 3s ease-in-out infinite;
}

.gamification-icon.xp { animation-delay: 0s; }
.gamification-icon.streak { animation-delay: 0.3s; }
.gamification-icon.quest { animation-delay: 0.6s; }
.gamification-icon.trophy { animation-delay: 0.9s; }

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.gamification-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ===== PREMIUM ===== */
.premium {
    padding: 120px 0;
    position: relative;
}

.premium-card {
    position: relative;
    background: linear-gradient(135deg, var(--card), var(--bg-light));
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.premium-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 60%);
    pointer-events: none;
}

.premium-content {
    position: relative;
    padding: 60px;
    text-align: center;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 24px;
}

.crown {
    font-size: 1.2rem;
}

.premium h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 400px;
    margin: 0 auto 40px;
    text-align: left;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== DOWNLOAD CTA ===== */
.download {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1), transparent 60%);
    pointer-events: none;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.download h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.download p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.footer-links-group a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.footer-links-group a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .phone-frame {
        width: 260px;
        height: 540px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 12px 32px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .premium-content {
        padding: 40px 24px;
    }

    .phone-frame {
        width: 220px;
        height: 460px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .feature-card {
        padding: 24px 18px;
    }

    .phone-frame {
        width: 200px;
        height: 420px;
        border-radius: 32px;
    }
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

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

.legal-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.legal-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary-light);
    text-decoration: underline;
    transition: color 0.3s;
}

.legal-content a:hover {
    color: var(--primary);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--card);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 32px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.legal-back:hover {
    background: var(--card-light);
    color: var(--text);
    transform: translateX(-4px);
}
