/* ============================================================
   Jenny Mod Minecraft - Enchanted Forge Design System
   Theme: Emerald + Amber on Obsidian Dark
   Fonts: Bricolage Grotesque + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */

:root {
    /* Background Palette */
    --bg-deep: #04060a;
    --bg-primary: #090c14;
    --bg-elevated: #101520;
    --bg-card: #151b2c;
    --bg-card-hover: #1a2238;

    /* Text Palette */
    --text-bright: #e4e9f2;
    --text-body: #8a93a8;
    --text-muted: #4a5268;

    /* Accent Colors */
    --emerald: #10b981;
    --emerald-bright: #34d399;
    --amber: #f59e0b;
    --amber-bright: #fbbf24;
    --rose: #f43f5e;
    --violet: #8b5cf6;
    --cyan: #06b6d4;

    /* Gradients */
    --gradient-emerald: linear-gradient(135deg, #10b981, #34d399);
    --gradient-amber: linear-gradient(135deg, #f59e0b, #fbbf24);
    --gradient-rose: linear-gradient(135deg, #f43f5e, #fb7185);
    --gradient-violet: linear-gradient(135deg, #8b5cf6, #a78bfa);
    --gradient-hero: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.08));
    --gradient-card-line: linear-gradient(90deg, #10b981, #f59e0b);
    --gradient-text: linear-gradient(135deg, #10b981, #34d399, #f59e0b);
    --gradient-cta: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.12) 0%, transparent 70%);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-emerald: rgba(16, 185, 129, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow-emerald: 0 0 20px rgba(16, 185, 129, 0.15);
    --shadow-glow-amber: 0 0 20px rgba(245, 158, 11, 0.15);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-heading: 'Bricolage Grotesque', Georgia, serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(.25, .1, .25, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);
    --transition-hero: 0.8s var(--ease-out);

    /* Layout */
    --header-height: 72px;
    --container-max: 1180px;
    --section-padding: 88px;
}


/* ============================================================
   2. Reset & Base Styles
   ============================================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-bright);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

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

a:hover {
    color: var(--emerald-bright);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

::selection {
    background-color: rgba(16, 185, 129, 0.3);
    color: var(--text-bright);
}


/* ============================================================
   3. Container
   ============================================================ */

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


/* ============================================================
   4. Sections
   ============================================================ */

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-body);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald);
    margin-bottom: 12px;
}


/* ============================================================
   5. Highlight (Gradient Text)
   ============================================================ */

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


/* ============================================================
   6. Header
   ============================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    border-bottom: 1px solid transparent;
    background: transparent;
}

.header.scrolled {
    background: rgba(9, 12, 20, 0.85);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom-color: var(--border-subtle);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

/* Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-body);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color var(--transition-fast);
    padding: 4px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-bright);
}

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

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-bright);
}

.lang-btn .flag {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-btn .arrow {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
}

.lang-switcher.open .lang-btn .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-bright);
}

.lang-dropdown a .flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-body);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   7. Hero Section
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-deep);
    padding-top: var(--header-height);
}

/* Hero gradient overlay background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 30% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    z-index: 1;
}

/* Noise texture overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
}

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

.hero-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow-emerald);
    animation: heroFloat 4s ease-in-out infinite;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero .subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats, .stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 16px 8px;
    max-width: 560px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
}

.hero-stat, .stat, .stat-item {
    flex: 1;
    text-align: center;
    padding: 4px 20px;
    position: relative;
}

.hero-stat:not(:last-child)::after,
.stat:not(:last-child)::after,
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: var(--border-light);
}

.hero-stat .stat-value, .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1.2;
}

.hero-stat .stat-label, .stat .stat-label, .stat-item .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ============================================================
   8. Buttons
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    line-height: 1.4;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-emerald);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35);
    color: #fff;
}

.btn-download {
    background: var(--gradient-amber);
    color: #1a1a1a;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
    color: #1a1a1a;
}

.btn-secondary {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--emerald);
    color: var(--emerald-bright);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

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

.btn-block {
    width: 100%;
    display: flex;
}

.btn .icon {
    font-size: 1.1em;
}


/* ============================================================
   9. Content Layouts (Section Grid & Content Row)
   ============================================================ */

.section-grid,
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.section-grid.reverse,
.content-row.reverse {
    direction: rtl;
}

.section-grid.reverse > *,
.content-row.reverse > * {
    direction: ltr;
}

.section-image,
.content-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.section-image img,
.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.section-image:hover img,
.content-image:hover img {
    transform: scale(1.04);
}

.section-content,
.content-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-content h2,
.content-text h2 {
    margin-bottom: 4px;
}

.section-content p,
.content-text p {
    color: var(--text-body);
    line-height: 1.8;
}

