/* Shared marketing sections and reusable content components */

.section {
    padding: 80px 0;
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

.section + .section {
    border-top: 1px solid color-mix(in srgb, var(--border-color) 65%, transparent);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.7rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--text-body) 80%, transparent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--text-hero);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--text-body);
    font-size: 1.15rem;
    line-height: 1.6;
}

.section-lead {
    color: var(--text-body);
    font-size: 1.12rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

.section-note {
    color: color-mix(in srgb, var(--text-body) 80%, transparent);
    font-size: 0.95rem;
    margin-top: 8px;
}

.section-tonal {
    background: color-mix(in srgb, var(--surface-color) 60%, transparent);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.feature-card:nth-child(4n + 1),
.step-card:nth-child(4n + 1),
.about-item:nth-child(4n + 1),
.faq-item:nth-child(4n + 1),
.trust-cue:nth-child(4n + 1),
.feature-moat-card:nth-child(4n + 1),
.proof-item:nth-child(4n + 1) {
    --card-accent: var(--primary-color);
}

.feature-card:nth-child(4n + 2),
.step-card:nth-child(4n + 2),
.about-item:nth-child(4n + 2),
.faq-item:nth-child(4n + 2),
.trust-cue:nth-child(4n + 2),
.feature-moat-card:nth-child(4n + 2),
.proof-item:nth-child(4n + 2) {
    --card-accent: var(--accent-color);
}

.feature-card:nth-child(4n + 3),
.step-card:nth-child(4n + 3),
.about-item:nth-child(4n + 3),
.faq-item:nth-child(4n + 3),
.trust-cue:nth-child(4n + 3),
.feature-moat-card:nth-child(4n + 3),
.proof-item:nth-child(4n + 3) {
    --card-accent: var(--secondary-color);
}

.feature-card:nth-child(4n + 4),
.step-card:nth-child(4n + 4),
.about-item:nth-child(4n + 4),
.faq-item:nth-child(4n + 4),
.trust-cue:nth-child(4n + 4),
.feature-moat-card:nth-child(4n + 4),
.proof-item:nth-child(4n + 4) {
    --card-accent: color-mix(in srgb, var(--primary-color) 55%, var(--accent-color));
}

.feature-card {
    --card-accent: var(--primary-color);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 36px;
    border-radius: var(--radius-card);
    border: 1px solid color-mix(in srgb, var(--border-color) 76%, transparent);
    background:
        radial-gradient(180px 140px at 100% 0%, color-mix(in srgb, var(--card-accent) 14%, transparent), transparent 72%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--surface-elevated) 88%, transparent) 0%,
            color-mix(in srgb, var(--surface-color) 94%, transparent) 58%,
            color-mix(in srgb, var(--surface-muted) 82%, transparent) 100%);
    box-shadow: 0 32px 90px -70px var(--shadow-color), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.feature-card::before,
.step-card::before,
.about-item::before,
.faq-item::before,
.trust-cue::before,
.callout-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card-accent, var(--primary-color)) 70%, white), transparent);
    opacity: 0.6;
    pointer-events: none;
}

.feature-card::after,
.step-card::after,
.about-item::after,
.faq-item::after,
.trust-cue::after,
.callout-card::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--card-accent, var(--primary-color)) 18%, transparent), transparent 72%);
    opacity: 0.85;
    pointer-events: none;
}

.feature-card > *,
.step-card > *,
.about-item > *,
.faq-item > *,
.trust-cue > *,
.callout-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover,
.step-card:hover,
.about-item:hover,
.trust-cue:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--card-accent, var(--primary-color)) 26%, var(--border-color));
    box-shadow: 0 40px 100px -74px color-mix(in srgb, var(--card-accent, var(--primary-color)) 28%, var(--shadow-color));
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--surface-elevated) 90%, transparent),
        color-mix(in srgb, var(--surface-muted) 78%, transparent));
    border: 1px solid color-mix(in srgb, var(--border-color) 68%, transparent);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-hero);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

