/* ============================================
   VitaTab - Premium Landing Page Styles
   ============================================ */

/* --- Animated Background --- */
.landing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--bg-primary);
    overflow: hidden;
}

.landing-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(67, 97, 238, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(230, 57, 70, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(90, 124, 255, 0.05) 0%, transparent 50%);
    animation: bgDrift 25s ease-in-out infinite alternate;
}

.landing-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 70% 60%, rgba(67, 97, 238, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 30%, rgba(230, 57, 70, 0.04) 0%, transparent 40%);
    animation: bgDrift2 30s ease-in-out infinite alternate;
}

@keyframes bgDrift {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(3%, 2%) rotate(2deg); }
}

@keyframes bgDrift2 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-2%, 3%) rotate(-1.5deg); }
}

/* --- Floating Particles --- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

.particle:nth-child(1)  { width: 4px; height: 4px; background: var(--accent-primary); left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2)  { width: 3px; height: 3px; background: var(--ems-red); left: 25%; animation-duration: 22s; animation-delay: 2s; }
.particle:nth-child(3)  { width: 5px; height: 5px; background: rgba(67, 97, 238, 0.6); left: 40%; animation-duration: 16s; animation-delay: 4s; }
.particle:nth-child(4)  { width: 3px; height: 3px; background: var(--accent-primary); left: 55%; animation-duration: 20s; animation-delay: 1s; }
.particle:nth-child(5)  { width: 4px; height: 4px; background: rgba(230, 57, 70, 0.5); left: 70%; animation-duration: 24s; animation-delay: 3s; }
.particle:nth-child(6)  { width: 3px; height: 3px; background: var(--accent-primary); left: 85%; animation-duration: 19s; animation-delay: 5s; }
.particle:nth-child(7)  { width: 5px; height: 5px; background: rgba(67, 97, 238, 0.4); left: 15%; animation-duration: 21s; animation-delay: 7s; }
.particle:nth-child(8)  { width: 3px; height: 3px; background: var(--ems-red); left: 60%; animation-duration: 17s; animation-delay: 6s; }
.particle:nth-child(9)  { width: 4px; height: 4px; background: rgba(90, 124, 255, 0.5); left: 35%; animation-duration: 23s; animation-delay: 8s; }
.particle:nth-child(10) { width: 3px; height: 3px; background: var(--accent-primary); left: 90%; animation-duration: 20s; animation-delay: 4s; }
.particle:nth-child(11) { width: 4px; height: 4px; background: rgba(230, 57, 70, 0.4); left: 5%; animation-duration: 26s; animation-delay: 9s; }
.particle:nth-child(12) { width: 3px; height: 3px; background: rgba(67, 97, 238, 0.5); left: 75%; animation-duration: 15s; animation-delay: 2s; }

@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.6; }
    50%  { opacity: 0.3; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* --- Grid Overlay --- */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(67, 97, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 97, 238, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* --- Navbar --- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-normal);
    background: transparent;
}

.landing-nav.scrolled {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 42, 64, 0.5);
    padding: 0.75rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    position: relative;
}

.nav-brand-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 28px;
    background: var(--ems-red);
    border-radius: 3px;
}

.nav-brand-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 10px;
    background: var(--ems-red);
    border-radius: 3px;
}

.nav-brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-normal);
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1.25rem !important;
    background: rgba(67, 97, 238, 0.15) !important;
    color: var(--accent-primary) !important;
    border: 1px solid rgba(67, 97, 238, 0.3) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    transition: all var(--transition-normal) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: rgba(67, 97, 238, 0.25) !important;
    border-color: var(--accent-primary) !important;
    color: var(--text-bright) !important;
    transform: translateY(-1px);
}

/* --- Mobile Nav --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

/* Logo Animation */
.hero-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-cross {
    width: 100%;
    height: 100%;
    position: relative;
    animation: logoPulse 3s ease-in-out infinite;
}

.hero-logo-cross::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 72px;
    background: linear-gradient(180deg, var(--ems-red), #ff6b6b);
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.4), 0 0 60px rgba(230, 57, 70, 0.15);
}

.hero-logo-cross::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 28px;
    background: linear-gradient(90deg, var(--ems-red), #ff6b6b);
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.4), 0 0 60px rgba(230, 57, 70, 0.15);
}

.hero-logo-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(230, 57, 70, 0.2);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.hero-logo-ring::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
}

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

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

