/* ========================================
   Juggernaut Marketing — Landing Page
   Light theme · Navy #0E355B · Orange #FF6B2C
   Fonts: Outfit (headings), DM Sans (body)
   ======================================== */

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

:root {
    --navy: #0E355B;
    --navy-dark: #092847;
    --navy-light: #164577;
    --orange: #FF6B2C;
    --orange-hover: #E85A1E;
    --orange-glow: rgba(255, 107, 44, 0.25);
    --green: #10B981;
    --red: #EF4444;
    --white: #ffffff;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(14,53,91,0.06), 0 1px 2px rgba(14,53,91,0.04);
    --shadow-md: 0 4px 16px rgba(14,53,91,0.08);
    --shadow-lg: 0 12px 40px rgba(14,53,91,0.12);
    --shadow-xl: 0 20px 60px rgba(14,53,91,0.15);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--navy);
    line-height: 1.2;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-phone:hover {
    color: var(--orange);
}

.nav-phone svg {
    flex-shrink: 0;
}


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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--orange-glow);
}

.btn-primary-small {
    background: var(--orange);
    color: var(--white);
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px var(--orange-glow);
}

.btn-primary-small:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--gray-300);
}

.btn-ghost:hover {
    border-color: var(--navy);
    background: rgba(14, 53, 91, 0.04);
    transform: translateY(-1px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
    width: 100%;
    border-radius: var(--radius-md);
}

.btn-arrow {
    font-size: 1.15em;
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}


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

.hero {
    position: relative;
    padding: 80px 0 100px;
    background: var(--gray-50);
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(14, 53, 91, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(14, 53, 91, 0.08);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--orange);
    -webkit-text-fill-color: var(--orange);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 520px;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
}

.trust-item {
    text-align: center;
    flex: 1;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
    flex-shrink: 0;
}

.trust-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ========================================
   FORM CARD
   ======================================== */

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.form-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--orange) 100%);
}

.form-header {
    text-align: center;
    margin-bottom: 8px;
}

.form-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy);
}

.form-header p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0;
}


/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: flex-start;
    margin: 28px 0 32px;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-connector {
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    align-self: center;
    margin-top: 16px;
    flex: 1;
    transition: background 0.3s ease;
}

.step-item.completed ~ .step-connector,
.step-item.completed + .step-connector {
    background: var(--navy);
}

.step-number {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-label {
    color: var(--gray-400);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Active Step */
.step-item.active .step-number {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 53, 91, 0.15);
}

.step-item.active .step-label {
    color: var(--navy);
    font-weight: 700;
}

/* Completed Step */
.step-item.completed .step-number {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.step-item.completed .step-label {
    color: var(--green);
}


/* Form Elements */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--navy);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--gray-800);
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 53, 91, 0.08);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E355B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

.form-group select option {
    background: var(--white);
    color: var(--gray-700);
    padding: 12px;
}

/* Form Step */
.form-step {
    display: none;
    animation: fadeInSlide 0.35s ease;
}

.form-step.active {
    display: block;
}

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

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-navigation .btn {
    flex: 1;
}

/* Form Disclaimer */
.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 16px;
}

.form-disclaimer svg {
    flex-shrink: 0;
    opacity: 0.6;
}


/* ========================================
   SECTION SHARED
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: rgba(14, 53, 91, 0.07);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


/* ========================================
   VIDEO TESTIMONIALS
   ======================================== */

.video-testimonials {
    padding: 100px 0;
    background: var(--white);
}

.video-carousel-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.video-carousel {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.video-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.video-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-slide.active {
    opacity: 1;
}

.video-wrapper {
    position: relative;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 53, 91, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-overlay {
    background: rgba(14, 53, 91, 0.25);
}

.testimonial-video:not([data-playing]) ~ .video-overlay {
    opacity: 1;
    pointer-events: all;
}

.testimonial-video[data-playing] ~ .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: all;
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn svg {
    filter: drop-shadow(0 4px 16px rgba(14, 53, 91, 0.3));
}

.video-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 4px;
}

.video-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-company {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.stars {
    color: #FBBF24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
    color: var(--navy);
}

.carousel-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:hover svg {
    stroke: var(--white);
}

.carousel-btn-prev {
    left: -64px;
}

.carousel-btn-next {
    right: -64px;
}

.carousel-btn svg {
    transition: stroke 0.3s ease;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: var(--navy-light);
    transform: scale(1.2);
}

.dot.active {
    background: var(--navy);
    width: 28px;
    border-radius: 5px;
}


/* ========================================
   SOCIAL PROOF / TESTIMONIALS
   ======================================== */

.social-proof {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
    grid-column: span 3;
    background: var(--white);
    border: 2px solid var(--navy);
    position: relative;
}

.case-study-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.testimonial-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.credibility-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.badge-item svg {
    color: var(--green);
    flex-shrink: 0;
}


/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.step-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}

.step-card-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(14, 53, 91, 0.06);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.step-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(14, 53, 91, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--navy);
}