.step-card {
    --card-accent: var(--accent-color);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 36px;
    border-radius: var(--radius-card);
    border: 1px solid color-mix(in srgb, var(--border-color) 76%, transparent);
    background:
        radial-gradient(180px 140px at 100% 0%, color-mix(in srgb, var(--card-accent) 14%, transparent), transparent 72%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--surface-elevated) 88%, transparent) 0%,
            color-mix(in srgb, var(--surface-color) 94%, transparent) 58%,
            color-mix(in srgb, var(--surface-muted) 82%, transparent) 100%);
    box-shadow: 0 32px 90px -70px var(--shadow-color), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    font-weight: 700;
    color: color-mix(in srgb, var(--text-body) 86%, transparent);
    background: color-mix(in srgb, var(--surface-muted) 58%, transparent);
    border: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent);
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
}

.titan-callout {
    padding: 80px 0 100px;
}

.callout-card {
    --card-accent: color-mix(in srgb, var(--primary-color) 68%, var(--accent-color));
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    padding: 64px 48px;
    border-radius: calc(var(--radius-card) + 6px);
    background:
        radial-gradient(220px 180px at 50% 0%, color-mix(in srgb, var(--card-accent) 14%, transparent), transparent 75%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--surface-elevated) 90%, transparent) 0%,
            color-mix(in srgb, var(--surface-color) 94%, transparent) 55%,
            color-mix(in srgb, var(--surface-muted) 80%, transparent) 100%);
    border: 1px solid color-mix(in srgb, var(--border-color) 74%, transparent);
    box-shadow: 0 36px 100px -72px var(--shadow-color), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-container {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
    padding: 0 24px;
}

.callout-card .section-title,
.callout-card .section-subtitle {
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
}

.callout-card .section-subtitle {
    max-width: 38rem;
}

.callout-card .btn-outline {
    border-color: color-mix(in srgb, var(--border-color) 78%, transparent);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 16px;
    display: grid;
    gap: 10px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    font-size: 1.05rem;
    color: var(--text-body);
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 800;
}

.trust-strip-shell {
    padding: 0 0 36px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.trust-cue {
    --card-accent: var(--secondary-color);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--border-color) 76%, transparent);
    background:
        radial-gradient(180px 140px at 100% 0%, color-mix(in srgb, var(--card-accent) 14%, transparent), transparent 72%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--surface-elevated) 88%, transparent) 0%,
            color-mix(in srgb, var(--surface-color) 94%, transparent) 58%,
            color-mix(in srgb, var(--surface-muted) 82%, transparent) 100%);
    box-shadow: 0 32px 90px -70px var(--shadow-color), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.trust-cue-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-muted) 72%, transparent);
    color: var(--text-hero);
}

.trust-cue-icon svg {
    width: 20px;
    height: 20px;
}

.trust-cue-copy h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-hero);
    margin-bottom: 4px;
}

.trust-cue-copy p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-body);
}

.phone-frame {
    position: relative;
    width: auto;
    max-width: 440px;
    margin: 0 auto;
}

.phone-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    display: block;
}

.phone-frame::after {
    content: "";
    position: absolute;
    inset: 15% 8%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        color-mix(in srgb, var(--primary-color) 30%, transparent) 0%,
        color-mix(in srgb, var(--accent-color) 15%, transparent) 40%,
        transparent 70%
    );
    filter: blur(50px);
    opacity: 0.6;
    pointer-events: none;
}

.hero-phone {
    max-width: 480px;
}

@media (max-width: 980px) {
}

@media (max-width: 734px) {
    .section {
        padding: 60px 0;
    }

    .callout-card {
        padding: 48px 28px;
    }

    .phone-frame {
        max-width: 340px;
    }

    .hero-phone {
        max-width: 360px;
    }
}

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