/* ══════════════════════════════════════════════════════════════════
   ELOVANCE — Apple-inspired design layer (v1)
   Clean typography · glass nav · sticky scroll showcases · motion
   Layers over styles.css + redesign.css. Brand palette unchanged.
   ══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --ap-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ap-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --ap-font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    --ap-dark: #0a0a0a;
    --ap-dark-soft: #141414;
    --ap-light: #fbfbf9;
    --ap-gold: #C8A96E;
    --ap-olive: #2C3A1E;
}

/* ── Typography refresh ─────────────────────────────────────────── */
body.apple-ui {
    font-family: var(--ap-font);
    letter-spacing: -0.011em;
}

body.apple-ui h1,
body.apple-ui h2,
body.apple-ui h3,
body.apple-ui h4,
body.apple-ui h5,
body.apple-ui h6,
body.apple-ui .btn,
body.apple-ui .nav-link,
body.apple-ui .section-title,
body.apple-ui .tagline {
    font-family: var(--ap-font);
}

body.apple-ui .section-title,
body.apple-ui .nx-title,
body.apple-ui .nx-page-title,
body.apple-ui .cta-title {
    letter-spacing: -0.045em;
    font-weight: 700;
}

/* ── Glass navigation (Apple-style) ─────────────────────────────── */
body.apple-ui .header {
    padding: 1rem 0;
    background: rgba(251, 251, 249, 0.72);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    transition:
        background 0.45s var(--ap-ease),
        padding 0.45s var(--ap-ease),
        backdrop-filter 0.45s var(--ap-ease),
        border-color 0.45s var(--ap-ease),
        transform 0.45s var(--ap-spring);
}

@supports (backdrop-filter: blur(1px)) {
    body.apple-ui .header {
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
    }
}

body.apple-ui .header.nav--scrolled {
    padding: 0.65rem 0;
    background: rgba(251, 251, 249, 0.88);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

body.apple-ui .header.header--dark {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(10, 10, 10, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

@supports (backdrop-filter: blur(1px)) {
    body.apple-ui .header.header--dark {
        backdrop-filter: saturate(180%) blur(24px);
        -webkit-backdrop-filter: saturate(180%) blur(24px);
    }
}

body.apple-ui .header.header--dark.nav--scrolled {
    background: rgba(10, 10, 10, 0.78);
}

body.apple-ui .header.header--dark .nav-link {
    color: rgba(255, 255, 255, 0.82);
}

body.apple-ui .header.header--dark .nav-link:hover,
body.apple-ui .header.header--dark .nav-link.active {
    color: #fff;
}

body.apple-ui .header.header--dark .logo-img {
    filter: brightness(0) invert(1);
}

body.apple-ui .header.header--dark .lang-btn {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

body.apple-ui .header.header--dark .lang-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

body.apple-ui .header.header--dark .header-social-link {
    color: rgba(255, 255, 255, 0.82);
}

body.apple-ui .header.header--dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

body.apple-ui .header.header--dark .mobile-toggle span {
    background: #fff;
}

body.apple-ui .nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

body.apple-ui .nav-link::after {
    height: 1px;
    bottom: -4px;
    transition: width 0.35s var(--ap-ease);
}

/* ── Hero scroll-driven transforms (CSS vars from JS) ───────────── */
body.apple-ui .nx-hero-inner {
    transform: translateY(calc(var(--hero-scroll-y, 0) * 1px)) scale(var(--hero-scroll-scale, 1));
    opacity: var(--hero-scroll-opacity, 1);
    will-change: transform, opacity;
}

body.apple-ui .nx-hero .hero-terminal {
    transform:
        perspective(1400px)
        rotateY(calc(-2deg + var(--hero-tilt-y, 0) * 1deg))
        rotateX(calc(1deg + var(--hero-tilt-x, 0) * 1deg))
        translateY(calc(var(--hero-scroll-y, 0) * 0.25px));
}

/* ── Buttons — cleaner Apple pill ───────────────────────────────── */
body.apple-ui .btn {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    padding: 0.85rem 1.75rem;
    border-radius: 980px;
}

body.apple-ui .btn-primary {
    background: var(--ap-gold);
    box-shadow: none;
}

body.apple-ui .btn-primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 28px rgba(200, 169, 110, 0.35);
}

body.apple-ui .ap-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ap-gold);
    letter-spacing: -0.01em;
    transition: gap 0.3s var(--ap-ease), opacity 0.3s var(--ap-ease);
}

body.apple-ui .ap-link:hover {
    gap: 0.55rem;
    opacity: 0.85;
}

body.apple-ui .ap-link::after {
    content: '›';
    font-size: 1.25rem;
    line-height: 1;
}

/* ══════════════════════════════════════════════════════════════════
   EXAMPLES — visual tiles + scroll parallax
   ══════════════════════════════════════════════════════════════════ */
.ap-examples {
    background: var(--ap-light);
    padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(2rem, 5vh, 3.5rem);
    overflow: hidden;
}

.ap-examples-head {
    text-align: center;
    margin-bottom: clamp(2rem, 5vh, 3rem);
}

.ap-examples-kicker {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-gold);
    margin-bottom: 0.65rem;
}

