/* ============================================================
   Jobflo Landing Page — Stylesheet
   ============================================================ */

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

:root {
    /* Dark palette */
    --dark-bg:       #000000;
    --dark-surface:  #0a0a0f;
    --dark-border:   rgba(255,255,255,0.08);
    /* Accent */
    --accent:        #4f8cf7;
    --accent-glow:   rgba(79, 140, 247, 0.32);
    --accent-muted:  rgba(79, 140, 247, 0.12);
    /* Light palette (form section) */
    --blue-primary:  #1c57b6;
    --text-dark:     #161c2d;
    --text-body:     #313131;
    --text-muted:    #626262;
    --text-grey:     #939393;
    --border-input:  #c0d5de;
    --border-light:  #e9e9e9;
    --bg-offwhite:   #f8f8f8;
    --white:         #ffffff;
    --shadow-xs:     0 1px 2px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--dark-bg);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 60px;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header .logo {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.13px;
    color: #f2f2f2;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.site-header .logo:link,
.site-header .logo:visited {
    color: #f2f2f2;
}
.site-header.is-scrolled .logo {
    opacity: 1;
    transform: none;
}

.site-header nav {
    display: flex;
    gap: 40px;
}

.site-header nav a {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.1px;
    color: #f2f2f2;
    text-decoration: none;
    opacity: 0.85;
    position: relative;
    transition: opacity .2s;
}
.site-header nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0%; height: 1.5px;
    background: currentColor;
    transition: width 0.22s ease;
}
.site-header nav a:hover { opacity: 1; }
.site-header nav a:hover::after { width: 100%; }

.site-header.is-scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--dark-bg) url('images/hero-bg.png') no-repeat center top;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: clamp(320px, 45vw, 680px);
    overflow-x: clip;
    position: relative;
}

/* Animated ambient glow behind hero content */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(1000px, 130vw);
    height: 560px;
    background: radial-gradient(ellipse at 50% 38%,
        rgba(79, 140, 247, 0.20) 0%,
        rgba(79, 140, 247, 0.07) 45%,
        transparent 70%);
    pointer-events: none;
    animation: heroGlow 7s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1;    transform: translateX(-50%) scale(1.08); }
}

.hero-content {
    text-align: center;
    padding: 60px 40px 48px;
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.hero-app-name {
    font-weight: 700;
    font-size: clamp(56px, 8vw, 96px);
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(130deg, #ffffff 25%, #a8c4fb 70%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 16px;
    animation: heroFadeUp 0.7s ease 0.1s both;
}

.hero-headline {
    font-weight: 700;
    font-size: clamp(28px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #f2f2f2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    animation: heroFadeUp 0.7s ease 0.25s both;
}

.hero-tagline {
    font-weight: 700;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.5;
    letter-spacing: -0.2px;
    color: #fff;
    opacity: .75;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 32px;
    animation: heroFadeUp 0.7s ease 0.4s both;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    animation: heroFadeUp 0.7s ease 0.55s both;
}

.hero-badges-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badges img { height: 52px; width: auto; }

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: background .2s;
}
.store-badge:hover { background: #222; }
.store-badge span { font-size: 11px; line-height: 1.2; }
.store-badge strong { font-size: 17px; font-weight: 700; display: block; }

.hero-badge-link {
    display: inline-block;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hero-badge-link:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}
.hero-badge-link:active { transform: scale(0.97); transition-duration: 0.1s; }


/* ============================================================
   SHARED DARK SECTION
   ============================================================ */
.dark {
    background: var(--dark-surface);
    color: #fff;
}

/* ============================================================
   iOS APP CAROUSEL
   ============================================================ */
.ios-carousel {
    border-top: none;
    padding: 80px 100px 0;
    overflow: hidden;
    position: relative;
}

.ios-carousel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow) 50%, transparent);
}

