:root {
    --bg: #050505;
    --bg-soft: #0d0d0d;
    --surface: #111111;
    --surface-2: #171717;
    --surface-3: #1d1d1d;
    --line: rgba(255,255,255,.09);
    --text: #ffffff;
    --muted: rgba(255,255,255,.72);
    --muted-2: rgba(255,255,255,.54);
    --red: #c40000;
    --red-dark: #8f0000;
    --yellow: #ffd42a;
    --black: #000000;
    --shadow: 0 24px 60px rgba(0,0,0,.28);
    --shadow-soft: 0 18px 40px rgba(0,0,0,.18);
    --radius: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 85% 12%, rgba(196,0,0,.16), transparent 18%),
        radial-gradient(circle at 18% 22%, rgba(196,0,0,.10), transparent 16%),
        linear-gradient(180deg, #020202 0%, #080808 44%, #0f0f0f 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */
.site-header-v2 {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(5,5,5,.84);
    backdrop-filter: blur(12px);
}

.nav-wrap-v2 {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 10px 0;
}

.brand-v2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo-v2 {
    width: 56px;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-copy-v2 {
    display: grid;
    gap: 2px;
    line-height: 1.08;
}

.brand-copy-v2 strong {
    font-size: .98rem;
    letter-spacing: .02em;
}

.brand-copy-v2 span {
    color: var(--muted-2);
    font-size: .8rem;
}

.site-nav-v2 {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.site-nav-v2 a {
    color: var(--muted);
    transition: color .18s ease, opacity .18s ease;
    font-size: .96rem;
}

.site-nav-v2 a:hover {
    color: var(--text);
}

.header-cta-v2 {
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
}

/* =========================
   GLOBAL SECTIONS
========================= */
main {
    overflow: clip;
}

.section {
    padding: 60px 0 90px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.82);
}

.section-head {
    margin-bottom: 30px;
}

.section-head.centered {
    text-align: center;
}

.section-head.narrow {
    max-width: 840px;
    margin-inline: auto;
    margin-bottom: 34px;
}

.section-head-inline {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
}

.section-head h2,
.hero-v2-copy h1 {
    margin: 0 0 16px;
    line-height: 1.02;
    letter-spacing: -.04em;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.refined-head h2 {
    max-width: 14ch;
}

.section-head p,
.hero-lead,
.value-card p,
.pricing-summary,
.portfolio-body p,
.blog-body p,
.timeline-step p,
.footer-copy-v2,
.footer-tagline-v2 {
    color: var(--muted);
    line-height: 1.72;
}

.text-link,
.inline-link {
    color: var(--text);
    font-weight: 700;
    position: relative;
}

.text-link::after,
.inline-link::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.26);
    margin-top: 6px;
}

/* =========================
   HERO
========================= */
.hero-v2 {
    padding: 72px 0 50px;
}

.hero-v2-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 30px;
    align-items: center;
}

.hero-v2-copy h1 {
    font-size: clamp(2.35rem, 4.4vw, 4.6rem);
    max-width: 11.5ch;
}

.hero-lead {
    max-width: 60ch;
    font-size: 1.04rem;
    opacity: .94;
}

.hero-points {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 22px 0 10px;
}

.hero-points span {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    color: var(--text);
    font-size: .92rem;
}

.hero-actions {
    margin-top: 24px;
}

.hero-v2-visual {
    display: grid;
    gap: 18px;
}

.hero-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.hero-panel-main {
    min-height: 220px;
    display: grid;
    align-content: end;
    background:
      radial-gradient(circle at top right, rgba(196,0,0,.18), transparent 30%),
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}

.hero-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    font-size: .8rem;
    color: var(--muted);
}

.hero-panel-main strong {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.16;
    margin-bottom: 12px;
}