.ap-examples-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ap-olive);
}

.ap-examples-stage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
    align-items: start;
}

.ap-ex {
    will-change: transform;
}

.ap-ex-card {
    background: #fff;
    border: 1px solid rgba(44, 58, 30, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(44, 58, 30, 0.08);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem;
    transition: transform 0.45s var(--ap-spring), box-shadow 0.45s var(--ap-spring);
}

.ap-ex:hover .ap-ex-card {
    transform: translateY(-8px) rotate(-0.6deg);
    box-shadow: 0 28px 56px rgba(44, 58, 30, 0.12);
}

.ap-ex:nth-child(2):hover .ap-ex-card {
    transform: translateY(-8px) rotate(0.6deg);
}

.ap-ex-caption {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ap-olive);
}

.ap-examples .ap-split-mock {
    width: 100%;
    max-width: 260px;
    box-shadow: none;
}

.ap-examples .ap-mock-review {
    max-width: 240px;
}

/* Learn AI featured */
.ap-learn {
    background: #fff;
    padding: clamp(3.5rem, 9vh, 6.5rem) 0;
    border-top: 1px solid rgba(44, 58, 30, 0.06);
}

.ap-learn-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.ap-learn-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: var(--ap-olive);
    margin-bottom: 0.75rem;
}

.ap-learn-desc {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    max-width: 42ch;
}

.ap-learn-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.ap-motion {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1;
    margin: 0 auto;
    overflow: visible;
}

.ap-learn-demo {
    overflow: visible;
}

.ap-motion-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ap-motion-ring {
    fill: none;
    stroke: rgba(200, 169, 110, 0.28);
    stroke-width: 1;
}

.ap-motion-ring--2 {
    stroke: rgba(44, 58, 30, 0.08);
    stroke-dasharray: 6 10;
    animation: apOrbitDash 28s linear infinite;
}

.ap-motion-beam {
    stroke: rgba(200, 169, 110, 0.45);
    stroke-width: 1.4;
    stroke-dasharray: 8 10;
    animation: apBeam 3.6s linear infinite;
}

.ap-motion-beam--d2 { animation-delay: 0.4s; }
.ap-motion-beam--d3 { animation-delay: 0.8s; }
.ap-motion-beam--d4 { animation-delay: 1.2s; }
.ap-motion-beam--d5 { animation-delay: 1.6s; }

.ap-motion-spark {
    fill: var(--ap-gold);
    opacity: 0.3;
}

.ap-learn-demo.is-live .ap-motion-spark {
    animation: apSpark 2.4s ease-in-out infinite;
}

.ap-motion-spark--2 { animation-delay: 0.5s; }
.ap-motion-spark--3 { animation-delay: 1s; }

.ap-motion-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(200, 169, 110, 0.4);
    box-shadow:
        0 0 0 12px rgba(200, 169, 110, 0.08),
        0 16px 40px rgba(44, 58, 30, 0.1);
    z-index: 2;
}

.ap-learn-demo.is-live .ap-motion-hub {
    animation: apHubPulse 3.2s ease-in-out infinite;
}

.ap-motion-hub strong {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ap-olive);
    max-width: 8ch;
    line-height: 1.25;
}

