/* 
   NattyApp Premium Design System 
   Palette: Black (#050505), White (#F2F2F2), Wine (#720e2e)
*/

:root {
    --bg-color: #050505;
    --text-color: #F2F2F2;
    --text-muted: #888888;
    --accent-color: #720e2e;
    /* Wine */
    --accent-glow: rgba(114, 14, 46, 0.4);
    --accent-hot: #c41838;
    --accent-soft: #ff8aa4;
    --surface-color: #0F0F0F;
    --border-color: #222222;

    --font-main: 'Outfit', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
}

html {
    scroll-padding-top: var(--header-height);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

body::before {
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
    opacity: 0.58;
}

body::after {
    left: -14vw;
    right: -14vw;
    bottom: -24vh;
    height: 46vh;
    background:
        linear-gradient(rgba(255, 138, 164, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.12) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(900px) rotateX(64deg);
    transform-origin: center bottom;
    opacity: 0.32;
    animation: siteGridPlane 14s linear infinite;
}

.header,
main,
.footer {
    position: relative;
    z-index: 1;
}

body.nav-open,
body.waitlist-modal-open {
    overflow: hidden;
}

main {
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
}

canvas {
    display: block;
}

ul {
    list-style: none;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    background: var(--text-color);
    color: var(--bg-color);
    font-weight: 700;
    z-index: 2000;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

section[id] {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3.4rem, 5.4vw, 5.8rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.section-footer {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Nav Styles */
.nav {
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

/* Mobile Nav Active State */
.nav.active {
    transform: translateX(0);
}

.nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: var(--text-muted);
}

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 4px;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--text-color), #d8d8d8);
    color: var(--bg-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    border: 1px solid var(--text-color);
    min-height: 3.6rem;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.cta-button:hover {
    background: transparent;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(255, 255, 255, 0.12);
}

.cta-button.outline {
    background: transparent;
    color: var(--text-color);
}

.cta-button.outline:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.full-width {
    width: 100%;
    text-align: center;
}

.cta-button.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    left: 48%;
    top: 13%;
    width: min(52rem, 72vw);
    height: min(28rem, 44vw);
    background:
        linear-gradient(rgba(255, 138, 164, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.12) 1px, transparent 1px);
    background-size: 42px 42px;
    border: 1px solid rgba(255, 138, 164, 0.08);
    transform: perspective(900px) rotateX(58deg) rotateZ(-10deg);
    transform-origin: center;
    opacity: 0.34;
    animation: heroGridPlane 12s ease-in-out infinite;
}

.hero::after {
    right: 5vw;
    bottom: 10vh;
    width: min(22rem, 42vw);
    height: min(12rem, 24vw);
    background:
        linear-gradient(135deg, rgba(196, 24, 56, 0.22), rgba(255, 255, 255, 0.035)),
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
    border: 1px solid rgba(255, 138, 164, 0.12);
    transform: perspective(800px) rotateX(66deg) rotateZ(12deg);
    opacity: 0.26;
    animation: heroGridPlaneAlt 10s ease-in-out infinite;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 3rem;
}

.hero-text {
    flex: 0 1 620px;
    max-width: 620px;
    min-width: 0;
}

.hero-text p {
    margin-bottom: 2rem;
    max-width: 34rem;
    color: rgba(242, 242, 242, 0.72);
    font-size: 1.15rem;
    line-height: 1.75;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-brand img {
    height: 50px;
    width: auto;
}

.hero-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
}

.eyebrow {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.highlight {
    color: var(--text-color);
    position: relative;
    text-shadow: 0 0 28px rgba(255, 138, 164, 0.18);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent-color);
    z-index: -1;
    opacity: 0.5;
}

.hero-visual {
    display: flex;
    flex: 0 1 560px;
    justify-content: flex-end;
    min-width: 0;
    perspective: 1200px;
}

.hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: min(100%, 35rem);
    margin-top: 1.35rem;
}

.hero-proof-grid span {
    position: relative;
    min-height: 4.6rem;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    border: 1px solid rgba(255, 138, 164, 0.14);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        rgba(10, 10, 12, 0.72);
    color: rgba(242, 242, 242, 0.6);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    overflow: hidden;
}

.hero-proof-grid span::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 138, 164, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.32;
}

.hero-proof-grid strong {
    position: relative;
    color: var(--text-color);
    font-size: 1.15rem;
    line-height: 1;
}

#brain-container.hero-system-board {
    position: relative;
    width: min(100%, 560px);
    height: 520px;
    margin-left: auto;
    pointer-events: none;
    transform-style: preserve-3d;
    animation: heroBoardFloat3D 9s ease-in-out infinite;
}

.hero-system-shell {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 34px;
    background:
        radial-gradient(circle at top center, rgba(114, 14, 46, 0.28), transparent 42%),
        linear-gradient(180deg, rgba(18, 12, 15, 0.98), rgba(6, 6, 7, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 26px 60px rgba(0, 0, 0, 0.36);
    overflow: hidden;
    transform: rotateX(7deg) rotateY(-9deg) rotateZ(1deg);
    transform-style: preserve-3d;
}

.hero-system-shell::before {
    content: '';
    position: absolute;
    inset: 4.5rem 1rem 1rem;
    border-radius: 30px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: calc(50% - 0.3rem) calc(50% - 0.3rem);
    opacity: 0.32;
    pointer-events: none;
    animation: heroInnerGrid 8s linear infinite;
}

.hero-system-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08), transparent 22%),
        radial-gradient(circle at 88% 82%, rgba(255, 116, 164, 0.12), transparent 24%);
    pointer-events: none;
}

.hero-system-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hero-system-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.4rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(242, 242, 242, 0.82);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-system-chip--accent {
    color: #ff9dbc;
    border-color: rgba(255, 116, 164, 0.18);
    background: rgba(114, 14, 46, 0.16);
}

.hero-system-stage {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
}

.hero-system-card {
    position: absolute;
    width: calc(50% - 0.6rem);
    height: calc(50% - 0.6rem);
    padding: 1rem 1rem 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(12, 12, 14, 0.94);
    border: 1px solid rgba(255, 116, 164, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 34px rgba(114, 14, 46, 0.12);
    opacity: 1;
    overflow: hidden;
    transform-style: preserve-3d;
    transition:
        transform 0.45s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.hero-system-card::after {
    content: '';
    position: absolute;
    inset: auto -12% -36% 16%;
    height: 68%;
    background: radial-gradient(circle, rgba(255, 116, 164, 0.16), transparent 72%);
    filter: blur(26px);
    pointer-events: none;
}

.hero-system-card--treino {
    top: 0;
    left: 0;
    z-index: 3;
    transform: translateZ(34px) rotateY(-2deg);
}

.hero-system-card--nutrition {
    top: 0;
    right: 0;
    z-index: 2;
    transform: translateZ(22px) rotateY(2deg);
}

.hero-system-card--recovery {
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: translateZ(14px) rotateY(-1deg);
}

.hero-system-card--progress {
    bottom: 0;
    right: 0;
    z-index: 4;
    transform: translateZ(42px) rotateY(1deg);
}

.hero-system-card-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    color: #ff9dbc;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-system-card-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-color);
    font-size: 1.08rem;
    line-height: 1.05;
    text-transform: none;
    letter-spacing: 0;
}

.hero-system-card-copy {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(242, 242, 242, 0.66);
    font-size: 0.87rem;
    line-height: 1.5;
}

.hero-system-shift {
    position: relative;
    z-index: 1;
    min-height: 2.35rem;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-system-shift-label {
    color: #ffd6e4;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-system-shift-label--nutrition {
    color: #ffb2cc;
}

.hero-system-score {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    margin-top: auto;
}

.hero-system-score strong {
    color: var(--text-color);
    font-size: 2.85rem;
    line-height: 0.88;
    letter-spacing: 0;
}

.hero-system-score span {
    color: rgba(242, 242, 242, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    padding-bottom: 0.28rem;
}

.hero-system-progress-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
}

.hero-system-progress-value {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.hero-system-progress-track {
    position: relative;
    z-index: 1;
    height: 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.hero-system-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 116, 164, 0.96), rgba(114, 14, 46, 0.82));
    box-shadow: 0 0 24px rgba(114, 14, 46, 0.28);
}

@keyframes siteGridPlane {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 64px 64px, 64px 64px;
    }
}

@keyframes heroGridPlane {
    0%, 100% {
        transform: perspective(900px) rotateX(58deg) rotateZ(-10deg) translate3d(0, 0, 0);
    }

    50% {
        transform: perspective(900px) rotateX(60deg) rotateZ(-8deg) translate3d(1rem, -0.75rem, 0);
    }
}

