/* ============================================
   HIRE FRANK — Landing Page Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-card: #f8f8fa;
    --bg-card-hover: #f0f0f3;
    --bg-elevated: #eeeef1;

    --text-primary: #1a1a1e;
    --text-secondary: #5a5a66;
    --text-muted: #9a9aa6;
    --text-accent: #d97706;

    --accent: #d97706;
    --accent-dim: rgba(217, 119, 6, 0.1);
    --accent-glow: rgba(217, 119, 6, 0.06);
    --accent-hover: #b45309;

    --green: #16a34a;
    --green-dim: rgba(22, 163, 74, 0.1);
    --red: #dc2626;
    --red-dim: rgba(220, 38, 38, 0.08);

    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: 0.2s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Grid Background --- */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* --- Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--text-muted);
    font-weight: 400;
}

.logo-accent {
    color: var(--accent);
}

.nav-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--accent-dim);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
}

/* --- Hero --- */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    animation: fadeInDown 0.6s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

.hero-headline {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.headline-strike {
    text-decoration: line-through;
    text-decoration-color: var(--red);
    text-decoration-thickness: 3px;
    color: var(--text-muted);
}

.headline-accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-sub strong {
    color: var(--text-primary);
}

/* --- VSL --- */
.vsl-wrapper {
    position: relative;
    max-width: 780px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.vsl-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-slow);
}

.vsl-container:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
}

.vsl-container:hover .vsl-play-btn {
    transform: scale(1.1);
    background: var(--accent);
    color: #ffffff;
}

#vslVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--bg-card);
}

.vsl-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 9, 11, 0.4);
    transition: opacity var(--transition-slow);
    cursor: pointer;
    z-index: 2;
}

.vsl-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.vsl-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition-slow);
    backdrop-filter: blur(8px);
}

.vsl-play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.vsl-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Hero CTA --- */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-cta-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.25);
}

.btn-large {
    padding: 20px 44px;
    font-size: 18px;
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
}

/* --- Proof Bar / Marquee --- */
.proof-bar {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    overflow: hidden;
}

.proof-bar .proof-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 20px;
}

