/* ═══════════════════════════════════════════════════════════
   CUTIFY — World-Class Download Page
   Ahmed Nazif  v5.0
═══════════════════════════════════════════════════════════ */

/* ──── TOKENS ──── */
:root {
    /* Colors */
    --c-bg:         #060810;
    --c-bg-2:       #090C18;
    --c-bg-3:       #0D1020;
    --c-surface:    rgba(255,255,255,0.035);
    --c-border:     rgba(255,255,255,0.07);
    --c-border-h:   rgba(120,80,255,0.35);

    --c-purple:     #7B61FF;
    --c-purple-2:   #9D4EDD;
    --c-cyan:       #00F5FF;
    --c-teal:       #00E5C3;
    --c-green:      #00E87A;
    --c-orange:     #FF6B35;
    --c-gold:       #FFD700;

    --c-text:       #EEEEFF;
    --c-muted:      rgba(200,205,240,0.55);
    --c-subtle:     rgba(200,205,240,0.3);

    /* Fonts */
    --f-display:    'Outfit', sans-serif;
    --f-body:       'Inter', sans-serif;
    --f-mono:       'JetBrains Mono', monospace;

    /* Layout */
    --r:            14px;
    --r-lg:         24px;
    --r-xl:         32px;
    --r-pill:       999px;

    /* Easing */
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ──── RESET ──── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--f-body);
    background: var(--c-bg);
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--c-bg-3); }
::-webkit-scrollbar-thumb { background: var(--c-purple); border-radius: 99px; }

/* ──── CURSOR GLOW ──── */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,97,255,0.08) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: transform 0.12s ease;
    will-change: transform;
}

/* ──── NAV ──── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 68px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 8, 16, 0);
    transition: background 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(6, 8, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: var(--c-border);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}
.nav-logo span {
    background: linear-gradient(135deg, #fff 30%, var(--c-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-muted);
    padding: 0.4rem 0.9rem;
    border-radius: var(--r);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--c-text); background: var(--c-surface); }
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.3rem;
    background: var(--c-purple);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 0 20px rgba(123,97,255,0.4);
}
.nav-cta:hover {
    background: #8F73FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 30px rgba(123,97,255,0.6);
}

/* ──── HERO ──── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 120px 8% 80px;
    position: relative;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    top: -200px; left: -100px;
    background: radial-gradient(circle, rgba(123,97,255,0.18) 0%, transparent 70%);
    animation: driftA 12s ease-in-out infinite alternate;
}
.hero-glow-2 {
    width: 500px; height: 500px;
    top: 100px; right: -150px;
    background: radial-gradient(circle, rgba(0,245,255,0.12) 0%, transparent 70%);
    animation: driftB 10s ease-in-out infinite alternate;
}
.hero-glow-3 {
    width: 400px; height: 400px;
    bottom: -100px; left: 40%;
    background: radial-gradient(circle, rgba(0,228,130,0.08) 0%, transparent 70%);
    animation: driftC 14s ease-in-out infinite alternate;
}
@keyframes driftA {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}
@keyframes driftB {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 60px) scale(1.1); }
}
@keyframes driftC {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, -50px); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(123,97,255,0.1);
    border: 1px solid rgba(123,97,255,0.25);
    border-radius: var(--r-pill);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-purple);
    margin-bottom: 2rem;
    animation: fadeUp 0.6s var(--ease-out) 0.1s both;
}
.pill-dot {
    width: 6px; height: 6px;
    background: var(--c-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--c-cyan);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
}
.title-line {
    display: block;
}
.title-line-1 {
    color: var(--c-muted);
    animation: fadeUp 0.7s var(--ease-out) 0.2s both;
}
.title-line-2 {
    animation: fadeUp 0.7s var(--ease-out) 0.3s both;
}
.title-line-3 {
    color: var(--c-muted);
    animation: fadeUp 0.7s var(--ease-out) 0.4s both;
}

.text-gradient {
    background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-purple) 50%, var(--c-purple-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--c-muted);
    margin-bottom: 2.5rem;
    animation: fadeUp 0.7s var(--ease-out) 0.5s both;
}
.hero-sub em {
    color: var(--c-text);
    font-style: normal;
    font-weight: 600;
}

/* ──── DOWNLOAD BUTTONS ──── */
.download-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeUp 0.7s var(--ease-out) 0.6s both;
}