.ap-motion-node {
    --out: min(40vw, 172px);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(44, 58, 30, 0.1);
    box-shadow: 0 8px 20px rgba(44, 58, 30, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transform: rotate(calc(var(--i) * 72deg)) translate(0) rotate(calc(var(--i) * -72deg)) scale(0.35);
}

.ap-learn-demo.is-live .ap-motion-node {
    animation: apNodeOut 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.12s + var(--i) * 0.12s);
}

.ap-motion-node img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.ap-motion-caption {
    margin: 1.15rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-muted);
}

@keyframes apOrbitDash {
    to { stroke-dashoffset: -160; }
}

@keyframes apBeam {
    to { stroke-dashoffset: -36; }
}

@keyframes apSpark {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@keyframes apHubPulse {
    0%, 100% { box-shadow: 0 0 0 12px rgba(200, 169, 110, 0.08), 0 16px 40px rgba(44, 58, 30, 0.1); }
    50% { box-shadow: 0 0 0 18px rgba(200, 169, 110, 0.16), 0 16px 40px rgba(44, 58, 30, 0.1); }
}

@keyframes apNodeOut {
    0% {
        opacity: 0;
        transform: rotate(calc(var(--i) * 72deg)) translate(0) rotate(calc(var(--i) * -72deg)) scale(0.3);
    }
    55% {
        opacity: 1;
        transform: rotate(calc(var(--i) * 72deg)) translate(var(--out)) rotate(calc(var(--i) * -72deg)) scale(1.06);
    }
    100% {
        opacity: 1;
        transform: rotate(calc(var(--i) * 72deg)) translate(var(--out)) rotate(calc(var(--i) * -72deg)) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ap-motion-ring--2,
    .ap-motion-beam,
    .ap-motion-spark,
    .ap-motion-hub,
    .ap-motion-node {
        animation: none !important;
    }

    .ap-motion-node {
        opacity: 1;
        transform: rotate(calc(var(--i) * 72deg)) translate(var(--out)) rotate(calc(var(--i) * -72deg)) scale(1);
    }
}

.ap-dash {
    border-radius: 20px;
    border: 1px solid rgba(44, 58, 30, 0.1);
    background: #f5f5f7;
    box-shadow: 0 24px 60px rgba(44, 58, 30, 0.1);
    overflow: hidden;
}

.ap-dash-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(44, 58, 30, 0.08);
}

.ap-dash-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(44, 58, 30, 0.18);
}

.ap-dash-bar em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ap-gold);
}

.ap-dash-body {
    padding: 1.25rem 1.2rem 1.35rem;
    background: #fff;
}

.ap-dash-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ap-olive);
    margin-bottom: 1rem;
}

.ap-dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.ap-dash-kpi {
    padding: 0.7rem 0.65rem;
    border-radius: 12px;
    background: #f5f5f7;
}

.ap-dash-kpi strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ap-olive);
    line-height: 1;
}

.ap-dash-kpi span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

.ap-dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 72px;
    margin-bottom: 1.1rem;
    padding: 0 0.15rem;
}

.ap-dash-chart span {
    flex: 1;
    height: 8%;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--ap-gold), rgba(200, 169, 110, 0.45));
    transform-origin: bottom;
    transition: height 0.9s var(--ap-spring);
}

.ap-learn-demo.is-live .ap-dash-chart span {
    height: var(--h);
}

.ap-dash-leads {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ap-dash-leads li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(44, 58, 30, 0.06);
    opacity: 0;
    transform: translateY(8px);
}

.ap-learn-demo.is-live .ap-dash-leads li {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--ap-spring), transform 0.5s var(--ap-spring);
}

.ap-learn-demo.is-live .ap-dash-leads li:nth-child(1) { transition-delay: 0.15s; }
.ap-learn-demo.is-live .ap-dash-leads li:nth-child(2) { transition-delay: 0.28s; }
.ap-learn-demo.is-live .ap-dash-leads li:nth-child(3) { transition-delay: 0.4s; }

.ap-dash-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ap-olive);
}

.ap-dash-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(44, 58, 30, 0.08);
    color: var(--ap-olive);
}

.ap-dash-tag--hot {
    background: rgba(200, 169, 110, 0.22);
    color: #7a5d28;
}

.ap-dash-tag--booked {
    background: rgba(44, 58, 30, 0.12);
    color: var(--ap-olive);
}

