/* ============================================
   JENNY MOD - DESIGN SYSTEM
   Dark Gaming Theme with Minecraft Aesthetics
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Press+Start+2P&display=swap');

/* ── CSS Variables ── */
:root {
    /* Colors */
    --bg-primary: #060a14;
    --bg-secondary: #0c1222;
    --bg-surface: #111a2e;
    --bg-card: #162040;
    --bg-card-hover: #1c2a52;
    --bg-elevated: #1e2d54;

    /* Brand */
    --green-primary: #00e676;
    --green-light: #69f0ae;
    --green-dark: #00c853;
    --green-glow: rgba(0, 230, 118, 0.3);
    --green-glow-strong: rgba(0, 230, 118, 0.5);

    --purple-primary: #7c4dff;
    --purple-light: #b388ff;
    --purple-dark: #651fff;
    --purple-glow: rgba(124, 77, 255, 0.3);

    --orange-primary: #ff6d00;
    --orange-light: #ff9e40;
    --orange-glow: rgba(255, 109, 0, 0.3);

    --cyan-primary: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.2);

    /* Text */
    --text-primary: #e8eaf6;
    --text-secondary: #9fa8c7;
    --text-muted: #6b7394;
    --text-accent: var(--green-primary);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(0, 230, 118, 0.2);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --container-narrow: 800px;
    --header-height: 72px;

    /* Typography */
    --font-display: 'Oxanium', sans-serif;
    --font-body: 'Chakra Petch', sans-serif;
    --font-pixel: 'Press Start 2P', monospace;

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

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-green: 0 0 20px var(--green-glow), 0 0 60px rgba(0, 230, 118, 0.1);
    --shadow-glow-purple: 0 0 20px var(--purple-glow), 0 0 60px rgba(124, 77, 255, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

/* Animated background noise texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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");
    pointer-events: none;
    z-index: 0;
}

/* Grid background pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 230, 118, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 230, 118, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
}

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

a:hover {
    color: var(--green-light);
}

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

ul, ol {
    list-style: none;
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

.container--narrow {
    max-width: var(--container-narrow);
}

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

.section--tight {
    padding: var(--space-3xl) 0;
}

/* ── Header / Navigation ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: rgba(6, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.header.scrolled {
    background: rgba(6, 10, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: var(--border-glow);
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.header__logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.header__logo-text span {
    color: var(--green-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--green-primary);
    background: rgba(0, 230, 118, 0.08);
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--green-primary);
    border-radius: 1px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: var(--space-md);
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switcher__btn:hover {
    border-color: var(--green-primary);
    color: var(--text-primary);
}

.lang-switcher__btn svg {
    width: 16px;
    height: 16px;
}

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

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

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

.lang-switcher__dropdown a:hover,
.lang-switcher__dropdown a.active {
    background: rgba(0, 230, 118, 0.1);
    color: var(--green-primary);
}

.lang-switcher__dropdown a.active {
    font-weight: 600;
}

/* Download CTA in nav */
.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: #000 !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 0 20px var(--green-glow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--green-glow-strong);
    color: #000 !important;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding-top: var(--header-height);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    height: 100%;
    padding-bottom: var(--header-height);
}

.mobile-nav__link {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
    color: var(--green-primary);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(6, 10, 20, 0.4) 0%,
        rgba(6, 10, 20, 0.7) 50%,
        rgba(6, 10, 20, 1) 100%);
}

/* Animated floating particles */
.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--green-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 0.5s; }
.particle:nth-child(4) { left: 40%; animation-delay: 2s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1.5s; }
.particle:nth-child(6) { left: 60%; animation-delay: 3s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.8s; }
.particle:nth-child(8) { left: 80%; animation-delay: 2.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.2s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3.5s; }

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

/* Glowing orbs */
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbPulse 8s ease-in-out infinite alternate;
}

.hero__orb--green {
    width: 400px;
    height: 400px;
    background: var(--green-primary);
    top: 10%;
    right: -10%;
    opacity: 0.08;
}

.hero__orb--purple {
    width: 350px;
    height: 350px;
    background: var(--purple-primary);
    bottom: 10%;
    left: -5%;
    opacity: 0.08;
    animation-delay: 3s;
}

@keyframes orbPulse {
    0% { transform: scale(1); opacity: 0.08; }
    100% { transform: scale(1.3); opacity: 0.12; }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xl);
    animation: fadeSlideUp 0.8s ease forwards;
}

.hero__badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green-primary);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

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

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeSlideUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

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

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    animation: fadeSlideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeSlideUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero__image {
    position: relative;
    z-index: 2;
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow-green);
    border: 1px solid var(--border-glow);
}

.hero__stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero__stat {
    text-align: left;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-primary);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: #000;
    box-shadow: 0 0 25px var(--green-glow);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px var(--green-glow-strong);
    color: #000;
}

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

.btn--secondary:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    background: rgba(0, 230, 118, 0.05);
    transform: translateY(-2px);
}

.btn--purple {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple-primary));
    color: #fff;
    box-shadow: 0 0 25px var(--purple-glow);
}

.btn--purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px var(--purple-glow);
    color: #fff;
}

.btn--large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

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

.btn svg, .btn i {
    width: 18px;
    height: 18px;
}

/* Button shimmer effect */
.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

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

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--green-primary);
    margin-bottom: var(--space-md);
}

.section-header__tag::before,
.section-header__tag::after {
    content: '';
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-primary));
}

.section-header__tag::after {
    background: linear-gradient(90deg, var(--green-primary), transparent);
}

.section-header__title {
    margin-bottom: var(--space-md);
}