/* Diamond Bullet Lists */
.section-content ul,
.content-text ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.section-content ul li,
.content-text ul li {
    position: relative;
    padding-left: 24px;
    color: var(--text-body);
    line-height: 1.6;
}

.section-content ul li::before,
.content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gradient-emerald);
    transform: rotate(45deg);
    border-radius: 1px;
}


/* ============================================================
   10. Feature Cards
   ============================================================ */

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

.feature-card,
.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-base);
    overflow: hidden;
}

/* Top gradient line on hover */
.feature-card::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-card-line);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover,
.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon,
.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(52, 211, 153, 0.06));
    color: var(--emerald);
    font-size: 1.4rem;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.feature-card h3,
.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p,
.card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0;
}


/* ============================================================
   11. Download Cards
   ============================================================ */

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.download-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition-base);
    overflow: hidden;
}

/* Top gradient bar */
.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.download-card:nth-child(1)::before {
    background: var(--gradient-emerald);
}

.download-card:nth-child(2)::before {
    background: var(--gradient-amber);
}

.download-card:nth-child(3)::before {
    background: var(--gradient-violet);
}

.download-card:nth-child(4)::before {
    background: var(--gradient-rose);
}

.download-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.download-card .edition-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    object-fit: contain;
}

.download-card .edition-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.download-card .version {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.download-card .download-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.download-card .download-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
}

.download-card .download-info li .icon {
    color: var(--emerald);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}


/* ============================================================
   12. Steps
   ============================================================ */

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

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-base);
    counter-increment: step-counter;
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(16, 185, 129, 0.2);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--emerald);
    margin: 0 auto 20px;
}

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

.step-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* Steps List (vertical timeline) */
.steps-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 32px;
}

.steps-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--emerald), rgba(16, 185, 129, 0.1));
    border-radius: 1px;
}

.step-item {
    position: relative;
    padding: 20px 0 20px 28px;
}

.step-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 28px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 3px solid var(--emerald);
    z-index: 1;
}

.step-item h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 0;
}


/* ============================================================
   13. FAQ
   ============================================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-item.active {
    border-color: var(--border-emerald);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-bright);
    cursor: pointer;
    text-align: left;
    gap: 16px;
    background: none;
    border: none;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--emerald-bright);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.faq-item.active .faq-question .faq-icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--border-emerald);
    color: var(--emerald);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   14. Characters Grid
   ============================================================ */

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.character-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.character-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.character-card .character-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
}

.character-card .character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.character-card:hover .character-image img {
    transform: scale(1.06);
}

.character-card .character-body {
    padding: 20px 22px;
}

.character-card .character-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.character-card .character-body p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 12px;
}

.character-card .role-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.15);
}


/* ============================================================
   15. CTA Section
   ============================================================ */

.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cta);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ============================================================
   16. Page Header (Inner Pages)
   ============================================================ */

.page-header {
    padding: calc(var(--header-height) + 48px) 0 48px;
    text-align: center;
    position: relative;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    position: relative;
    margin-bottom: 12px;
}

.page-header p {
    position: relative;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    position: relative;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--emerald);
}

.breadcrumb .separator {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.breadcrumb .current {
    color: var(--text-body);
}


/* ============================================================
   17. Tables
   ============================================================ */

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.info-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.info-table th {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-bright);
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.92rem;
    color: var(--text-body);
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr {
    transition: background var(--transition-fast);
}

.info-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}


/* ============================================================
   18. Legal Content
   ============================================================ */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 0;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 28px 0 12px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin: 12px 0 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-content ul li {
    position: relative;
    padding-left: 20px;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
}

.legal-content ol {
    list-style: decimal;
}

.legal-content ol li {
    color: var(--text-body);
    padding-left: 4px;
}

.legal-content a {
    color: var(--emerald);
    text-decoration: underline;
    text-decoration-color: rgba(16, 185, 129, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition-fast);
}

.legal-content a:hover {
    text-decoration-color: var(--emerald);
}


/* ============================================================
   19. Contact Form
   ============================================================ */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-bright);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-bright);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: var(--bg-card-hover);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


/* ============================================================
   20. Footer
   ============================================================ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 320px;
}

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

.footer-brand .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-brand .social-links a:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--border-emerald);
    color: var(--emerald);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.footer-col ul li a {
    color: var(--text-body);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--emerald-bright);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

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

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


/* ============================================================
   21. Back to Top Button
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-emerald);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}


/* ============================================================
   22. Fade-in Animation
   ============================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* Stagger children delays */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }
.stagger > *:nth-child(7) { transition-delay: 0.48s; }
.stagger > *:nth-child(8) { transition-delay: 0.56s; }
.stagger > *:nth-child(9) { transition-delay: 0.64s; }

/* Slide variants */
.fade-in-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}


/* ============================================================
   23. Hero Particles
   ============================================================ */

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.3);
    animation: particleFloat linear infinite;
}

