/* Perfect Week OS — Shared design system */

/* Brand Tokens */
:root {
    /* Colors */
    --background: #0B0F1A;
    --background-alt: #141824;
    --card: #1A1F2E;
    --primary: #00BFFF;
    --primary-hover: #00A5E0;
    --text: #F5F7FF;
    --text-muted: #B4BEDA;
    /* Brightened slightly for better contrast */
    --accent: #E7ECFF;
    --border: #2A3142;

    /* Typography */
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 96px;

    /* Layout */
    --max-width: 1200px;
    --content-width: 700px;
}

/* Reset + Base */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

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

body {
    font-family: var(--font-sans);
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    /* Increased for better legibility */
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
    filter: url(#noiseFilter);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(36px, 10vw, 64px);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    font-family: var(--font-serif);
    color: var(--text);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    font-family: var(--font-serif);
    color: var(--text);
}

h3 {
    font-size: clamp(20px, 2.2vw, 22px);
    margin-bottom: var(--space-sm);
    font-family: var(--font-sans);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
}

strong {
    color: var(--text);
    font-weight: 600;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.content-width {
    max-width: var(--content-width);
    margin: 0 auto;
}

section {
    padding: 72px 0;
}

/* Navigation */
/* Feature Collage (replaces individual offer-visual-rows) */
.feature-collage {
    max-width: 1100px;
    margin: 0 auto var(--space-md);
    padding: 0;
    text-align: center;
}

.feature-collage img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.feature-collage-captions {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}

.feature-collage-captions li {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
}

.feature-collage-captions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.feature-collage-captions strong {
    color: var(--text);
    font-weight: 700;
}

@media (max-width: 768px) {
    .feature-collage-captions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Announcement Bar (above nav, scrolls away) */
.announcement-bar {
    background: var(--primary);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 101;
}

.announcement-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.announcement-bar p {
    margin: 0;
    line-height: 1.4;
    color: #0B0F1A;
}

.announcement-bar a {
    color: #0B0F1A;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 800;
}

.announcement-bar a:hover {
    text-decoration: none;
}

nav {
    position: sticky;
    top: 0;
    background: rgba(11, 15, 26, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: var(--space-sm) 0;
    transition: top 0.25s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

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

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    align-items: center;
}

.nav-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px;
    font-size: 15px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

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

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.2s;
}

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

.nav-dropdown-toggle svg {
    transition: transform 0.2s;
}

.nav-dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 100;
    flex-direction: column;
    gap: 0;
    list-style: none;
}

.nav-dropdown-menu.is-open {
    display: flex;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 191, 255, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Weighted cinematic easing */
    text-decoration: none;
    border: none;
    gap: 8px;
}

.btn:hover {
    transform: scale(1.03) translateY(-2px);
    /* Magnetic tactile lift */
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 1px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-element {
    animation: float 6s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

.animate-entrance {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.btn-primary {
    background: var(--primary);
    color: var(--background);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.4);
    /* Added glow effect */
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 191, 255, 0.05);
    /* Added subtle background tint on hover */
}

/* Dot pattern utility */
.dot-pattern {
    position: relative;
    --parallax-y: 0px;
}

.dot-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    transform: translateY(var(--parallax-y));
    will-change: transform;
}

.dot-pattern>* {
    position: relative;
    z-index: 1;
}

/* Hero - two-column with product visual */
.hero {
    position: relative;
    padding: 28px 0 44px;
    min-height: auto;
    display: flex;
    align-items: center;
    background: var(--background);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 840px;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
}

.hero-showcase {
    width: min(100%, 1480px);
    border-radius: 28px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(244, 145, 62, 0.65), rgba(219, 110, 255, 0.55));
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0, 0, 0, 0.4) 68%, transparent 90%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0, 0, 0, 0.4) 68%, transparent 90%);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}

/* Secondary fade overlay: covers the full showcase area including the frame's
   box-shadow, guaranteeing the bottom dissolves to background even if mask-image
   is overridden or not supported. Positioned on .hero so it can cover everything. */
.hero .container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 320px;
    background: linear-gradient(to bottom, rgba(11, 15, 26, 0) 0%, rgba(11, 15, 26, 0.65) 35%, var(--background) 75%);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
}

.hero-showcase-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-height: 520px;
}

.hero-showcase img {
    width: 100%;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
    object-fit: cover;
    object-position: top center;
}

.kicker,
.hero-tag {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--primary);
    background: rgba(0, 191, 255, 0.08);
    border: 1px solid rgba(0, 191, 255, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: var(--space-xs);
}

.hero-founder {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.hero-founder-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(0, 191, 255, 0.22);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

.hero h1 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    font-size: 58px;
    line-height: 1.04;
    text-wrap: balance;
}