.ios-carousel__label {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1;
    margin-bottom: 40px;
    background: linear-gradient(120deg, #ffffff 55%, #a8c4fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ios-carousel__body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.ios-carousel__notepad {
    flex: 0 0 500px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 560px;
}

.ios-slides { flex: 1; }

.ios-slide {
    display: none;
    flex-direction: column;
    gap: 16px;
}
.ios-slide.is-active { display: flex; }

.ios-slide__heading {
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 700;
    letter-spacing: -2.2px;
    color: #fff;
    line-height: 1;
}

.ios-slide__sub {
    font-weight: 700;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

.ios-slide__body {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
}

.ios-carousel__nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ios-carousel__arrow {
    background: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.ios-carousel__arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 0 12px var(--accent-muted);
}
.ios-carousel__arrow:active { transform: scale(0.94); }

.ios-carousel__dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ios-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.ios-dot--active {
    background: var(--accent);
    transform: scale(1.35);
    box-shadow: 0 0 8px var(--accent-glow);
}

.ios-carousel__phone-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ios-carousel__phone-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: opacity 0.25s ease;
}

/* Mac section modifier — wider landscape screenshot, no right padding */
.ios-carousel--mac {
    padding-right: 0;
    padding-bottom: 0;
}
.ios-carousel--mac .ios-carousel__body {
    align-items: center;
    gap: 48px;
}
.ios-carousel--mac .ios-carousel__notepad {
    flex: 0 0 400px;
    min-height: auto;
    background: #000;
    padding: 40px 40px 48px;
    gap: 28px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5), 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 0 16px 16px 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ios-carousel--mac .ios-carousel__phone-wrap {
    overflow: hidden;
    align-items: flex-start;
    padding-bottom: 0;
}
.mac-screen-img {
    width: 100%;
    max-width: 860px;
    height: auto;
    display: block;
    border-radius: 12px 0 0 12px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.5), 0 24px 80px rgba(0,0,0,0.6);
    transition: opacity 0.25s ease;
}


/* ============================================================
   FEATURE GALLERY — title + phone row
   ============================================================ */
.feature-gallery {
    padding: 80px 60px 0;
    border-top: none;
    position: relative;
}

.feature-gallery::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow) 50%, transparent);
}

.gallery-header {
    max-width: 860px;
    margin-bottom: 56px;
}

.gallery-title {
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #ffffff 55%, #a8c4fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gallery-desc {
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

.gallery-phones {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
}

.gallery-phones img {
    flex: 0 0 auto;
    width: calc(25% - 15px);
    aspect-ratio: 350 / 722;
    height: auto;
    border-radius: 4px;
    transition: transform 0.35s ease, filter 0.35s ease;
    object-fit: cover;
}
.gallery-phones img:hover {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 20px 40px rgba(79, 140, 247, 0.28));
}


/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
    background: var(--dark-bg);
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    border-top: none;
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow) 50%, transparent);
}

.form-section .section-title {
    text-align: center;
}

