/* RevRescue Brand Tokens */
:root {
    --navy: #111827;
    --orange: #FF5A1F;
    --white: #FFFFFF;
    --soft-slate: #F4F6F8;
    --green: #18A957;
    --grey-text: #6B7280;
    --border-grey: #E5E7EB;
    --warm-cream: #FFF7ED;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    
    /* Standardized Spacing System */
    --section-padding-desktop: 88px;
    --section-padding-tablet: 72px;
    --section-padding-mobile: 56px;
    --header-height-desktop: 72px;
    --header-height-mobile: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--navy);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding-desktop) 0;
}

@media (max-width: 1023px) {
    section { padding: var(--section-padding-tablet) 0; }
}

@media (max-width: 767px) {
    section { padding: var(--section-padding-mobile) 0; }
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

@media (max-width: 767px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
}

p {
    margin-bottom: 1.25rem;
    color: var(--grey-text);
}

.text-navy { color: var(--navy); }
.text-center { text-align: center; }

.section-subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--grey-text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid transparent;
    white-space: normal;
    text-align: center;
    min-height: 48px;
}

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

.btn-primary:hover {
    background-color: #e44e1a;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--border-grey);
}

.btn-secondary:hover {
    background-color: var(--soft-slate);
    border-color: var(--navy);
}

/* Header */
header {
    height: var(--header-height-desktop);
    background: var(--white);
    border-bottom: 1px solid var(--border-grey);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo img {
    display: block;
    width: 200px; /* Increased by ~15% from 175px */
    height: auto;
}

@media (max-width: 1023px) {
    .logo img { width: 180px; } /* Increased by ~15% from 155px */
}

@media (max-width: 767px) {
    header { height: var(--header-height-mobile); }
    .logo img { width: 155px; } /* Increased by ~15% from 135px */
    .btn-header { padding: 10px 16px; font-size: 0.9rem; min-height: 40px; }
}

/* Hero */
.hero {
    background-color: var(--white);
    padding-top: 64px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.hero .subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 2.5rem;
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }
}

.trust-line {
    font-size: 0.95rem;
    color: var(--grey-text);
    margin-bottom: 0;
}

/* Proof Flow Visual */
.flow-container {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.flow-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-orange { background-color: var(--orange); }
.dot-green { background-color: var(--green); }
.dot-navy { background-color: var(--navy); }

.flow-arrow-small {
    display: flex;
    align-items: center;
    color: var(--navy);
    font-weight: 800;
    font-size: 1.2rem;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .flow-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .flow-pill { width: 100%; max-width: 240px; justify-content: center; }
    .flow-arrow-small { transform: rotate(90deg); padding: 4px 0; }
}

/* Personalised Intro */
.personalised-intro {
    background-color: var(--warm-cream);
    padding: 64px 0;
}

.intro-box {
    max-width: 750px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #fed7aa;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.intro-box p {
    color: var(--navy);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.intro-box p:last-child { margin-bottom: 0; }

/* Video Section */
.video-section {
    background: var(--white);
    padding-bottom: 40px;
}

.video-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: var(--navy);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.play-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 4px;
}


.video-placeholder h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.video-placeholder p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* After-Demo CTA */
.after-demo-cta {
    text-align: center;
    padding: 40px 0 64px;
}

.after-demo-cta h3 {
    margin-bottom: 24px;
}

.after-demo-cta .btn {
    margin-bottom: 20px;
}

.after-demo-cta .supporting-line {
    font-size: 0.95rem;
    color: var(--grey-text);
    margin-bottom: 12px;
}

.privacy-line {
    font-size: 0.85rem;
    color: var(--grey-text);
    margin-top: -8px;
    margin-bottom: 0;
}

.privacy-line.dark {
    color: rgba(255,255,255,0.6);
    margin-top: -10px;
}

/* Problem Section - Refined Alignment */
.problem-section {
    background: var(--soft-slate);
}

.problem-intro {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.problem-intro h2 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.problem-intro .intro-text-block {
    max-width: 760px;
    margin: 0 auto;
}

.problem-intro p {
    margin-bottom: 14px;
    line-height: 1.5;
}

.problem-intro p:last-child { margin-bottom: 0; }

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

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

.problem-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-grey);
    height: 100%;
}

.problem-card h3 {
    min-height: 58px;
    margin-bottom: 22px;
}

.problem-card p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .problem-card h3 {
        min-height: auto;
        margin-bottom: 16px;
    }
}

/* How it Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
    align-items: stretch;
}

@media (max-width: 767px) {
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
}

.step {
    display: flex;
    gap: 20px;
    height: 100%;
    align-items: flex-start;
}

.step-content h3 {
    margin-bottom: 10px;
    line-height: 1.25;
}

.step-content p {
    margin: 0;
    line-height: 1.55;
}

.step-number {
    background: var(--navy);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Lead Card Section */
.lead-capture-section {
    background: var(--warm-cream);
}

.lead-card-container {
    display: flex;
    gap: 64px;
    align-items: center;
}

@media (max-width: 767px) {
    .lead-card-container {
        flex-direction: column;
        gap: 48px;
    }

    .lead-card-container > div:first-child {
        text-align: center;
        width: 100%;
    }

    .lead-capture-section .outcomes-list {
        text-align: left;
    }

    .lead-capture-section .outcomes-list li {
        text-align: left;
        justify-content: flex-start;
    }
}

.lead-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-grey);
    padding: 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

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

.lead-card-header h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--grey-text);
}

.status-badge {
    background: #fff7ed;
    color: var(--orange);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.lead-field {
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

.field-label { color: var(--grey-text); }
.field-value { font-weight: 600; }

.tag-success {
    background: #dcfce7;
    color: var(--green);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 10px;
}

/* Outcomes */
.outcomes-content {
    max-width: 750px;
    margin: 0 auto;
}

.outcomes-list {
    list-style: none;
    margin-top: 32px;
}

.outcomes-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-grey);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-weight: 600;
    font-size: 1.1rem;
}

.outcomes-list li:last-child { border-bottom: none; }

.outcomes-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.2;
}

/* Pricing */
.pricing-section {
    background: var(--soft-slate);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

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

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-grey);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border: 2px solid var(--orange);
    position: relative;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.price span {
    font-size: 1.125rem;
    color: var(--grey-text);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--navy);
    display: flex;
    gap: 12px;
}

.pricing-features li::before {
    content: '•';
    color: var(--orange);
    font-weight: bold;
}

.pricing-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--grey-text);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ */
.faq-container {
    max-width: 850px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.faq-item h3 {
    margin-bottom: 10px;
}

.faq-item p {
    margin-bottom: 0;
}

.faq-item:last-child { margin-bottom: 0; }

/* Final CTA - Refined Spacing */
.final-cta {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 88px 0;
}

.final-cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.final-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.25rem;
    margin-bottom: 26px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn {
    margin-bottom: 22px;
}

.secondary-line {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .final-cta { padding: 64px 0; }
    .final-cta h2 { font-size: 2rem; }
    .final-cta p { font-size: 1.1rem; }
}

/* Footer */
footer {
    padding: 48px 0;
    background: var(--white);
    border-top: 1px solid var(--border-grey);
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    width: 32px;
    height: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.footer-contact, .footer-copyright {
    font-size: 0.9rem;
    color: var(--grey-text);
    margin-bottom: 4px;
}

@media (max-width: 767px) {
    footer { padding: 40px 0; }
}
