/* ========================================
   GET MORE CUSTOMERS - STYLESHEET
   Conversion-Focused Web Design
   ======================================== */

/* ========================================
   CSS VARIABLES & DESIGN SYSTEM
   ======================================== */

:root {
    /* Colors */
    --bg-primary: #FAF8F5;
    --bg-white: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #666666;
    --accent-primary: #C2410C;
    --accent-trust: #2A9D8F;
    --accent-warning: #E63946;
    --border-light: #E5E5E5;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Sizing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* ========================================
   BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-weight: var(--font-weight-regular);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 72px;
    letter-spacing: -1px;
}

h2 {
    font-size: 60px;
    letter-spacing: -0.5px;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 32px;
    letter-spacing: -0.3px;
}

h4 {
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-trust);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    font-family: var(--font-family);
    font-weight: var(--font-weight-semibold);
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary-cta {
    background-color: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.25);
}

.btn-primary-cta:hover {
    background-color: #9A3412;
    box-shadow: 0 6px 16px rgba(194, 65, 12, 0.35);
    transform: translateY(-2px);
}

.btn-primary-cta:active {
    transform: translateY(0);
}

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

.btn-secondary-cta:hover {
    background-color: var(--text-primary);
    color: white;
}

.btn-cta {
    background-color: var(--accent-primary);
    color: white !important;
    font-weight: var(--font-weight-semibold);
    padding: 8px 20px !important;
    border-radius: 6px;
}

