/* ========================================
   Boss Man Jobs — Clean Light Theme
   Bold. Professional. Built for the Trades.
   ======================================== */

:root {
    /* App gradient system */
    --grad-jobs:      linear-gradient(135deg, #FFD76B, #C89200);
    --grad-ai:        linear-gradient(135deg, #AF52DE, #007AFF);
    --grad-chat:      linear-gradient(135deg, #30D158, #00BCD4);
    --grad-invoices:  linear-gradient(135deg, #34C759, #1A8C3A);
    --grad-estimates: linear-gradient(135deg, #FF9F0A, #FF6B00);
    --grad-payroll:   linear-gradient(135deg, #5E5CE6, #AF52DE);
    --grad-smart:     linear-gradient(135deg, #007AFF, #32D2E2);
    --grad-calendar:  linear-gradient(135deg, #FF6B8A, #CC1F3C);
    --grad-vision:    linear-gradient(135deg, #AF52DE, #5E5CE6);
    --grad-reports:   linear-gradient(135deg, #8B6914, #C8991A);
    --grad-team:      linear-gradient(135deg, #5AC8FA, #007AFF);
    --grad-geo:       linear-gradient(135deg, #FF3B30, #FF6B00);
    --grad-docs:      linear-gradient(135deg, #636375, #3A3A52);
    --grad-notify:    linear-gradient(135deg, #007AFF, #5E5CE6);
    --grad-finance:   linear-gradient(135deg, #34C759, #007AFF);
    --grad-inventory: linear-gradient(135deg, #FF9F0A, #FF6B8A);

    /* Light color system */
    --bg:          #FFFFFF;
    --bg-alt:      #F5F5F7;
    --bg-alt2:     #EBEBF0;
    --surface:     #FFFFFF;
    --border:      rgba(0, 0, 0, 0.08);
    --border-hi:   rgba(0, 0, 0, 0.14);

    /* Text */
    --text:        #1C1C1E;
    --text-2:      #636366;
    --text-3:      #AEAEB2;

    /* Brand */
    --blue:        #007AFF;
    --blue-dark:   #0055CC;
    --gold:        #C89200;
    --green:       #30D158;
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
    --shadow:      0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl:   0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);

    /* Layout */
    --max-w:       1200px;
    --radius:      16px;
    --radius-sm:   10px;
    --radius-lg:   24px;
    --font-h:      'Oswald', sans-serif;
    --font-b:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease:        0.22s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-b);
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--ease);
    border: none;
    white-space: nowrap;
    text-decoration: none;
}
.btn-sm  { font-size: 14px; padding: 8px 18px; }
.btn-lg  { font-size: 17px; padding: 16px 32px; }
.btn-primary {
    background: var(--blue);
    color: white;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,122,255,0.30); }
.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: rgba(0,122,255,0.06); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1.5px solid var(--border-hi);
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); transform: translateY(-1px); }
.btn-white-solid {
    background: var(--blue);
    color: white;
    font-weight: 700;
}
.btn-white-solid:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
    display: inline-block;
    font-family: var(--font-b);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0,122,255,0.08);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 16px;
}
.section-badge-white {
    color: white;
    background: rgba(255,255,255,0.2);
}
.section-header h2 {
    font-family: var(--font-h);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.section-header p {
    font-size: 18px;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 64px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #007AFF, #5E5CE6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.04em;
}
.logo-text {
    font-family: var(--font-h);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 20px; }
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--ease);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    overflow: hidden;
    background: #FFFFFF;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 80px;
}
.hero-text { max-width: 560px; }
.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0,122,255,0.08);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}
.hero-text h1 {
    font-family: var(--font-h);
    font-size: clamp(52px, 7vw, 80px);
    font-weight: 700;
    line-height: 1.0;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
    font-family: var(--font-h);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.stat-label { font-size: 12px; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 36px; background: var(--border-hi); }

/* Hero phones */
.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 620px;
}
.hero-phone { position: absolute; }
.hero-phone-front {
    right: 10%;
    bottom: 0;
    z-index: 3;
}
.hero-phone-back {
    right: 38%;
    bottom: 40px;
    z-index: 2;
    opacity: 0.75;
    transform: scale(0.92) rotate(-4deg);
}

/* Hero character (ski guy) */
.hero-character {
    position: absolute;
    right: -2%;
    bottom: 0;
    width: 42%;
    max-width: 520px;
    z-index: 1;
    pointer-events: none;
}
.hero-character img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    /* Fade bottom edge into bg */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

/* Phone frames */
.phone-frame {
    width: 220px;
    background: #1C1C1E;
    border-radius: 42px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1) inset;
    position: relative;
}
.phone-frame-light {
    background: #FFFFFF;
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
}
.phone-notch {
    width: 90px;
    height: 24px;
    background: #1C1C1E;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 6px;
    position: relative;
    z-index: 1;
}
.phone-frame-light .phone-notch { background: #F5F5F7; }
.phone-screen {
    border-radius: 32px;
    overflow: hidden;
    background: #F5F5F7;
    min-height: 380px;
}
.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.phone-screen-screenshot {
    aspect-ratio: 1320 / 2868;
    min-height: unset;
}

/* ========== SCREENSHOT GALLERY ========== */
.screenshots-section {
    padding: 80px 0 60px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.screenshots-scroll-wrap {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    margin-top: 48px;
    padding-bottom: 8px;
}
.screenshots-scroll-wrap::-webkit-scrollbar { display: none; }
.screenshots-scroller {
    display: flex;
    gap: 28px;
    padding: 16px max(48px, calc((100vw - 1200px) / 2 + 24px));
    width: max-content;
}
.screenshot-item {
    flex: 0 0 auto;
    text-align: center;
}
.screenshot-item .phone-frame {
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot-item .phone-frame:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.screenshot-label {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ========== TRADES TICKER ========== */
.trades-ticker {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow: hidden;
}
.ticker-track { overflow: hidden; }
.ticker-content {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: ticker 35s linear infinite;
}
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.trade-tag {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 16px;
    white-space: nowrap;
}

/* ========== FEATURES ========== */
.features {
    padding: 100px 0;
    background: var(--bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--ease);
}
.feature-card:hover {
    border-color: var(--border-hi);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: white;
}
.feature-card h3 {
    font-family: var(--font-h);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.feature-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-2);
}

/* ========== APP PREVIEW SECTION ========== */
.app-preview-section {
    position: relative;
    background: var(--bg-alt);
    overflow: hidden;
    padding: 100px 0;
}
.app-preview-character {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
    z-index: 1;
}
.app-preview-character img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.25;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 90%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 90%);
}
.app-preview-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.app-preview-text { color: var(--text); }
.app-preview-text h2 {
    font-family: var(--font-h);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--text);
}
.app-preview-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 28px;
}
.app-preview-list {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.app-preview-list li {
    font-size: 15px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 10px;
}
.app-preview-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #30D158;
    flex-shrink: 0;
}
.app-preview-phones {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
}
.preview-phone { position: relative; }
.preview-phone-1 { z-index: 2; }
.preview-phone-2 {
    z-index: 1;
    margin-top: 40px;
    opacity: 0.85;
    transform: scale(0.94);
}

/* ========== WHO IT'S FOR ========== */
.who-section {
    padding: 100px 0;
    background: var(--bg-alt);
}
.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.persona-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: all var(--ease);
}
.persona-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.persona-featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}
.persona-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}
.persona-icon { font-size: 36px; margin-bottom: 16px; }
.persona-card h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 12px;
}
.persona-card p { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.persona-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.persona-features li {
    font-size: 14px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.persona-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
}
.persona-price {
    font-family: var(--font-h);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.02em;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 4px;
}

/* ========== HOW IT WORKS ========== */
.how-section {
    padding: 100px 0;
    background: var(--bg);
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}
.step-card { padding: 0 20px; text-align: center; }
.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #007AFF, #5E5CE6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}
.step-card h3 {
    font-family: var(--font-h);
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 10px;
}
.step-card p { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #007AFF, #5E5CE6);
    margin-top: 28px;
    border-radius: 2px;
    opacity: 0.3;
}

/* ========== SHOWCASE ========== */
.showcase {
    padding: 100px 0;
    background: var(--bg-alt);
}
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }
.showcase-text h2 {
    font-family: var(--font-h);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 16px;
}
.showcase-text p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.showcase-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.showcase-list li {
    font-size: 15px;
    color: var(--text-2);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.showcase-list li::before {
    content: '→';
    color: var(--blue);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.showcase-visual { display: flex; justify-content: center; }
.phone-sm { width: 200px; }

/* Mock estimate in phone */
.mock-estimate { padding: 16px; background: white; height: 100%; }
.me-header {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.me-trade {
    font-size: 13px;
    font-weight: 600;
    color: #FF9F0A;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F0F0F0;
}
.me-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #636366;
    margin-bottom: 6px;
}
.me-divider { height: 1px; background: #E5E5EA; margin: 10px 0; }
.me-total {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 10px;
}
.me-btn {
    background: linear-gradient(135deg, #007AFF, #5E5CE6);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

/* Mock scan */
.screen-dark { background: #0D0D1C !important; }
.mock-scan { padding: 16px; height: 100%; }
.scan-header {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}
.scan-room {
    position: relative;
    width: 130px;
    height: 100px;
    border: 2px solid rgba(0,122,255,0.6);
    margin: 0 auto 10px;
    background: rgba(0,122,255,0.04);
}
.scan-wall {
    position: absolute;
    font-size: 8px;
    color: rgba(0,122,255,0.9);
    font-weight: 700;
    background: rgba(0,122,255,0.1);
    padding: 1px 4px;
    border-radius: 2px;
}
.scan-top    { top: -10px; left: 50%; transform: translateX(-50%); }
.scan-right  { right: -28px; top: 50%; transform: translateY(-50%); }
.scan-bottom { bottom: -10px; left: 50%; transform: translateX(-50%); }
.scan-left   { left: -28px; top: 50%; transform: translateY(-50%); }
.scan-door {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 28px;
    height: 14px;
    border: 1.5px solid #30D158;
    font-size: 7px;
    color: #30D158;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(48,209,88,0.08);
}
.scan-window {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 12px;
    border: 1.5px solid #FF9F0A;
    font-size: 6px;
    color: #FF9F0A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(255,159,10,0.08);
}
.scan-info { font-size: 10px; color: rgba(255,255,255,0.7); margin-bottom: 8px; text-align: center; }

/* ========== BEACH EXPERIENCE (IMMERSIVE SCROLL) ========== */
.beach-experience {
    position: relative;
    background: #07070F;
}
.beach-sticky-wrap {
    height: 300vh; /* scroll distance for slide transitions */
    position: relative;
}
.beach-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background slides */
.beach-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.beach-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.beach-slide-active {
    opacity: 1;
}
.beach-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Gradient overlay */
.beach-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(7,7,15,0.85) 0%, rgba(7,7,15,0.5) 40%, transparent 70%),
        linear-gradient(to top, rgba(7,7,15,0.7) 0%, transparent 40%),
        linear-gradient(to bottom, rgba(7,7,15,0.4) 0%, transparent 20%);
}

/* Floating Boss Man cutout */
.beach-bossman {
    position: absolute;
    right: -40px;
    bottom: 0;
    z-index: 2;
    width: 420px;
    opacity: 0;
    transform: translateX(100px) scale(0.9);
    transition: opacity 0.8s ease 0.3s, transform 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.3s;
    pointer-events: none;
}
.beach-bossman.beach-bossman-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.beach-bossman-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.5));
}

/* Text content */
.beach-content {
    position: relative;
    z-index: 3;
}
.beach-text-block {
    max-width: 500px;
}
.beach-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255,215,107,0.15);
    color: #FFD76B;
    border: 1px solid rgba(255,215,107,0.25);
    margin-bottom: 20px;
}
.beach-headline {
    font-family: var(--font-h);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #fff;
    line-height: 0.95;
    margin-bottom: 20px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.beach-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 440px;
}