.dl-btn {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--r-xl);
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
}

/* Primary download button */
.dl-btn-primary {
    background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-purple-2) 60%, #6040ff 100%);
    border-color: rgba(255,255,255,0.15);
    box-shadow:
        0 0 0 1px rgba(123,97,255,0.4),
        0 8px 32px rgba(123,97,255,0.35),
        0 32px 80px rgba(123,97,255,0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
    animation: floatBtn 4s ease-in-out infinite;
}
.dl-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(123,97,255,0.6),
        0 16px 48px rgba(123,97,255,0.5),
        0 48px 100px rgba(123,97,255,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}
@keyframes floatBtn {
    0%, 100% { box-shadow: 0 0 0 1px rgba(123,97,255,0.4), 0 8px 32px rgba(123,97,255,0.35), 0 32px 80px rgba(123,97,255,0.15), inset 0 1px 0 rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 0 1px rgba(123,97,255,0.5), 0 12px 40px rgba(123,97,255,0.45), 0 40px 90px rgba(123,97,255,0.2), inset 0 1px 0 rgba(255,255,255,0.2); }
}

/* Shimmer sweep */
.dl-btn-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}
.dl-btn-primary:hover .dl-btn-shimmer { left: 160%; }

/* Ghost / disabled button */
.dl-btn-ghost {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.1);
}
.dl-btn-coming {
    cursor: not-allowed;
    opacity: 0.65;
}
.dl-btn-coming:hover {
    transform: none !important;
    opacity: 0.65;
}

.dl-btn-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: var(--r);
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s var(--ease-spring);
}
.dl-btn-primary:hover .dl-btn-icon { transform: translateY(3px); }
.dl-icon-locked { background: rgba(255,255,255,0.04); color: var(--c-muted); }

.dl-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.dl-btn-main {
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.dl-btn-sub {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
}
.dl-btn-coming .dl-btn-main { color: var(--c-muted); }
.dl-btn-coming .dl-btn-sub { color: var(--c-subtle); }

.dl-btn-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    transition: transform 0.3s var(--ease-spring), background 0.3s;
}
.dl-btn-primary:hover .dl-btn-arrow {
    transform: translateX(4px);
    background: rgba(255,255,255,0.2);
}

.coming-badge {
    padding: 0.2rem 0.6rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-pill);
    font-family: var(--f-mono);
    font-size: 0.65rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Large variant */
.dl-btn-lg {
    padding: 1.2rem 1.8rem;
}
.dl-btn-lg .dl-btn-icon {
    width: 52px; height: 52px;
    font-size: 1.3rem;
}
.dl-btn-lg .dl-btn-main { font-size: 1.15rem; }

/* Trust row */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeUp 0.7s var(--ease-out) 0.7s both;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--c-muted);
}
.trust-item i {
    font-size: 0.75rem;
    color: var(--c-green);
}
.trust-divider {
    width: 1px;
    height: 14px;
    background: var(--c-border);
}

/* ──── FLOATING APP PREVIEW ──── */
.hero-preview {
    position: relative;
    z-index: 1;
    animation: previewIn 1s var(--ease-out) 0.4s both;
}
@keyframes previewIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: none; }
}

.preview-chrome {
    background: #0D0F1C;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(123,97,255,0.15),
        0 32px 80px rgba(0,0,0,0.5),
        0 0 120px rgba(123,97,255,0.1);
    animation: floatPreview 6s ease-in-out infinite;
}
@keyframes floatPreview {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.chrome-bar {
    height: 38px;
    background: #0A0C18;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}
.chrome-dots {
    display: flex;
    gap: 6px;
}
.dot {
    width: 11px; height: 11px;
    border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }
.chrome-title {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--c-muted);
    flex: 1;
    text-align: center;
}

.preview-img-wrap {
    position: relative;
    overflow: hidden;
}
.preview-img {
    width: 100%;
    display: block;
}
.preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(6,8,16,0.6) 100%);
    pointer-events: none;
}