.form-section .section-title h2 {
    font-weight: 700;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.2;
    letter-spacing: -1.8px;
    margin-bottom: 10px;
    background: linear-gradient(120deg, #ffffff 55%, #a8c4fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.form-section .section-title p {
    font-size: 19px;
    line-height: 1.68;
    letter-spacing: -0.2px;
    color: rgba(255,255,255,0.7);
}

.form-card {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- tabs --- */
.form-tabs {
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 4px;
    display: flex;
}

.form-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.form-tab:hover:not(.active) { background: rgba(255,255,255,0.08); }
.form-tab:active              { transform: scale(0.95); transition-duration: 0.08s; }

.form-tab .tab-emoji {
    font-size: 28px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-tab .tab-label {
    font-size: 12px;
    line-height: 1.33;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}
.form-tab.active {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.5);
}
.form-tab.active .tab-label {
    font-weight: 700;
    color: #fff;
}
.form-tab.active .tab-emoji { transform: scale(1.2); }

.platform-error {
    outline: 1.5px solid rgba(255, 80, 80, 0.65);
    border-radius: 9px;
    animation: shake 0.35s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

@keyframes emojiBounce {
    0%   { transform: scale(1.2); }
    40%  { transform: scale(1.38) rotate(-6deg); }
    70%  { transform: scale(1.15) rotate(3deg); }
    100% { transform: scale(1.2); }
}
.tab-emoji.bounce { animation: emojiBounce 0.38s ease; }

/* --- fields --- */
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field label {
    font-size: 14px;
    line-height: 1.43;
    color: rgba(255,255,255,0.8);
}
.field input,
.field textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.43;
    color: #fff;
    background: transparent;
    border: 1px solid var(--border-input);
    border-radius: 4px;
    padding: 12px 14px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.field input:focus,
.field textarea:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(28,87,182,.20);
    transform: translateY(-1px);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.3); }
.field textarea { min-height: 100px; resize: vertical; }

/* --- upload --- */
.upload-label-text { font-size: 14px; color: rgba(255,255,255,0.8); }

.upload-area {
    border: 1.5px dashed var(--border-input);
    border-radius: 4px;
    background: transparent;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.upload-area:hover {
    border-color: var(--blue-primary);
    background: rgba(28,87,182,0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(28,87,182,.15);
}
.upload-area.dragover {
    border-color: var(--blue-primary);
    background: rgba(28,87,182,0.14);
    transform: scale(1.025);
    box-shadow: 0 6px 24px rgba(28,87,182,.22);
}
.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.upload-icon svg { width: 18px; height: 18px; color: rgba(255,255,255,0.6); }

.upload-text { text-align: center; }
.upload-text .click  { font-size: 14px; color: var(--blue-primary); }
.upload-text .or     { font-size: 14px; color: rgba(255,255,255,0.5); }
.upload-text .hint   { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }

.upload-filename { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; display: none; }

@keyframes popIn {
    0%   { opacity: 0; transform: translateY(6px) scale(0.95); }
    60%  { transform: translateY(-2px) scale(1.03); }
    100% { opacity: 1; transform: none; }
}
.upload-filename.pop { animation: popIn 0.3s ease both; }

/* --- form actions --- */
.form-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

#support-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    height: 36px;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: background 0.15s, opacity 0.15s, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.14);
}
.btn:active:not(:disabled) {
    transform: scale(0.96);
    box-shadow: none;
    transition-duration: 0.08s;
}

.btn-secondary {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.14);
}
.btn-secondary:hover:not(:disabled) {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 0 18px rgba(79, 140, 247, 0.35);
}
.btn-primary:hover:not(:disabled) {
    background: #6b9ef9;
    box-shadow: 0 0 24px rgba(79, 140, 247, 0.5);
}
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: rippleAnim 0.45s linear;
    background: rgba(255,255,255,0.28);
    pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* --- form feedback --- */
.form-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}
.form-message.success {
    background: #e6f4ea;
    color: #1a6832;
    border: 1px solid #b7dfbf;
    animation: feedbackSlide 0.28s ease both;
}
.form-message.error {
    background: #fdecea;
    color: #a32b26;
    border: 1px solid #f5c6c4;
    animation: feedbackSlide 0.28s ease both;
}
@keyframes feedbackSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   SECONDARY CTA
   ============================================================ */
.secondary-cta { line-height: 0; }
.secondary-cta img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark-surface);
    border-top: none;
    padding: 24px 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow) 50%, transparent);
}

.site-footer .logo {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.13px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.site-footer nav { display: flex; gap: 32px; flex-wrap: wrap; }

.site-footer nav a {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.1px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    position: relative;
    transition: color .2s;
}
.site-footer nav a:hover { color: rgba(255,255,255,0.85); }
.site-footer nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0%; height: 1.5px;
    background: currentColor;
    transition: width 0.22s ease;
}
.site-footer nav a:hover::after { width: 100%; }

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal="up"]    { transform: translateY(36px); }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-delay="50"]  { transition-delay: 0.05s; }
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.30s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.40s; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ios-carousel { padding: 60px 60px 0; }
    .ios-carousel__notepad { flex: 0 0 380px; }
    .ios-carousel--mac .ios-carousel__notepad { flex: 0 0 340px; }
}

