/* ============================================================
   OPTITOOLKIT PRO — OFFICIAL WEBSITE & DOWNLOAD PORTAL
   Design: Modern Dark Glassmorphism, Sapphire & Cyber Violet Glows,
           Ultra-Clean High-Performance Aesthetics.
   ============================================================ */

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

:root {
    --bg-base:          #07070d;
    --bg-card:          rgba(15, 15, 26, 0.75);
    --bg-card-hover:    rgba(22, 22, 38, 0.85);
    --bg-surface:       #0d0d18;
    --bg-glass:         rgba(255, 255, 255, 0.03);
    
    --border-subtle:    rgba(255, 255, 255, 0.08);
    --border-hover:     rgba(59, 130, 246, 0.4);
    --border-accent:    rgba(139, 92, 246, 0.5);
    
    --text-primary:     #f1f5f9;
    --text-secondary:   #94a3b8;
    --text-muted:       #64748b;
    
    --accent-blue:      #3b82f6;
    --accent-purple:    #8b5cf6;
    --accent-cyan:      #06b6d4;
    --accent-emerald:   #10b981;
    --accent-amber:     #f59e0b;
    --accent-danger:    #ef4444;

    --gradient-brand:   linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-glow:    radial-gradient(ellipse 65% 50% at 50% -15%, rgba(59, 130, 246, 0.22), transparent 70%);
    --gradient-card:    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    --font-ui:          'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono:        'JetBrains Mono', Consolas, monospace;
    
    --radius-sm:        8px;
    --radius-md:        14px;
    --radius-lg:        20px;
    --radius-full:      9999px;
    
    --shadow-soft:      0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-card:      0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-glow:      0 0 35px -5px rgba(59, 130, 246, 0.35);
    --shadow-purple:    0 0 35px -5px rgba(139, 92, 246, 0.4);
    
    --transition:       all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    color-scheme: dark;
}

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

/* Background Atmosphere */
.bg-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-ambient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 700px;
    background: var(--gradient-glow);
}