.preview-reflection {
    height: 60px;
    background: linear-gradient(to bottom, rgba(123,97,255,0.06), transparent);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
    transform: scaleY(-1);
    opacity: 0.5;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-subtle);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--f-mono);
    animation: fadeIn 1s ease 1.5s both;
}
.scroll-arrow {
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ──── STATS BAR ──── */
.stats-bar {
    padding: 0 8%;
    position: relative;
    z-index: 2;
    margin-top: -2px;
}
.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: blur(20px);
}
.stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 2rem 1.5rem;
    flex-wrap: wrap;
    text-align: center;
}
.stat-num {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-text);
    line-height: 1;
}
.stat-suffix {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-purple);
    line-height: 1;
}
.stat-label {
    width: 100%;
    font-size: 0.78rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--f-mono);
    margin-top: 0.3rem;
}
.stat-sep {
    width: 1px;
    height: 60px;
    background: var(--c-border);
    flex-shrink: 0;
}

/* ──── SECTION COMMONS ──── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 5rem;
}
.eyebrow {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c-purple);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--f-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--c-text);
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--c-muted);
}

/* ──── FEATURES ──── */
.features {
    padding: 8rem 8%;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.feat-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.feat-card:hover {
    border-color: var(--c-border-h);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(123,97,255,0.12);
}

.feat-card-glow {
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,97,255,0.12) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s;
}
.feat-card-glow-teal {
    background: radial-gradient(circle, rgba(0,229,195,0.12) 0%, transparent 70%);
}
.feat-card:hover .feat-card-glow { opacity: 1.5; }

.feat-card-big {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feat-card-sm {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
}
.feat-card-sm h4 {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-text);
}
.feat-card-sm p {
    font-size: 0.9rem;
    color: var(--c-muted);
    line-height: 1.65;
}


.feat-icon {
    width: 52px; height: 52px;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.feat-icon-purple {
    background: linear-gradient(135deg, rgba(123,97,255,0.2), rgba(123,97,255,0.05));
    border: 1px solid rgba(123,97,255,0.3);
    color: var(--c-purple);
    box-shadow: 0 0 20px rgba(123,97,255,0.15);
}
.feat-icon-teal {
    background: linear-gradient(135deg, rgba(0,229,195,0.2), rgba(0,229,195,0.05));
    border: 1px solid rgba(0,229,195,0.3);
    color: var(--c-teal);
    box-shadow: 0 0 20px rgba(0,229,195,0.15);
}
.feat-icon-sm {
    width: 42px; height: 42px;
    font-size: 1rem;
}
.feat-icon-blue {
    background: rgba(0,245,255,0.08);
    border: 1px solid rgba(0,245,255,0.2);
    color: var(--c-cyan);
}
.feat-icon-green {
    background: rgba(0,232,122,0.08);
    border: 1px solid rgba(0,232,122,0.2);
    color: var(--c-green);
}
.feat-icon-orange {
    background: rgba(255,107,53,0.08);
    border: 1px solid rgba(255,107,53,0.2);
    color: var(--c-orange);
}

.feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--r-pill);
    font-family: var(--f-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}
.feat-badge-ai {
    background: rgba(123,97,255,0.1);
    border: 1px solid rgba(123,97,255,0.2);
    color: var(--c-purple);
}
.feat-badge-smart {
    background: rgba(0,229,195,0.1);
    border: 1px solid rgba(0,229,195,0.2);
    color: var(--c-teal);
}

.feat-title {
    font-family: var(--f-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--c-text);
}

.feat-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--c-muted);
}
.feat-desc em {
    color: var(--c-text);
    font-style: normal;
    font-weight: 600;
}

.feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.feat-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--c-muted);
}
.feat-list li i {
    color: var(--c-green);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.feat-preview-mini {
    margin-top: auto;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    max-height: 200px;
    position: relative;
}
.feat-preview-mini img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}
.feat-preview-mini::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(9,12,24,0.9));
}

/* Small cards span 2 columns of the 6-column grid */
.features-grid .feat-card-sm {
    grid-column: span 2;
}

/* ──── SCREENSHOTS ──── */
.screenshots {
    padding: 8rem 8%;
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 50%, var(--c-bg) 100%);
}