@media (max-width: 860px) {
    .site-header { padding: 16px 24px; }
    .site-header nav { gap: 20px; }

    .feature-gallery { padding: 60px 32px; }

    .ios-carousel { padding: 60px 40px 0; }
    .ios-carousel--mac { padding-right: 0; padding-bottom: 0; }
    .ios-carousel__body { flex-direction: column; }
    .ios-carousel--mac .ios-carousel__body { flex-direction: column; }
    .ios-carousel__notepad { flex: none; width: 100%; min-height: auto; }
    .ios-carousel--mac .ios-carousel__notepad {
        flex: none; width: 100%;
        border-radius: 0;
        align-self: auto;
        padding: 32px 24px 40px;
    }
    .ios-carousel__phone-wrap { justify-content: center; }
    .ios-carousel__phone-img { max-width: 320px; }
    .mac-screen-img { border-radius: 8px; max-width: 100%; }

    .gallery-phones {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    .gallery-phones::-webkit-scrollbar { display: none; }
    .gallery-phones img { flex: 0 0 220px; width: 220px; }

    .site-footer { padding: 20px 24px; }
}

@media (max-width: 600px) {
    .site-header nav { display: none; }

    .hero-content { padding: 48px 24px 32px; }

    .feature-gallery { padding: 52px 24px; }
    .gallery-header { margin-bottom: 36px; }

    .form-section { padding: 60px 24px; }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================================
   HELP / FAQ ACCORDION
   ============================================================ */
.help-section {
    padding: 100px 60px;
    background: var(--dark-surface);
    position: relative;
    border-top: none;
}

/* Accent top line — matches other sections */
.help-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow) 50%, transparent);
}

.help-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Gradient clip text — matches .gallery-title */
.help-title {
    font-weight: 700;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 14px;
    background: linear-gradient(120deg, #ffffff 55%, #a8c4fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.help-subtitle {
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin: 0 auto;
}

.help-accordion {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Card — same dark glass feel as other UI cards on the page */
.help-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease,
                box-shadow 0.25s ease;
}

.help-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.help-item:has(.help-question[aria-expanded="true"]) {
    border-color: rgba(79, 140, 247, 0.35);
    background: rgba(79, 140, 247, 0.05);
    box-shadow: 0 0 0 1px rgba(79, 140, 247, 0.12) inset,
                0 4px 24px rgba(79, 140, 247, 0.08);
}

.help-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: opacity 0.15s ease;
}

.help-question:hover {
    opacity: 0.9;
}

.help-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: 16px;
}

/* Icon pill */
.help-icon {
    font-size: 17px;
    line-height: 1;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-question > span:nth-child(2) {
    flex: 1;
}

/* Chevron — SVG-style arrow so it feels sharp at any size */
.help-chevron {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-style: normal;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s ease,
                background 0.2s ease,
                border-color 0.2s ease;
}

.help-question[aria-expanded="true"] .help-chevron {
    transform: rotate(90deg);
    color: var(--accent);
    background: rgba(79, 140, 247, 0.12);
    border-color: rgba(79, 140, 247, 0.3);
}

/* Accordion open/close — grid trick for smooth height */
.help-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-answer.is-open {
    grid-template-rows: 1fr;
}

.help-answer-inner {
    overflow: hidden;
}

.help-answer p {
    padding: 4px 22px 24px 74px;
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.help-answer p strong {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

@media (max-width: 860px) {
    .help-section { padding: 72px 32px; }
}

@media (max-width: 600px) {
    .help-section { padding: 60px 20px; }
    .help-answer p { padding-left: 22px; }
    .help-icon { width: 32px; height: 32px; font-size: 15px; }
}

/* ============================================================
   FEATURE GRID — icon cards (Ghost Detection, Job Match, Streaks)
   ============================================================ */
.feature-grid {
    padding: 100px 60px;
    position: relative;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,140,247,0.08) 0%, transparent 60%);
}

.feature-grid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow) 50%, transparent);
}

