/* ============================================
   NoammAddons Website — Styles
   ============================================ */

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: #14141e;
    --bg-card-hover: #1a1a28;

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b82;

    --accent-purple: #7c3aed;
    --accent-purple-light: #a78bfa;
    --accent-purple-dark: #5b21b6;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-pink: #ec4899;

    --gradient-primary: linear-gradient(135deg, #f472b6, #7dd3fc);
    --gradient-text: linear-gradient(135deg, #f9a8d4, #7dd3fc, #c4b5fd);
    --gradient-hero: linear-gradient(135deg, #f472b6 0%, #7dd3fc 50%, #c4b5fd 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(244, 114, 182, 0.12);

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

    --font-body: 'Inter', -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;
    background-image: radial-gradient(circle, rgba(244, 180, 210, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    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(244, 114, 182, 0.1);
    color: #f9a8d4;
    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(10, 10, 15, 0.85);
    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: cover;
}

.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: white;
    box-shadow: 0 4px 16px rgba(244, 114, 182, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(244, 114, 182, 0.35);
}

.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-particles {
    position: absolute;
    inset: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(244, 114, 182, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 70% 20%, rgba(125, 211, 252, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 30% 80%, rgba(196, 181, 253, 0.05) 0%, transparent 50%);
}

.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(244, 114, 182, 0.08);
    border: 1px solid rgba(244, 114, 182, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #f9a8d4;
    margin-bottom: 32px;
    font-family: var(--font-mono);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #f472b6;
    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: 800;
    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: 800;
    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;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #f9a8d4;
    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: 800;
    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-left: 3px solid var(--border-color);
    border-radius: var(--radius-sm) var(--radius-lg) var(--radius-lg) var(--radius-sm);
    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-large {
    grid-column: span 1;
}

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

.feature-card-icon.dungeons {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
}
.feature-card:has(.dungeons) {
    border-left-color: var(--accent-red);
}
.feature-card:has(.dungeons):hover {
    box-shadow: -4px 0 24px rgba(239, 68, 68, 0.15), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.visual {
    background: rgba(124, 58, 237, 0.12);
    color: var(--accent-purple-light);
}
.feature-card:has(.visual) {
    border-left-color: var(--accent-purple);
}
.feature-card:has(.visual):hover {
    box-shadow: -4px 0 24px rgba(124, 58, 237, 0.15), 0 8px 32px rgba(0,0,0,0.3);
}

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

.feature-card-icon.alerts {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-orange);
}
.feature-card:has(.alerts) {
    border-left-color: var(--accent-orange);
}
.feature-card:has(.alerts):hover {
    box-shadow: -4px 0 24px rgba(245, 158, 11, 0.15), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.misc {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
}
.feature-card:has(.misc) {
    border-left-color: var(--accent-green);
}
.feature-card:has(.misc):hover {
    box-shadow: -4px 0 24px rgba(16, 185, 129, 0.15), 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon.rendering {
    background: rgba(236, 72, 153, 0.12);
    color: var(--accent-pink);
}
.feature-card:has(.rendering) {
    border-left-color: var(--accent-pink);
}
.feature-card:has(.rendering):hover {
    box-shadow: -4px 0 24px rgba(236, 72, 153, 0.15), 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: #7dd3fc;
    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: #f472b6;
    border-radius: 50%;
}

/* ============================================
   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;
    border-top: 2px solid transparent;
}

.highlight-card:nth-child(1) { border-top-color: #f472b6; }
.highlight-card:nth-child(2) { border-top-color: #7dd3fc; }
.highlight-card:nth-child(3) { border-top-color: #c4b5fd; }
.highlight-card:nth-child(4) { border-top-color: #fda4af; }

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

.highlight-card:nth-child(1):hover { box-shadow: 0 -4px 24px rgba(244, 114, 182, 0.12), 0 8px 32px rgba(0,0,0,0.3); }
.highlight-card:nth-child(2):hover { box-shadow: 0 -4px 24px rgba(125, 211, 252, 0.12), 0 8px 32px rgba(0,0,0,0.3); }
.highlight-card:nth-child(3):hover { box-shadow: 0 -4px 24px rgba(196, 181, 253, 0.12), 0 8px 32px rgba(0,0,0,0.3); }
.highlight-card:nth-child(4):hover { box-shadow: 0 -4px 24px rgba(253, 164, 175, 0.12), 0 8px 32px rgba(0,0,0,0.3); }

.highlight-number {
    display: none;
}

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

.highlight-card h3::before {
    content: '→ ';
    color: #f472b6;
    font-weight: 400;
}

.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, #f472b6, #7dd3fc, #c4b5fd);
    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 #f472b6;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    color: #f472b6;
    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(244, 114, 182, 0.08), 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: #f472b6;
    border-color: #f472b6;
    box-shadow: 0 0 12px rgba(244, 114, 182, 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.15);
}

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

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

.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.12);
    color: #5865F2;
}

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

.youtube .community-icon {
    background: rgba(255, 0, 0, 0.1);
    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: #7dd3fc;
    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-seo {
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
}

.footer-seo p {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0.35;
    line-height: 1.6;
    text-align: center;
}

.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: #f9a8d4;
    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
   ============================================ */
.particle {
    display: none;
}

/* 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(244, 114, 182, 0.06),
        rgba(125, 211, 252, 0.03) 40%,
        transparent 70%);
    transition: background 0.15s ease;
}

/* Card tilt */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Fade in animations — use wrapper approach to avoid transform conflicts */
.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(244, 114, 182, 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);
}