@media (prefers-reduced-motion: reduce) {
    .ap-dash-chart span,
    .ap-dash-leads li {
        transition: none;
        opacity: 1;
        transform: none;
        height: var(--h);
    }
}

.ap-learn-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(44, 58, 30, 0.08);
}

.ap-learn-window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(44, 58, 30, 0.18);
}

.ap-learn-window-bar em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ap-gold);
}

.ap-learn-window-body {
    padding: 1.5rem 1.35rem 1.75rem;
}

.ap-learn-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-gold);
    margin-bottom: 0.35rem;
}

.ap-learn-line {
    min-height: 3.2em;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ap-olive);
    margin-bottom: 1.15rem;
}

.ap-learn-line--out {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 3.6em;
}

.ap-learn-line.is-typing::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 1em;
    margin-left: 2px;
    background: var(--ap-gold);
    vertical-align: text-bottom;
    animation: apCaret 0.9s steps(1) infinite;
}

@keyframes apCaret {
    50% { opacity: 0; }
}

@media (max-width: 992px) {
    .ap-examples-stage {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .ap-ex {
        transform: none !important;
    }

    .ap-learn-grid {
        grid-template-columns: 1fr;
    }

    .ap-learn-desc {
        max-width: none;
    }
}

/* Services page: featured Learn AI */
.ap-service-feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 1.75rem 2rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.16), rgba(44, 58, 30, 0.06));
    border: 1px solid rgba(200, 169, 110, 0.28);
}

.ap-service-feature h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    letter-spacing: -0.03em;
    margin: 0.25rem 0 0.35rem;
}

.ap-service-feature p {
    margin: 0;
    max-width: 42ch;
}

/* ══════════════════════════════════════════════════════════════════
   WHAT WE DO — unused on homepage
   ══════════════════════════════════════════════════════════════════ */
.ap-offer {
    display: none;
}

.ap-offer-intro {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3rem;
}

.ap-offer-intro .ap-band-title {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.ap-offer-intro .ap-band-desc {
    margin-bottom: 0;
}

.ap-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ap-offer-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.75rem 1.6rem 1.6rem;
    background: #fff;
    border: 1px solid rgba(44, 58, 30, 0.08);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(44, 58, 30, 0.04);
    transition:
        transform 0.45s var(--ap-spring),
        box-shadow 0.45s var(--ap-spring),
        border-color 0.45s var(--ap-ease);
}

.ap-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(44, 58, 30, 0.08);
    border-color: rgba(200, 169, 110, 0.4);
}

.ap-offer-card--wide {
    grid-column: span 2;
}

.ap-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(200, 169, 110, 0.16);
    color: var(--ap-olive);
}

.ap-offer-icon svg {
    width: 20px;
    height: 20px;
}

.ap-offer-kicker {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-gold);
    margin-bottom: 0.55rem;
}

.ap-offer-name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ap-olive);
    margin-bottom: 0.65rem;
}

.ap-offer-copy {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.ap-offer-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    width: 100%;
}

.ap-offer-list li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.15rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ap-olive);
}

.ap-offer-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ap-gold);
}

.ap-offer-card .ap-link {
    margin-top: auto;
}

/* How a call works */
.ap-how {
    background: linear-gradient(180deg, var(--bg-cream-light) 0%, var(--bg-cream) 100%);
    padding: clamp(3.5rem, 8vh, 5.5rem) 0;
}

.ap-how-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ap-how-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ap-olive);
}

.ap-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ap-how-step {
    padding: 0.5rem 0.25rem;
}

.ap-how-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--ap-gold);
    margin-bottom: 0.75rem;
}

.ap-how-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ap-olive);
    margin-bottom: 0.55rem;
}

.ap-how-copy {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .ap-offer-grid {
        grid-template-columns: 1fr;
    }

    .ap-offer-card--wide {
        grid-column: span 1;
    }

    .ap-how-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 993px) and (max-width: 1100px) {
    .ap-offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ap-offer-card--wide {
        grid-column: span 2;
    }
}

/* ══════════════════════════════════════════════════════════════════
   STICKY SCROLL SHOWCASE — unused leftover (homepage uses .ap-offer)
   ══════════════════════════════════════════════════════════════════ */
.ap-showcase {
    display: none;
}

.ap-showcase-track {
    height: auto;
    position: relative;
}