@keyframes heroGridPlaneAlt {
    0%, 100% {
        transform: perspective(800px) rotateX(66deg) rotateZ(12deg) translate3d(0, 0, 0);
    }

    50% {
        transform: perspective(800px) rotateX(62deg) rotateZ(14deg) translate3d(-0.8rem, 0.5rem, 0);
    }
}

@keyframes heroBoardFloat3D {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateZ(0deg);
    }

    50% {
        transform: translate3d(0, -0.7rem, 0) rotateZ(-0.5deg);
    }
}

@keyframes heroInnerGrid {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 34px 34px, 34px 34px;
    }
}

.system-strip {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    isolation: isolate;
}

.system-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(196, 24, 56, 0.14), transparent 50%);
    background-size: 44px 44px, 44px 44px, auto;
    opacity: 0.72;
    pointer-events: none;
    z-index: 0;
}

.system-strip::after {
    content: "";
    position: absolute;
    left: 4vw;
    right: 4vw;
    bottom: -12rem;
    height: 22rem;
    background:
        linear-gradient(rgba(255, 138, 164, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.12) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(900px) rotateX(62deg);
    opacity: 0.28;
    pointer-events: none;
    z-index: 0;
    animation: siteGridPlane 15s linear infinite;
}

.system-strip-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: stretch;
    gap: 1.5rem;
}

.system-strip-copy {
    position: relative;
    min-height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid rgba(255, 138, 164, 0.62);
    background: linear-gradient(90deg, rgba(196, 24, 56, 0.08), transparent);
}

.system-strip-copy h2 {
    max-width: 30rem;
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 4.2rem);
}

.system-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.signal-tile {
    position: relative;
    min-height: 15rem;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.65rem;
    border: 1px solid rgba(255, 138, 164, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
        rgba(12, 12, 14, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 22px 50px rgba(0, 0, 0, 0.22);
    transform-style: preserve-3d;
    animation: signalTileLift 8s ease-in-out infinite;
    overflow: hidden;
}

.signal-tile:nth-child(2) {
    animation-delay: -1.5s;
}

.signal-tile:nth-child(3) {
    animation-delay: -3s;
}

.signal-tile:nth-child(4) {
    animation-delay: -4.5s;
}

.signal-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 138, 164, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.24;
}

.signal-tile span,
.signal-tile strong,
.signal-tile p {
    position: relative;
    z-index: 1;
}

.signal-tile span {
    color: rgba(255, 138, 164, 0.86);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.signal-tile strong {
    color: var(--text-color);
    font-size: 1.25rem;
    line-height: 1;
}

.signal-tile p {
    margin: 0;
    color: rgba(242, 242, 242, 0.62);
    font-size: 0.92rem;
    line-height: 1.55;
}

@keyframes signalTileLift {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-0.45rem) rotateX(1.6deg);
    }
}

.hero-loop *,
.hero-flow * {
    transition: none !important;
}

.hero-loop-muscle-pulse,
.hero-loop-core span,
.hero-loop-scan span,
.hero-flow-link.is-active,
.hero-flow-node,
.hero-flow-pulse,
.hero-flow-pulse::after {
    animation: none !important;
}

.hero-loop {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-loop-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
}

.hero-loop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hero-loop-live,
.hero-loop-phase {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.hero-loop-live {
    color: #ff9dbc;
}

.hero-loop-phase {
    color: var(--text-color);
}

.hero-loop-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1rem;
    flex: 1;
    min-height: 0;
}

