/* ============================================
   AaronsMod Website — Styles
   Theme: Amber/Gold + Teal on deep charcoal
   ============================================ */

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

:root {
    --bg-primary: #09090b;
    --bg-secondary: #0f0f13;
    --bg-tertiary: #18181f;
    --bg-card: #111116;
    --bg-card-hover: #1a1a22;

    --text-primary: #fafaf9;
    --text-secondary: #a8a8b3;
    --text-muted: #63637a;

    --accent-amber: #22d3ee;
    --accent-amber-light: #67e8f9;
    --accent-amber-dark: #06b6d4;
    --accent-teal: #a08060;
    --accent-teal-light: #c4a882;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-purple: #a855f7;

    --gradient-primary: linear-gradient(135deg, #22d3ee, #06b6d4);
    --gradient-text: linear-gradient(135deg, #67e8f9, #22d3ee, #06b6d4);
    --gradient-hero: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #67e8f9 100%);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(255, 255, 255, 0.12);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --nav-height: 72px;
    --container-max: 1200px;
}

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

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

/* Subtle noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

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

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

code {
    font-family: var(--font-mono);
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-amber);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.875em;
}

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

/* --- Gradient Text --- */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 1001;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

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

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 211, 238, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 70% 20%, rgba(160, 128, 96, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 30% 80%, rgba(34, 211, 238, 0.03) 0%, transparent 50%);
}

/* Grid pattern background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-amber-light);
    margin-bottom: 32px;
    font-family: var(--font-mono);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.hero-scroll {
    display: none;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   Feature Grid
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-4px) scale(1.01);
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

/* Card accent colors — top border style */
.feature-card-icon.dungeons {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}
.feature-card:has(.dungeons) {
    border-top-color: var(--accent-red);
}
.feature-card:has(.dungeons):hover {
    box-shadow: 0 -4px 24px rgba(239, 68, 68, 0.12), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.farming {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}
.feature-card:has(.farming) {
    border-top-color: var(--accent-green);
}
.feature-card:has(.farming):hover {
    box-shadow: 0 -4px 24px rgba(34, 197, 94, 0.12), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.visual {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
}
.feature-card:has(.visual) {
    border-top-color: var(--accent-purple);
}
.feature-card:has(.visual):hover {
    box-shadow: 0 -4px 24px rgba(168, 85, 247, 0.12), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.qol {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}
.feature-card:has(.qol) {
    border-top-color: var(--accent-blue);
}
.feature-card:has(.qol):hover {
    box-shadow: 0 -4px 24px rgba(59, 130, 246, 0.12), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.alerts {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-amber);
}
.feature-card:has(.alerts) {
    border-top-color: var(--accent-amber);
}
.feature-card:has(.alerts):hover {
    box-shadow: 0 -4px 24px rgba(34, 211, 238, 0.12), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.misc {
    background: rgba(160, 128, 96, 0.1);
    color: var(--accent-teal);
}
.feature-card:has(.misc) {
    border-top-color: var(--accent-teal);
}
.feature-card:has(.misc):hover {
    box-shadow: 0 -4px 24px rgba(160, 128, 96, 0.12), 0 8px 32px rgba(0,0,0,0.3);
}

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

.feature-count {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-teal-light);
    font-weight: 600;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-amber);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* ============================================
   Highlights
   ============================================ */
.highlights {
    background: var(--bg-secondary);
}

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

.highlight-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.highlight-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

.highlight-card:nth-child(1):hover { box-shadow: 0 8px 32px rgba(34, 211, 238, 0.08), 0 8px 32px rgba(0,0,0,0.3); }
.highlight-card:nth-child(2):hover { box-shadow: 0 8px 32px rgba(160, 128, 96, 0.08), 0 8px 32px rgba(0,0,0,0.3); }
.highlight-card:nth-child(3):hover { box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08), 0 8px 32px rgba(0,0,0,0.3); }
.highlight-card:nth-child(4):hover { box-shadow: 0 8px 32px rgba(34, 197, 94, 0.08), 0 8px 32px rgba(0,0,0,0.3); }

.highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.highlight-card:nth-child(1) .highlight-icon {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent-amber);
}

.highlight-card:nth-child(2) .highlight-icon {
    background: rgba(160, 128, 96, 0.1);
    color: var(--accent-teal);
}

.highlight-card:nth-child(3) .highlight-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.highlight-card:nth-child(4) .highlight-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   Installation
   ============================================ */
.install-steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.install-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-amber), var(--accent-amber-dark), var(--accent-amber-light));
    opacity: 0.3;
}