.ap-showcase-sticky {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vh, 3.5rem) 0;
}

/* Desktop: tall track + sticky panel so scroll advances slides */
@media (min-width: 993px) {
    .ap-showcase-track {
        height: 400vh;
    }

    .ap-showcase-sticky {
        position: sticky;
        top: 0;
        height: 100vh;
        min-height: 520px;
        max-height: 900px;
        overflow: hidden;
    }
}

.ap-showcase-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: min(var(--max-width), 960px);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.ap-showcase-copy {
    width: 100%;
}

.ap-showcase-steps {
    position: relative;
    min-height: clamp(200px, 30vh, 300px);
    width: 100%;
}

.ap-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 993px) {
    .ap-step {
        position: absolute;
        inset: 0;
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity 0.75s var(--ap-spring),
            transform 0.75s var(--ap-spring);
        pointer-events: none;
        z-index: 0;
    }

    .ap-step.is-active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        z-index: 1;
    }
}

.ap-step-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-gold);
    margin-bottom: 0.85rem;
}

.ap-step-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
    margin-bottom: 1rem;
    color: var(--ap-olive);
    max-width: 14ch;
}

.ap-step-desc {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 52ch;
    margin-bottom: 1.25rem;
}

.ap-step-progress {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.ap-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 58, 30, 0.15);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.4s var(--ap-ease), transform 0.4s var(--ap-ease);
}

.ap-step-dot.is-active {
    background: var(--ap-gold);
    transform: scale(1.25);
}

.ap-step-dot:focus-visible {
    outline: 2px solid var(--ap-gold);
    outline-offset: 4px;
}

/* Mobile-only inline mockup (hidden on desktop) */
.ap-step-visual {
    display: none;
}

/* Device frame — desktop sticky visual */
.ap-device-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: clamp(2rem, 4vh, 3rem);
    --device-scale: 1;
}

.ap-device {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transform: scale(var(--device-scale));
    transition: transform 0.6s var(--ap-spring);
    will-change: transform;
}

.ap-device-screen {
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    background: #f5f5f7;
    overflow: hidden;
}

.ap-device-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.75rem;
    opacity: 0;
    transform: scale(0.96) translateY(12px);
    transition:
        opacity 0.7s var(--ap-spring),
        transform 0.7s var(--ap-spring);
    pointer-events: none;
}

.ap-device-panel.is-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Panel mockups — Apple light notification style */
.ap-mock-notification {
    width: min(100%, 300px);
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: #fff;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.ap-mock-notification strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--ap-olive);
    letter-spacing: -0.01em;
}

.ap-mock-notification span {
    font-size: 0.8125rem;
    color: #6e6e73;
    line-height: 1.5;
}

.ap-mock-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    width: min(100%, 260px);
}

.ap-mock-day {
    aspect-ratio: 1;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 0.625rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
}

.ap-mock-day.is-post {
    background: rgba(200, 169, 110, 0.28);
    color: var(--ap-olive);
}

.ap-mock-stars {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.85rem;
}

.ap-mock-stars svg {
    width: 24px;
    height: 24px;
    fill: var(--ap-gold);
}

.ap-mock-review {
    text-align: center;
    max-width: 260px;
}

.ap-mock-review p {
    color: #6e6e73;
    font-size: 0.875rem;
    line-height: 1.6;
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════
   FULL-BLEED BANDS — alternating light sections
   ══════════════════════════════════════════════════════════════════ */
.ap-band {
    padding: clamp(3.5rem, 8vh, 6rem) 0;
    text-align: center;
    overflow: hidden;
}

/* Split feature bands — light scroll reveals for Websites + AI Training */
.ap-split-band {
    padding: clamp(3rem, 7vh, 5rem) 0;
    overflow: hidden;
}

.ap-split-band--light {
    background: var(--ap-light);
}

.ap-split-band--cream {
    background: linear-gradient(180deg, var(--bg-cream-light) 0%, var(--bg-cream) 100%);
}

.ap-split-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: min(var(--max-width), 1040px);
    margin: 0 auto;
    padding: 0 2rem;
}

.ap-split-band-inner--reverse .ap-split-band-copy {
    order: 2;
}

.ap-split-band-inner--reverse .ap-split-visual {
    order: 1;
}

.ap-split-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ap-gold);
    margin-bottom: 0.75rem;
}