.hero-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-duration: 8s;
    animation-delay: 0s;
    width: 3px;
    height: 3px;
    background: rgba(16, 185, 129, 0.25);
}

.hero-particle:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-duration: 12s;
    animation-delay: -2s;
    width: 5px;
    height: 5px;
    background: rgba(245, 158, 11, 0.2);
}

.hero-particle:nth-child(3) {
    left: 45%;
    top: 15%;
    animation-duration: 10s;
    animation-delay: -4s;
    width: 3px;
    height: 3px;
    background: rgba(139, 92, 246, 0.2);
}

.hero-particle:nth-child(4) {
    left: 65%;
    top: 70%;
    animation-duration: 9s;
    animation-delay: -1s;
    width: 4px;
    height: 4px;
    background: rgba(16, 185, 129, 0.2);
}

.hero-particle:nth-child(5) {
    left: 80%;
    top: 30%;
    animation-duration: 11s;
    animation-delay: -3s;
    width: 6px;
    height: 6px;
    background: rgba(245, 158, 11, 0.15);
}

.hero-particle:nth-child(6) {
    left: 90%;
    top: 80%;
    animation-duration: 7s;
    animation-delay: -5s;
    width: 3px;
    height: 3px;
    background: rgba(6, 182, 212, 0.2);
}

.hero-particle:nth-child(7) {
    left: 15%;
    top: 85%;
    animation-duration: 13s;
    animation-delay: -6s;
    width: 4px;
    height: 4px;
    background: rgba(16, 185, 129, 0.18);
}

.hero-particle:nth-child(8) {
    left: 55%;
    top: 45%;
    animation-duration: 10s;
    animation-delay: -7s;
    width: 3px;
    height: 3px;
    background: rgba(139, 92, 246, 0.15);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(40px);
        opacity: 0;
    }
}


/* ============================================================
   24. Responsive Breakpoints
   ============================================================ */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 72px;
    }

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

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

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

    .footer-grid .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .section-grid,
    .content-row {
        gap: 40px;
    }

    .hero-stats, .stats-bar {
        max-width: 480px;
    }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
        --header-height: 64px;
    }

    /* Mobile Nav */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-elevated);
        border-left: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: calc(var(--header-height) + 24px) 28px 28px;
        gap: 4px;
        transition: right var(--transition-base);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
        z-index: 999;
        overflow-y: auto;
    }

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

    .nav-links a {
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-links a::after {
        display: none;
    }

    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Grid adjustments */
    .section-grid,
    .content-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-grid.reverse,
    .content-row.reverse {
        direction: ltr;
    }

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

    .download-cards {
        grid-template-columns: 1fr;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-stats, .stats-bar {
        flex-direction: column;
        border-radius: var(--radius-lg);
        gap: 4px;
        padding: 12px 20px;
    }

    .hero-stat, .stat, .stat-item {
        padding: 10px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .hero-stat:not(:last-child)::after,
    .stat:not(:last-child)::after,
    .stat-item:not(:last-child)::after {
        display: none;
    }

    .hero-stat:not(:last-child),
    .stat:not(:last-child),
    .stat-item:not(:last-child) {
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 10px;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
    :root {
        --section-padding: 44px;
    }

    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.15rem; }

    .hero {
        min-height: calc(100vh - 20px);
        min-height: calc(100dvh - 20px);
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-logo {
        width: 76px;
        height: 76px;
    }

    .hero .subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 13px 28px;
        font-size: 0.95rem;
    }

    .feature-card,
    .card {
        padding: 24px 20px;
    }

    .download-card {
        padding: 28px 22px;
    }

    .step-card {
        padding: 28px 22px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-answer-inner {
        padding: 0 18px 16px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .page-header {
        padding: calc(var(--header-height) + 32px) 0 32px;
    }

    .legal-content {
        padding: 32px 0;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .info-table {
        font-size: 0.85rem;
    }

    .info-table th,
    .info-table td {
        padding: 10px 14px;
    }

    .hero-stat .stat-value {
        font-size: 1.2rem;
    }

    .hero-stat .stat-label {
        font-size: 0.72rem;
    }

    .lang-dropdown {
        right: -12px;
    }

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


/* ============================================================
   25. Utility Classes
   ============================================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }
.text-rose { color: var(--rose); }
.text-violet { color: var(--violet); }
.text-cyan { color: var(--cyan); }
.text-bright { color: var(--text-bright); }
.text-muted { color: var(--text-muted); }

.bg-primary { background: var(--bg-primary); }
.bg-elevated { background: var(--bg-elevated); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden { display: none !important; }

.flex { display: flex; }
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }


/* ============================================================
   26. Print Styles
   ============================================================ */

@media print {
    .header,
    .footer,
    .back-to-top,
    .hero-particles,
    .menu-toggle {
        display: none !important;
    }

    body {
        background: #fff;
        color: #1a1a1a;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 32px 0;
    }

    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}