.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--c-border);
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--c-muted);
    font-family: var(--f-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tab-btn:hover { border-color: rgba(123,97,255,0.3); color: var(--c-text); }
.tab-btn.tab-active {
    background: rgba(123,97,255,0.15);
    border-color: rgba(123,97,255,0.4);
    color: #fff;
}

.screenshot-stage {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}
.stage-chrome {
    background: #0B0D1A;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(123,97,255,0.1),
        0 40px 100px rgba(0,0,0,0.5),
        0 0 80px rgba(123,97,255,0.06);
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--ease-out);
}
.stage-chrome:hover { transform: scale(1.01); }
.stage-bar {
    height: 42px;
    background: #080A15;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.2rem;
}
.stage-dots {
    display: flex;
    gap: 6px;
}
.stage-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
}
.stage-dots span:nth-child(1) { background: #FF5F57; }
.stage-dots span:nth-child(2) { background: #FEBC2E; }
.stage-dots span:nth-child(3) { background: #28C840; }
.stage-title {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: var(--c-muted);
    flex: 1;
    text-align: center;
}
.stage-img-wrap {
    position: relative;
    overflow: hidden;
}
.stage-img-wrap img {
    width: 100%;
    display: block;
    transition: opacity 0.4s ease;
}
.stage-shine {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123,97,255,0.4), transparent);
}

.stage-glow {
    position: absolute;
    bottom: -60px; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 120px;
    background: radial-gradient(ellipse, rgba(123,97,255,0.25) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

/* ──── INSTALL ──── */
.install {
    padding: 8rem 8%;
}

.steps {
    max-width: 780px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 2rem;
}

.step-num-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    width: 60px;
}
.step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--c-purple);
    flex-shrink: 0;
    z-index: 1;
}
.step-line {
    width: 1px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, var(--c-border), transparent);
    margin: 8px 0;
}

.step-content {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 3.5rem;
    align-items: flex-start;
}

.step-icon-wrap {
    width: 46px; height: 46px;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.step-icon-blue   { background: rgba(0,245,255,0.1); border: 1px solid rgba(0,245,255,0.2); color: var(--c-cyan); }
.step-icon-purple { background: rgba(123,97,255,0.1); border: 1px solid rgba(123,97,255,0.2); color: var(--c-purple); }
.step-icon-green  { background: rgba(0,232,122,0.1); border: 1px solid rgba(0,232,122,0.2); color: var(--c-green); }

.step-text h3 {
    font-family: var(--f-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.6rem;
    margin-top: 0.5rem;
}
.step-text p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--c-muted);
}
.step-text strong { color: var(--c-text); font-weight: 600; }
.step-text code {
    font-family: var(--f-mono);
    font-size: 0.82rem;
    background: rgba(123,97,255,0.12);
    color: var(--c-purple);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(123,97,255,0.2);
}

/* Bundled deps */
.bundled-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 1.8rem 2rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.bundled-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.bundled-label i { color: var(--c-green); }
.bundled-chips {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    flex: 1;
}
.dep-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--c-border);
    border-radius: var(--r-pill);
    font-size: 0.825rem;
    color: var(--c-muted);
    font-weight: 500;
}
.dep-chip i { font-size: 1rem; }
.fa-python { color: #4B8BBE; }
.fa-node-js { color: #68A063; }
.chip-tag {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--c-green);
    letter-spacing: 1px;
    border: 1px solid rgba(0,232,122,0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 99px;
    background: rgba(0,232,122,0.08);
}

/* ──── SUPPORT SECTION ──── */
.support-section {
    position: relative;
    padding: 8rem 8% 4rem;
    overflow: hidden;
}
.support-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,97,255,0.06) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}
.support-card {
    position: relative;
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    overflow: hidden;
}
.support-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}
.support-card-glow-purple {
    background: radial-gradient(circle at top right, rgba(123,97,255,0.15), transparent 60%);
}
.support-card-glow-green {
    background: radial-gradient(circle at top right, rgba(0,232,122,0.15), transparent 60%);
}
.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--c-border-h);
    box-shadow: 0 10px 40px rgba(123,97,255,0.08);
}
.support-card:hover .support-card-glow {
    opacity: 1;
}
.support-card:hover:nth-child(2) {
    border-color: rgba(0,232,122,0.35);
    box-shadow: 0 10px 40px rgba(0,232,122,0.08);
}
.support-card-header {
    position: relative;
    z-index: 1;
}
.support-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--c-purple);
    margin-bottom: 1.5rem;
    transition: transform 0.3s var(--ease-spring);
}
.support-card:nth-child(2) .support-icon {
    color: var(--c-green);
}
.support-card:hover .support-icon {
    transform: scale(1.1) rotate(5deg);
}
.support-card-header h3 {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}
.support-card-header p {
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.support-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem;
    border-radius: var(--r);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.25s var(--ease-out);
    text-align: center;
    cursor: pointer;
}
.support-btn-kofi {
    background: rgba(255, 221, 0, 0.1);
    border: 1px solid rgba(255, 221, 0, 0.25);
    color: #FFDD00;
}
.support-btn-kofi:hover {
    background: #FFDD00;
    color: #000;
    box-shadow: 0 0 25px rgba(255, 221, 0, 0.3);
}
.support-btn-paypal {
    background: rgba(0, 112, 224, 0.1);
    border: 1px solid rgba(0, 112, 224, 0.25);
    color: #0070e0;
}
.support-btn-paypal:hover {
    background: #0070e0;
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 112, 224, 0.35);
}
.support-btn-instapay {
    background: rgba(0, 232, 122, 0.1);
    border: 1px solid rgba(0, 232, 122, 0.25);
    color: var(--c-green);
}
.support-btn-instapay:hover {
    background: var(--c-green);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 232, 122, 0.35);
}