/* Hero visual - app screenshot in styled window */
.hero-visual {
    position: relative;
}

.hero-visual-frame {
    background: var(--card);
    border-radius: 20px;
    /* More organic radius */
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 191, 255, 0.15);
    /* Added ambient glow */
    animation: float 8s ease-in-out infinite;
    /* Floating effect */
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

.hero-visual-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--background-alt);
    border-bottom: 1px solid var(--border);
}

.hero-visual-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-visual-dot.red {
    background: #FF5F57;
}

.hero-visual-dot.yellow {
    background: #FFBD2E;
}

.hero-visual-dot.green {
    background: #28C840;
}

/* Frame-within-frame (inner bezel) */
.frame-inner {
    padding: 12px;
    background: rgba(11, 15, 26, 0.55);
}

.frame-inner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 191, 255, 0.06);
}

.hero-visual .frame-inner {
    padding: 14px;
}

.cta-group {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: var(--space-sm);
    font-size: 14px;
    color: var(--text-muted);
}

/* Founder Letter */
.founder-letter-section {
    background: var(--background);
    position: relative;
    padding-top: 24px;
}

.founder-letter {
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(252, 250, 245, 0.98) 0%, rgba(249, 247, 241, 0.97) 49%, rgba(252, 250, 245, 0.98) 51%, rgba(248, 246, 240, 0.97) 100%);
    color: #1b2430;
    border-radius: 8px;
    padding: clamp(22px, 3vw, 40px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 48px);
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.5), 0 20px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(171, 156, 131, 0.38);
    position: relative;
    overflow: hidden;
    transform: rotate(-0.5deg);
}

.founder-letter::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 72px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(215, 208, 196, 0) 0%, rgba(215, 208, 196, 0.22) 50%, rgba(215, 208, 196, 0) 100%);
    pointer-events: none;
}

.founder-letter::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(188, 176, 152, 0.28);
    border-radius: 4px;
    pointer-events: none;
}

.founder-letter-column {
    position: relative;
    z-index: 1;
}

.founder-letter-column p {
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.5;
    color: #263243;
    margin-bottom: 20px;
}

.founder-letter-column strong {
    color: #0f172a;
}

.founder-letter-column u {
    text-decoration-color: rgba(15, 23, 42, 0.9);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.14em;
}

.founder-letter-accent,
.founder-letter-accent strong {
    color: var(--primary);
}

.founder-letter-accent u {
    text-decoration-color: rgba(0, 191, 255, 0.75);
}

.founder-letter-column-strong p {
    color: #202a39;
}

.founder-letter-lead {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.38;
}

.founder-letter-right-lead {
    font-size: clamp(20px, 1.8vw, 28px);
    line-height: 1.4;
}

.founder-letter-emphasis {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
}

.founder-letter-bullets {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.founder-letter-bullets li {
    position: relative;
    padding-left: 18px;
    font-size: clamp(17px, 1.35vw, 22px);
    line-height: 1.45;
    color: #202a39;
}

.founder-letter-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #0f172a;
    font-weight: 700;
}

.founder-signoff {
    margin-top: 26px;
}

.founder-signoff-mark {
    display: block;
    width: 210px;
    height: auto;
    margin-bottom: 12px;
}

.founder-signoff-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.founder-signoff-person img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.founder-signoff-person strong,
.founder-signoff-person span {
    display: block;
}

.founder-signoff-person strong {
    font-size: 16px;
    color: #111827;
}

.founder-signoff-person span {
    font-size: 14px;
    color: #526172;
}

/* Timeline cards */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: var(--max-width);
    position: relative;
    z-index: 1;
}

.timeline-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.timeline-body p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.timeline-body p:last-child {
    margin-bottom: 0;
}

.timeline-quote {
    font-style: italic;
    color: var(--text) !important;
    border-left: 3px solid var(--primary);
    padding-left: var(--space-sm);
    margin-top: var(--space-sm) !important;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: var(--max-width);
}

.values-grid> :nth-child(4),
.values-grid> :nth-child(5) {
    justify-self: center;
    max-width: calc((var(--max-width) - var(--space-md) * 2) / 3);
    width: 100%;
}

.value.win-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    /* More organic radius */
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.win-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 191, 255, 0.3);
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-md);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.value-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.value-card h3 {
    margin-bottom: var(--space-xs);
}