/* Slide indicators */
.beach-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}
.beach-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: all 0.4s ease;
}
.beach-dot-active {
    background: #FFD76B;
    box-shadow: 0 0 12px rgba(255,215,107,0.5);
    width: 28px;
    border-radius: 5px;
}

/* ========== CAMPAIGN GALLERY STRIP ========== */
.campaign-strip {
    padding: 80px 0 60px;
    background: #07070F;
    overflow: hidden;
}
.campaign-strip .section-header {
    margin-bottom: 40px;
}
.campaign-strip .section-badge {
    background: rgba(255,215,107,0.12);
    color: #FFD76B;
    border: 1px solid rgba(255,215,107,0.2);
}
.campaign-strip h2 {
    color: #fff;
}
.campaign-strip p {
    color: rgba(255,255,255,0.55);
}
.campaign-scroll-wrap {
    position: relative;
    padding: 0 24px;
}
.campaign-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 20px;
}
.campaign-scroller::-webkit-scrollbar { display: none; }
.campaign-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: #1C1C2E;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.campaign-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.campaign-card-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.campaign-card-cutout {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
}
.campaign-card-cutout .campaign-card-img {
    object-fit: contain;
    padding: 20px;
}
.campaign-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFD76B;
}

/* ========== BOSS MAN SUPERPOWERS ========== */
.superpowers-section {
    padding: 100px 0;
    background: var(--bg-alt);
    overflow: hidden;
}
.superpowers-badge {
    background: linear-gradient(135deg, rgba(255,59,48,0.12), rgba(255,149,0,0.12)) !important;
    color: #FF6B00 !important;
    border: 1px solid rgba(255,107,0,0.2) !important;
}
.superpowers-section h2 {
    color: var(--text);
}
.superpowers-tagline {
    font-size: 20px;
    font-style: italic;
    color: var(--text-2);
    margin-top: -8px;
}