.hero-loop-card {
    position: relative;
    min-height: 0;
    padding: 1rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(18, 18, 20, 0.94), rgba(10, 10, 11, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.hero-loop-card::before {
    content: '';
    position: absolute;
    inset: auto -10% -35% 12%;
    height: 60%;
    background: radial-gradient(circle, rgba(114, 14, 46, 0.16), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.hero-loop-card-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-loop-workout,
.hero-loop-ai {
    display: flex;
    flex-direction: column;
}

.hero-loop-session {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-loop-session-title {
    display: block;
    color: var(--text-color);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-loop-session-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-loop-bars {
    height: 7.5rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.hero-loop-bar {
    --bar-level: 35%;
    height: var(--bar-level);
    display: block;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 132, 175, 0.98), rgba(114, 14, 46, 0.62));
    box-shadow: 0 0 20px rgba(114, 14, 46, 0.22);
    transition: height 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-loop-muscle {
    position: relative;
    margin-top: auto;
    padding: 0.95rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-loop-muscle-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-loop-muscle-label {
    color: #ffb2cc;
}

.hero-loop-muscle-shell {
    position: relative;
    height: 7rem;
    border-radius: 22px 22px 30px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
        rgba(12, 12, 13, 0.92);
    overflow: hidden;
}

.hero-loop-muscle-fill {
    height: 34%;
    position: absolute;
    inset: auto 0 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 181, 208, 0.36), transparent 44%),
        linear-gradient(180deg, rgba(255, 102, 158, 0.95), rgba(114, 14, 46, 0.82));
    transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-loop-muscle-pulse {
    position: absolute;
    inset: 18% 12%;
    border-radius: 50%;
    border: 1px solid rgba(255, 151, 190, 0.18);
    opacity: 0.3;
    animation: heroLoopPulse 1.8s ease-in-out infinite;
}

.hero-loop-core {
    position: relative;
    height: 7rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.8rem;
}

.hero-loop-core::before {
    content: '';
    position: absolute;
    width: 6.2rem;
    height: 6.2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle, rgba(114, 14, 46, 0.2), transparent 70%);
}

.hero-loop-core span {
    position: absolute;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #ff74a4;
    box-shadow: 0 0 16px rgba(255, 116, 164, 0.5);
    animation: heroLoopOrbit 2.6s linear infinite;
}

.hero-loop-core span:nth-child(1) {
    transform: translateX(2rem);
}

.hero-loop-core span:nth-child(2) {
    transform: rotate(120deg) translateX(2rem);
    animation-delay: -0.85s;
}

.hero-loop-core span:nth-child(3) {
    transform: rotate(240deg) translateX(2rem);
    animation-delay: -1.7s;
}

.hero-loop-scan {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.hero-loop-scan span {
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 116, 164, 0.42), rgba(255, 255, 255, 0.06));
    background-size: 220% 100%;
    animation: heroLoopScan 2.2s linear infinite;
}

.hero-loop-scan span:nth-child(2) {
    animation-delay: -0.55s;
}

.hero-loop-scan span:nth-child(3) {
    animation-delay: -1.1s;
}

.hero-loop-feedback {
    padding: 0.95rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(0);
    transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.hero-loop-feedback-kicker {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: #ff9dbc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-loop-feedback-title {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.25;
}

.hero-loop-feedback-copy {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.hero-loop-accept {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.95rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-loop-accept-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.hero-loop-progress {
    padding: 1rem 1.05rem 1.05rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-loop-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-loop-progress-value {
    color: var(--text-color);
    font-size: 1rem;
}

.hero-loop-progress-track {
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.hero-loop-progress-fill {
    width: 26%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 116, 164, 0.9), rgba(114, 14, 46, 0.75));
    box-shadow: 0 0 24px rgba(114, 14, 46, 0.26);
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-loop-chart {
    height: 4.6rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
    align-items: end;
    margin-bottom: 1rem;
}

.hero-loop-chart-bar {
    --chart-level: 32%;
    height: var(--chart-level);
    display: block;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 116, 164, 0.68));
    transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-loop-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hero-loop-step {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.35s ease;
}

.hero-loop-step.is-active {
    background: rgba(114, 14, 46, 0.2);
    border-color: rgba(255, 116, 164, 0.4);
    color: var(--text-color);
}

.hero-loop-step.is-past {
    color: rgba(242, 242, 242, 0.72);
}

.hero-loop[data-stage="feedback"] .hero-loop-feedback,
.hero-loop[data-stage="accept"] .hero-loop-feedback,
.hero-loop[data-stage="progress"] .hero-loop-feedback {
    transform: translateY(-0.25rem);
    border-color: rgba(255, 116, 164, 0.24);
    box-shadow: 0 18px 30px rgba(114, 14, 46, 0.12);
}

.hero-loop[data-stage="accept"] .hero-loop-accept-dot,
.hero-loop[data-stage="progress"] .hero-loop-accept-dot {
    background: #ff74a4;
    box-shadow: 0 0 18px rgba(255, 116, 164, 0.45);
    transform: scale(1.12);
}

.hero-loop[data-stage="pump"] .hero-loop-muscle-pulse,
.hero-loop[data-stage="progress"] .hero-loop-muscle-pulse {
    opacity: 0.55;
}

.hero-loop[data-stage="think"] .hero-loop-phase,
.hero-loop[data-stage="feedback"] .hero-loop-phase {
    border-color: rgba(255, 116, 164, 0.25);
    box-shadow: 0 0 24px rgba(114, 14, 46, 0.12);
}

@keyframes heroLoopPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.04);
        opacity: 0.55;
    }
}

@keyframes heroLoopOrbit {
    from {
        transform: rotate(0deg) translateX(2rem);
    }

    to {
        transform: rotate(360deg) translateX(2rem);
    }
}

@keyframes heroLoopScan {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -40% 0;
    }
}

.brain-orbit-badge {
    position: absolute;
    right: 1.25rem;
    bottom: 1.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 8, 9, 0.82);
    color: rgba(242, 242, 242, 0.92);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 3;
}

.hero-flow {
    --focus-x: 17%;
    --focus-y: 28%;
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-flow-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
}

.hero-flow-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hero-flow-live,
.hero-flow-state {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.hero-flow-live {
    color: #ff9dbc;
}

.hero-flow-state {
    color: var(--text-color);
}

.hero-flow-canvas {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 26%, rgba(114, 14, 46, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(15, 10, 12, 0.92), rgba(8, 8, 9, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 40px rgba(0, 0, 0, 0.26);
}

.hero-flow-canvas::before {
    content: '';
    position: absolute;
    inset: 18% 18% 28%;
    border-radius: 999px;
    background: radial-gradient(circle at var(--focus-x) var(--focus-y), rgba(255, 116, 164, 0.16), transparent 22%);
    filter: blur(26px);
    transition: background-position 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 0;
}

.hero-flow-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.025), transparent 55%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-flow-network {
    position: absolute;
    inset: 11% 10% 24%;
    width: 80%;
    height: 65%;
    overflow: visible;
    z-index: 1;
}

.hero-flow-link {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 0.75;
    stroke-linecap: round;
    stroke-dasharray: 1.2 3.2;
    stroke-dashoffset: 0;
    opacity: 0.82;
    transition: stroke 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.hero-flow-link.is-active {
    stroke: rgba(255, 116, 164, 0.82);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 116, 164, 0.26));
    animation: heroFlowDash 1.2s linear infinite;
}

.hero-flow-node {
    position: absolute;
    left: var(--node-x);
    top: var(--node-y);
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 4.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    animation: heroFlowFloat 4.8s ease-in-out infinite;
}

.hero-flow-node:nth-child(2n) {
    animation-duration: 5.6s;
}

.hero-flow-node:nth-child(3n) {
    animation-duration: 4.1s;
}

.hero-flow-node__orb {
    position: relative;
    width: 2.95rem;
    height: 2.95rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
        rgba(11, 11, 12, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        border-color 0.45s ease,
        transform 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
    overflow: hidden;
}

.hero-flow-node__orb::after {
    content: '';
    position: absolute;
    inset: -0.3rem;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 116, 164, 0.38), transparent 70%);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.45s ease, transform 0.45s ease;
    z-index: -1;
}

.hero-flow-node svg {
    position: relative;
    z-index: 1;
    width: 1.32rem;
    height: 1.32rem;
    fill: none;
    stroke: #ff9dbc;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.45s ease, transform 0.45s ease;
}

.hero-flow-node strong {
    color: rgba(242, 242, 242, 0.74);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.35s ease;
}

.hero-flow-node.is-active .hero-flow-node__orb::after {
    opacity: 1;
    transform: scale(1);
}

.hero-flow-node.is-active .hero-flow-node__orb {
    border-color: rgba(255, 116, 164, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(14, 10, 12, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 116, 164, 0.08);
    transform: translateY(-2px);
}

.hero-flow-node.is-active strong {
    color: var(--text-color);
}

.hero-flow-node.is-active svg {
    stroke: #ffd6e4;
    transform: scale(1.04);
}

.hero-flow-pulse {
    position: absolute;
    left: 17%;
    top: 28%;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ffb5cf;
    box-shadow:
        0 0 0 0 rgba(255, 116, 164, 0.45),
        0 0 14px rgba(255, 116, 164, 0.45);
    transform: translate(-50%, -50%);
    transition:
        left 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        top 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    animation: heroFlowPulse 1.8s ease-in-out infinite;
    z-index: 3;
}

.hero-flow-pulse::after {
    content: '';
    position: absolute;
    inset: -0.3rem;
    border-radius: inherit;
    border: 1px solid rgba(255, 181, 208, 0.5);
    opacity: 0.42;
    animation: heroFlowPulseRing 1.8s ease-in-out infinite;
}

.hero-flow-center {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    transform: none;
    z-index: 2;
    width: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.32rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(11, 9, 10, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 28px rgba(0, 0, 0, 0.18);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease,
        opacity 0.35s ease;
}

.hero-flow-kicker {
    color: #ff9dbc;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-flow-title {
    color: var(--text-color);
    font-size: 0.98rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.hero-flow-copy {
    color: rgba(242, 242, 242, 0.66);
    font-size: 0.78rem;
    line-height: 1.45;
}

@keyframes heroFlowPulse {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(255, 116, 164, 0.35),
            0 0 18px rgba(255, 116, 164, 0.42);
    }

    50% {
        box-shadow:
            0 0 0 0.45rem rgba(255, 116, 164, 0),
            0 0 24px rgba(255, 116, 164, 0.58);
    }
}

@keyframes heroFlowPulseRing {
    0%, 100% {
        transform: scale(0.82);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes heroFlowDash {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -9;
    }
}

@keyframes heroFlowFloat {
    0%, 100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 4px));
    }
}

@media (max-width: 1180px) {
    .hero {
        height: auto;
        min-height: 100svh;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-text,
    .hero-visual {
        flex-basis: auto;
        max-width: 100%;
        width: 100%;
    }

    .hero-visual {
        justify-content: center;
    }

    #brain-container {
        width: min(100%, 520px);
        height: clamp(360px, 52vw, 470px);
        margin: 0 auto;
    }

    .hero-system-card {
        padding: 0.9rem 0.9rem 0.85rem;
    }

    .hero-system-card-title {
        font-size: 0.98rem;
    }

    .hero-system-card-copy {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 3rem;
    }

    .system-strip-inner {
        grid-template-columns: 1fr;
    }

    .system-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.abstract-circle {
    width: 400px;
    height: 400px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

.abstract-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: var(--text-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform-origin: top;
        transform: scaleY(0);
    }

    50% {
        transform-origin: top;
        transform: scaleY(1);
    }

    51% {
        transform-origin: bottom;
        transform: scaleY(1);
    }

    100% {
        transform-origin: bottom;
        transform: scaleY(0);
    }
}

/* Brain Section */
.brain-section .row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.col-text {
    flex: 1;
}

.col-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.section-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.feature-list {
    margin-top: 3rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.feature-list .icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.feature-list strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.mockup-container {
    position: relative;
}

/* ==================== */
/* PHONE MOCKUP FRAME & 3D */
/* ==================== */
.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    /* Add perspective for 3D effect */
    perspective: 1000px;
    /* Enhance the float animation to include 3D rotation */
    animation: phoneFloat3D 8s ease-in-out infinite;
    z-index: 2;
    transform-origin: center center;
    will-change: transform;
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 610px;
    /* Device body - realistic metal/glass base */
    background: linear-gradient(135deg, #2a2a2a 0%, #111 50%, #050505 100%);
    border-radius: 38px; 
    padding: 8px;
    /* Complex 3D shadows and edges */
    box-shadow:
        /* Screen bezel inner shadow */
        inset 0 0 0 2px rgba(255, 255, 255, 0.05),
        /* Outer metal rim highlight */
        inset 2px 2px 5px rgba(255, 255, 255, 0.15),
        inset -2px -2px 5px rgba(0, 0, 0, 0.8),
        /* Outer edge thickness */
        0 0 0 1px #000,
        0 0 0 3px #333,
        0 0 0 5px #1a1a1a,
        /* 3D Drop shadow */
        -15px 25px 50px rgba(0, 0, 0, 0.8),
        -5px 10px 20px rgba(0, 0, 0, 0.6),
        /* Colored ambient glow */
        0 0 80px rgba(139, 58, 74, 0.2);
    /* Set initial 3D transform state */
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-15deg) rotateZ(2deg);
    transition: transform 0.5s ease;
}

.phone-frame:hover {
    /* Slight interactive "pop" towards user */
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(1deg) scale(1.05);
}

/* Add realistic glare/reflection over the entire device */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 46px;
    background: linear-gradient(
        105deg,
        rgba(255,255,255,0) 20%,
        rgba(255,255,255,0.03) 25%,
        rgba(255,255,255,0.1) 35%,
        rgba(255,255,255,0) 45%
    );
    pointer-events: none;
    z-index: 15;
}

/* Notch / Dynamic Island */
.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow: inset 0 -1px 2px rgba(255,255,255,0.1), 0 2px 5px rgba(0,0,0,0.5);
}

/* Camera Lens in Notch */
.phone-notch::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    border: 1px solid #000;
    /* Camera lens reflection */
    box-shadow: inset 2px -2px 3px rgba(30, 60, 100, 0.4), inset -1px 1px 2px rgba(255,255,255,0.2);
}