.btn-cta:hover {
    background-color: #9A3412;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar-custom {
    background-color: var(--bg-white) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-custom .navbar-brand {
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.brand-icon {
    width: 32px;
    height: 32px;
    display: block;
    border-radius: 8px;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: var(--font-weight-semibold);
    margin: 0 var(--spacing-sm);
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-primary) !important;
}

/* ========================================
   SECTIONS & CONTAINERS
   ======================================== */

section {
    padding: 6rem 0;
}

.container {
    max-width: 1200px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.hero-headline {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.hero-subheadline {
    font-size: 22px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.hero-illustration {
    width: 100%;
    height: auto;
    max-width: 560px;
    display: block;
    margin-left: auto;
    filter: drop-shadow(0 18px 36px rgba(17, 17, 17, 0.08));
}

.journey-panel {
    fill: rgba(255, 255, 255, 0.72);
    stroke: rgba(17, 17, 17, 0.08);
    stroke-width: 1;
}

.journey-path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.journey-path-main {
    stroke: var(--accent-trust);
    marker-end: url(#arrowTrust);
    stroke-dasharray: 430;
    stroke-dashoffset: 430;
    animation: drawMainJourney 7s ease-in-out infinite;
}

.journey-path-leak {
    stroke: var(--accent-warning);
    stroke-dasharray: 9 11;
    marker-end: url(#arrowWarning);
    opacity: 0;
    animation: revealLeakPath 7s ease-in-out infinite;
}

.journey-path-missed {
    stroke: rgba(17, 17, 17, 0.18);
    stroke-dasharray: 7 12;
}

.step-ring {
    fill: white;
    stroke: rgba(17, 17, 17, 0.08);
    stroke-width: 2;
    filter: url(#journeyShadow);
    transform-box: fill-box;
    transform-origin: center;
}

.step-core {
    fill: url(#journeyGood);
}

.step-core.warning {
    fill: var(--accent-primary);
}

.step-core.danger {
    fill: url(#journeyBad);
}

.danger-ring {
    stroke: rgba(230, 57, 70, 0.24);
}

.step-icon {
    fill: white;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    text-anchor: middle;
}

.step-label {
    fill: var(--text-primary);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    text-anchor: middle;
}

.danger-text {
    fill: var(--accent-warning);
}

.journey-step .step-ring {
    animation: stepFocus 7s ease-in-out infinite;
}

.step-search .step-ring { animation-delay: 0s; }
.step-visit .step-ring { animation-delay: 1.2s; }
.step-confused .step-ring { animation-delay: 2.4s; }
.step-lost .step-ring { animation-delay: 4.3s; }

.step-confused {
    animation: confusionShake 7s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.journey-booking rect {
    fill: rgba(42, 157, 143, 0.08);
    stroke: rgba(42, 157, 143, 0.28);
    stroke-width: 1.5;
}

.journey-booking text {
    fill: rgba(17, 17, 17, 0.52);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
}

.customer-dot {
    animation: customerJourney 7s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.customer-pulse {
    fill: rgba(255, 107, 53, 0.18);
    animation: customerPulse 1.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.customer-core {
    fill: var(--accent-primary);
    stroke: white;
    stroke-width: 4;
}

@keyframes customerJourney {
    0%, 10% { transform: translate(110px, 82px); }
    25%, 32% { transform: translate(260px, 82px); }
    45%, 52% { transform: translate(260px, 190px); }
    63% { transform: translate(260px, 288px); }
    78%, 92% { transform: translate(120px, 332px); }
    100% { transform: translate(110px, 82px); }
}

@keyframes drawMainJourney {
    0% { stroke-dashoffset: 430; opacity: 0.45; }
    18% { stroke-dashoffset: 300; opacity: 1; }
    38% { stroke-dashoffset: 150; opacity: 1; }
    62%, 100% { stroke-dashoffset: 0; opacity: 0.5; }
}

@keyframes revealLeakPath {
    0%, 55% { opacity: 0; stroke-dashoffset: 130; }
    67% { opacity: 1; stroke-dashoffset: 70; }
    82%, 94% { opacity: 1; stroke-dashoffset: 0; }
    100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes stepFocus {
    0%, 14%, 100% {
        stroke-width: 2;
        stroke: rgba(17, 17, 17, 0.08);
        transform: scale(1);
    }
    5%, 10% {
        stroke-width: 4;
        stroke: rgba(255, 107, 53, 0.35);
        transform: scale(1.08);
    }
}

@keyframes confusionShake {
    0%, 43%, 53%, 100% { transform: translate(260px, 190px); }
    46% { transform: translate(254px, 190px); }
    49% { transform: translate(266px, 190px); }
}

@keyframes customerPulse {
    0%, 100% { opacity: 0.55; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.25); }
}

/* ========================================
   HEALTH SECTION
   ======================================== */

.health-section {
    background-color: var(--bg-white);
}

.health-dashboard {
    background-color: var(--bg-primary);
    padding: var(--spacing-xxl);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.health-metric {
    margin-bottom: var(--spacing-xl);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    align-items: center;
}

.metric-name {
    font-weight: var(--font-weight-semibold);
    font-size: 16px;
    color: var(--text-primary);
}

.metric-score {
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    color: var(--text-primary);
}

.progress-bar-custom {
    width: 100%;
    height: 8px;
    background-color: #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.metric-hint {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.health-status {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.status-warning {
    color: var(--accent-warning);
    font-weight: var(--font-weight-bold);
}

/* ========================================
   COST SECTION
   ======================================== */

.cost-section {
    background-color: var(--bg-primary);
}

.cost-card {
    background-color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    height: 100%;
}

.cost-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.cost-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
}

.cost-icon svg {
    width: 100%;
    height: 100%;
}

.cost-card h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.cost-stat {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.stat-value {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--accent-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
}

.cost-description {
    text-align: center;
    font-size: 16px;
    margin: 0;
}

/* ========================================
   AUDIT SECTION
   ======================================== */

.audit-section {
    background-color: var(--bg-white);
}

.audit-card {
    background-color: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    height: 100%;
}

.audit-card h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
}

.audit-problems,
.audit-solutions {
    margin-bottom: var(--spacing-lg);
}

.audit-problems h4,
.audit-solutions h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.audit-problems ul,
.audit-solutions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.audit-problems li,
.audit-solutions li {
    padding: var(--spacing-sm) 0;
    font-size: 15px;
    color: var(--text-secondary);
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-section {
    background-color: var(--bg-white);
}

.process-timeline {
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-xxl);
    display: block;
}

.process-step {
    cursor: pointer;
    transition: all var(--transition-normal);
}

.process-step:hover circle {
    r: 28px;
}

.process-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.detail-box {
    background-color: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.detail-box h3 {
    margin-bottom: var(--spacing-md);
    color: var(--accent-trust);
    font-size: 24px;
}

.detail-box p {
    font-size: 16px;
    margin: 0;
}

/* ========================================
   STORY SECTION
   ======================================== */

.story-section {
    background-color: var(--bg-primary);
    padding: 8rem 0;
}

.story-illustration {
    width: 100%;
    height: auto;
    max-width: 560px;
    margin-bottom: var(--spacing-xl);
    filter: drop-shadow(0 18px 36px rgba(17, 17, 17, 0.08));
}

.story-panel {
    fill: rgba(255, 255, 255, 0.72);
    stroke: rgba(17, 17, 17, 0.08);
    stroke-width: 1;
}

.story-flow {
    fill: none;
    stroke: var(--accent-trust);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.story-flow-main {
    marker-end: url(#storyArrow);
    stroke-dasharray: 390;
    stroke-dashoffset: 390;
    animation: drawStoryFlow 7s ease-in-out infinite;
}

.story-flow-contact {
    stroke: rgba(42, 157, 143, 0.42);
    stroke-dasharray: 7 12;
    animation: contactPathGlow 7s ease-in-out infinite;
}

.story-card {
    fill: white;
    stroke: rgba(17, 17, 17, 0.08);
    stroke-width: 1;
    filter: url(#storyShadow);
}

.story-stage .story-card {
    animation: storyCardFocus 7s ease-in-out infinite;
}

.story-stage-systems .story-card { animation-delay: 0s; }
.story-stage-problem .story-card { animation-delay: 1.7s; }
.story-stage-solution .story-card { animation-delay: 3.4s; }

.story-card-title {
    fill: var(--text-primary);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    text-anchor: middle;
}

.code-line {
    fill: rgba(42, 157, 143, 0.24);
    animation: codeLinePulse 7s ease-in-out infinite;
}

.line-2 {
    animation-delay: 0.18s;
}

.line-3 {
    animation-delay: 0.36s;
}

.site-frame {
    fill: rgba(255, 107, 53, 0.08);
    stroke: rgba(255, 107, 53, 0.45);
    stroke-width: 2;
}

.site-frame.improved {
    fill: rgba(42, 157, 143, 0.08);
    stroke: rgba(42, 157, 143, 0.55);
}

.site-line {
    stroke-width: 4;
    stroke-linecap: round;
}

.site-line.muted {
    stroke: rgba(230, 57, 70, 0.42);
}

.trust-line {
    stroke: rgba(42, 157, 143, 0.55);
}

.warning-dot {
    fill: var(--accent-warning);
    animation: warningPing 7s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.warning-mark {
    fill: white;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    text-anchor: middle;
}

.cta-bar {
    fill: url(#storyTrust);
    animation: ctaGlow 7s ease-in-out infinite;
}

.story-node {
    stroke: white;
    stroke-width: 4;
}

.story-node.trust {
    fill: url(#storyTrust);
}

.story-node.warning {
    fill: url(#storyWarning);
}

.story-contact rect {
    fill: rgba(42, 157, 143, 0.08);
    stroke: rgba(42, 157, 143, 0.28);
    stroke-width: 1.5;
}

.story-contact text {
    fill: rgba(17, 17, 17, 0.58);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
}

.story-signal {
    animation: storySignalMove 7s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.story-signal-pulse {
    fill: rgba(255, 107, 53, 0.16);
    animation: customerPulse 1.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.story-signal-core {
    fill: var(--accent-primary);
    stroke: white;
    stroke-width: 4;
}

.story-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.story-text:last-child {
    margin-bottom: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

@keyframes storySignalMove {
    0%, 12% { transform: translate(132px, 196px); }
    34%, 44% { transform: translate(282px, 196px); }
    64%, 74% { transform: translate(432px, 196px); }
    86%, 94% { transform: translate(482px, 316px); }
    100% { transform: translate(132px, 196px); }
}

@keyframes drawStoryFlow {
    0% { stroke-dashoffset: 390; opacity: 0.35; }
    24% { stroke-dashoffset: 260; opacity: 1; }
    50% { stroke-dashoffset: 120; opacity: 1; }
    76%, 100% { stroke-dashoffset: 0; opacity: 0.55; }
}

@keyframes contactPathGlow {
    0%, 65% { opacity: 0.25; }
    78%, 94% { opacity: 1; }
    100% { opacity: 0.25; }
}

@keyframes storyCardFocus {
    0%, 18%, 100% {
        stroke: rgba(17, 17, 17, 0.08);
        stroke-width: 1;
    }
    8%, 14% {
        stroke: rgba(255, 107, 53, 0.32);
        stroke-width: 3;
    }
}

@keyframes codeLinePulse {
    0%, 20%, 100% { opacity: 0.35; }
    8%, 16% { opacity: 1; }
}

@keyframes warningPing {
    0%, 36%, 52%, 100% { transform: scale(1); opacity: 1; }
    44% { transform: scale(1.18); opacity: 0.82; }
}

@keyframes ctaGlow {
    0%, 58%, 100% { opacity: 0.72; }
    70%, 88% { opacity: 1; }
}

/* ========================================
   PUBLIC SECTION
   ======================================== */

.public-section {
    background-color: var(--bg-white);
}

.milestones {
    display: grid;
    gap: var(--spacing-xl);
}

.milestone {
    background-color: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.milestone-progress {
    width: 100%;
    height: 6px;
    background-color: #E5E5E5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.milestone-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-trust));
    border-radius: 3px;
    animation: fillBar 1s ease-in-out forwards;
}

@keyframes fillBar {
    from { width: 0%; }
}

.milestone h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 18px;
}

.milestone-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    background-color: var(--bg-primary);
}

.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 16px;
    padding: 20px 24px;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-primary);
}

.accordion-body {
    background-color: var(--bg-white);
    color: var(--text-secondary);
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta-section {
    background-color: var(--bg-white);
    padding: 8rem 0;
}

.final-cta-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.final-cta-flow {
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: var(--spacing-xl) auto;
    display: block;
}

.success-panel {
    fill: rgba(250, 248, 245, 0.74);
    stroke: rgba(17, 17, 17, 0.08);
    stroke-width: 1;
}

.success-path {
    fill: none;
    stroke: var(--accent-trust);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    marker-end: url(#successArrow);
    stroke-dasharray: 510;
    stroke-dashoffset: 510;
    animation: drawSuccessPath 6.5s ease-in-out infinite;
}

.success-ring {
    fill: white;
    stroke: rgba(42, 157, 143, 0.22);
    stroke-width: 2;
    filter: url(#successShadow);
}

.success-core {
    fill: url(#successTrust);
}

.success-number {
    fill: white;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    text-anchor: middle;
}

.success-label {
    fill: var(--text-primary);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-anchor: middle;
}

.success-card,
.success-booking-card {
    fill: white;
    stroke: rgba(17, 17, 17, 0.08);
    stroke-width: 1;
    filter: url(#successShadow);
}

.success-card-title,
.success-booking-title {
    fill: var(--text-primary);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    text-anchor: middle;
}

.success-booking-subtitle {
    fill: var(--text-secondary);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    text-anchor: middle;
}

.success-cta-bar {
    fill: var(--accent-primary);
    animation: successCtaGlow 6.5s ease-in-out infinite;
}

.success-booking-card {
    animation: successBookingGlow 6.5s ease-in-out infinite;
}

.success-step .success-ring,
.success-step .success-card {
    animation: successStepFocus 6.5s ease-in-out infinite;
}

.success-search .success-ring { animation-delay: 0s; }
.success-website .success-card { animation-delay: 1.8s; }

.success-signal {
    animation: successSignalMove 6.5s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.success-signal-pulse {
    fill: rgba(255, 107, 53, 0.16);
    animation: customerPulse 1.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.success-signal-core {
    fill: var(--accent-primary);
    stroke: white;
    stroke-width: 4;
}

@keyframes successSignalMove {
    0%, 12% { transform: translate(104px, 112px); }
    40%, 52% { transform: translate(320px, 92px); }
    78%, 92% { transform: translate(532px, 112px); }
    100% { transform: translate(104px, 112px); }
}

@keyframes drawSuccessPath {
    0% { stroke-dashoffset: 510; opacity: 0.4; }
    34% { stroke-dashoffset: 260; opacity: 1; }
    76%, 100% { stroke-dashoffset: 0; opacity: 0.62; }
}

@keyframes successStepFocus {
    0%, 18%, 100% {
        stroke: rgba(17, 17, 17, 0.08);
        stroke-width: 1;
    }
    8%, 14% {
        stroke: rgba(42, 157, 143, 0.42);
        stroke-width: 3;
    }
}

@keyframes successCtaGlow {
    0%, 42%, 100% { opacity: 0.76; }
    52%, 72% { opacity: 1; }
}

@keyframes successBookingGlow {
    0%, 68%, 100% {
        stroke: rgba(17, 17, 17, 0.08);
        stroke-width: 1;
    }
    80%, 92% {
        stroke: rgba(42, 157, 143, 0.55);
        stroke-width: 3;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer h3 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-lg);
    color: white;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: var(--spacing-md);
}

.footer a {
    color: var(--bg-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.72);
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-page {
    background-color: var(--bg-primary);
}

.legal-hero {
    padding: 6rem 0;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-kicker {
    color: var(--accent-trust);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.legal-content h1 {
    font-size: 56px;
    margin-bottom: var(--spacing-lg);
}

.legal-intro {
    font-size: 21px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xxl);
}

.legal-content h2 {
    font-size: 28px;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.legal-content p,
.legal-content li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.legal-footer {
    margin-top: 0;
}

.legal-footer a {
    color: var(--bg-primary);
}

/* ========================================
   MODAL STYLES
   ======================================== */

.modal-content {
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-primary);
}

.modal-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.form-control,
.form-select {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: var(--font-family);
    font-size: 16px;
    color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   CONFIRMATION TOAST
   ======================================== */

.confirmation-message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1rem;
    width: min(440px, calc(100vw - 2rem));
    padding: 1.25rem;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1px solid rgba(42, 157, 143, 0.22);
    border-left: 6px solid var(--accent-trust);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(17, 17, 17, 0.16);
    animation: slideInRight 0.35s ease-out;
}

.confirmation-message.confirmation-error {
    border-color: rgba(230, 57, 70, 0.24);
    border-left-color: var(--accent-warning);
}

.confirmation-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: white;
    background: var(--accent-trust);
    border-radius: 50%;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.confirmation-error .confirmation-icon {
    background: var(--accent-warning);
}

.confirmation-content h3 {
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-size: 20px;
}

.confirmation-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.confirmation-content .confirmation-note {
    margin-top: 0.55rem;
    color: var(--accent-trust);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
}

.confirmation-error .confirmation-note {
    color: var(--accent-warning);
}

@keyframes slideInRight {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(40px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .confirmation-message {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 1rem;
    }

    .confirmation-icon {
        width: 38px;
        height: 38px;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-stagger {
    opacity: 0;
    transform: translateY(20px);
}

.scroll-stagger.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.scroll-stagger:nth-child(1).visible { transition-delay: 0s; }
.scroll-stagger:nth-child(2).visible { transition-delay: 0.1s; }
.scroll-stagger:nth-child(3).visible { transition-delay: 0.2s; }
.scroll-stagger:nth-child(4).visible { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Extra Large (1400px and up) */
@media (max-width: 1399px) {
    h1 { font-size: 64px; }
    h2 { font-size: 52px; }
    h3 { font-size: 28px; }
}

/* Large (1200px to 1399px) */
@media (max-width: 1199px) {
    h1 { font-size: 56px; }
    h2 { font-size: 48px; }
    h3 { font-size: 24px; }
    
    section { padding: 5rem 0; }
    
    .hero-section { padding: 6rem 0; }
    
    .process-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium (992px to 1199px) */
@media (max-width: 991px) {
    h1 { font-size: 48px; }
    h2 { font-size: 40px; }
    h3 { font-size: 22px; }
    
    body { font-size: 16px; }
    
    section { padding: 4rem 0; }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-headline {
        font-size: 48px;
    }
    
    .hero-subheadline {
        font-size: 18px;
    }
    
    .hero-illustration {
        max-width: 520px;
        margin: var(--spacing-xl) auto 0;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .cost-card {
        padding: var(--spacing-lg);
    }
    
    .process-details {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .detail-box {
        padding: var(--spacing-md);
    }
    
    .story-section {
        padding: 4rem 0;
    }
}

/* Small (576px to 991px) */
@media (max-width: 575px) {
    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
    
    body { font-size: 16px; }
    
    p { font-size: 16px; }
    
    section { padding: 3rem 0; }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-headline {
        font-size: 36px;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subheadline {
        font-size: 16px;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-ctas {
        gap: var(--spacing-sm);
    }
    
    .health-dashboard {
        padding: var(--spacing-lg);
    }
    
    .cost-card {
        padding: var(--spacing-lg);
    }
    
    .cost-card h3 {
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .audit-card {
        padding: var(--spacing-lg);
    }
    
    .audit-card h3 {
        font-size: 22px;
    }
    
    .process-details {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .final-cta-section {
        padding: 4rem 0;
    }
    
    .final-cta-subtitle {
        font-size: 18px;
    }
    
    .navbar-nav {
        padding-top: var(--spacing-md);
    }
    
    .navbar-nav .nav-link {
        margin: var(--spacing-sm) 0;
    }
    
    .navbar-nav .btn {
        margin: var(--spacing-md) 0;
    }
}

/* Extra Small (under 576px) */
@media (max-width: 479px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 18px; }
    
    body { font-size: 15px; }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-subheadline {
        font-size: 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .story-section {
        padding: 2rem 0;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    body {
        background-color: white;
    }
    
    .navbar,
    .footer,
    .hero-ctas,
    .btn {
        display: none;
    }
}