.install-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-amber);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent-amber);
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.dep-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.dep-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.dep-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ============================================
   Download Section
   ============================================ */
.download {
    background: var(--bg-secondary);
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    margin-bottom: 64px;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-hero);
}

.download-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.06), 0 8px 32px rgba(0,0,0,0.3);
}

.download-info {
    flex: 1;
}

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

.download-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.download-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* Version History */
.version-history h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.version-timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.version-item {
    position: relative;
    padding-bottom: 28px;
}

.version-item:last-child {
    padding-bottom: 0;
}

.version-dot {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--text-muted);
}

.version-item.active .version-dot {
    background: var(--accent-amber);
    border-color: var(--accent-amber);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}

.version-info strong {
    font-size: 1rem;
    margin-right: 8px;
}

.version-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.version-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ============================================
   Community
   ============================================ */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.community-card {
    display: flex;
    flex-direction: column;
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    border-top: 2px solid transparent;
}

.community-card.discord { border-top-color: #5865F2; }
.community-card.github { border-top-color: var(--text-secondary); }
.community-card.youtube { border-top-color: #FF0000; }

.community-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
}
.community-card.discord:hover { border-top-color: #5865F2; }
.community-card.github:hover { border-top-color: var(--text-secondary); }
.community-card.youtube:hover { border-top-color: #FF0000; }

.community-card.discord:hover {
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.12);
}

.community-card.github:hover {
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.04);
}

.community-card.youtube:hover {
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.08);
}

.community-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.discord .community-icon {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
}

.github .community-icon {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.youtube .community-icon {
    background: rgba(255, 0, 0, 0.08);
    color: #FF0000;
}

.community-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.community-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    flex: 1;
}

.community-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-teal-light);
    transition: color 0.2s ease;
    font-family: var(--font-mono);
}

.community-card:hover .community-link {
    color: var(--text-primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .nav-logo {
    margin-bottom: 12px;
}

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

.footer-links {
    display: flex;
    gap: 64px;
}

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

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

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

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

.footer-bottom a {
    color: var(--accent-amber-light);
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--text-primary);
}

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-actions .btn {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

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

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

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

    .download-card {
        flex-direction: column;
        padding: 32px;
        gap: 24px;
    }

    .download-info .section-title {
        text-align: center;
    }

    .download-description {
        text-align: center;
    }

    .download-meta {
        justify-content: center;
    }

    .download-actions {
        align-items: center;
        width: 100%;
    }

    .download-actions .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }

    .section {
        padding: 80px 0;
    }

    .install-steps::before {
        left: 23px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-lg {
        width: 100%;
        justify-content: center;
    }

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

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

/* ============================================
   Animations
   ============================================ */

/* Hero spotlight that follows mouse */
.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(34, 211, 238, 0.05),
        rgba(160, 128, 96, 0.025) 40%,
        transparent 70%);
    transition: background 0.15s ease;
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    translate: 0 24px;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), translate 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in.visible {
    opacity: 1;
    translate: 0 0;
}

/* Stagger delays for grid children */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.4s; }

/* Download Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalIn 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.modal-buttons {
    display: flex;
    gap: 16px;
}

.modal-btn {
    flex: 1;
    justify-content: center;
    padding: 18px 32px;
    font-size: 1.1rem;
}

.modal-rate-msg {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--accent-red);
    min-height: 1.2em;
}

/* Selection */
::selection {
    background: rgba(34, 211, 238, 0.3);
    color: var(--text-primary);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}