/* Screen */
.phone-screen {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    height: 100%;
    background: #000;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
    transform: translateZ(2px); /* Lift screen slightly */
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Screen light emission / subtle glow */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
    pointer-events: none;
    z-index: 4;
}

/* Animated Glass reflection moving across the screen */
.phone-screen::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 5;
    animation: reflectionSweep 6s ease-in-out infinite;
}

/* Side buttons - Make them look physical and metallic */
.phone-btn-side {
    position: absolute;
    background: linear-gradient(to right, #444, #111);
    box-shadow: inset 1px 0 2px rgba(255,255,255,0.2), -2px 0 5px rgba(0,0,0,0.8);
    border-radius: 2px 0 0 2px;
}

.phone-btn-vol-up {
    left: -4px;
    top: 130px;
    width: 4px;
    height: 40px;
}

.phone-btn-vol-down {
    left: -4px;
    top: 185px;
    width: 4px;
    height: 40px;
}

.phone-btn-power {
    right: -4px;
    top: 150px;
    width: 4px;
    height: 60px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(to left, #444, #111);
    box-shadow: inset -1px 0 2px rgba(255,255,255,0.2), 2px 0 5px rgba(0,0,0,0.8);
}

/* Glow behind phone (environmental light) */
.phone-glow {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(139, 58, 74, 0.4) 0%, rgba(90, 45, 58, 0.1) 40%, transparent 70%);
    filter: blur(50px);
    z-index: 1; /* Place exactly behind the phone-frame */
    animation: glowPulse3D 4s ease-in-out infinite;
}

/* ==================== */
/* ANIMATIONS           */
/* ==================== */
@keyframes phoneFloat3D {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

@keyframes reflectionSweep {
    0% {
        transform: translate(-30%, -30%);
    }
    100% {
        transform: translate(10%, 10%);
    }
}

@keyframes glowPulse3D {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media (hover: none), (pointer: coarse) {
    .phone-mockup {
        animation: none;
    }

    .phone-frame:hover {
        transform: rotateX(10deg) rotateY(-15deg) rotateZ(2deg);
    }
}




/* Pillars Section */
.pillars-section {
    background: var(--surface-color);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
    /* Ensure all pillars have the same height */
}

.pillar-card {
    background: #0a0a0a;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

/* Connection Line Animation */
.animated-path {
    stroke-dasharray: 12, 12;
    animation: dashAnim 20s linear infinite;
}

@keyframes dashAnim {
    from {
        stroke-dashoffset: 400;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pillar-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    line-height: 1;
    transition: color 0.4s ease, transform 0.4s ease;
}

.pillar-card:hover .pillar-number {
    color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.pillar-card h3 {
    margin-top: 3.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--text-color);
}

.pillar-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.pillar-card:hover h3::after,
.pillar-card.visible h3::after {
    width: 100%;
}

.pillar-card p {
    margin-top: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Vertical structural line animation */
.line-detail {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, var(--accent-color), transparent);
    transition: height 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.3s; /* Delay so it happens after fade-in */
    z-index: 10;
}

.pillar-card:hover .line-detail,
.pillar-card.visible .line-detail {
    height: 100%;
}

/* Specific rising animation for pillars to make them feel heavy and structural */
.pillar-card.fade-in-up {
    transform: translateY(60px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

.pillar-card.fade-in-up.visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* ==================== */
/* 3D Showcase Section  */
/* ==================== */
.showcase-section {
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-color), #050505, var(--bg-color));
    position: relative;
    isolation: isolate;
}

.showcase-section::before {
    content: "";
    position: absolute;
    inset: 12% -10% auto;
    height: 22rem;
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    transform: perspective(900px) rotateX(68deg) rotateZ(-4deg);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    animation: siteGridPlane 18s linear infinite;
}

.marquee-container {
    position: relative;
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 2.25rem 1.5rem 0;
    perspective: 1200px;
    z-index: 1;
}

/* Fading edges */
.overlay-left, .overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    z-index: 10;
    pointer-events: none;
}

.overlay-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.overlay-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.marquee-track {
    display: block;
}

.marquee-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 0;
}

.showcase-item {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 320 / 650;
    margin: 0 auto;
    border-radius: 32px;
    transform-style: preserve-3d;
    animation: interfaceFloat3D 9s ease-in-out infinite;
    transition: filter 0.3s ease, box-shadow 0.3s ease, transform 0.35s ease;
}

.showcase-item:nth-child(2n) {
    animation-delay: -2s;
}

.showcase-item:nth-child(3n) {
    animation-delay: -4s;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 28px;
    /* Outer phone-like border */
    border: 8px solid #1a1a1a;
    box-shadow: 
        0 0 0 2px #333,
        0 20px 40px rgba(0, 0, 0, 0.8),
        -10px 10px 20px rgba(0,0,0,0.5);
    filter: brightness(0.7) contrast(1.1);
    transition: all 0.5s ease;
}

/* Glass glare reflection */
.showcase-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.5s ease;
}

.showcase-item:hover {
    z-index: 2;
    transform: translateY(-0.4rem) rotateX(3deg) rotateY(-3deg);
}

.showcase-item:hover img {
    filter: brightness(1) contrast(1);
    box-shadow: 
        0 0 0 2px var(--accent-color),
        0 30px 60px rgba(139, 58, 74, 0.3),
        -15px 15px 30px rgba(0,0,0,0.7);
}

.showcase-item:hover::after {
    opacity: 0.5;
}

@keyframes interfaceFloat3D {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translate3d(0, -0.55rem, 0) rotateX(1.5deg) rotateY(-1deg);
    }
}

/* Modes Section */
.modes-comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.mode-block {
    flex: 1;
    padding: 3rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
}

.human-badge {
    display: inline-block;
    background: rgba(114, 14, 46, 0.2);
    border: 1px solid var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #ff9fb4;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.mode-block h3 {
    margin-bottom: 0.5rem;
}

.mode-label {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 0.1em;
}

.mode-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0 2rem;
}

.vertical-line {
    width: 1px;
    height: 100px;
    background: var(--border-color);
}

.vs {
    font-weight: 700;
    color: var(--text-muted);
}

/* Target Audience Section */
.target-audience-section {
    background: var(--bg-color);
    position: relative;
    /* Ensure it doesn't overlap weirdly */
}

.audience-grid {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

.audience-divider {
    width: 1px;
    background: var(--border-color);
    position: relative;
}

.audience-column {
    flex: 1;
}

.audience-column h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.audience-column.positive h3 {
    color: var(--text-color);
}

.audience-column.negative h3 {
    color: var(--text-muted);
}

.audience-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.audience-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.audience-item .icon-check {
    color: var(--accent-color);
    font-size: 1.2rem;
    line-height: 1.2;
    background: rgba(114, 14, 46, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.audience-item .icon-cross {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.05);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.audience-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

.audience-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.audience-column.negative .audience-item h4 {
    color: var(--text-muted);
}

.audience-column.negative .audience-item p {
    opacity: 0.7;
}

/* Responsive for Audience */
@media (max-width: 900px) {
    .audience-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .audience-divider {
        width: 100%;
        height: 1px;
        background: var(--border-color);
    }

    .audience-column {
        width: 100%;
    }
}

/* Philosophy Section */
.philosophy-section {
    padding: 10rem 0;
}

.big-statement {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 3rem;
}

.wine-text {
    color: var(--accent-color);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item .number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-item .label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    overflow: hidden;
}

.pricing-section::before {
    content: "";
    position: absolute;
    top: 3rem;
    left: 50%;
    width: min(70rem, 92vw);
    height: 32rem;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at center, rgba(114, 14, 46, 0.24), transparent 62%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 1;
}

.pricing-section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2rem;
    width: min(86rem, 120vw);
    height: 26rem;
    transform: translateX(-50%) perspective(900px) rotateX(64deg);
    transform-origin: center bottom;
    background:
        linear-gradient(rgba(255, 138, 164, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.10) 1px, transparent 1px);
    background-size: 54px 54px;
    border: 1px solid rgba(255, 138, 164, 0.08);
    opacity: 0.34;
    pointer-events: none;
    z-index: 0;
    animation: siteGridPlane 16s linear infinite;
}

.pricing-section .section-header p {
    max-width: 38rem;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.6rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(10, 10, 10, 0.92));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    transform-style: preserve-3d;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 65%, rgba(114, 14, 46, 0.12));
    opacity: 0.85;
    z-index: -1;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px) rotateX(1.5deg);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.45);
}

