/* ═══════════════════════════════════════════
   HOME PAGE — loaded after index.css (homepage only)
   Red theme · 3D depth · cleaner presentation
   ═══════════════════════════════════════════ */

:root {
    --primary: #e11d2e;
    --primary-deep: #8f0d18;
    --primary-dark: #5c0710;
    --secondary: #ff5a5f;
    --accent: #ffb547;
    --bg-dark: #07070a;
    --surface: rgba(18, 12, 14, 0.72);
    --surface-hi: rgba(32, 16, 20, 0.85);
    --line: rgba(255, 255, 255, 0.08);
    --line-red: rgba(225, 29, 46, 0.45);
    --text-gray: #b9b3b5;
    --primary-glow: rgba(225, 29, 46, 0.45);
    --shadow-3d: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
                 0 30px 60px -20px rgba(0, 0, 0, 0.8),
                 0 12px 24px -12px rgba(0, 0, 0, 0.6);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    background:
        radial-gradient(1200px 700px at 85% -10%, rgba(225, 29, 46, 0.18), transparent 60%),
        radial-gradient(900px 600px at -10% 40%, rgba(143, 13, 24, 0.18), transparent 60%),
        var(--bg-dark);
    background-attachment: fixed;
}

body::before { opacity: 0.08; }

/* subtle 3D floor grid behind everything */
.grid-floor {
    position: fixed;
    inset: auto 0 0 0;
    height: 45vh;
    z-index: -997;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(225, 29, 46, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(225, 29, 46, 0.18) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(70deg) scaleX(2);
    transform-origin: bottom center;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 75%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 75%);
    animation: floor-move 6s linear infinite;
}

@keyframes floor-move {
    to { background-position: 0 60px, 0 0; }
}

#scroll-progress {
    background: linear-gradient(90deg, var(--primary-deep), var(--primary), var(--secondary));
}

p { max-width: none; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }

/* ── Section headings ───────────────────── */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffd0d3;
    background: rgba(225, 29, 46, 0.12);
    border: 1px solid var(--line-red);
    margin-bottom: 1.25rem;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.section-head h2 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-head p {
    font-size: 1.1rem;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(120deg, #fff 20%, #ffb3b8 55%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.text-red {
    color: var(--primary);
    -webkit-text-fill-color: currentColor;
}

/* ── 3D Buttons ─────────────────────────── */
.btn-primary {
    background: linear-gradient(180deg, #ff3b4a 0%, var(--primary) 55%, #c0101f 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 6px 0 var(--primary-deep),
        0 14px 28px -6px var(--primary-glow);
    border-radius: 14px;
    padding: 0.95rem 1.8rem;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 9px 0 var(--primary-deep),
        0 22px 36px -8px var(--primary-glow);
    filter: brightness(1.06);
}

.btn-primary:active {
    transform: translateY(5px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 1px 0 var(--primary-deep),
        0 6px 14px -6px var(--primary-glow);
}

.btn-outline {
    border-radius: 14px;
    padding: 0.95rem 1.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.2s ease;
}

.btn-outline:hover {
    transform: translateY(-3px);
    border-color: var(--line-red);
    box-shadow: 0 9px 0 rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.btn-outline:active { transform: translateY(5px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45); }

.btn-block { width: 100%; }

/* <button> elements don't inherit the page font by default */
button.btn-primary, button.btn-outline { font-family: inherit; font-size: 1rem; }

/* ── Nav ────────────────────────────────── */
nav.scrolled {
    background: rgba(10, 6, 8, 0.78);
    border-bottom: 1px solid rgba(225, 29, 46, 0.18);
}

.lang-link { color: #fff; text-decoration: none; }

.nav-links a.nav-pay { color: var(--secondary); opacity: 1; font-weight: 600; }

nav .nav-actions .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 4px 0 var(--primary-deep),
        0 10px 20px -6px var(--primary-glow);
}

/* ── Surfaces / cards ───────────────────── */
.glass {
    background: linear-gradient(160deg, var(--surface-hi), var(--surface));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-3d);
    border-radius: 22px;
}

.glass:hover {
    transform: none;
    border-color: var(--line-red);
    box-shadow: var(--shadow-3d), 0 0 0 1px rgba(225, 29, 46, 0.15), 0 20px 50px -20px var(--primary-glow);
}

/* Cards that tilt in 3D; children lift off the surface */
.card-3d {
    transform-style: preserve-3d;
    will-change: transform;
}

.card-3d .lift { transform: translateZ(40px); }
.card-3d .lift-sm { transform: translateZ(22px); }

/* ── Hero ───────────────────────────────── */
.hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    text-align: left;
    padding: 8rem 0 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.hero-content { max-width: 640px; }

.hero h1 {
    font-size: clamp(2.8rem, 6.4vw, 5.4rem);
    letter-spacing: -2.5px;
    line-height: 1.02;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.hero h1 .line { display: block; }

.hero p.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    margin: 0 0 2.25rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin-top: 2.25rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--primary); }

/* Floating 3D chips around the WebGL object */
.hero-visual {
    position: relative;
    height: min(560px, 60vw);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-stage {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(40, 18, 22, 0.9), rgba(16, 10, 12, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px -15px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.9rem;
    white-space: nowrap;
    animation: chip-float 6s ease-in-out infinite;
}

.chip strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1rem; }
.chip small { color: var(--text-gray); font-size: 0.75rem; }

.chip-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #ff4655, var(--primary-deep));
    box-shadow: 0 4px 0 var(--primary-dark), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
    flex-shrink: 0;
}

.chip-1 { top: 10%; left: 2%; transform: translateZ(90px); }
.chip-2 { top: 44%; right: -2%; transform: translateZ(140px); animation-delay: -2s; }
.chip-3 { bottom: 8%; left: 12%; transform: translateZ(60px); animation-delay: -4s; }

@keyframes chip-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}

.scroll-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    translate: -50% 0;
    width: 26px;
    height: 42px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.scroll-cue::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--primary);
    animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ── Stats strip ────────────────────────── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 !important;
    overflow: hidden;
}