.step-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.step-features {
    list-style: none;
}

.step-features li {
    padding: 6px 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
}

.step-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 50%;
}

.step-features li::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: 0.65rem;
    font-weight: 700;
}

/* CTA Box */
.cta-box {
    text-align: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

.cta-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-box .btn {
    max-width: 400px;
    width: auto;
    display: inline-flex;
}


/* ========================================
   BENEFITS
   ======================================== */

.benefits {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.benefit-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 53, 91, 0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--navy);
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 0.9rem;
}


/* ========================================
   AUTHORITY
   ======================================== */

.authority {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.authority-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.authority-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.authority-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.authority-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 16px;
}

.authority-text p strong {
    color: var(--white);
}

.authority-stats {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.big-stat {
    border-left: 4px solid var(--orange);
    padding-left: 24px;
}

.big-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.big-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}


/* ========================================
   URGENCY
   ======================================== */

.urgency {
    padding: 100px 0;
    background: var(--white);
}

.urgency-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.urgency-icon {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--red);
}

.urgency-card h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--navy);
}

.urgency-text {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.urgency-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 540px;
    margin: 0 auto 36px;
    text-align: left;
}

.urgency-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--gray-600);
}

.check {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.urgency-cta .btn {
    width: auto;
    display: inline-flex;
}


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

.final-cta {
    padding: 100px 0;
    background: var(--gray-50);
}

.final-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.final-cta-left h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.final-cta-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    margin-bottom: 36px;
    line-height: 1.7;
}

.final-cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.final-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--gray-600);
}

.benefit-check {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}


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

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 0;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 56px;
    margin-top: 60px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-left {
    flex: 1;
    min-width: 280px;
}

.newsletter-left h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 6px;
}