.hero-panel-main p {
    margin: 0;
    color: var(--muted);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-stat-card {
    min-height: 118px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.hero-stat-card span {
    display: block;
    color: var(--muted-2);
    margin-bottom: 14px;
}

.hero-stat-card strong {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.hero-stat-highlight {
    background: linear-gradient(180deg, rgba(196,0,0,.18), rgba(255,255,255,.03));
}

/* =========================
   VALUE / SERVICES / BLOG / PORTFOLIO
========================= */
.value-grid-v2,
.pricing-grid,
.portfolio-grid-v2,
.blog-grid-v2 {
    display: grid;
    gap: 18px;
}

.value-grid-v2 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.portfolio-grid-v2,
.blog-grid-v2 { grid-template-columns: repeat(3, 1fr); }

.value-card,
.pricing-card,
.portfolio-card-v2,
.blog-card-v2,
.cta-shell-v2 {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
}

.value-card,
.pricing-card,
.portfolio-card-v2,
.blog-card-v2 {
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.value-card:hover,
.pricing-card:hover,
.portfolio-card-v2:hover,
.blog-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.value-card {
    padding: 24px;
}

.value-index {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(196,0,0,.32);
    background: rgba(196,0,0,.12);
    margin-bottom: 16px;
    font-weight: 700;
}

.value-card h3,
.pricing-card h3,
.portfolio-body h3,
.blog-body h3,
.timeline-step h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    line-height: 1.2;
}

.pricing-card {
    padding: 26px;
    display: grid;
    align-content: start;
    min-height: 360px;
}

.pricing-card.is-featured {
    border-color: rgba(255,212,42,.28);
    background: linear-gradient(180deg, rgba(255,212,42,.06), rgba(255,255,255,.02));
    transform: translateY(-4px);
}

.plan-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-size: .8rem;
}

.price-large {
    margin: 10px 0 0;
    font-size: clamp(1.28rem, 2vw, 1.65rem);
    font-weight: 700;
}

.pricing-summary {
    margin: 14px 0 0;
}

.pricing-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 22px;
}

.card-cover-v2 {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
    background: #0b0b0b;
    transition: transform .6s ease;
}

.portfolio-card-v2:hover .card-cover-v2,
.blog-card-v2:hover .card-cover-v2 {
    transform: scale(1.04);
}

.portfolio-card-v2,
.blog-card-v2 {
    overflow: hidden;
}

.portfolio-body,
.blog-body {
    padding: 22px;
}

.portfolio-type,
.blog-category {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--muted-2);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* =========================
   TIMELINE
========================= */
.timeline-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.timeline-step {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
    transition: transform .3s ease, box-shadow .3s ease;
}

.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.timeline-step span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 14px;
    border: 1px solid rgba(196,0,0,.36);
    background: rgba(196,0,0,.12);
    font-weight: 700;
}

/* =========================
   CTA
========================= */
.cta-shell-v2 {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: center;
    padding: 32px;
    background:
      radial-gradient(circle at top right, rgba(196,0,0,.18), transparent 28%),
      linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.12);
}

.cta-shell-v2 h2 {
    margin: 0 0 14px;
    line-height: 1.08;
    letter-spacing: -.03em;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.cta-actions-v2 {
    justify-content: end;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 700;
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease;
    border: 0;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
    box-shadow: 0 14px 28px rgba(255,212,42,.18);
}

.btn-red {
    background: var(--red);
    color: var(--text);
    box-shadow: 0 14px 28px rgba(196,0,0,.22);
}

.btn-yellow:hover {
    background: #ffe15d;
    box-shadow: 0 18px 38px rgba(255,212,42,.35);
}

.btn-red:hover {
    background: var(--red-dark);
    box-shadow: 0 18px 38px rgba(196,0,0,.35);
}

/* =========================
   FOOTER
========================= */
.site-footer-v2 {
    padding: 46px 0 16px;
    border-top: 1px solid var(--line);
    background: rgba(0,0,0,.88);
}

.footer-shell-v2 {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 24px;
    align-items: start;
}

.footer-logo-v2 {
    width: 82px;
    height: auto;
    margin-bottom: 12px;
}

.footer-tagline-v2 {
    margin: 0 0 10px;
    color: var(--text);
    font-weight: 700;
}

.footer-links-v2,
.footer-contact-v2 {
    display: grid;
    gap: 10px;
}

.footer-links-v2 h4,
.footer-contact-v2 h4 {
    margin: 0 0 4px;
}

.footer-links-v2 a,
.footer-contact-v2 a,
.footer-copy-v2 {
    color: var(--muted);
}

.footer-actions-v2 {
    margin-top: 8px;
}

.subfooter-v2 {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: var(--muted-2);
    font-size: .9rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1080px) {
    .hero-v2-grid,
    .cta-shell-v2,
    .footer-shell-v2,
    .value-grid-v2,
    .pricing-grid,
    .portfolio-grid-v2,
    .blog-grid-v2,
    .timeline-v2 {
        grid-template-columns: 1fr;
    }

    .cta-actions-v2 {
        justify-content: start;
    }

    .refined-head h2 {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .nav-wrap-v2 {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px 0;
    }

    .brand-v2 {
        justify-content: flex-start;
    }

    .site-nav-v2 {
        justify-content: flex-start;
    }

    .header-cta-v2 {
        width: 100%;
    }

    .hero-v2 {
        padding-top: 54px;
    }

    .hero-v2-copy h1 {
        max-width: none;
    }

    .section-head-inline {
        display: grid;
        align-items: start;
    }
}

@media (max-width: 640px) {
    .brand-logo-v2 {
        width: 50px;
    }

    .brand-copy-v2 strong {
        font-size: .94rem;
    }

    .brand-copy-v2 span {
        display: none;
    }

    .hero-points span,
    .btn {
        width: 100%;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .pricing-actions,
    .button-row {
        flex-direction: column;
    }

    .cta-shell-v2 {
        padding: 24px;
    }

    .section {
        padding: 50px 0 70px;
    }

    .hero-v2-copy h1 {
        font-size: 2rem;
    }
}