.marquee-track {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.marquee-logo {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    padding: 0 8px;
    opacity: 0.7;
}

.marquee-dot {
    font-size: 18px;
    color: var(--text-muted);
    padding: 0 12px;
    opacity: 0.4;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Section Styles --- */
.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.section-headline {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 56px;
}

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

/* --- Problem Section --- */
.problem-section {
    padding: 120px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.problem-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Frank Section --- */
/* --- Journey Timeline (Wonderly-style) --- */
.journey-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.journey-timeline {
    position: relative;
    max-width: 680px;
    margin: 64px auto 0;
    padding-left: 60px;
}

/* Vertical line */
.journey-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
}

/* Scrolling arrow */
.journey-arrow {
    position: sticky;
    top: 50vh;
    left: -15px;
    width: 32px;
    height: 32px;
    color: var(--accent);
    z-index: 5;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
    transition: transform 0.2s ease;
}

/* Step */
.journey-step {
    position: relative;
    padding-bottom: 56px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.journey-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dot on the line */
.journey-step::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    z-index: 3;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.journey-step.visible::before {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

/* Time label */
.journey-time {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* Card */
.journey-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 28px 24px;
    transition: border-color 0.3s ease;
}

.journey-step.visible .journey-card {
    border-color: var(--border-hover);
}

.journey-card-final {
    background:
        radial-gradient(ellipse at bottom right, var(--accent-glow) 0%, transparent 50%),
        var(--bg-card);
    border-color: rgba(245, 158, 11, 0.15);
}

.journey-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.journey-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.journey-card p em {
    color: var(--accent);
    font-style: normal;
}

/* Deliverable tag row */
.journey-deliverable {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.deliverable-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .journey-timeline {
        padding-left: 44px;
    }
    .journey-line {
        left: 12px;
    }
    .journey-step::before {
        left: -40px;
    }
    .journey-card {
        padding: 20px;
    }
    .journey-card h3 {
        font-size: 18px;
    }
}

/* --- Math / Comparison --- */
.math-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.comparison-table {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 56px auto 48px;
    max-width: 800px;
}

.comparison-col {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px 28px;
    text-align: left;
}

.comparison-old {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
}

.comparison-new {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    border-color: rgba(245, 158, 11, 0.15);
    background:
        radial-gradient(ellipse at bottom right, var(--accent-glow) 0%, transparent 60%),
        var(--bg-card);
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.comparison-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.comparison-verdict {
    font-size: 20px;
}

.comparison-vs {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0 4px;
    background: var(--bg-primary);
    z-index: 1;
    border: 1px solid var(--border);
    border-radius: 4px;
    align-self: center;
    margin: 0 -8px;
    letter-spacing: 0.05em;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.comparison-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.comparison-value {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    white-space: nowrap;
}

.comparison-value.accent {
    color: var(--accent);
}

.math-callout {
    max-width: 600px;
    margin: 0 auto;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.math-callout p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.math-callout strong {
    font-size: 17px;
    color: var(--accent);
}

/* --- Guarantee --- */
.guarantee-section {
    padding: 120px 0;
}

.guarantee-card {
    text-align: center;
    padding: 64px 48px;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(245, 158, 11, 0.2);
    background:
        radial-gradient(ellipse at top, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, var(--accent-glow) 0%, transparent 50%),
        var(--bg-card);
}

.guarantee-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 6px 20px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.guarantee-headline {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.guarantee-number {
    font-family: var(--font-mono);
    font-size: clamp(32px, 5vw, 52px);
    color: var(--accent);
}

.guarantee-sub {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.guarantee-refund {
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    background: var(--green-dim);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
}

/* --- Process --- */
.process-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.process-timeline {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    gap: 32px;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.step-line {
    width: 2px;
    flex-grow: 1;
    background: var(--border);
    min-height: 40px;
}

.step-line.last {
    background: transparent;
}

.step-content {
    padding-bottom: 48px;
}

.step-time {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 520px;
}

/* --- ICP Section --- */
.icp-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.icp-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px auto 32px;
    max-width: 700px;
}

.icp-tag {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 100px;
    transition: var(--transition);
}

.icp-tag:hover {
    border-color: var(--accent-dim);
    background: var(--bg-card-hover);
    color: var(--accent);
}

.icp-note {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.icp-note strong {
    color: var(--text-primary);
}

/* --- Scope --- */
.scope-section {
    padding: 0 0 120px;
}

.scope-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.scope-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.scope-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.scope-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-headline {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.cta-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2352525b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-footer {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

/* --- Footer --- */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer-note {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.footer-legal {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .proof-items {
        gap: 24px;
    }

    .proof-divider {
        display: none;
    }

    .proof-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

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

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

    .feature-card-large {
        grid-column: span 1;
    }

    .comparison-table {
        flex-direction: column;
    }

    .comparison-old {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        border-right: 1px solid var(--border);
        border-bottom: none;
    }

    .comparison-new {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .comparison-vs {
        align-self: center;
        margin: -8px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .guarantee-card {
        padding: 40px 24px;
    }

    .process-step {
        gap: 20px;
    }

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

@media (max-width: 480px) {
    .nav-cta {
        display: none;
    }

    .proof-number {
        font-size: 24px;
    }

    .section-headline {
        font-size: 28px;
    }
}

/* --- Case Studies --- */
.cases-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}

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

    .case-stats {
        gap: 16px;
    }

    .cases-section {
        padding: 60px 0;
    }
}

.case-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.case-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.case-industry {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.case-headline {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.case-stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 16px;
}

.case-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-card:hover .case-read {
    opacity: 1;
    transform: translateX(0);
}

/* --- Bottom CTA --- */
.bottom-cta {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    background:
        radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%),
        var(--bg-primary);
}

.bottom-cta .btn-large {
    font-size: 18px;
    padding: 18px 48px;
}

/* ============================================
   Case Study Modal
   ============================================ */

/* --- Body scroll lock --- */
body.modal-open {
    overflow: hidden;
}

/* --- Overlay --- */
.case-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.case-modal.active {
    opacity: 1;
    visibility: visible;
}

/* --- Backdrop --- */
.case-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* --- Content panel --- */
.case-modal-content {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    margin: 0 24px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-xl);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 24px 80px rgba(0, 0, 0, 0.15),
        0 0 120px rgba(217, 119, 6, 0.04);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--text-muted) transparent;
}

.case-modal.active .case-modal-content {
    transform: translateY(0) scale(1);
}

.case-modal-content::-webkit-scrollbar {
    width: 6px;
}

.case-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.case-modal-content::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

/* --- Close button --- */
.case-modal-close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
}

.case-modal-close:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* --- Modal body --- */
.case-modal-body {
    padding: 8px 48px 48px;
}

/* --- Industry tag --- */
.modal-industry {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--accent-dim);
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    margin-bottom: 20px;
}

/* --- Company heading --- */
.modal-company {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 40px;
}

/* --- Section headings --- */
.modal-section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.modal-section-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

/* --- Stat circles --- */
.modal-stats-row {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin: 44px 0;
}

.modal-stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.modal-stat-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.08);
    transition: var(--transition);
}

.modal-stat-ring:hover {
    box-shadow: 0 0 32px rgba(245, 158, 11, 0.15);
    transform: scale(1.05);
}

.modal-stat-value {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.modal-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

/* --- Quote block --- */
.modal-quote-block {
    border-left: 3px solid var(--accent);
    padding: 24px 28px;
    background:
        linear-gradient(90deg, var(--accent-glow) 0%, transparent 40%),
        var(--bg-elevated);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 40px 0;
}

.modal-quote-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.modal-quote-attr {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-quote-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-quote-title {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Modal CTA --- */
.modal-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.modal-cta .btn {
    width: 100%;
    justify-content: center;
}

/* --- Divider --- */
.modal-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0 36px;
}

/* --- Modal responsive --- */
@media (max-width: 640px) {
    .case-modal-body {
        padding: 8px 24px 36px;
    }

    .modal-company {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .modal-stats-row {
        gap: 16px;
    }

    .modal-stat-ring {
        width: 80px;
        height: 80px;
    }

    .modal-stat-value {
        font-size: 18px;
    }

    .modal-stat-label {
        font-size: 10px;
    }

    .modal-quote-block {
        padding: 16px 20px;
    }

    .modal-section-text {
        font-size: 15px;
    }
}