.ap-split-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ap-olive);
    margin-bottom: 0.85rem;
}

.ap-split-desc {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 44ch;
    margin-bottom: 1.25rem;
}

.ap-split-visual {
    display: flex;
    justify-content: center;
}

.ap-split-mock {
    width: min(100%, 320px);
    border-radius: 16px;
    border: 1px solid rgba(44, 58, 30, 0.1);
    background: #fff;
    box-shadow: 0 16px 40px rgba(44, 58, 30, 0.08);
    overflow: hidden;
}

.ap-split-mock--browser .ap-browser-bar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(44, 58, 30, 0.06);
    border-bottom: 1px solid rgba(44, 58, 30, 0.08);
}

.ap-split-mock--browser .ap-browser-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 58, 30, 0.15);
}

.ap-browser-body {
    padding: 1.25rem 1.1rem 1.5rem;
}

.ap-browser-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(44, 58, 30, 0.08);
    margin-bottom: 0.55rem;
    width: 72%;
}

.ap-browser-line--wide {
    width: 92%;
    height: 14px;
    margin-bottom: 0.85rem;
    background: linear-gradient(90deg, rgba(200, 169, 110, 0.35), rgba(44, 58, 30, 0.1));
}

.ap-browser-cta {
    width: 40%;
    height: 28px;
    border-radius: 980px;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--ap-gold), #b89558);
}

.ap-split-mock--training {
    padding: 1.35rem 1.25rem;
}

.ap-training-chip {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ap-olive);
    background: rgba(200, 169, 110, 0.2);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.ap-training-prompt {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(44, 58, 30, 0.04);
    border: 1px solid rgba(44, 58, 30, 0.08);
    margin-bottom: 0.65rem;
}

.ap-training-prompt strong {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ap-olive);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ap-band--light {
    background: var(--ap-light);
}

.ap-band--cream {
    background: linear-gradient(180deg, var(--bg-cream-light) 0%, var(--bg-cream) 100%);
}

.ap-band-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ap-band-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-gold);
    margin-bottom: 1rem;
}

.ap-band-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.06;
    color: var(--ap-olive);
    margin-bottom: 1.25rem;
}

.ap-band-desc {
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 52ch;
    margin: 0 auto 2rem;
}

/* Scroll-reveal text scale */
.ap-scroll-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition:
        opacity 1s var(--ap-spring),
        transform 1s var(--ap-spring);
}

.ap-scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stats row — Apple-style large numbers */
.ap-stats-row {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 6vw, 5rem);
    flex-wrap: wrap;
    padding: clamp(2.5rem, 6vh, 4rem) 0;
    border-top: 1px solid rgba(44, 58, 30, 0.08);
    border-bottom: 1px solid rgba(44, 58, 30, 0.08);
    background: var(--ap-light);
}

.ap-stat-block {
    text-align: center;
}

.ap-stat-num {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ap-olive);
    line-height: 1;
}

.ap-stat-label {
    margin-top: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

/* CTA section — light Apple style */
body.apple-ui .cta-section {
    background: var(--ap-light);
    padding: clamp(5rem, 12vh, 8rem) 0;
}

body.apple-ui .cta-banner {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: transparent;
}

body.apple-ui .cta-banner-mesh {
    display: none;
}

body.apple-ui .cta-banner-content {
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

body.apple-ui .cta-eyebrow {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    color: var(--ap-gold);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
}

body.apple-ui .cta-title {
    font-weight: 700;
    letter-spacing: -0.04em;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.06;
    color: var(--ap-olive);
    background: none;
    -webkit-text-fill-color: inherit;
    margin-bottom: 1.25rem;
}

body.apple-ui .cta-desc {
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.2vw, 1.1875rem);
    line-height: 1.65;
    max-width: 52ch;
}

body.apple-ui .cta-btn {
    background: var(--ap-gold);
    background-size: auto;
    border: none;
    box-shadow: none;
    font-weight: 600;
    padding: 1rem 2.25rem;
    min-height: 48px;
}

body.apple-ui .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200, 169, 110, 0.35);
    background-position: 0 0;
}