.section-header__desc {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* ── Cards ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary), var(--purple-primary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

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

.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 230, 118, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    color: var(--green-primary);
    font-size: 1.5rem;
}

.card__title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

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

/* Card grid */
.card-grid {
    display: grid;
    gap: var(--space-xl);
}

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

.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Feature List ── */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.feature-list__item:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.feature-list__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 230, 118, 0.15);
    color: var(--green-primary);
    border-radius: 50%;
    font-size: 0.75rem;
    margin-top: 2px;
}

/* ── Download Section ── */
.download-card {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.03) 0%, transparent 70%);
    animation: downloadGlow 6s ease-in-out infinite alternate;
}

@keyframes downloadGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10%, 10%); }
}

.download-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: rgba(0, 230, 118, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--green-primary);
    position: relative;
    z-index: 1;
}

.download-card__title {
    position: relative;
    z-index: 1;
}

.download-card__meta {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin: var(--space-lg) 0;
    position: relative;
    z-index: 1;
}

.download-card__meta-item {
    text-align: center;
}

.download-card__meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.download-card__meta-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

/* ── FAQ / Accordion ── */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--green-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer__inner {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Table of Contents ── */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.toc__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--green-primary);
}

.toc__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.toc__link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 12px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.toc__link:hover {
    background: rgba(0, 230, 118, 0.08);
    color: var(--green-primary);
}

.toc__link::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    opacity: 0.4;
    flex-shrink: 0;
}

/* ── Steps / How To ── */
.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.step {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.step__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: #000;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 0 20px var(--green-glow);
}

.step__content h3 {
    margin-bottom: var(--space-sm);
}

.step__content p {
    color: var(--text-secondary);
}

/* Code blocks */
.code-block {
    background: #0d1117;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--green-primary);
    overflow-x: auto;
    margin: var(--space-md) 0;
}

/* ── Info Box ── */
.info-box {
    background: rgba(0, 230, 118, 0.05);
    border: 1px solid rgba(0, 230, 118, 0.15);
    border-left: 4px solid var(--green-primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.info-box--warning {
    background: rgba(255, 109, 0, 0.05);
    border-color: rgba(255, 109, 0, 0.15);
    border-left-color: var(--orange-primary);
}

.info-box__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.info-box__text {
    font-size: 0.95rem;
    margin: 0;
}

/* ── Comparison Table ── */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: var(--bg-surface);
    padding: var(--space-lg);
    text-align: left;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-medium);
}

.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

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

.comparison-table tr:hover td {
    background: rgba(0, 230, 118, 0.03);
}

/* ── Tags / Badges ── */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag--green {
    background: rgba(0, 230, 118, 0.15);
    color: var(--green-primary);
}

.tag--purple {
    background: rgba(124, 77, 255, 0.15);
    color: var(--purple-light);
}

.tag--orange {
    background: rgba(255, 109, 0, 0.15);
    color: var(--orange-light);
}

/* ── Image Showcase ── */
.img-showcase {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.img-showcase img {
    width: 100%;
    display: block;
    transition: transform var(--transition-slow);
}

.img-showcase:hover img {
    transform: scale(1.02);
}

.img-showcase__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ── Footer ── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-4xl) 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer__brand {
    max-width: 350px;
}

.footer__brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-decoration: none;
}

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

.footer__brand-logo span {
    color: var(--green-primary);
}

.footer__brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer__heading {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--green-primary);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

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

.footer__disclaimer {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    max-width: 600px;
    text-align: right;
}

/* ── Scroll To Top ── */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--green-primary);
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: 0 0 20px var(--green-glow);
}

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

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--green-glow-strong);
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

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

.breadcrumb__sep {
    color: var(--text-muted);
    opacity: 0.4;
}

/* ── Page Header (for inner pages) ── */
.page-header {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.page-header__desc {
    max-width: 600px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ── Prose / Content ── */
.prose {
    line-height: 1.8;
    font-size: 1.05rem;
}

.prose h2 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.prose h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.prose p {
    margin-bottom: var(--space-lg);
}

.prose ul, .prose ol {
    padding-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.prose a {
    color: var(--green-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose img {
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border-medium);
}

.prose blockquote {
    border-left: 3px solid var(--green-primary);
    padding-left: var(--space-lg);
    margin: var(--space-lg) 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* ── Legal / Privacy pages ── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--green-primary);
    font-size: 1.5rem;
}

.legal-content .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-2xl);
}

/* ── Contact Form ── */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px var(--green-glow);
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .card-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    .hero__stats {
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .nav,
    .nav__cta {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-nav {
        display: block;
    }
    .lang-switcher {
        margin-left: 0;
        margin-right: var(--space-md);
    }
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }
    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .hero__stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    .card-grid--2,
    .card-grid--3,
    .card-grid--4 {
        grid-template-columns: 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    .footer__disclaimer {
        text-align: center;
    }
    .step {
        flex-direction: column;
        gap: var(--space-md);
    }
    .download-card__meta {
        flex-direction: column;
        gap: var(--space-md);
    }
    .section {
        padding: var(--space-3xl) 0;
    }
    .container {
        padding: 0 var(--space-md);
    }
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    .hero__actions {
        flex-direction: column;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-green { color: var(--green-primary); }
.text-purple { color: var(--purple-primary); }
.text-orange { color: var(--orange-primary); }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }
.hidden { display: none; }

/* ── Print ── */
@media print {
    .header, .footer, .scroll-top, .mobile-nav {
        display: none;
    }
    body {
        background: #fff;
        color: #000;
    }
}