/* Hero Typography */
.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--text-primary) 50%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: white;
    background: linear-gradient(135deg, var(--accent-primary), #5a7cff);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 
        0 0 20px rgba(67, 97, 238, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 40px rgba(67, 97, 238, 0.45),
        0 8px 25px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:active {
    transform: translateY(-1px);
}

.btn-hero svg {
    width: 20px;
    height: 20px;
}

.hero-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-link:hover {
    color: var(--accent-primary);
    transform: translateY(2px);
}

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-secondary), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

/* --- Flash Messages (Toast) --- */
.landing-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
}

/* --- Section Base --- */
.landing-section {
    padding: 7rem 2rem;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    background: rgba(67, 97, 238, 0.1);
    border: 1px solid rgba(67, 97, 238, 0.2);
    border-radius: var(--radius-xl);
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: 1rem;
    line-height: 1.15;
}

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

/* Section dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(42, 42, 64, 0.6);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(67, 97, 238, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(67, 97, 238, 0.05);
    background: rgba(26, 26, 46, 0.8);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
    position: relative;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
}

.feature-icon--blue {
    background: rgba(67, 97, 238, 0.12);
    color: var(--accent-primary);
}

.feature-icon--red {
    background: rgba(230, 57, 70, 0.12);
    color: var(--ems-red);
}

.feature-icon--green {
    background: rgba(42, 157, 143, 0.12);
    color: var(--ems-green);
}

.feature-icon--orange {
    background: rgba(231, 111, 81, 0.12);
    color: var(--ems-orange);
}

.feature-icon--cyan {
    background: rgba(0, 176, 255, 0.12);
    color: var(--accent-info);
}

.feature-icon--yellow {
    background: rgba(244, 162, 97, 0.12);
    color: var(--ems-yellow);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- How It Works Section --- */
.steps-container {
    display: flex;
    gap: 2rem;
    position: relative;
}

/* Connection line */
.steps-container::before {
    content: '';
    position: absolute;
    top: calc(2rem + 38px); /* padding-top + half of circle height */
    left: calc(16.66%);
    right: calc(16.66%);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.25), rgba(230, 57, 70, 0.25), rgba(67, 97, 238, 0.25), transparent);
    z-index: 0;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    background: rgba(67, 97, 238, 0.08);
    border: 2px solid rgba(67, 97, 238, 0.2);
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.step-card:hover .step-number {
    background: rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.4);
    box-shadow: 0 0 25px rgba(67, 97, 238, 0.15);
    transform: scale(1.05);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.step-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- CTA Section --- */
.cta-section {
    padding: 7rem 2rem;
    position: relative;
}

.cta-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(42, 42, 64, 0.6);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border-radius: 1px;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(67, 97, 238, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: white;
    background: linear-gradient(135deg, #5865F2, #7289da);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.25), 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(88, 101, 242, 0.4), 0 8px 25px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-discord:active {
    transform: translateY(-1px);
}

.btn-discord svg {
    width: 22px;
    height: 22px;
}

/* --- Footer --- */
.landing-footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-secondary);
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered reveal for grids */
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Hero entrance animation --- */
.hero-content {
    animation: heroFadeIn 1s ease forwards;
}

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

.hero-logo {
    animation: heroLogoIn 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes heroLogoIn {
    from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.hero-title {
    animation: heroTextIn 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    animation: heroTextIn 0.8s ease forwards;
    animation-delay: 0.55s;
    opacity: 0;
}

.hero-description {
    animation: heroTextIn 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-actions {
    animation: heroTextIn 0.8s ease forwards;
    animation-delay: 0.85s;
    opacity: 0;
}

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


/* ============================================
   Responsive Design
   ============================================ */

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 20, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 99;
    }

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

    .nav-links a {
        font-size: 1.25rem;
    }

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

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

    .hero {
        padding: 7rem 1.5rem 5rem;
    }

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

    .steps-container {
        flex-direction: column;
        gap: 1rem;
    }

    .steps-container::before {
        display: none;
    }

    .step-card {
        padding: 1.5rem;
        background: rgba(26, 26, 46, 0.4);
        border: 1px solid rgba(42, 42, 64, 0.4);
        border-radius: var(--radius-lg);
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .landing-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .landing-section {
        padding: 5rem 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 4rem;
    }

    .landing-section {
        padding: 4rem 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .btn-discord {
        width: 100%;
        justify-content: center;
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem 2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cookieSlideUp 0.5s 1s ease-out both;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(15, 19, 32, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-text a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    flex-shrink: 0;
}

.cookie-actions .btn {
    white-space: nowrap;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.cookie-actions .btn:hover {
    background: var(--accent-primary);
    color: white;
}

@media (max-width: 600px) {
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        flex-direction: column;
        align-items: center;
    }
}