.stats-strip .stat {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stats-strip .stat:last-child { border-right: 0; }

.stats-strip .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 1px 0 #ffb3b8, 0 2px 0 var(--primary), 0 3px 0 var(--primary-deep),
                 0 4px 0 var(--primary-dark), 0 10px 20px rgba(225, 29, 46, 0.5);
}

.stats-strip .stat-label { font-size: 0.95rem; }

/* ── Startupzo promo banner ─────────────── */
.startupzo-section { padding: clamp(3rem, 6vw, 4.5rem) 0 0; }

.startupzo-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 4vw, 3.25rem);
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(500px 300px at 90% 20%, rgba(255, 181, 71, 0.22), transparent 70%),
        radial-gradient(700px 400px at 0% 100%, rgba(255, 90, 95, 0.35), transparent 70%),
        linear-gradient(135deg, #7a0a15 0%, #3a060c 55%, #1a0709 100%);
    border: 1px solid rgba(255, 90, 95, 0.55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 10px 0 var(--primary-dark),
        0 40px 80px -25px rgba(225, 29, 46, 0.55);
}

/* moving sheen across the banner */
.startupzo-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: sz-sheen 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sz-sheen { 60%, 100% { transform: translateX(100%); } }

.sz-copy { position: relative; z-index: 1; }

.sz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #3a1d00;
    background: linear-gradient(180deg, #ffd38a, var(--accent));
    box-shadow: 0 3px 0 #a86200;
    margin-bottom: 1.1rem;
}

.startupzo-banner h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.sz-price {
    display: inline-block;
    color: var(--accent);
    text-shadow: 0 2px 0 #c77700, 0 4px 0 #8a4f00, 0 12px 24px rgba(255, 181, 71, 0.4);
    white-space: nowrap;
}

.sz-price small { font-size: 0.5em; color: #ffe2b0; text-shadow: none; }

.startupzo-banner p { color: #f1d6d8; margin-bottom: 1.75rem; max-width: 560px; }

.startupzo-banner .btn-primary {
    background: linear-gradient(180deg, #fff 0%, #ffe9ea 100%);
    color: var(--primary-deep);
    box-shadow: 0 1px 0 #fff inset, 0 6px 0 #c9a3a6, 0 14px 28px -6px rgba(0, 0, 0, 0.5);
}

.startupzo-banner .btn-primary:hover { color: var(--primary-deep); box-shadow: 0 1px 0 #fff inset, 0 9px 0 #c9a3a6, 0 22px 36px -8px rgba(0, 0, 0, 0.5); }
.startupzo-banner .btn-primary:active { box-shadow: 0 1px 0 #c9a3a6; }

/* Startupzo logo: images/image.png is a 1280×1024 red card with the wordmark in the middle,
   so show just the wordmark area (x 350–950, y 400–800) as a raised badge */
.sz-brand { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.sz-brand .sz-badge { margin-bottom: 0; }

.sz-logo {
    display: block;
    width: 168px;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    background: #c80d0d url("images/image.png") no-repeat;
    background-size: 213.33% auto;
    background-position: 51.47% 64.1%;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 6px 0 var(--primary-dark),
        0 18px 30px -10px rgba(0, 0, 0, 0.6);
    transform: rotate(-3deg);
}

.sz-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.75rem;
    max-width: 580px;
}

.sz-features li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

.sz-features i { color: #ffd38a; }

/* 3D phone showing a sample Startupzo menu page */
.sz-visual { position: relative; height: 420px; perspective: 1100px; }

.sz-scene {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-20deg);
    animation: sz-float 7s ease-in-out infinite;
}

@keyframes sz-float {
    0%, 100% { transform: rotateX(10deg) rotateY(-20deg) translateY(0); }
    50% { transform: rotateX(6deg) rotateY(-10deg) translateY(-10px); }
}

.sz-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 210px;
    height: 400px;
    margin: -200px 0 0 -105px;
    padding: 9px;
    border-radius: 34px;
    background: linear-gradient(160deg, #2a2a30, #0c0c10);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        12px 14px 0 -2px rgba(0, 0, 0, 0.35),
        0 40px 70px -20px rgba(0, 0, 0, 0.85);
    transform: translateZ(0);
}

.sz-screen {
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #fdf6ec;
    color: #3a1a0c;
    font-size: 11px;
    text-align: left;
}

.sz-cover {
    padding: 22px 14px 14px;
    background:
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12) 0 18px, transparent 19px),
        radial-gradient(circle at 60% 90%, rgba(255, 255, 255, 0.1) 0 14px, transparent 15px),
        linear-gradient(135deg, #b8461a, #7a2a0c);
    color: #fff;
}

.sz-cover strong { display: block; font-family: Georgia, serif; font-size: 17px; }
.sz-cover small { opacity: 0.85; font-size: 9px; }

.sz-chips { display: flex; gap: 5px; justify-content: center; padding: 9px 8px 6px; }
.sz-chips span { padding: 3px 8px; border-radius: 999px; background: #f1e3d2; font-size: 8.5px; color: #7a4a2a; }
.sz-chips i { color: #25d366; }

.sz-search { margin: 4px 10px 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid #ead8c3; background: #fff; color: #a08a78; font-size: 9px; }

.sz-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 10px 7px;
    padding: 8px 9px;
    border-radius: 10px;
    background: #fff;
    border-left: 3px solid #b8461a;
    box-shadow: 0 2px 6px rgba(120, 60, 20, 0.08);
}

.sz-item small { display: block; font-size: 7.5px; letter-spacing: 0.8px; text-transform: uppercase; color: #b8461a; }
.sz-item b { font-family: Georgia, serif; font-size: 11.5px; }
.sz-pr { text-align: right; font-weight: 700; font-size: 11px; }
.sz-pr em { display: block; margin-top: 3px; padding: 2px 8px; border-radius: 999px; border: 1px solid #b8461a; color: #b8461a; font-style: normal; font-size: 8.5px; font-weight: 600; }

/* notification cards floating in front of the phone */
.sz-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border-radius: 14px;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.8rem;
    text-align: left;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18), 0 22px 36px -12px rgba(0, 0, 0, 0.7);
    animation: chip-float 5s ease-in-out infinite;
}

.sz-float i { font-size: 1.35rem; }
.sz-float b { display: block; font-size: 0.85rem; }
.sz-float small { color: #666; }
.sz-float-order { top: 16%; left: -2%; transform: translateZ(90px); }
.sz-float-order i { color: #25d366; }
.sz-float-upi { bottom: 14%; right: -2%; transform: translateZ(130px); animation-delay: -2.5s; }
.sz-float-upi i { color: #16a34a; }

/* 3 steps along the bottom of the banner */
.sz-steps {
    grid-column: 1 / -1;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    z-index: 1;
}

.sz-steps li { display: flex; gap: 0.75rem; align-items: flex-start; text-align: left; }

.sz-steps span {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-deep);
    background: linear-gradient(180deg, #fff, #ffe2e4);
    box-shadow: 0 4px 0 #c9a3a6;
}

.sz-steps b { display: block; font-size: 0.98rem; }
.sz-steps small { color: #f1d6d8; font-size: 0.85rem; line-height: 1.4; display: block; }

@media (max-width: 900px) {
    .startupzo-banner { grid-template-columns: 1fr; text-align: center; }
    .startupzo-banner p { margin-inline: auto; }
    .startupzo-banner .hero-btns, .sz-brand, .sz-features { justify-content: center; }
    .sz-features { margin-inline: auto; }
    .sz-visual { height: 400px; }
    .sz-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .startupzo-banner::before, .sz-scene, .sz-float { animation: none; }
}

/* ── Online orders for Startupzo ────────── */
.szo-card {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 2.75rem) !important;
    border-color: var(--line-red);
}

.szo-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -1px; margin-bottom: 0.75rem; }
.szo-card p { margin-bottom: 1.25rem; }

.szo-points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.szo-points li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 13px; border-radius: 12px;
    background: rgba(225, 29, 46, 0.12); border: 1px solid var(--line-red);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
.szo-points i { color: var(--accent); }

.szo-price {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(160deg, #c80d0d, #5c0710);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 0 var(--primary-dark), 0 28px 50px -20px var(--primary-glow);
    transform: rotate(3deg);
    text-align: center;
    padding: 1rem;
}
.szo-amount {
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1;
    color: var(--accent); text-shadow: 0 3px 0 #8a4f00, 0 12px 24px rgba(255, 181, 71, 0.35);
}
.szo-per { font-weight: 600; margin-top: 0.35rem; }
.szo-trial { font-size: 0.82rem; color: #f1d6d8; margin-top: 0.25rem; }

@media (max-width: 768px) {
    .szo-card { grid-template-columns: 1fr; text-align: center; }
    .szo-points, .szo-card .hero-btns { justify-content: center; }
    .szo-price { max-width: 220px; margin: 0 auto; transform: none; }
}

/* ── Features ───────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card { padding: 2rem !important; }

.feature-card h3 { font-size: 1.3rem; margin: 1.4rem 0 0.6rem; }
.feature-card p { font-size: 0.97rem; margin: 0; }

.icon-3d {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(145deg, #ff4b5a 0%, var(--primary) 50%, var(--primary-deep) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 -3px 0 rgba(0, 0, 0, 0.2) inset,
        0 6px 0 var(--primary-dark),
        0 16px 26px -8px var(--primary-glow);
}

/* ── Steps ──────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step { padding: 2rem !important; position: relative; }

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    color: #1a0b0e;
    -webkit-text-stroke: 1.5px var(--primary);
    text-shadow: 4px 4px 0 rgba(225, 29, 46, 0.25), 8px 8px 0 rgba(225, 29, 46, 0.1);
    margin-bottom: 1rem;
}

.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { margin: 0; font-size: 0.97rem; }

/* ── Pricing ────────────────────────────── */
.pricing-toggle { margin-bottom: 3rem; }
input:checked + .slider { background-color: var(--primary); }

.plans {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    text-align: left;
    perspective: 1400px;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.6rem !important;
    position: relative;
}

.plan h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.plan .plan-sub { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 1.25rem; }

.plan .price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    margin-bottom: 0.25rem;
    gap: 6px;
    flex-wrap: wrap;
}

.plan .price span { font-size: 0.95rem; }
.plan .price-usd { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 1.5rem; }

.plan .pricing-features { margin-bottom: 1.25rem; }

.plan .pricing-features li {
    font-size: 0.93rem;
    margin-bottom: 0.65rem;
    align-items: flex-start;
}

.pricing-features li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 6px;
    background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
    box-shadow: 0 2px 0 var(--primary-deep);
}

.plan-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: auto 0 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
}

.plan-apps-label {
    width: 100%;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 2px;
}

.tag {
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: #e6dfe0;
}

.plan .btn-primary, .plan .btn-outline { width: 100%; }

.plan.featured {
    background: linear-gradient(165deg, rgba(120, 14, 26, 0.65), rgba(30, 10, 14, 0.9));
    border: 1px solid rgba(225, 29, 46, 0.6);
    transform: translateY(-14px);
    box-shadow: var(--shadow-3d), 0 30px 70px -25px var(--primary-glow);
}

.plan.featured:hover { transform: translateY(-14px); }

.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    translate: -50% 0;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ff4655, var(--primary));
    box-shadow: 0 3px 0 var(--primary-deep), 0 10px 20px -6px var(--primary-glow);
    white-space: nowrap;
}

.plan-custom {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 2rem;
    align-items: center;
    text-align: left;
    padding: 2rem 2.25rem !important;
}

.plan-custom h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.plan-custom p { margin: 0; }

.plan-custom .pricing-features {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0.4rem 1.5rem;
    margin: 0;
}

.plan-custom .pricing-features li { margin: 0; font-size: 0.9rem; }

/* Add-on + enterprise cards sit side by side, so stack their insides */
.addons-grid .plan-custom { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
.addons-grid .plan-custom .pricing-features { grid-template-columns: 1fr; }
.addons-grid .plan-custom .btn-primary { width: 100%; }

/* ── Tokens ─────────────────────────────── */
.tokens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    text-align: left;
}

.token-card { padding: 1.75rem !important; display: flex; flex-direction: column; }
.token-card .token-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.token-card h3 { font-size: 1.2rem; }
.token-card .price { font-family: 'Outfit', sans-serif; font-size: 2.2rem; margin-bottom: 0.25rem; }
.token-card .price span { font-size: 0.9rem; }
.token-card .pricing-features { margin: 1rem 0 1.5rem; }
.token-card .pricing-features li { font-size: 0.92rem; margin-bottom: 0.55rem; }
.token-card .btn-outline, .token-card .btn-primary { margin-top: auto; width: 100%; }

.coin {
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    font-size: 0.78rem;
    white-space: nowrap;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #5c2a00;
    background: radial-gradient(circle at 35% 30%, #ffe3a3, var(--accent) 55%, #c77700 100%);
    box-shadow: 0 4px 0 #8a4f00, 0 10px 18px -6px rgba(255, 181, 71, 0.6);
    animation: coin-spin 5s ease-in-out infinite;
}

@keyframes coin-spin {
    0%, 70%, 100% { transform: rotateY(0); }
    85% { transform: rotateY(180deg); }
}

/* ── Comparison ─────────────────────────── */
.compare-wrap { padding: 0 !important; overflow-x: auto; }

.compare {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    color: var(--text-gray);
}

.compare th, .compare td {
    padding: 1.15rem 1.4rem;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.compare th:first-child, .compare td:first-child { text-align: left; color: #fff; font-weight: 500; }
.compare thead th { font-family: 'Outfit', sans-serif; font-size: 1.05rem; color: #fff; padding-top: 1.5rem; }
.compare tbody tr:last-child td { border-bottom: 0; }

.compare .us {
    background: rgba(225, 29, 46, 0.1);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 1px 0 0 var(--line-red), inset -1px 0 0 var(--line-red);
}

.compare thead .us { color: var(--secondary); }
.compare .us i { color: var(--primary); margin-right: 6px; }

/* ── Apps ───────────────────────────────── */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 2.25rem !important;
}

.app-card h3 { font-size: 1.6rem; margin: 1.25rem 0 0.5rem; }
.app-card p { margin-bottom: 1.75rem; }
.app-card .btn-primary { margin-top: auto; }

.app-tag {
    background: rgba(225, 29, 46, 0.15);
    border: 1px solid var(--line-red);
    color: #ffd0d3;
    font-size: 0.72rem;
    letter-spacing: 1px;
}

.coming-soon {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.coming-soon .tag { font-size: 0.85rem; padding: 6px 12px; }

/* ── About / founder ────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.about-grid h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -1px; margin-bottom: 1.25rem; }

.quote-card { padding: 2.5rem !important; position: relative; }

.quote-card .fa-quote-left {
    font-size: 2.2rem;
    color: var(--primary);
    filter: drop-shadow(0 4px 0 var(--primary-dark));
    margin-bottom: 1rem;
}

.quote-card blockquote {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 1.5rem;
}

.quote-by { display: flex; align-items: center; gap: 12px; }

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(145deg, #ff4655, var(--primary-deep));
    box-shadow: 0 3px 0 var(--primary-dark);
}

.quote-by small { display: block; color: var(--text-gray); }

/* ── Clients ────────────────────────────── */
.clients-wrapper {
    padding: 2rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.clients-track { gap: 5rem; animation-duration: 28s; }
.clients-track img { height: 52px; }

/* ── FAQ ────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }

.faq-item { padding: 0 !important; overflow: hidden; }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.4rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: rgba(225, 29, 46, 0.15);
    border: 1px solid var(--line-red);
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--line-red); }
.faq-item p { padding: 0 1.6rem 1.5rem; margin: 0; }

/* ── CTA band ───────────────────────────── */
.cta-band {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 2rem !important;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(255, 90, 95, 0.35), transparent 70%),
        linear-gradient(160deg, #5c0710, #1a0709 70%);
    border: 1px solid rgba(225, 29, 46, 0.5);
}

.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -1px; margin-bottom: 1rem; }
.cta-band p { margin: 0 auto 2rem; max-width: 520px; color: #f1d6d8; }
.cta-band .hero-btns { justify-content: center; }

/* ── Footer ─────────────────────────────── */
footer { background: #050304; border-top: 1px solid rgba(225, 29, 46, 0.2); }

.footer-mega-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 15vw, 12rem);
    line-height: 1;
    letter-spacing: -4px;
    text-align: center;
    margin: 1rem 0 2rem;
    color: #140608;
    text-shadow:
        0 1px 0 #2a0a0e, 0 2px 0 #3a0c12, 0 3px 0 #4c0e16, 0 4px 0 #5e101a,
        0 5px 0 #70121e, 0 14px 30px rgba(225, 29, 46, 0.35);
    user-select: none;
}

/* Background video stays invisible until YouTube reports it's playing (audio is unaffected) */
.video-background iframe { opacity: 0; transition: opacity 1.2s ease; }
.video-background.playing iframe { opacity: 1; }

/* ── Music toggle (bottom-left, clear of the chat bubble) ── */
#mute-control { right: auto; left: 1.5rem; bottom: 1.5rem; }

#mute-toggle {
    background: linear-gradient(180deg, #ff3b4a, var(--primary) 60%, #c0101f);
    border: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 5px 0 var(--primary-deep), 0 12px 24px -6px var(--primary-glow);
}

#mute-toggle:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--primary-deep); }

/* Loading screen */
#preloader { background: radial-gradient(600px 400px at 50% 45%, rgba(225, 29, 46, 0.18), transparent 70%), var(--bg-dark); }
.loader-logo { filter: drop-shadow(0 8px 0 rgba(92, 7, 16, 0.9)) drop-shadow(0 16px 30px rgba(225, 29, 46, 0.5)); }

/* ── Modal tweaks ───────────────────────── */
.modal-content { border: 1px solid var(--line-red); }

/* ── Reveal on scroll (3D) ──────────────── */
.reveal {
    opacity: 0;
    transform: perspective(1000px) translateY(40px) rotateX(12deg);
    transform-origin: 50% 100%;
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1280px) {
    .plans { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
    .plans { grid-template-columns: repeat(2, 1fr); }
    .plan.featured, .plan.featured:hover { transform: none; }
    .plan-custom { grid-template-columns: 1fr; gap: 1.25rem; }
    .plan-custom .pricing-features { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 900px) {
    .hero { padding-top: 7rem; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { margin: 0 auto; }
    .hero p.lead { margin-inline: auto; }
    .hero-btns, .hero-trust { justify-content: center; }
    .hero-visual { height: 320px; }
    .chip-1 { left: 0; }
    .chip-2 { right: 0; }
    .hero-grid > * { min-width: 0; }
    .features-grid, .steps, .tokens-grid, .addons-grid, .rates-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .stats-strip .stat:nth-child(2) { border-right: 0; }
    .stats-strip .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .features-grid, .steps, .tokens-grid, .plans, .apps-grid, .addons-grid, .rates-grid { grid-template-columns: 1fr; }
    .plan-custom .pricing-features { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.6rem; letter-spacing: -1.5px; }
    .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; }
    .hero-visual { height: 260px; }
    .chip { font-size: 0.8rem; padding: 0.6rem 0.8rem; }
    .chip-icon { width: 32px; height: 32px; }
    .chip-3 { display: none; }
    .stats-strip .stat { padding: 1.5rem 1rem; }
}

@media (max-width: 768px) {
    /* index.css forces a size on .text-gradient; here it's only used on spans inside headings */
    .text-gradient { font-size: inherit !important; }
    .rates-grid .text-gradient { font-size: 1.4rem !important; }

    /* index.css collapses every inline grid to 1 column; rate tiles read better 2-up */
    .rates-grid[style] { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
    .rates-grid .glass { padding: 1.1rem 0.75rem !important; }

    /* index.css pads every .glass at 2rem !important — too much on small cards */
    .plan, .token-card, .feature-card, .step, .app-card, .faq-item summary { padding: 1.5rem !important; }
    .faq-item { padding: 0 !important; }
    .faq-item p { padding: 0 1.5rem 1.25rem; }
    .stats-strip, .compare-wrap { padding: 0 !important; }

    .section-head { margin-bottom: 2.25rem; }
    .section-head p { font-size: 1rem; }

    .pricing-toggle { gap: 0.75rem; flex-wrap: wrap; }
    .plan.featured { margin-top: 0.75rem; }

    /* comparison table: let it scroll sideways inside its card, with a hint */
    .compare th, .compare td { padding: 0.9rem 0.8rem !important; font-size: 0.85rem; }
    .compare-wrap::after {
        content: "← swipe →";
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--text-gray);
        padding: 0.5rem 0 0.75rem;
        position: sticky;
        left: 0;
    }

    .startupzo-banner { border-radius: 22px; }
    .sz-visual { height: 380px; }
    .sz-scene { transform: none; animation: none; }
    .sz-logo { width: 140px; }
    .sz-brand .sz-badge { font-size: 0.68rem; letter-spacing: 0.4px; padding: 5px 11px; white-space: nowrap; }
    .sz-features li { font-size: 0.8rem; padding: 5px 10px; }
    .sz-float-order { left: 0; }
    .sz-float-upi { right: 0; }

    .about-grid { gap: 1.5rem; }
    .quote-card blockquote { font-size: 1.1rem; }
    .cta-band { padding: 2.5rem 1.25rem !important; }

    .footer-mega-text { letter-spacing: -2px; }
    footer { padding: 4rem 0 6rem; } /* room for the floating music + chat buttons */
    .footer-grid { gap: 2rem; }

    /* hero: give the 3D object its own slot under the buttons; chips tuck inside the screen */
    .hero { padding: 6.5rem 0 2.5rem; min-height: 0; }
    .hero-visual { height: 300px; margin-top: 0.5rem; }
    .hero-stage { transform: none !important; }
    .chip { animation: none; }
    .chip-1 { top: 4%; left: 0; transform: none; }
    .chip-2 { top: auto; bottom: 6%; right: 0; transform: none; }
    .chip-3 { display: none; }
    .scroll-cue { display: none; }

    /* feature cards: icon beside the text instead of on top, so the list is half as tall */
    .feature-card { display: grid !important; grid-template-columns: 52px 1fr; column-gap: 1rem; align-items: start; }
    .feature-card .icon-3d { grid-row: span 2; width: 52px; height: 52px; font-size: 1.2rem; }
    .feature-card h3 { margin: 0.15rem 0 0.3rem; font-size: 1.15rem; }
    .feature-card p { font-size: 0.92rem; }
    .features-grid { gap: 1rem; }

    /* footer link groups two-up */
    .footer-grid { grid-template-columns: 1fr 1fr !important; text-align: left !important; }
    .footer-about { grid-column: 1 / -1; text-align: center; }

    #mute-control { left: 1rem; bottom: 1rem; }
    #mute-toggle { width: 46px; height: 46px; }
    .mute-label { display: none; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 2.3rem; }
    .hero-trust { gap: 0.5rem 1rem; font-size: 0.82rem; }
    .stats-strip .stat-number { font-size: 1.9rem; }
    .plan .price { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .grid-floor { animation: none; }
}