.pricing-card.visible:hover {
    transform: translateY(-10px) rotateX(1.5deg) scale(1) !important;
}

.pricing-card.featured {
    border-color: rgba(114, 14, 46, 0.7);
    box-shadow:
        0 28px 80px rgba(114, 14, 46, 0.2),
        0 24px 60px rgba(0, 0, 0, 0.35);
}

.pricing-card.featured::after {
    content: "Mais escolhido";
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(114, 14, 46, 0.2);
    border: 1px solid rgba(114, 14, 46, 0.55);
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pricing-card.featured:hover {
    border-color: rgba(114, 14, 46, 0.95);
    box-shadow:
        0 34px 90px rgba(114, 14, 46, 0.28),
        0 32px 72px rgba(0, 0, 0, 0.45);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header h3 {
    font-size: 1.9rem;
    margin-bottom: 0;
}

.price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.original-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.28);
    opacity: 0.82;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-color);
}

.period,
.duration {
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.save-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.save-badge.best-value {
    background: rgba(114, 14, 46, 0.18);
    border-color: rgba(114, 14, 46, 0.5);
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.card-body ul {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.card-body li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(242, 242, 242, 0.94);
    font-size: 1rem;
    line-height: 1.45;
}

.check,
.cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.05rem;
    border-radius: 999px;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
}

.check {
    background: rgba(114, 14, 46, 0.18);
    border: 1px solid rgba(114, 14, 46, 0.45);
    color: var(--text-color);
}

.cross {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(242, 242, 242, 0.55);
}

.card-body form {
    margin-top: auto;
    width: 100%;
}

.card-body > .cta-button {
    margin-top: auto;
    width: 100%;
}

.waitlist-trigger {
    margin-top: auto;
}

.pricing-card .cta-button,
.waitlist-modal .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    border-radius: 999px;
}

.waitlist-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 1300;
}

.waitlist-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.waitlist-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.76);
    backdrop-filter: blur(12px);
}

.waitlist-modal-dialog {
    position: relative;
    width: min(100%, 34rem);
    padding: 1.6rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(18, 10, 13, 0.97), rgba(8, 8, 9, 0.96));
    box-shadow:
        0 28px 80px rgba(114, 14, 46, 0.18),
        0 24px 60px rgba(0, 0, 0, 0.42);
    z-index: 1;
}

.waitlist-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    font: inherit;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.waitlist-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.waitlist-modal-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1.15rem;
    border-radius: 999px;
    background: rgba(114, 14, 46, 0.2);
    border: 1px solid rgba(114, 14, 46, 0.5);
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.waitlist-modal-view h3 {
    margin-bottom: 0.85rem;
    padding-right: 3rem;
}