/* ──── NAVBAR ACTIONS ──── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-btn-support {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--r-pill);
    transition: all 0.25s var(--ease-out);
}
.nav-btn-support i {
    color: #ff4a82; /* Pink heart */
    transition: transform 0.25s var(--ease-spring);
}
.nav-btn-support:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 74, 130, 0.15);
}
.nav-btn-support:hover i {
    transform: scale(1.25);
}

.f-link-heart i {
    color: #ff4a82;
    transition: transform 0.25s var(--ease-spring);
}
.f-link-heart:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #ff2a6d;
}

/* ──── CTA SECTION ──── */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 10rem 8%;
    text-align: center;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123,97,255,0.2) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    animation: driftA 10s ease-in-out infinite alternate;
}
.cta-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(123,97,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123,97,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
}
.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(0,232,122,0.08);
    border: 1px solid rgba(0,232,122,0.2);
    border-radius: var(--r-pill);
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-green);
    margin-bottom: 2rem;
}
.cta-title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--c-text);
    margin-bottom: 1rem;
}
.cta-sub {
    font-size: 1.1rem;
    color: var(--c-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}
.cta-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 420px;
    margin: 0 auto 1.5rem;
}
.cta-note {
    font-size: 0.78rem;
    color: var(--c-subtle);
    font-family: var(--f-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.cta-note i { color: var(--c-purple); }

/* ──── FOOTER ──── */
.site-footer {
    padding: 2rem 8%;
    border-top: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    width: fit-content;
}
.footer-logo span {
    background: linear-gradient(135deg, #fff 30%, var(--c-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-left p {
    font-size: 0.8rem;
    color: var(--c-subtle);
    font-family: var(--f-mono);
}
.footer-right {
    display: flex;
    gap: 0.6rem;
}
.f-link {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    color: var(--c-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.f-link:hover {
    border-color: rgba(123,97,255,0.4);
    color: var(--c-purple);
    background: rgba(123,97,255,0.08);
}

/* ──── SCROLL REVEAL ──── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ──── ANIMATIONS ──── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ──── RESPONSIVE ──── */
@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 60px;
    }
    .hero-preview { display: none; }
    .hero-scroll-hint { display: none; }
    .hero-inner { max-width: 100%; }
    .download-block { align-items: center; }
    .hero-trust { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .feat-card-big { grid-column: auto; }
    .features-grid .feat-card-sm { grid-column: auto; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .stats-inner { flex-direction: column; }
    .stat-sep { width: 80%; height: 1px; }
    .hero { padding: 100px 6% 60px; }
    .features { padding: 5rem 6%; }
    .screenshots { padding: 5rem 6%; }
    .install { padding: 5rem 6%; }
    .cta-section { padding: 7rem 6%; }
    .site-footer { padding: 2rem 6%; }
    .dl-btn { padding: 0.9rem 1.2rem; }
    .bundled-wrap { flex-direction: column; gap: 1rem; }
    .step-content { gap: 1rem; }
    .support-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .support-section { padding: 5rem 6% 3rem; }
}

@media (max-width: 500px) {
    .nav-btn-support span {
        display: none;
    }
    .nav-btn-support {
        padding: 0.55rem;
        aspect-ratio: 1;
        justify-content: center;
        border-radius: 50%;
    }
    .nav-cta span {
        display: none;
    }
    .nav-cta {
        padding: 0.55rem;
        aspect-ratio: 1;
        border-radius: 50%;
        justify-content: center;
    }
}