.newsletter-left p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.newsletter-right {
    flex: 1;
    min-width: 280px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .btn {
    white-space: nowrap;
    padding: 13px 28px;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-hours {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-hours strong {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}


/* ========================================
   SOCIAL PROOF NOTIFICATION
   ======================================== */

.social-proof-notification {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 12px 40px rgba(14, 53, 91, 0.15), 0 0 0 1px rgba(14, 53, 91, 0.04);
    z-index: 9999;
    max-width: 340px;
    opacity: 0;
    transform: translateX(-400px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-proof-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.social-proof-notification.hide {
    opacity: 0;
    transform: translateX(-400px);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-icon {
    width: 38px;
    height: 38px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
}

.notification-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.notification-action {
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
}

.notification-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}


/* ========================================
   EXIT INTENT MODAL
   ======================================== */

.exit-intent-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.exit-intent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 53, 91, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.exit-intent-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(14, 53, 91, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.exit-intent-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.exit-intent-close:hover {
    background: var(--gray-200);
    color: var(--navy);
}

.exit-intent-header {
    text-align: center;
    margin-bottom: 24px;
}

.exit-intent-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--navy);
}

.exit-intent-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.exit-intent-header p strong {
    color: var(--orange);
}

.exit-offer-text {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.exit-intent-form .form-group {
    margin-bottom: 14px;
}

.exit-intent-form .form-group input {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--gray-800);
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s ease;
    outline: none;
}

.exit-intent-form .form-group input:focus {
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 53, 91, 0.08);
}

.exit-intent-form .form-group input::placeholder {
    color: var(--gray-400);
}

.exit-intent-btn {
    margin-top: 8px;
}

.exit-intent-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 12px;
}


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

.scroll-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* ========================================
   RESPONSIVE — 1024px
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        gap: 48px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card.featured {
        grid-column: span 2;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .authority-content {
        gap: 56px;
    }

    .big-stat-number {
        font-size: 2.5rem;
    }

    .carousel-btn-prev {
        left: -56px;
    }

    .carousel-btn-next {
        right: -56px;
    }
}


/* ========================================
   RESPONSIVE — 768px
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Navbar */
    .nav-content {
        height: 60px;
    }

    .nav-phone {
        display: none;
    }

    .logo img {
        height: 36px;
    }

    .btn-primary-small {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero {
        padding: 48px 0 64px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .trust-badges {
        margin-top: 32px;
    }

    .trust-number {
        font-size: 1.6rem;
    }

    .trust-label {
        font-size: 0.7rem;
    }

    .trust-divider {
        height: 32px;
    }

    /* Forms */
    .form-card {
        padding: 32px 24px;
    }

    .form-header h3 {
        font-size: 1.4rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Video Testimonials */
    .video-testimonials,
    .social-proof,
    .how-it-works,
    .benefits,
    .authority,
    .urgency,
    .final-cta {
        padding: 72px 0;
    }

    .video-carousel-container {
        max-width: 100%;
    }

    .carousel-btn-prev {
        left: 0;
    }

    .carousel-btn-next {
        right: 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    /* Social Proof */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card.featured {
        grid-column: span 1;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .testimonial-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .credibility-badges {
        gap: 16px;
    }

    .badge-item {
        font-size: 0.85rem;
    }

    /* Steps */
    .step-card {
        padding: 32px 24px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card {
        padding: 28px 24px;
    }

    /* Authority */
    .authority-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .authority-text h2 {
        font-size: 2rem;
    }

    .big-stat-number {
        font-size: 2.5rem;
    }

    /* Urgency */
    .urgency-card {
        padding: 44px 28px;
    }

    .urgency-card h2 {
        font-size: 1.75rem;
    }

    /* Final CTA */
    .final-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .final-cta-left h2 {
        font-size: 2rem;
    }

    /* Footer */
    .footer-newsletter {
        padding: 28px 24px;
    }

    .newsletter-content {
        gap: 24px;
    }

    .newsletter-left,
    .newsletter-right {
        min-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal-links {
        flex-wrap: wrap;
    }

    /* Social Proof Notification */
    .social-proof-notification {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: calc(100% - 24px);
    }

    /* Exit Intent */
    .exit-intent-content {
        padding: 36px 28px;
    }

    .exit-intent-header h2 {
        font-size: 1.5rem;
    }

    /* Form Navigation */
    .form-navigation {
        flex-direction: column;
    }

    /* Step Indicator */
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .step-label {
        font-size: 0.65rem;
    }
}


/* ========================================
   RESPONSIVE — 480px
   ======================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Navbar */
    .nav-content {
        height: 56px;
    }

    .logo img {
        height: 30px;
    }

    .btn-primary-small {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    /* Hero */
    .hero {
        padding: 36px 0 48px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .trust-badges {
        margin-top: 28px;
    }

    .trust-number {
        font-size: 1.4rem;
    }

    .trust-divider {
        height: 28px;
    }

    /* Forms */
    .form-card {
        padding: 24px 18px;
        border-radius: var(--radius-md);
    }

    .form-header h3 {
        font-size: 1.25rem;
    }

    .form-header p {
        font-size: 0.8rem;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group select {
        padding: 11px 13px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .form-disclaimer {
        font-size: 0.75rem;
    }

    /* Sections */
    .video-testimonials,
    .social-proof,
    .how-it-works,
    .benefits,
    .authority,
    .urgency,
    .final-cta {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    /* Video Carousel */
    .video-carousel-container {
        padding: 0;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    .carousel-btn-prev {
        left: 4px;
    }

    .carousel-btn-next {
        right: 4px;
    }

    .video-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px 18px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .credibility-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Steps */
    .step-card {
        padding: 28px 20px;
    }

    .step-card-number {
        font-size: 2.5rem;
    }

    .step-card h3 {
        font-size: 1.2rem;
    }

    .step-features li {
        font-size: 0.85rem;
    }

    .cta-box {
        padding: 32px 18px;
    }

    .cta-box h3 {
        font-size: 1.35rem;
    }

    /* Benefits */
    .benefit-card {
        padding: 24px 18px;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }

    .benefit-card p {
        font-size: 0.85rem;
    }

    /* Authority */
    .authority-text h2 {
        font-size: 1.6rem;
    }

    .big-stat-number {
        font-size: 2.2rem;
    }

    .big-stat-label {
        font-size: 0.9rem;
    }

    /* Urgency */
    .urgency-card {
        padding: 36px 18px;
    }

    .urgency-card h2 {
        font-size: 1.5rem;
    }

    .urgency-text {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .urgency-item {
        font-size: 0.9rem;
    }

    /* Final CTA */
    .final-cta-left h2 {
        font-size: 1.6rem;
    }

    .final-cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .final-benefit {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-newsletter {
        padding: 24px 16px;
        margin-top: 48px;
    }

    .newsletter-left h3 {
        font-size: 1.15rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    /* Social Proof Notification */
    .notification-content {
        gap: 10px;
    }

    .notification-icon {
        width: 34px;
        height: 34px;
    }

    .notification-name {
        font-size: 0.85rem;
    }

    .notification-action {
        font-size: 0.75rem;
    }

    /* Exit Intent */
    .exit-intent-content {
        padding: 32px 20px;
    }

    .exit-intent-header h2 {
        font-size: 1.35rem;
    }

    .exit-intent-header p {
        font-size: 0.95rem;
    }

    .exit-offer-text {
        font-size: 0.85rem;
    }

    /* Step Indicator */
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .step-label {
        font-size: 0.6rem;
    }

    .step-indicator {
        margin: 20px 0 24px;
    }
}

/* ===== OPTION CARDS (click-to-select replacement for dropdowns) ===== */
.option-grid {
    display: grid;
    gap: 8px;
}

.option-grid-2col { grid-template-columns: repeat(2, 1fr); }
.option-grid-4col { grid-template-columns: repeat(4, 1fr); }

.option-card {
    padding: 11px 8px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.3;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
}

.option-card:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 107, 44, 0.04);
}

.option-card.selected {
    border-color: var(--orange);
    background: rgba(255, 107, 44, 0.08);
    color: var(--orange);
    font-weight: 600;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 44, 0.18);
}

.option-card-full {
    grid-column: 1 / -1;
}

.option-grid.error .option-card {
    border-color: var(--red);
    background: rgba(239, 68, 68, 0.04);
}

/* Progressive reveal groups */
.reveal-group {
    display: none;
}

.reveal-group.visible {
    display: block;
    animation: revealSlide 0.32s ease;
}

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

/* Collapsed option group — hide label + grid, show summary */
.form-group.collapsed > label,
.form-group.collapsed > .option-grid {
    display: none;
}

.option-summary {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    background: rgba(255, 107, 44, 0.06);
    border: 1.5px solid rgba(255, 107, 44, 0.22);
    border-radius: var(--radius-sm);
}

.form-group.collapsed .option-summary {
    display: flex;
}

.summary-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-qlabel {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.summary-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--orange);
}

.summary-edit-btn {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: var(--gray-600);
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.summary-edit-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* ========================================
   TYPEFORM-STYLE ONE-STEP-PER-QUESTION FORM
   ======================================== */

/* Progress bar */
.tf-progress-wrap {
    height: 3px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-bottom: 28px;
    overflow: hidden;
}

.tf-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--navy), var(--orange));
    border-radius: 3px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Steps */
.tf-step { display: none; }

.tf-step.active {
    display: block;
    animation: tfReveal 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tfReveal {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Question */
.tf-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.35;
}

/* Text input — underline style */
.tf-input-wrap { margin-bottom: 22px; }

.tf-input-wrap input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    border-radius: 0;
    padding: 10px 2px;
    font-size: 1.05rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--gray-800);
    outline: none;
    transition: border-color 0.2s ease;
}

.tf-input-wrap input:focus { border-bottom-color: var(--navy); }
.tf-input-wrap input::placeholder { color: var(--gray-400); }
.tf-input-wrap input.error { border-bottom-color: var(--red) !important; }

/* Nav row */
.tf-nav { margin-top: 4px; }

/* Footer: back + counter */
.tf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
    min-height: 32px;
}

.tf-back-btn {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}

.tf-back-btn:hover { color: var(--navy); }

.tf-step-counter {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.08em;
    margin-left: auto;
}

/* ========================================
   CALENDAR WIDGET
   ======================================== */
.calendar-widget {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 14px 14px 16px;
    margin-bottom: 4px;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cal-month-year {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.cal-nav {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gray-200);
    border-radius: 7px;
    background: var(--white);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--navy);
    transition: background 0.15s, border-color 0.15s;
}

.cal-nav:hover { background: var(--gray-100); border-color: var(--gray-300); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
}

.cal-weekdays span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 0;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--gray-700);
    transition: background 0.13s, color 0.13s;
    padding: 0;
    line-height: 1;
}

.cal-day:not(.disabled):not(.selected):hover { background: var(--gray-200); }
.cal-day.today { font-weight: 700; color: var(--navy); }
.cal-day.selected { background: var(--orange); color: #fff; font-weight: 700; }
.cal-day.disabled { color: var(--gray-300); cursor: not-allowed; }
.cal-day.cal-empty { background: none !important; cursor: default; }

/* Times section */
.cal-times {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    display: none;
}

.cal-times-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.cal-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.cal-time-slot {
    padding: 7px 2px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.72rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    color: var(--gray-600);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.13s, color 0.13s, background 0.13s;
    white-space: nowrap;
}

.cal-time-slot:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 107, 44, 0.04);
}

.cal-time-slot.selected {
    border-color: var(--orange);
    background: rgba(255, 107, 44, 0.09);
    color: var(--orange);
    font-weight: 700;
}