.value-card p {
    font-size: 16px;
    margin-bottom: 0;
}

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

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

    .values-grid> :nth-child(4),
    .values-grid> :nth-child(5) {
        justify-self: stretch;
        max-width: none;
    }
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step {
    background: var(--card);
    padding: var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--background);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.feature {
    background: var(--card);
    padding: var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.feature h3 {
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    background: var(--background-alt);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.win-card {
    transition: transform 0.2s ease;
}

.win-card:hover {
    transform: scale(1.02);
}

.win-card .offer-visual-frame {
    height: 100%;
}

.win-card img {
    width: 100%;
    height: auto;
    display: block;
}

.testimonial {
    background: var(--card);
    padding: var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial-result {
    margin-top: var(--space-xs);
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    position: relative;
    background: linear-gradient(135deg, #141824 0%, #1A1F2E 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
    margin: var(--space-xl) auto;
    max-width: 800px;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta>* {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: var(--space-lg) 0;
    text-align: center;
}

footer p {
    font-size: 14px;
    color: var(--text-muted);
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}

footer a:hover {
    color: var(--primary);
}

/* Feature visual cards */
.offer-visual-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.offer-visual-row:nth-child(even) {
    direction: rtl;
}

.offer-visual-row:nth-child(even)>* {
    direction: ltr;
}

.offer-visual-frame {
    background: var(--card);
    border-radius: 20px;
    /* More organic radius */
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 191, 255, 0.15);
    /* Added subtle ambient glow */
    animation: float 10s ease-in-out infinite;
    /* Cinematic floating artifact */
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

.offer-visual-frame .frame-header {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--background-alt);
    border-bottom: 1px solid var(--border);
}

.offer-visual-frame .frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.offer-visual-frame .frame-dot.red {
    background: #FF5F57;
}

.offer-visual-frame .frame-dot.yellow {
    background: #FFBD2E;
}

.offer-visual-frame .frame-dot.green {
    background: #28C840;
}

.offer-visual-frame .frame-inner {
    padding: 10px;
}

.offer-visual-caption {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    padding: 10px 14px;
    background: var(--background-alt);
    border-top: 1px solid var(--border);
    text-align: center;
}

/* Page layout (supporting pages) */
.page-hero {
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero.dot-pattern::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.page-hero>* {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: var(--space-sm);
}

.page-hero p {
    font-size: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Prose for legal/content pages */
.prose {
    max-width: var(--content-width);
    margin: 0 auto;
}

.prose h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.prose ul,
.prose ol {
    margin: var(--space-sm) 0;
    padding-left: var(--space-md);
    color: var(--text-muted);
}

.prose a {
    color: var(--primary);
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

#features .container>.app-card,
#features .container>.community-card,
#features .container>.training-card,
#features .container>.tools-card,
#features .container>div[style*="background: var(--card)"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#features .container>.app-card:hover,
#features .container>.community-card:hover,
#features .container>.training-card:hover,
#features .container>.tools-card:hover,
#features .container>div[style*="background: var(--card)"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.podcast-platforms {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.platform-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.platform-link svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.platform-link:hover svg {
    opacity: 1;
}

.included-divider {
    margin: 20px 0 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.feature-heading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.alumni-callout {
    margin-top: var(--space-md);
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    background: rgba(0, 191, 255, 0.04);
    text-align: left;
}


.alumni-callout-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.alumni-callout-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.pricing-compare-wrap {
    margin-top: 28px;
}

.pricing-compare-kicker {
    margin: 0 0 12px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.pricing-compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.pricing-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.pricing-compare-table th,
.pricing-compare-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.pricing-compare-table thead th {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
}

.pricing-compare-table th:not(:first-child),
.pricing-compare-table td:not(:first-child) {
    text-align: center;
}

.pricing-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-compare-table td:first-child {
    color: var(--text);
    font-weight: 600;
    width: 40%;
}

.pricing-compare-table td.check {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
}

.alumni-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 14px;
}

.alumni-compare-table th,
.alumni-compare-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.alumni-compare-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.alumni-compare-table th:not(:first-child) {
    text-align: center;
}

.alumni-compare-table td:first-child {
    color: var(--text);
}

.alumni-compare-table td.check {
    text-align: center;
    color: var(--primary);
    font-size: 16px;
}

.alumni-compare-footnote {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-style: italic;
}

.alumni-callout-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.alumni-callout-actions .btn-sm {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.alumni-callout-actions .btn-outline {
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: transparent;
}

.alumni-callout-actions .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.app-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: center;
}

.app-card-frames {
    position: relative;
    height: 260px;
}

.app-frame {
    position: absolute;
    width: 80%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.app-frame .frame-inner img {
    height: 150px;
    object-fit: cover;
    object-position: top left;
}

.app-frame-far {
    top: 0;
    right: 0;
    opacity: 0.5;
    transform: rotate(3deg);
    z-index: 1;
}

.app-frame-mid {
    top: 40px;
    right: 20px;
    opacity: 0.75;
    transform: rotate(1deg);
    z-index: 2;
}

.app-frame-front {
    top: 80px;
    left: 0;
    z-index: 3;
    transform: rotate(-1deg);
}

.app-frame-front:hover {
    transform: rotate(0deg) scale(1.02);
    transition: transform 0.2s ease;
}

.community-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: center;
}

.community-card-frames {
    position: relative;
    height: 260px;
}

.community-frame {
    position: absolute;
    width: 80%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.community-frame .frame-inner img {
    height: 150px;
    object-fit: cover;
    object-position: top left;
}

.community-frame-far {
    top: 0;
    right: 0;
    opacity: 0.5;
    transform: rotate(3deg);
    z-index: 1;
}

.community-frame-mid {
    top: 40px;
    right: 20px;
    opacity: 0.75;
    transform: rotate(1deg);
    z-index: 2;
}

.community-frame-front {
    top: 80px;
    left: 0;
    z-index: 3;
    transform: rotate(-1deg);
}

.community-frame-front:hover {
    transform: rotate(0deg) scale(1.02);
    transition: transform 0.2s ease;
}

.training-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: center;
}

.training-card-frame .offer-visual-frame {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.training-card-frame .frame-inner img {
    height: 200px;
    object-fit: cover;
    object-position: top left;
}

.tools-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: center;
}

.tools-card-frame .offer-visual-frame {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tools-card-frame .frame-inner img {
    height: 200px;
    object-fit: cover;
    object-position: top center;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero .container {
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-top: -30px;
    }

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

    .hero-showcase {
        padding: 14px;
        border-radius: 22px;
    }

    .hero-showcase-media {
        max-height: 430px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    section {
        padding: 48px 0;
    }

    .cta-group .btn {
        width: 100%;
        text-align: center;
        min-height: 44px;
    }

    .cta-group {
        flex-direction: column;
    }

    nav .container {
        flex-wrap: nowrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 15, 26, 0.98);
        border-bottom: 1px solid var(--border);
        padding: var(--space-sm);
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .nav-video-btn {
        width: 100%;
        justify-content: center;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        display: flex;
        /* Ensure flex is active */
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        font-size: 16px;
        padding: 10px 8px;
    }

    .nav-menu .btn {
        width: 100%;
        text-align: center;
        min-height: 44px;
        padding: 10px 16px !important;
        font-size: 16px !important;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        min-width: 0;
    }

    .nav-dropdown-menu.is-open {
        display: flex;
    }

    .nav-dropdown-toggle {
        display: block;
        font-size: 16px;
        padding: 10px 8px;
        width: 100%;
        text-align: left;
    }

    .nav-dropdown-menu a {
        padding: 8px 8px;
        font-size: 15px;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
    }

    .steps::before {
        display: none;
    }

    .offer-visual-row {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .offer-visual-row:nth-child(even) {
        direction: ltr;
    }

    .dot-pattern::before {
        display: none;
    }

    .announcement-bar {
        font-size: 12px;
        padding: 8px 0;
    }

    .announcement-bar p {
        padding: 0 12px;
    }

    .hero {
        padding-top: var(--space-lg);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-showcase {
        padding: 10px;
        border-radius: 18px;
    }

    .hero-showcase-media {
        max-height: 250px;
        border-radius: 14px;
    }

    .hero-showcase img {
        border-radius: 14px;
    }

    .hero-content {
        margin-top: -20px;
    }

    .founder-letter {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
        transform: none;
    }

    .founder-letter::before {
        display: none;
    }

    .founder-letter-column p {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .founder-letter-lead {
        font-size: 28px;
    }

    .founder-signoff-mark {
        width: 170px;
        margin-bottom: 14px;
    }

    .testimonial {
        padding: 20px;
    }

    .stats {
        gap: var(--space-sm);
    }

    .included-divider {
        margin-top: 16px;
    }

    .app-card {
        grid-template-columns: 1fr;
    }

    .app-card-frames {
        height: 200px;
    }

    .app-frame {
        width: 80%;
    }

    .app-frame .frame-inner img {
        height: 120px;
    }

    .community-card {
        grid-template-columns: 1fr;
    }

    .community-card-frames {
        height: 200px;
    }

    .community-frame {
        width: 80%;
    }

    .community-frame .frame-inner img {
        height: 120px;
    }

    .training-card {
        grid-template-columns: 1fr;
    }

    .training-card-frame .frame-inner img {
        height: 160px;
    }

    .tools-card {
        grid-template-columns: 1fr;
    }

    .tools-card-frame .frame-inner img {
        height: 160px;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--background);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 191, 255, 0.2);
    z-index: 100000;
    overflow: hidden;
    animation: fadeInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: none;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
    transition: color 0.2s, transform 0.2s;
}

.video-modal-close:hover {
    color: white;
    transform: scale(1.1);
}

.video-modal-content {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    width: 100%;
    background: #000;
}

@media (max-width: 768px) {
    .video-modal-container {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .video-modal-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }
}