.bg-ambient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1268px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---- NAVBAR ---- */
.navbar {
    position: sticky;
    top: 16px;
    z-index: 50;
    margin: 16px auto 32px;
    background: rgba(13, 13, 24, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

.brand-text {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

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

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

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

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

.btn-nav-primary {
    background: #3b82f6;
    color: #fff;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-nav-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

/* Language Selector */
.lang-selector-wrapper {
    position: relative;
    user-select: none;
}

.lang-selector-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 7px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-selector-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
}

.lang-chevron {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
}

.lang-selector-wrapper.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: #0f101d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.85), 0 0 20px rgba(59, 130, 246, 0.18);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    gap: 3px;
    z-index: 1000;
    animation: langFadeDown 0.18s ease;
}

.lang-selector-wrapper.open .lang-dropdown {
    display: flex;
}

@keyframes langFadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-option {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lang-option.active {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.35);
    font-weight: 600;
}

.lang-option-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.lang-option-text small {
    font-size: 0.72rem;
    opacity: 0.75;
    font-family: var(--font-mono);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* ---- HERO SECTION ---- */
.hero {
    text-align: center;
    padding: 48px 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pill-version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #c084fc;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.hero h1 {
    font-size: clamp(2.3rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 900px;
    color: #fff;
}

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

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    font-weight: 400;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.btn-cta-installer {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.btn-cta-installer:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.6);
}

.btn-cta-portable {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 14px 26px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

.btn-cta-portable:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Quick Terminal PowerShell box */
.command-wrapper {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

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

.command-box {
    display: flex;
    align-items: center;
    background: #090912;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 8px 12px 8px 16px;
    gap: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 520px;
    width: 100%;
}

.command-box code {
    font-family: var(--font-mono);
    color: #60a5fa;
    font-size: 0.85rem;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.command-box .prefix {
    color: var(--text-muted);
    margin-right: 6px;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.copy-btn.copied {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-badge-item svg {
    color: #10b981;
}

/* ---- INTERACTIVE SHOWCASE (SCREENSHOTS) ---- */
.showcase-section {
    padding: 40px 0 70px;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

.section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #3b82f6;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

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

/* Tabs */
.showcase-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.tab-btn.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #93c5fd;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Mockup Frame */
.mockup-window {
    background: #0d0d18;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(59, 130, 246, 0.15);
    transition: var(--transition);
}

.mockup-header {
    background: #111122;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    gap: 14px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-grow: 1;
    text-align: center;
}

.mockup-body {
    position: relative;
    background: #08080f;
    min-height: 400px;
}

.mockup-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.35s ease forwards;
}

.mockup-slide.active {
    display: block;
}

.mockup-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.mockup-caption {
    padding: 14px 20px;
    background: #0c0c16;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mockup-caption strong {
    color: var(--text-primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 18, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}

.img-lightbox.open {
    display: flex;
}

.img-lightbox img {
    max-width: 95vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
}

/* ---- FEATURES GRID ---- */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.feature-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

.feature-icon.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ---- 2 EDICIONES DE DESCARGA (PORTABLE Y SETUP) ---- */
.download-section {
    padding: 60px 0 80px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 40px auto 0;
}

.dl-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(14px);
}

.dl-card.featured {
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(13, 13, 24, 0.8) 100%);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
}

.dl-badge-recommend {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.dl-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.dl-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.dl-card.featured .dl-icon-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
    color: #60a5fa;
}

.dl-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.dl-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dl-desc {
    color: var(--text-secondary);
    font-size: 0.93rem;
    margin-bottom: 22px;
    line-height: 1.5;
}

.dl-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.dl-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dl-features li svg {
    color: #10b981;
    flex-shrink: 0;
}

.btn-download {
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
}

.btn-download.primary {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.btn-download.primary:hover {
    background: #2563eb;
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

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

.btn-download.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ---- PRICING SECTION ---- */
.pricing-section {
    padding: 60px 0 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(14px);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.popular {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(13, 13, 24, 0.85) 100%);
    box-shadow: var(--shadow-purple);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    white-space: nowrap;
}

.pricing-top {
    margin-bottom: 24px;
}

.pricing-tier-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #60a5fa;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.pricing-card.popular .pricing-tier-tag {
    color: #c084fc;
}

.pricing-card.workshop .pricing-tier-tag {
    color: #fbbf24;
}

.pricing-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.86rem;
    min-height: 42px;
}

.pricing-price-box {
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

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

.pricing-divider {
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 22px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.86rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.pricing-features li strong {
    color: var(--text-primary);
}

.pricing-features li svg {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-pricing {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pricing.outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-pricing.outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-pricing.highlight {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-pricing.highlight:hover {
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.btn-pricing.workshop-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.btn-pricing.workshop-btn:hover {
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

/* Guarantee / No Subscription banner */
.pricing-guarantee {
    margin-top: 32px;
    text-align: center;
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    color: #34d399;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ---- FAQ SECTION ---- */
.faq-section {
    padding: 50px 0 80px;
}

.faq-accordion {
    max-width: 820px;
    margin: 32px auto 0;
    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: var(--transition);
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.35);
    background: var(--bg-card-hover);
}

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

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: #3b82f6;
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.35s ease-in-out;
}

.faq-answer p {
    padding: 0 24px 20px;
}

/* ---- FOOTER ---- */
/* ---- HERO SUB ACTIONS, REPO BAR, DONATIONS & SOCIALS ---- */
.hero-sub-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
}

.btn-sub-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.btn-sub-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.45);
    transform: translateY(-1px);
}

.btn-sub-action.docs {
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.1);
}

.btn-sub-action.donate {
    color: #f472b6;
    border-color: rgba(236, 72, 153, 0.35);
    background: rgba(236, 72, 153, 0.1);
}

.btn-sub-action.donate:hover {
    border-color: rgba(236, 72, 153, 0.65);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
}

.btn-sub-action.socials {
    color: #c084fc;
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.1);
}

.dl-repo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn-repo-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.4);
    transition: var(--transition);
}

.btn-repo-link:hover {
    background: rgba(59, 130, 246, 0.24);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.btn-repo-link.secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-subtle);
    color: var(--text-secondary);
}

.btn-repo-link.secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

/* Donations Section */
.donate-section {
    padding: 50px 0 70px;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    max-width: 1020px;
    margin: 34px auto 0;
}

.donate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.donate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow-card);
}

.donate-card.featured-donate {
    border-color: rgba(236, 72, 153, 0.5);
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.09) 0%, rgba(13, 13, 24, 0.85) 100%);
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.18);
}

.donate-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    margin-bottom: 4px;
}

.donate-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.donate-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 10px;
}

.btn-donate {
    width: 100%;
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.btn-donate.paypal-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(96, 165, 250, 0.4);
}

.btn-donate.kofi-btn {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-color: rgba(244, 114, 182, 0.4);
}

.btn-donate.github-btn:hover,
.btn-donate.paypal-btn:hover,
.btn-donate.kofi-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
}

/* Social Media Section */
.socials-section {
    padding: 30px 0 70px;
}

.socials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 980px;
    margin: 28px auto 0;
}

.social-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: var(--text-primary);
    min-width: 210px;
    transition: var(--transition);
}

.social-pill:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.social-pill .social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.social-pill div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.social-pill strong {
    font-size: 0.92rem;
    color: #fff;
}

.social-pill small {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0 30px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
}

/* ---- RESPONSIVE MEDIA QUERIES ---- */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .download-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 24px 0 40px;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .btn-cta-installer, .btn-cta-portable {
        width: 100%;
        justify-content: center;
    }
    .mockup-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand-badge {
        display: none;
    }
    .lang-selector-btn {
        padding: 5px 9px;
        font-size: 0.78rem;
        gap: 5px;
    }
    .btn-nav-primary {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