/* Monster Story: comic strip layout */
.monster-story {
    margin-bottom: 80px;
}
.monster-story-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 24px;
    position: relative;
}
.monster-story-img {
    width: 100%;
    height: auto;
    display: block;
}
.monster-story-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08);
    pointer-events: none;
}
.monster-story-captions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.story-caption {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.caption-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B00, #FF3B30);
    color: white;
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.caption-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}

/* Hero Poster + Taglines */
.boss-hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.boss-hero-poster {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.boss-hero-poster-img {
    width: 100%;
    height: auto;
    display: block;
}
.boss-hero-text h3 {
    font-family: var(--font-h);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--text);
    line-height: 1.05;
    margin-bottom: 28px;
}
.boss-quotes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.boss-quote {
    padding: 20px 24px;
    background: var(--bg);
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, #FFD76B, #FF6B00) 1;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
}
.boss-quote p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.65;
    font-style: italic;
}

/* ========== PORTALS ========== */
.portals-section {
    padding: 100px 0;
    background: var(--bg);
}
.portal-access-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.pa-icon { font-size: 32px; margin-bottom: 12px; }
.portal-access-box h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 8px;
}
.portal-access-box p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; }
.pa-input-row { display: flex; gap: 10px; margin-bottom: 12px; }
.pa-input {
    flex: 1;
    background: var(--bg);
    border: 1.5px solid var(--border-hi);
    border-radius: 100px;
    padding: 12px 20px;
    font-size: 15px;
    color: var(--text);
    font-family: var(--font-b);
    transition: border-color var(--ease);
    outline: none;
}
.pa-input:focus { border-color: var(--blue); }
.pa-btn { padding: 12px 24px; }
.pa-hint { font-size: 12px; color: var(--text-3); }
.pa-hint code { background: var(--bg-alt2); padding: 2px 6px; border-radius: 4px; font-size: 11px; }
.portal-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.portal-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--ease);
}
.portal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pc-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.portal-card h3 {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 10px;
}
.portal-card p { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.portal-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.portal-features li {
    font-size: 14px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.portal-features li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ========== PRICING ========== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-alt);
}
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}
.toggle-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-3);
    transition: color var(--ease);
    cursor: pointer;
}
.toggle-label.active { color: var(--text); }
.save-badge {
    background: #30D158;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
    letter-spacing: 0.04em;
}
.toggle-switch {
    width: 48px;
    height: 28px;
    background: var(--bg-alt2);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background var(--ease);
}
.toggle-switch.on { background: var(--blue); }
.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease);
}
.toggle-switch.on .toggle-knob { transform: translateX(20px); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 48px;
}
.price-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-featured {
    border-color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
    transform: scale(1.03);
}
.price-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}
.price-tier {
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 4px;
}
.price-desc { font-size: 14px; color: var(--text-2); margin-bottom: 20px; }
.price-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}
.price-dollar { font-size: 22px; font-weight: 700; color: var(--text); }
.price-number {
    font-family: var(--font-h);
    font-size: 56px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.price-period { font-size: 16px; color: var(--text-2); font-weight: 500; }
.price-employees { font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.price-extra { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.price-features li {
    font-size: 14px;
    color: var(--text-2);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.price-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Competitor comparison */
.price-comparison {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    max-width: 600px;
    margin: 0 auto;
}
.comparison-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 20px;
}
.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.comparison-row:last-of-type { border-bottom: none; }
.comp-name { font-size: 15px; font-weight: 500; color: var(--text); }
.comp-price {
    font-family: var(--font-h);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.comp-ours { color: var(--blue); }
.comp-theirs { color: var(--text-3); }
.comparison-note {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.5;
    margin-top: 16px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-text h2 {
    font-family: var(--font-h);
    font-size: clamp(44px, 6vw, 64px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--text);
    line-height: 1.05;
    margin-bottom: 16px;
}
.cta-text p {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cta-fine { font-size: 13px; color: var(--text-3); }
.cta-character {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-height: 540px;
}
.cta-character img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .nav-logo .logo-text { color: white; }
.footer-brand p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.5);
    margin-top: 14px;
    max-width: 280px;
}
.footer-col h4 {
    font-family: var(--font-h);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    transition: color var(--ease);
}
.footer-col a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ========== CSS MOCKUP SCREENS ========== */

/* Dashboard mockup (hero phone 1) */
.mock-dash { padding: 14px; height: 100%; color: #fff; font-size: 12px; }
.md-greeting { font-family: var(--font-h); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; background: var(--grad-jobs); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.md-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.md-widget { border-radius: 10px; padding: 10px 8px; text-align: center; }
.md-widget span { display: block; font-size: 9px; opacity: 0.85; margin-bottom: 2px; color: rgba(255,255,255,0.9); }
.md-widget strong { font-family: var(--font-h); font-size: 18px; color: #fff; }
.md-list-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-2); margin-bottom: 8px; }
.md-row { font-size: 11px; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 6px; }
.md-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* Team mockup (hero phone 2) */
.md-crew-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 11px; color: var(--text-2); }
.md-avatar { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: #fff; flex-shrink: 0; }
.md-status { margin-left: auto; font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 8px; }
.md-status.on { background: rgba(48,209,88,0.15); color: #30D158; }
.md-status.off { background: rgba(142,142,160,0.15); color: #8E8EA0; }
.md-chat { font-size: 10px; color: var(--text-3); padding: 4px 0; }
.md-chat strong { color: var(--text-2); }

/* Invoice mockup (preview phone 1) */
.mock-invoice { padding: 16px; height: 100%; color: #fff; }
.mi-header { font-family: var(--font-h); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.mi-client { font-size: 12px; color: var(--text-2); margin-bottom: 16px; }
.mi-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mi-divider { height: 1px; background: rgba(255,215,107,0.3); margin: 8px 0; }
.mi-total { display: flex; justify-content: space-between; font-family: var(--font-h); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.mi-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.mi-badge.paid { background: rgba(48,209,88,0.15); color: #30D158; border: 1px solid rgba(48,209,88,0.3); }

/* Time tracker mockup (preview phone 2) */
.mock-time { padding: 16px; height: 100%; color: #fff; text-align: center; }
.mt-header { font-family: var(--font-h); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.mt-clock { font-family: var(--font-h); font-size: 40px; font-weight: 700; color: var(--blue); text-shadow: 0 0 20px rgba(0,122,255,0.4); margin-bottom: 6px; }
.mt-job { font-size: 11px; color: var(--text-2); margin-bottom: 14px; }
.mt-btn { display: inline-block; padding: 8px 24px; background: linear-gradient(135deg, #FF2D55, #C91440); color: #fff; font-family: var(--font-h); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 20px; margin-bottom: 18px; box-shadow: 0 0 16px rgba(255,45,85,0.35); }
.mt-crew-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); margin-bottom: 8px; text-align: left; }
.mt-crew { font-size: 11px; color: var(--text-2); padding: 5px 0; display: flex; align-items: center; gap: 6px; text-align: left; }
.mt-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.mt-dot.on { background: #30D158; box-shadow: 0 0 6px rgba(48,209,88,0.5); }
.mt-dot.off { background: #545468; }

/* (duplicate removed — .screen-dark defined above at line 754) */

/* Neon BM logo for hero character replacement */
.hero-character-css {
    display: flex; align-items: center; justify-content: center;
}
.neon-boss {
    font-family: var(--font-h); font-size: 160px; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    opacity: 0.12; letter-spacing: 8px;
}

/* (anywhere section replaced by beach experience) */

/* App preview character CSS background */
.app-preview-character-css {
    background: radial-gradient(ellipse at center, rgba(175,82,222,0.12) 0%, transparent 70%);
}

/* CTA neon logo */
.cta-character-css {
    display: flex; align-items: center; justify-content: center;
    background: none; box-shadow: none;
}
.cta-neon-logo { text-align: center; }
.cta-logo-circle {
    width: 160px; height: 160px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark, #C89200));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-h); font-size: 64px; font-weight: 700;
    color: #07070F; margin: 0 auto 16px;
    box-shadow: 0 0 60px rgba(255,215,107,0.35), 0 0 120px rgba(255,215,107,0.12);
}
.cta-tagline {
    font-family: var(--font-h); font-size: 28px; font-weight: 700;
    letter-spacing: 6px; text-transform: uppercase;
    background: var(--grad-jobs); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ========== CHARACTER POPUP SECTIONS ========== */
.char-popup-section {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background: var(--bg);
}
.char-popup-section:nth-child(even) {
    background: var(--bg-alt);
}
.char-popup-dark {
    background: #0D0D1C !important;
}
.char-popup-dark .char-popup-text h2 {
    color: #fff;
}
.char-popup-dark .char-popup-text p {
    color: rgba(255,255,255,0.65);
}
.char-popup-dark .section-badge {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
}
.char-popup-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
}
.char-popup-inner-reverse {
    direction: rtl;
}
.char-popup-inner-reverse > * {
    direction: ltr;
}
.char-popup-text h2 {
    font-family: var(--font-h);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--text);
    line-height: 1.05;
    margin-bottom: 16px;
}
.char-popup-text p {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 460px;
}

/* Stage & figure */
.char-popup-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    perspective: 1000px;
}
.char-popup-figure {
    position: relative;
    max-width: 420px;
    width: 100%;
    will-change: transform, opacity;
    transition: none; /* JS controls this */
}
.char-popup-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.25));
    pointer-events: none;
}

/* Initial hidden states for scroll animation */
.char-popup-figure[data-popup="slide-left"] {
    opacity: 0;
    transform: translateX(120px) scale(0.85) rotate(3deg);
}
.char-popup-figure[data-popup="slide-right"] {
    opacity: 0;
    transform: translateX(-120px) scale(0.85) rotate(-3deg);
}

/* Animated-in state */
.char-popup-figure.popup-visible {
    opacity: 1 !important;
    transform: translateX(0) scale(1) rotate(0deg) !important;
}

/* Pop overshoot keyframes for extra punch */
@keyframes popInFromRight {
    0%   { opacity: 0; transform: translateX(160px) scale(0.7) rotate(5deg); }
    60%  { opacity: 1; transform: translateX(-20px) scale(1.05) rotate(-1deg); }
    80%  { transform: translateX(8px) scale(0.98) rotate(0.5deg); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); }
}
@keyframes popInFromLeft {
    0%   { opacity: 0; transform: translateX(-160px) scale(0.7) rotate(-5deg); }
    60%  { opacity: 1; transform: translateX(20px) scale(1.05) rotate(1deg); }
    80%  { transform: translateX(-8px) scale(0.98) rotate(-0.5deg); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); }
}
@keyframes popOut {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(0.9); }
}

.char-popup-figure.popup-animate-left {
    animation: popInFromRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.char-popup-figure.popup-animate-right {
    animation: popInFromLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Subtle float after pop-in */
.char-popup-figure.popup-visible::after {
    content: '';
    position: absolute;
    inset: 0;
    animation: gentleFloat 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Glow effect behind characters */
.char-popup-stage::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,122,255,0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}
.char-popup-stage-right::before {
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}
.char-popup-stage-left::before {
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}
.char-popup-figure.popup-visible ~ .char-popup-stage::before,
.char-popup-stage:has(.popup-visible)::before {
    opacity: 1;
}

/* Character-specific accent colors */
.char-popup-1 .char-popup-stage::before {
    background: radial-gradient(circle, rgba(48,209,88,0.15) 0%, transparent 70%);
}
.char-popup-2 .char-popup-stage::before {
    background: radial-gradient(circle, rgba(200,146,0,0.15) 0%, transparent 70%);
}
.char-popup-3 .char-popup-stage::before {
    background: radial-gradient(circle, rgba(175,82,222,0.15) 0%, transparent 70%);
}
.char-popup-4 .char-popup-stage::before {
    background: radial-gradient(circle, rgba(255,215,107,0.20) 0%, transparent 70%);
    width: 400px;
    height: 400px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-character { display: none; }
    .hero-inner { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 16px;
        box-shadow: var(--shadow);
    }
    .mobile-menu-btn { display: flex; }

    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .persona-grid { grid-template-columns: 1fr; }
    .portal-cards { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-featured { transform: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
    .showcase-row { grid-template-columns: 1fr; gap: 40px; }
    .showcase-reverse { direction: ltr; }
    .app-preview-inner { grid-template-columns: 1fr; }
    .app-preview-phones { justify-content: center; }
    .char-popup-inner { grid-template-columns: 1fr; min-height: auto; gap: 24px; }
    .char-popup-inner-reverse { direction: ltr; }
    .char-popup-text { text-align: center; }
    .char-popup-text p { margin-left: auto; margin-right: auto; }
    .char-popup-stage { min-height: 360px; }
    .char-popup-figure { max-width: 300px; }
    .beach-bossman { width: 280px; right: -20px; }
    .beach-headline { font-size: clamp(36px, 8vw, 56px); }
    .beach-text-block { max-width: 100%; text-align: center; }
    .beach-sub { margin-left: auto; margin-right: auto; }
    .beach-overlay {
        background:
            linear-gradient(to bottom, rgba(7,7,15,0.6) 0%, rgba(7,7,15,0.3) 30%, rgba(7,7,15,0.7) 70%, rgba(7,7,15,0.9) 100%);
    }
    .campaign-card { flex: 0 0 280px; }
    .campaign-card-img { height: 320px; }
    .monster-story-captions { grid-template-columns: 1fr; }
    .boss-hero-row { grid-template-columns: 1fr; gap: 40px; }
    .boss-hero-poster { max-width: 400px; margin: 0 auto; }
    .boss-hero-text { text-align: center; }
    .cta-inner { grid-template-columns: 1fr; }
    .cta-character { max-height: 360px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .pa-input-row { flex-direction: column; }
    .price-comparison { padding: 24px 20px; }
    .char-popup-stage { min-height: 280px; }
    .char-popup-figure { max-width: 260px; }
    .beach-bossman { display: none; }
    .beach-sticky-wrap { height: 250vh; }
    .campaign-card { flex: 0 0 240px; }
    .campaign-card-img { height: 280px; }
}