.waitlist-modal-eyebrow {
    margin-bottom: 0.75rem;
    color: rgba(255, 176, 206, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.waitlist-modal-copy {
    margin-bottom: 1.35rem;
    color: rgba(242, 242, 242, 0.72);
    font-size: 1rem;
    line-height: 1.7;
}

.waitlist-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.waitlist-label {
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 600;
}

.waitlist-input {
    width: 100%;
    min-height: 3.45rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    font: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.waitlist-input::placeholder {
    color: rgba(242, 242, 242, 0.45);
}

.waitlist-input:focus {
    outline: none;
    border-color: rgba(114, 14, 46, 0.9);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(114, 14, 46, 0.16);
}

.waitlist-feedback {
    margin: 0;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(114, 14, 46, 0.14);
    border: 1px solid rgba(114, 14, 46, 0.4);
    color: rgba(255, 226, 235, 0.94);
    font-size: 0.92rem;
    line-height: 1.55;
}

.waitlist-modal-view-success {
    text-align: center;
}

.waitlist-modal-icon {
    width: 5.1rem;
    height: 5.1rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(114, 14, 46, 0.18);
    border: 1px solid rgba(114, 14, 46, 0.5);
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.waitlist-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
    padding: 4.75rem 0 clamp(7rem, 18vw, 14rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(15, 15, 15, 0.98) 0%, rgba(15, 15, 15, 0.98) 58%, rgba(114, 14, 46, 0.22) 100%);
}

.footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(22rem, 45vw);
    background: linear-gradient(to top, rgba(114, 14, 46, 0.2), transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.footer-shell {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 3.5rem 2.5rem;
    align-items: start;
    padding-bottom: 3.5rem;
}

.footer-brand {
    max-width: 18rem;
}

.footer-wordmark {
    display: inline-block;
    margin-bottom: 1.75rem;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ff9dbc;
    text-shadow: 0 0 24px rgba(114, 14, 46, 0.18);
}

.footer-wordmark:hover {
    color: var(--text-color);
}

.footer-brand p {
    color: rgba(242, 242, 242, 0.62);
    font-size: 0.98rem;
    line-height: 1.8;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.footer-heading {
    margin: 0 0 0.75rem;
    color: #ff9dbc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.footer-menu a {
    color: rgba(242, 242, 242, 0.58);
    font-size: 0.96rem;
    line-height: 1.4;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-menu a:hover {
    color: #ff9dbc;
    transform: translateX(4px);
}

.footer-divider {
    height: 1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, rgba(114, 14, 46, 0.45), rgba(255, 255, 255, 0.08), rgba(114, 14, 46, 0.45));
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-meta,
.footer-signoff {
    margin: 0;
    color: rgba(242, 242, 242, 0.34);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-backdrop {
    position: absolute;
    left: 50%;
    bottom: -0.2em;
    transform: translateX(-50%);
    color: rgba(114, 14, 46, 0.28);
    font-size: clamp(8rem, 31vw, 31rem);
    font-weight: 800;
    line-height: 0.72;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    text-shadow: 0 0 32px rgba(114, 14, 46, 0.12);
}

@media (max-width: 1080px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 32rem;
    }
}

/* Animations Classes */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-delayed {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-delayed {
    transform: scale(0.95);
    transition-delay: 0.2s;
}

.visible {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .fade-in-delayed,
    .pillar-card.fade-in-up {
        opacity: 1 !important;
        transform: none !important;
    }

    .marquee-content,
    .showcase-item,
    .scroll-indicator .line,
    .signal-tile,
    .hero-system-board,
    body::after {
        animation: none !important;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ==================== */
/* RESPONSIVE DESIGN    */
/* ==================== */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    /* Brain section */
    .brain-section .row {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-inline: 1rem;
    }

    body::before {
        background-size: 38px 38px;
        opacity: 0.42;
    }

    body::after {
        height: 32vh;
        bottom: -18vh;
        opacity: 0.22;
    }

    /* Typography */
    h1 { 
        font-size: 2rem;
        line-height: 1.1;
        letter-spacing: 0;
    }
    h2 { font-size: 1.8rem; }
    .big-statement { font-size: 2rem; }
    
    /* Left align section headers on mobile for better reading flow */
    .section-header { 
        margin-bottom: 2rem; 
        text-align: left !important;
    }

    .pricing-card {
        padding: 1.35rem;
        border-radius: 18px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .waitlist-modal {
        padding: 1rem;
    }

    .waitlist-modal-dialog {
        padding: 1.35rem;
        border-radius: 24px;
    }

    .waitlist-modal-view h3 {
        padding-right: 2.5rem;
    }

    .pricing-card.featured::after {
        top: 1rem;
        right: 1rem;
    }

    .price {
        font-size: 2.2rem;
    }

    /* Layout & Spacing */
    .section { padding: 4rem 0; }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0 2.5rem 0;
        flex-direction: column;
    }

    .hero::before {
        left: 8%;
        top: 8%;
        width: 92vw;
        height: 30vh;
        opacity: 0.22;
        transform: perspective(760px) rotateX(64deg) rotateZ(-7deg);
    }

    .hero::after {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        text-align: left; /* Changed from center to left */
        gap: 1.35rem;
        width: 100% !important;
        max-width: 100vw !important;
        align-items: flex-start;
    }

    .hero-text {
        flex: 0 1 auto !important;
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
    }

    .hero-text h1,
    .hero-text p,
    .hero-text .eyebrow {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }

    .hero-visual {
        justify-content: flex-start;
        overflow: hidden;
    }

    /* Keep the brand container left-aligned too */
    .hero-brand {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    .eyebrow {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        margin-bottom: 1rem;
        display: block; /* ensure it sits nicely on the left */
    }

    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 100%; /* Removing the 90% constriction for left align */
        margin: 1.5rem 0 2rem 0; /* Removing auto margins to keep it left */
    }

    .hero-proof-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .hero-proof-grid span {
        min-height: 3.45rem;
        padding: 0.75rem 0.9rem;
    }

    #brain-container.hero-system-board {
        width: min(100%, 310px);
        height: auto;
        min-height: 0;
        animation-duration: 12s;
        margin-left: 0;
        margin-right: auto;
    }

    .hero-system-shell {
        height: auto;
        transform: none;
        border-radius: 24px;
    }

    .hero-system-stage {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.58rem;
        min-height: 0;
    }

    .hero-system-head {
        gap: 0.6rem;
    }

    .hero-system-chip {
        min-height: 1.62rem;
        font-size: 0.52rem;
        padding: 0.28rem 0.48rem;
        letter-spacing: 0.08em;
    }

    .hero-system-card {
        position: relative;
        inset: auto;
        width: auto;
        height: auto;
        min-height: 9.15rem;
        border-radius: 24px;
        transform: translateZ(0) !important;
        padding: 0.78rem;
    }

    .hero-flow-shell {
        padding: 1rem;
    }

    .hero-flow-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-flow-center {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.85rem;
        padding: 0.8rem 0.9rem;
    }

    .hero-flow-title {
        font-size: 0.92rem;
    }

    .hero-flow-copy {
        font-size: 0.74rem;
    }

    .hero-flow-node {
        width: 4.15rem;
        gap: 0.32rem;
    }

    .hero-flow-node__orb {
        width: 2.6rem;
        height: 2.6rem;
    }

    .hero-flow-node strong {
        font-size: 0.54rem;
        letter-spacing: 0.1em;
    }

    .hero-flow-network {
        inset: 12% 10% 23%;
    }

    /* Brain Section */
    .brain-section .row {
        flex-direction: column;
        text-align: left; /* Left align */
        align-items: flex-start;
    }

    .col-image {
        width: 100%;
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .feature-list li {
        flex-direction: row; /* Keep icon and text side-by-side but left aligned */
        align-items: flex-start;
        text-align: left;
        gap: 1rem; /* Restore gap */
    }
    
    /* Scale down the 3D phone */
    .phone-mockup {
        transform: scale(0.85);
        margin-top: 0;
        margin-bottom: 0;
        animation: none;
    }
    
    .phone-frame {
        /* Flatten the perspective slightly on mobile to prevent the "fat" distortion */
        transform: rotateX(5deg) rotateY(-5deg) rotateZ(0deg) !important;
    }

    /* Pillars */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pillar-card {
        text-align: left;
    }
    
    /* Hide the connection line on mobile as items are stacked */
    .pillars-connection-line {
        display: none !important;
    }

    /* Modes Comparison */
    .modes-comparison {
        flex-direction: column;
        align-items: stretch; /* Force boxes to span full width */
        gap: 2rem;
    }

    .mode-divider {
        flex-direction: row;
        margin: 1rem 0;
        justify-content: center; /* Keep the VS divider centered */
    }

    .vertical-line {
        width: 100px;
        height: 1px;
    }
    
    .mode-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 2.5rem 1.5rem; /* Better fit for mobile screens */
    }
    
    .mode-block h3 {
        text-align: center;
    }
    
    .human-badge {
        margin: 0 auto 1.5rem auto !important; /* Force center the badge */
        text-align: center;
    }
    
    .mode-label {
        margin: 2rem auto 0 auto !important;
        text-align: center;
    }

    .system-strip {
        padding: 3rem 0;
    }

    .system-strip-copy {
        padding: 1.25rem;
    }

    .system-strip-grid {
        grid-template-columns: 1fr;
    }

    .signal-tile {
        min-height: 8.8rem;
    }

    /* Target Audience */
    .audience-grid {
        flex-direction: column;
        gap: 3rem;
    }
    
    .audience-divider {
        width: 100%;
        height: 1px;
    }
    
    .audience-item {
        flex-direction: column; /* Revert to stacked */
        align-items: center; /* Revert to centered */
        text-align: center;
    }

    /* Philosophy */
    .stats-row {
        flex-direction: column;
        gap: 2rem;
    }

    /* Showcase 3D Marquee Mobile Adjustments */
    .showcase-section {
        padding: 3rem 0;
    }
    
    .marquee-container {
        padding: 2rem 1rem 0;
    }

    .marquee-track {
        transform: none;
    }

    .marquee-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    
    .showcase-item {
        max-width: 240px;
        animation-duration: 12s;
    }

    .brain-orbit-badge {
        right: 1rem;
        bottom: 1rem;
        padding: 0.45rem 0.75rem;
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }
    
    /* Footer */
    .footer {
        padding: 4rem 0 6.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .footer-brand {
        max-width: 24rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .footer-backdrop {
        left: 1rem;
        transform: none;
        bottom: -0.06em;
        font-size: clamp(5.4rem, 24vw, 9.5rem);
        letter-spacing: 0.04em;
    }

    /* Mobile Menu Navigation */
    .header .cta-button.small {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        z-index: 1001;
    }

    .nav a {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .waitlist-modal-dialog {
        padding: 1.2rem 1rem 1rem;
        border-radius: 22px;
    }

    .waitlist-modal-step {
        margin-bottom: 0.9rem;
    }

    .waitlist-modal-copy {
        font-size: 0.95rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.55rem; }
    
    .phone-mockup {
        transform: scale(0.6);
        margin-top: 0;
        margin-bottom: 0;
        animation: none;
    }
    
    .showcase-item {
        max-width: 220px;
        border-radius: 24px;
    }

    .marquee-container {
        overflow-x: auto;
        padding: 2rem 1rem 0.75rem;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .marquee-container::-webkit-scrollbar {
        display: none;
    }

    .marquee-track {
        width: max-content;
    }

    .marquee-content {
        display: flex;
        width: max-content;
        gap: 0.9rem;
    }

    .showcase-item {
        width: min(76vw, 240px);
        max-width: none;
        flex: 0 0 min(76vw, 240px);
        margin: 0;
        scroll-snap-align: start;
    }

    #brain-container.hero-system-board {
        height: auto;
        min-height: 0;
    }

    .hero-system-shell {
        padding: 0.85rem;
        gap: 0.75rem;
        border-radius: 28px;
    }

    .hero-system-head {
        gap: 0.45rem;
    }

    .hero-system-chip {
        min-height: 1.7rem;
        padding: 0.3rem 0.52rem;
        font-size: 0.54rem;
        letter-spacing: 0.08em;
    }

    .hero-system-card {
        position: relative;
        inset: auto;
        width: auto;
        height: auto;
        min-height: 8.4rem;
        padding: 0.72rem;
        border-radius: 22px;
    }

    .hero-system-card-label {
        font-size: 0.54rem;
    }

    .hero-system-card-title {
        font-size: 0.8rem;
    }

    .hero-system-card-copy {
        display: none;
    }

    .hero-system-score strong {
        font-size: 2rem;
    }

    .hero-system-score span,
    .hero-system-progress-value {
        font-size: 0.9rem;
    }

    .hero-system-progress-track {
        height: 0.68rem;
    }

    .hero-system-shift {
        min-height: 1.85rem;
        padding: 0.35rem 0.55rem;
    }

    .hero-system-shift-label {
        font-size: 0.6rem;
        letter-spacing: 0.06em;
    }

    .hero-flow-center {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.75rem 0.8rem;
        gap: 0.28rem;
    }

    .hero-flow-title {
        font-size: 0.86rem;
    }

    .hero-flow-copy {
        font-size: 0.7rem;
    }

    .hero-flow-node {
        width: 3.55rem;
    }

    .hero-flow-node__orb {
        width: 2.28rem;
        height: 2.28rem;
    }

    .hero-flow-node strong {
        font-size: 0.48rem;
    }

    .hero-flow-network {
        inset: 14% 11% 24%;
    }

    .hero-flow-live,
    .hero-flow-state {
        font-size: 0.62rem;
        padding: 0.4rem 0.68rem;
    }
    
    .showcase-item img {
        border-radius: 20px;
        border-width: 5px;
    }

    .brain-orbit-badge {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }
}

/* ==================== */
/* Redesign pass: site-wide visual lift */
/* ==================== */

.header {
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(18, 8, 13, 0.82), rgba(5, 5, 5, 0.9));
    border-bottom-color: rgba(255, 138, 164, 0.12);
}

.logo img {
    filter: drop-shadow(0 0 18px rgba(196, 24, 56, 0.28));
}

.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff8aa4, transparent);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.cta-button {
    border-radius: 999px;
}

.hero {
    min-height: 100svh;
    padding-top: var(--header-height);
    background:
        radial-gradient(circle at 18% 18%, rgba(196, 24, 56, 0.28), transparent 24rem),
        radial-gradient(circle at 88% 24%, rgba(255, 138, 164, 0.12), transparent 25rem),
        linear-gradient(180deg, #050505 0%, #090507 52%, #050505 100%);
}

.hero::before {
    left: -10vw;
    top: 11%;
    width: min(58rem, 94vw);
    height: min(28rem, 48vw);
    background:
        linear-gradient(rgba(255, 138, 164, 0.20) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.12) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.28;
    transform: perspective(900px) rotateX(62deg) rotateZ(10deg);
}

.hero::after {
    right: -9vw;
    bottom: 1vh;
    width: min(44rem, 70vw);
    height: min(24rem, 38vw);
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    border-color: rgba(255, 138, 164, 0.10);
    opacity: 0.20;
}

.hero-content {
    max-width: 1280px;
    padding-top: 1.5rem;
}

.hero-brand {
    width: max-content;
    padding: 0.55rem 0.9rem 0.55rem 0.55rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 138, 164, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-brand img {
    height: 34px;
}

.hero-brand span {
    font-size: 0.86rem;
    letter-spacing: 0.18em;
}

.eyebrow,
.section-tag {
    color: #ff8aa4;
}

.hero-text {
    flex-basis: 590px;
}

.hero-text h1 {
    max-width: 10.8ch;
    margin-bottom: 1.25rem;
    font-size: clamp(3.8rem, 7vw, 6.8rem);
    line-height: 0.88;
    text-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.hero-text p {
    max-width: 32rem;
    color: rgba(242, 242, 242, 0.74);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions .cta-button {
    background: linear-gradient(135deg, #c41838, #7b0f2f 58%, #f2f2f2 160%);
    color: #fff;
    border-color: rgba(255, 138, 164, 0.34);
    box-shadow: 0 18px 44px rgba(196, 24, 56, 0.28);
}

.hero-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 32rem);
}

.hero-proof-grid span {
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
        rgba(11, 9, 11, 0.78);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.hero-visual {
    align-items: center;
    justify-content: center;
}

.hero-device-scene {
    position: relative;
    width: min(100%, 560px);
    min-height: 610px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.hero-device-scene::before,
.hero-device-scene::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-device-scene::before {
    inset: 8% -8% 2%;
    background:
        linear-gradient(rgba(255, 138, 164, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.10) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: rotateX(68deg) rotateZ(-11deg);
    opacity: 0.38;
    animation: siteGridPlane 14s linear infinite;
}

.hero-device-scene::after {
    left: 11%;
    top: 8%;
    width: 76%;
    height: 76%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(196, 24, 56, 0.28), transparent 63%);
    filter: blur(10px);
    opacity: 0.78;
}

.hero-orbit-ring {
    position: absolute;
    border: 1px solid rgba(255, 138, 164, 0.16);
    border-radius: 999px;
    transform-style: preserve-3d;
    pointer-events: none;
}

.hero-orbit-ring--one {
    inset: 12% 5% 13%;
    transform: rotateX(68deg) rotateZ(-18deg);
}

.hero-orbit-ring--two {
    inset: 22% 15% 21%;
    transform: rotateX(68deg) rotateZ(18deg);
    border-color: rgba(255, 255, 255, 0.09);
}

.hero-device-card {
    position: absolute;
    z-index: 2;
    padding: 0.54rem;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.018)),
        #080808;
    border: 1px solid rgba(255, 138, 164, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 35px 90px rgba(0, 0, 0, 0.54),
        0 0 70px rgba(196, 24, 56, 0.18);
    overflow: hidden;
    transform-style: preserve-3d;
    animation: nattyDeviceFloat 8s ease-in-out infinite;
}

.hero-device-card img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
    object-position: top;
    filter: saturate(1.04) contrast(1.04);
}

.hero-device-card--main {
    left: 22%;
    top: 0;
    width: min(47%, 265px);
    height: 540px;
    transform: rotateY(-18deg) rotateX(5deg) rotateZ(-4deg) translateZ(40px);
}

.hero-device-card--secondary {
    right: 2%;
    top: 18%;
    width: min(34%, 210px);
    height: 420px;
    opacity: 0.86;
    transform: rotateY(-26deg) rotateX(7deg) rotateZ(6deg) translateZ(6px);
    animation-delay: -2.5s;
}

.hero-metric-chip {
    position: absolute;
    z-index: 4;
    min-width: 9.4rem;
    padding: 0.85rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 138, 164, 0.22);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025)),
        rgba(10, 9, 11, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 22px 46px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
    animation: nattyChipFloat 7s ease-in-out infinite;
}

.hero-metric-chip span {
    display: block;
    color: #ff8aa4;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-metric-chip strong {
    display: block;
    margin-top: 0.2rem;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
}

.hero-metric-chip--load {
    left: 1%;
    top: 18%;
}

.hero-metric-chip--score {
    right: 0;
    top: 3%;
    animation-delay: -1.8s;
}

.hero-metric-chip--macro {
    left: 4%;
    bottom: 18%;
    animation-delay: -3.2s;
}

@keyframes nattyDeviceFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -0.85rem;
    }
}

@keyframes nattyChipFloat {
    0%, 100% {
        transform: translate3d(0, 0, 34px);
    }

    50% {
        transform: translate3d(0, -0.6rem, 34px);
    }
}

.system-strip {
    margin-top: -1px;
    background:
        linear-gradient(180deg, #050505, #0d0609 46%, #050505),
        radial-gradient(circle at 50% 0%, rgba(196, 24, 56, 0.18), transparent 35rem);
}

.system-strip-inner {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 138, 164, 0.09);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 28px 80px rgba(0, 0, 0, 0.26);
}

.signal-tile {
    border-radius: 24px;
    border-color: rgba(255, 138, 164, 0.18);
}

.brain-section {
    background:
        radial-gradient(circle at 18% 35%, rgba(196, 24, 56, 0.14), transparent 28rem),
        linear-gradient(180deg, #050505, #090909 50%, #050505);
}

.brain-section .row {
    padding: clamp(1.2rem, 3vw, 2.4rem);
    border: 1px solid rgba(255, 138, 164, 0.12);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
        rgba(10, 10, 12, 0.62);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.feature-list {
    display: grid;
    gap: 0.85rem;
}

.feature-list li {
    margin-bottom: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.032);
}

.feature-list .icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(196, 24, 56, 0.16);
    color: #ff8aa4;
}

.phone-mockup {
    filter: drop-shadow(0 32px 64px rgba(196, 24, 56, 0.18));
}

.pillars-section {
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(180deg, #090909, #11070b 52%, #050505);
    background-size: 48px 48px, 48px 48px, auto;
}

.pillars-grid {
    gap: 1rem;
    perspective: 1000px;
}

.pillar-card {
    min-height: 320px;
    border-radius: 26px;
    border-color: rgba(255, 138, 164, 0.13);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
        rgba(8, 8, 9, 0.88);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.30);
    transform-style: preserve-3d;
}

.pillar-card:hover {
    transform: translateY(-10px) rotateX(1.5deg);
}

.pillar-card h3 {
    margin-top: 2.2rem;
    font-size: 1.2rem;
}

.pillar-number {
    color: rgba(255, 138, 164, 0.14);
}

.showcase-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(196, 24, 56, 0.20), transparent 32rem),
        linear-gradient(180deg, #050505, #10070b 50%, #050505);
}

.showcase-item {
    border-radius: 36px;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.42));
}

.modes-section {
    background:
        linear-gradient(rgba(255, 138, 164, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 138, 164, 0.025) 1px, transparent 1px),
        #050505;
    background-size: 54px 54px, 54px 54px, auto;
}

.modes-comparison {
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 138, 164, 0.11);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.025);
}

.mode-block {
    border-radius: 28px;
    border-color: rgba(255, 138, 164, 0.13);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        rgba(10, 10, 12, 0.82);
}

.mode-label,
.human-badge {
    color: #ff8aa4;
}

.target-audience-section {
    background:
        radial-gradient(circle at 18% 10%, rgba(196, 24, 56, 0.14), transparent 30rem),
        #050505;
}

.audience-column {
    padding: 1.25rem;
    border: 1px solid rgba(255, 138, 164, 0.10);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.025);
}

.audience-item {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.026);
}