/* Cards — subtler, Apple-like elevation */
body.apple-ui .problem-card,
body.apple-ui .service-card,
body.apple-ui .testimonial-card,
body.apple-ui .why-feature-card {
    border-radius: 20px;
    border: 1px solid rgba(44, 58, 30, 0.08);
    box-shadow: 0 2px 16px rgba(44, 58, 30, 0.04);
    transition:
        box-shadow 0.5s var(--ap-spring),
        transform 0.5s var(--ap-spring),
        border-color 0.5s var(--ap-ease);
}

body.apple-ui .problem-card:hover,
body.apple-ui .service-card:hover,
body.apple-ui .testimonial-card:hover {
    box-shadow: 0 20px 50px rgba(44, 58, 30, 0.1);
}

/* Marquee — cleaner */
body.apple-ui .tools-marquee-section {
    background: var(--ap-light);
    padding: 4rem 0;
}

/* Footer — cleaner */
body.apple-ui .footer {
    letter-spacing: -0.01em;
    padding: clamp(3.5rem, 8vh, 5rem) 0 2.5rem;
}

body.apple-ui .footer-grid {
    gap: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
}

/* Prevent horizontal overflow site-wide */
body.apple-ui {
    overflow-x: hidden;
}

/* Inner page sections — consistent rhythm */
body.apple-ui .section {
    padding: clamp(4rem, 10vh, 6rem) 0;
}

body.apple-ui .section-title {
    letter-spacing: -0.04em;
    line-height: 1.08;
}

/* Subtle card hover — Apple lift, no gimmick */
body.apple-ui .problem-card:hover,
body.apple-ui .service-card:hover,
body.apple-ui .testimonial-card:hover,
body.apple-ui .why-feature-card:hover {
    transform: translateY(-4px);
}

/* Mobile showcase — stacked feature cards */
@media (max-width: 992px) {
    .ap-showcase-track {
        height: auto !important;
    }

    .ap-showcase-sticky {
        position: relative;
        height: auto;
        min-height: 0;
        max-height: none;
        padding: clamp(3rem, 8vh, 4.5rem) 0;
    }

    .ap-showcase-inner {
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }

    .ap-device-wrap {
        display: none !important;
    }

    .ap-showcase-steps {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .ap-step {
        position: relative;
        inset: auto;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        align-items: flex-start;
        text-align: left;
        padding: 1.75rem 1.5rem;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 20px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    }

    .ap-step-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        max-width: none;
        text-align: left;
    }

    .ap-step-desc {
        max-width: none;
    }

    .ap-step-progress {
        display: none;
    }

    .ap-step-visual {
        display: block;
        width: 100%;
        margin-top: 1.25rem;
        padding: 1.25rem;
        background: #f5f5f7;
        border-radius: 14px;
    }

    .ap-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .ap-split-band-inner,
    .ap-split-band-inner--reverse {
        grid-template-columns: 1fr;
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }

    .ap-split-band-inner--reverse .ap-split-band-copy,
    .ap-split-band-inner--reverse .ap-split-visual {
        order: unset;
    }

    .ap-split-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }

    body.apple-ui .cta-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    body.apple-ui .cta-btn {
        width: 100%;
        max-width: 340px;
    }

    .ap-stats-row {
        gap: 2rem;
        padding: 2.5rem 1.25rem;
    }
}

/* Reduced motion — stack showcase like mobile */
@media (prefers-reduced-motion: reduce) {
    body.apple-ui .nx-hero-inner {
        transform: none !important;
        opacity: 1 !important;
    }

    body.apple-ui .nx-hero .hero-terminal {
        transform: none !important;
    }

    .ap-showcase-track {
        height: auto !important;
    }

    .ap-showcase-sticky {
        position: relative;
        height: auto;
        padding: 4rem 0;
    }

    .ap-device-wrap {
        display: none !important;
    }

    .ap-showcase-steps {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .ap-step {
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
        align-items: flex-start;
        text-align: left;
        padding: 1.75rem 1.5rem;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 20px;
    }

    .ap-step-progress {
        display: none;
    }

    .ap-step-visual {
        display: block;
        width: 100%;
        margin-top: 1.25rem;
        padding: 1.25rem;
        background: #f5f5f7;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    body.apple-ui .nav-menu {
        background: rgba(251, 251, 249, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    body.apple-ui .header.header--dark .nav-menu {
        background: rgba(20, 20, 20, 0.95);
    }
}