.feature-grid__header {
    max-width: 720px;
    margin: 0 0 52px;
}

.feature-grid__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(165deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    padding: 36px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px at 50% 0%, rgba(79,140,247,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(79,140,247,0.35);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,140,247,0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.feature-card__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 1;
}

.feature-card__body {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    flex: 1;
    position: relative;
    z-index: 1;
}
.feature-card__body strong {
    color: #fff;
    font-weight: 600;
}

.feature-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79,140,247,0.12);
    border: 1px solid rgba(79,140,247,0.25);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #a8c4fb;
    letter-spacing: 0.3px;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.alert-tiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.alert-tier {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.alert-tier:hover {
    background: rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

.alert-tier__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 12px currentColor;
}

.alert-tier__label {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    color: rgba(255,255,255,0.85);
}

.alert-tier__days {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

@media (max-width: 900px) {
    .feature-grid { padding: 80px 40px; }
    .feature-grid__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .feature-grid { padding: 60px 24px; }
    .feature-grid__cards { grid-template-columns: 1fr; }
    .feature-grid__header { margin-bottom: 36px; }
}

/* ============================================================
   BARLOW CODE — Privacy Manifesto
   ============================================================ */
.barlow-section {
    padding: 120px 60px;
    position: relative;
    background: 
        radial-gradient(ellipse 90% 70% at 20% 20%, rgba(139,92,246,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 80%, rgba(79,140,247,0.05) 0%, transparent 50%),
        var(--dark-surface);
}

.barlow-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.4) 20%, var(--accent) 50%, rgba(139,92,246,0.4) 80%, transparent);
}

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

.barlow-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a78bfa;
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.25);
    border-radius: 100px;
}

.barlow-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 30%, #c4b5fd 70%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.barlow-sub {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    max-width: 640px;
    margin: 0 auto;
}

.barlow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.barlow-card {
    background: linear-gradient(165deg, rgba(255,255,255,0.05) 0%, rgba(139,92,246,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px 36px 44px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.barlow-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #a78bfa 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.barlow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px at 100% 0%, rgba(139,92,246,0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.barlow-card:hover {
    border-color: rgba(139,92,246,0.35);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 56px rgba(0,0,0,0.35), 0 0 0 1px rgba(139,92,246,0.15);
}

.barlow-card:hover::before,
.barlow-card:hover::after {
    opacity: 1;
}

.barlow-card__num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(167,139,250,0.5);
    margin-bottom: 4px;
}

.barlow-card__icon {
    font-size: 32px;
    line-height: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(79,140,247,0.1) 100%);
    border: 1px solid rgba(167,139,250,0.2);
    border-radius: 16px;
}

.barlow-card__title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}

.barlow-card__body {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    flex: 1;
}

.barlow-footnote {
    margin-top: 56px;
    max-width: 1000px;
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    font-style: normal;
    text-align: center;
    padding: 24px 32px;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.barlow-footnote em {
    font-style: italic;
    color: rgba(167,139,250,0.7);
}

@media (max-width: 768px) {
    .barlow-section { padding: 80px 32px; }
    .barlow-header { margin-bottom: 48px; }
    .barlow-grid { grid-template-columns: 1fr; }
    .barlow-title { letter-spacing: -1.2px; }
    .barlow-card { padding: 32px 28px 36px; }
    .barlow-footnote { padding: 20px 24px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .help-answer,
    .help-chevron {
        transition: none !important;
    }

    [data-reveal],
    .btn, .hero-badge-link, .store-badge,
    .upload-area, .form-tab, .form-tab .tab-emoji,
    .field input, .field textarea,
    .site-header,
    .gallery-phones img, .ios-carousel__phone-img, .mac-screen-img,
    .ios-carousel__arrow {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    .hero-app-name, .hero-headline, .hero-tagline, .hero-badges {
        animation: none;
    }
    .hero::before {
        animation: none !important;
    }
}