.philosophy-section {
    background:
        linear-gradient(180deg, #050505 0%, #17070d 50%, #050505 100%);
}

.pricing-section {
    padding-top: 7rem;
    background:
        radial-gradient(circle at 50% 10%, rgba(196, 24, 56, 0.26), transparent 34rem),
        linear-gradient(180deg, #050505, #090406 58%, #050505);
}

.pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    perspective: 1200px;
}

.pricing-card {
    border-radius: 28px;
    border-color: rgba(255, 138, 164, 0.13);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        rgba(10, 9, 11, 0.9);
}

.pricing-card.featured {
    background:
        linear-gradient(180deg, rgba(196, 24, 56, 0.18), rgba(255, 255, 255, 0.018)),
        rgba(10, 9, 11, 0.92);
}

.card-body ul {
    flex: 1;
}

.pricing-card .cta-button {
    min-height: 3.75rem;
}

@media (max-width: 1100px) {
    .hero-content {
        gap: 1.5rem;
    }

    .hero-device-scene {
        width: min(100%, 480px);
        min-height: 540px;
    }

    .hero-device-card--main {
        width: min(48%, 230px);
        height: 470px;
    }

    .hero-device-card--secondary {
        width: min(34%, 180px);
        height: 360px;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 6.4rem;
    }

    .hero-content {
        gap: 1.25rem;
        padding-inline: 1rem;
    }

    .hero-text {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-text h1 {
        max-width: 9.4ch;
        font-size: clamp(2.85rem, 16vw, 4.2rem);
        line-height: 0.9;
    }

    .hero-text p {
        margin: 1rem 0 1.25rem;
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions .cta-button {
        width: 100%;
    }

    .hero-proof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .hero-proof-grid span {
        min-height: 4rem;
        padding: 0.7rem;
        border-radius: 17px;
        font-size: 0.62rem;
    }

    .hero-proof-grid strong {
        font-size: 1rem;
    }

    .hero-visual {
        width: 100%;
        min-height: 355px;
    }

    .hero-device-scene {
        width: min(100%, 360px);
        min-height: 360px;
        margin-inline: auto;
    }

    .hero-device-scene::before {
        inset: 14% -18% 0;
        opacity: 0.30;
    }

    .hero-orbit-ring--one {
        inset: 18% 2% 10%;
    }

    .hero-orbit-ring--two {
        inset: 28% 13% 20%;
    }

    .hero-device-card {
        border-radius: 28px;
        padding: 0.42rem;
    }

    .hero-device-card img {
        border-radius: 23px;
    }

    .hero-device-card--main {
        left: 24%;
        top: 0;
        width: 44%;
        height: 330px;
        transform: rotateY(-12deg) rotateX(4deg) rotateZ(-3deg) translateZ(20px);
    }

    .hero-device-card--secondary {
        right: 2%;
        top: 26%;
        width: 31%;
        height: 230px;
        opacity: 0.72;
    }

    .hero-metric-chip {
        min-width: 7.2rem;
        padding: 0.65rem 0.78rem;
        border-radius: 18px;
    }

    .hero-metric-chip span {
        font-size: 0.56rem;
    }

    .hero-metric-chip strong {
        font-size: 1rem;
    }

    .hero-metric-chip--load {
        left: 0;
        top: 17%;
    }

    .hero-metric-chip--score {
        right: 0;
        top: 6%;
    }

    .hero-metric-chip--macro {
        left: 3%;
        bottom: 15%;
    }

    .system-strip-inner {
        padding: 1rem;
        border-radius: 26px;
    }

    .brain-section .row,
    .modes-comparison,
    .audience-column {
        border-radius: 26px;
    }

    .brain-section .row {
        gap: 1.5rem;
    }

    .pillars-grid {
        gap: 0.85rem;
    }

    .pillar-card {
        min-height: auto;
        padding: 1.35rem;
        border-radius: 22px;
    }

    .pillar-card h3 {
        margin-top: 1.8rem;
    }

    .modes-comparison {
        padding: 0.75rem;
    }

    .mode-block {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .hero-proof-grid {
        grid-template-columns: 1fr;
    }

    .hero-proof-grid span {
        min-height: 3.2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-device-scene {
        width: min(100%, 330px);
        min-height: 330px;
    }

    .hero-device-card--main {
        height: 305px;
    }

    .hero-device-card--secondary {
        height: 215px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-device-card,
    .hero-metric-chip,
    .hero-device-scene::before {
        animation: none !important;
    }
}

/* Layout correction: keep the redesign bold without breaking narrow desktop/Android views. */
.hero-text h1 {
    max-width: 13ch;
    font-size: clamp(3rem, 5.2vw, 5.2rem);
    line-height: 0.94;
}

.hero-device-scene {
    width: min(100%, 500px);
    min-height: 520px;
}

.hero-device-card--main {
    left: 24%;
    width: min(43%, 238px);
    height: 485px;
}

.hero-device-card--secondary {
    right: 5%;
    width: min(31%, 176px);
    height: 350px;
}

.system-strip {
    padding: 4rem 0;
}

.system-strip-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 1.1rem;
}

.system-strip-copy {
    min-height: auto;
    padding: 1.6rem;
}

.system-strip-copy h2 {
    max-width: 24rem;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.02;
}

.system-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.signal-tile {
    min-height: 9.5rem;
    justify-content: flex-start;
    padding: 1rem;
}

.signal-tile strong {
    font-size: 1.12rem;
}

.signal-tile p {
    font-size: 0.88rem;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
        padding: 6.5rem 0 3.5rem;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .hero-text {
        flex-basis: auto;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-text h1 {
        max-width: 12ch !important;
        font-size: clamp(2.75rem, 8.2vw, 4.4rem);
        line-height: 0.94;
    }

    .hero-actions {
        width: 100%;
        max-width: 24rem;
    }

    .hero-actions .cta-button {
        width: 100%;
    }

    .hero-proof-grid {
        max-width: 32rem;
    }

    .hero-visual {
        width: 100%;
        justify-content: center;
        overflow: visible;
    }

    .hero-device-scene {
        width: min(100%, 420px);
        min-height: 420px;
        margin-inline: auto;
    }

    .hero-device-card--main {
        left: 25%;
        width: 42%;
        height: 385px;
    }

    .hero-device-card--secondary {
        right: 5%;
        top: 23%;
        width: 30%;
        height: 280px;
    }

    .hero-metric-chip--load {
        left: 2%;
    }

    .hero-metric-chip--score {
        right: 2%;
    }

    .system-strip-inner {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .system-strip-copy {
        padding: 1rem;
        border-left-width: 1px;
    }

    .system-strip-copy h2 {
        max-width: 100%;
        font-size: clamp(1.8rem, 6vw, 3rem);
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(2.25rem, 9.4vw, 2.9rem);
        line-height: 0.96;
    }

    .hero-text p {
        max-width: 20rem !important;
        font-size: 0.98rem;
    }

    .hero-actions {
        width: 100%;
        max-width: 22rem;
    }

    .hero-actions .cta-button {
        width: 100%;
        padding-inline: 1rem;
    }

    .hero-proof-grid {
        width: 100%;
        max-width: 22rem;
        grid-template-columns: 1fr !important;
    }

    .hero-proof-grid span {
        min-height: 3.15rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-device-scene {
        width: min(100%, 320px);
        min-height: 330px;
    }

    .hero-device-card--main {
        left: 25%;
        width: 44%;
        height: 300px;
    }

    .hero-device-card--secondary {
        right: 4%;
        top: 26%;
        width: 31%;
        height: 210px;
    }

    .hero-metric-chip {
        min-width: 6.8rem;
        padding: 0.58rem 0.7rem;
    }

    .system-strip {
        padding: 2.75rem 0;
    }

    .system-strip-grid {
        grid-template-columns: 1fr;
    }

    .signal-tile {
        min-height: auto;
        padding: 1rem;
    }
}
