 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:root {
    --primary-color: #0a0e27;
    --secondary-color: #1a1a2e;
    --accent-color: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --gold-accent: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #5b86e5 100%);
    --gradient-3: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: 
        radial-gradient(ellipse at top left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at top right, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #0a0e27 0%, transparent 50%),
        #0a4a4f;
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    position: relative;
    -webkit-overflow-scrolling: touch;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.funnel-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
}

/* Site Logo */
.site-logo {
    position: fixed;
    top: 20px;
    left: clamp(20px, 4vw, 40px);
    z-index: 999;
    pointer-events: auto;
    margin: 0;
    padding: 0;
    /* background: rgba(255, 255, 255, 0.95); */
    /* backdrop-filter: blur(20px); */
    /* border-radius: 12px; */
    /* box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2); */
    transition: all 0.3s ease;
    cursor: pointer;
}

.site-logo:hover {
    /* background: rgba(255, 255, 255, 1); */
    /* box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(0, 212, 255, 0.2); */
    transform: translateY(-2px);
}

.logo-image {
    height: clamp(35px, 5vw, 60px);
    width: auto;
    max-width: clamp(120px, 15vw, 200px);
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
    display: block;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 212, 255, 0.15);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.logo-text:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 212, 255, 0.2);
}

/* Hide logo on phase-0-6 (contact form) */
.phase-0-6 ~ .site-logo,
.phase-0-6.active ~ .site-logo,
.funnel-container:has(.phase-0-6.active) .site-logo {
    display: none !important;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    width: 33.33%;
    background: var(--gradient-2);
    box-shadow: 0 0 20px var(--accent-glow);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Go to Next Button (Phase 2) */
.go-to-next-container {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.go-to-next-container.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: elegantAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes elegantAppear {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9) rotate(-5deg);
    }
    50% {
        transform: translateY(5px) scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.skip-text {
    color: var(--text-primary);
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.move-on-btn {
    background: var(--gradient-2);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: var(--text-primary);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.move-on-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.6);
    color: #22c55e;
}

.move-on-btn:active {
    transform: translateY(0);
}

.move-on-btn .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.move-on-btn:hover .arrow {
    transform: translateX(4px);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 72px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 0 14px;
    margin: 0;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: var(--accent-color);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.mobile-menu-toggle.active {
    border-bottom-color: var(--accent-color);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    max-width: 80%;
    height: 100%;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 70px 20px 30px;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

.mobile-video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-video-thumbnail {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0;
    top: 0;
    left: 0;
}

.mobile-video-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

/* Mobile Menu Links */
.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-link {
    display: block;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    color: rgba(0, 212, 255, 1);
    transform: translateX(4px);
}

.mobile-menu-link:active {
    transform: translateX(2px);
}

/* Start Over Button - Special Styling */
.mobile-menu-link.start-over-link {
    background: rgba(10, 74, 79, 0.4);
    border: 2px solid rgba(0, 212, 255, 0.6);
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(0, 212, 255, 1);
}

.mobile-menu-link.start-over-link:hover {
    background: rgba(10, 74, 79, 0.6);
    border-color: rgba(0, 212, 255, 0.8);
    color: rgba(0, 212, 255, 1);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Legacy mobile-menu-items (keeping for backwards compatibility) */
.mobile-menu-items-old {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Video Thumbnail (Top Left - Desktop Only) */
.desktop-video-thumbnail {
    position: fixed;
    top: 60px;
    left: 20px;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                0 0 20px var(--accent-glow);
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    background: var(--secondary-color);
}

.video-thumbnail {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                0 0 20px var(--accent-glow);
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    background: var(--secondary-color);
}

.desktop-video-thumbnail:hover,
.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
                0 0 30px var(--accent-glow);
    border-color: var(--accent-color);
}

.video-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
                0 0 30px var(--accent-glow);
    border-color: var(--accent-color);
}

.thumbnail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-overlay svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Section Video Play Button */
.section-video-btn {
    display: none !important;
    position: absolute;
    top: 70px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 212, 255, 0.4);
    color: rgba(0, 212, 255, 1);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3),
                0 0 30px rgba(0, 212, 255, 0.2);
}

.section-video-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.4),
                0 0 40px rgba(0, 212, 255, 0.3);
}

.section-video-btn:active {
    transform: scale(0.95);
}

.section-video-btn svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.5));
    margin-left: 2px; /* Slight offset for visual centering of play icon */
}

/* Video Tooltip */
.video-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 15px rgba(0, 212, 255, 0.3);
    min-width: max-content;
}

.video-tooltip::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 8px 6px 0;
    border-color: transparent rgba(0, 212, 255, 0.4) transparent transparent;
}

.section-video-btn:hover .video-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(4px);
}

/* Responsive styles for video button */
@media (max-width: 768px) {
    .section-video-btn {
        width: 45px;
        height: 45px;
        top: 60px;
        left: 15px;
    }

    .section-video-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .section-video-btn {
        width: 40px;
        height: 40px;
        top: 55px;
        left: 12px;
    }

    .section-video-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Fullscreen Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 80%;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 40px var(--accent-glow);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.video-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: rotate(90deg);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.video-close-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Privacy Policy Modal */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.privacy-modal.active {
    opacity: 1;
    visibility: visible;
}

.privacy-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.privacy-modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: privacyModalSlideIn 0.4s ease;
    display: flex;
    flex-direction: column;
}

@keyframes privacyModalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.privacy-close-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.6);
    color: #22c55e;
    transform: rotate(90deg);
}

.privacy-modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}

.privacy-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.privacy-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.privacy-intro {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    font-weight: 500;
}

.privacy-section {
    margin-bottom: 28px;
}

.privacy-section h3 {
    font-size: clamp(1.125rem, 1.8vw, 1.25rem);
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.privacy-section p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.privacy-section ul {
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.privacy-section li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 8px;
}

.privacy-section strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-last-updated {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.privacy-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
    cursor: pointer;
}

.privacy-link:hover {
    color: rgba(0, 212, 255, 0.8);
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .privacy-modal-body {
        padding: 32px 24px;
    }
    
    .privacy-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .privacy-content {
        font-size: 0.9rem;
    }
    
    .privacy-section {
        margin-bottom: 24px;
    }
    
    .privacy-close-btn {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }
}

/* Welcome Screen (Phase 0) */
.phase-0,
.phase-0-5 {
    background: 
        radial-gradient(ellipse at top left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at top right, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #0a0e27 0%, transparent 50%),
        linear-gradient(rgba(10, 74, 79, 0.75), rgba(10, 74, 79, 0.75)),
        url('images/background_office.png');
    background-size: 
        auto,
        auto,
        auto,
        auto,
        cover,
        cover;
    background-position: 
        top left,
        top right,
        bottom left,
        bottom right,
        center,
        center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
}

.phase-0-6 {
    background: 
        radial-gradient(ellipse at top left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at top right, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #0a0e27 0%, transparent 50%),
        linear-gradient(rgba(10, 74, 79, 0.75), rgba(10, 74, 79, 0.75)),
        url('images/background_office.png') !important;
    background-size: 
        auto,
        auto,
        auto,
        auto,
        cover,
        cover;
    background-position: 
        top left,
        top right,
        bottom left,
        bottom right,
        center,
        center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
}

.phase-0-6 .welcome-back-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px);
    z-index: 2000 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.phase-0-6::after {
    display: none !important;
}

/* Ensure contact section covers body gradients */
.phase-0-6.active {
    background: 
        radial-gradient(ellipse at top left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at top right, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #0a0e27 0%, transparent 50%),
        linear-gradient(rgba(10, 74, 79, 0.75), rgba(10, 74, 79, 0.75)),
        url('images/background_office.png') !important;
    background-size: 
        auto,
        auto,
        auto,
        auto,
        cover,
        cover;
    background-position: 
        top left,
        top right,
        bottom left,
        bottom right,
        center,
        center;
    background-repeat: no-repeat;
}

/* Agent Profile Screen (Phase 0.55) - Enhanced Styling */
.phase-0-55 {
    background: 
        radial-gradient(ellipse at top left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at top right, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #0a0e27 0%, transparent 50%),
        linear-gradient(rgba(10, 74, 79, 0.75), rgba(10, 74, 79, 0.75)),
        url('images/background_office.png') !important;
    background-size: 
        auto,
        auto,
        auto,
        auto,
        cover,
        cover;
    background-position: 
        top left,
        top right,
        bottom left,
        bottom right,
        center,
        center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
}

.phase-0-55::after {
    display: none !important;
}

/* Ensure agent profile section covers body gradients */
.phase-0-55.active {
    background: 
        radial-gradient(ellipse at top left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at top right, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #0a0e27 0%, transparent 50%),
        linear-gradient(rgba(10, 74, 79, 0.75), rgba(10, 74, 79, 0.75)),
        url('images/background_office.png') !important;
    background-size: 
        auto,
        auto,
        auto,
        auto,
        cover,
        cover;
    background-position: 
        top left,
        top right,
        bottom left,
        bottom right,
        center,
        center;
    background-repeat: no-repeat;
}

.agent-profile-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.agent-profile-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 35px;
    max-width: 1000px;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.agent-profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    flex: 0 0 auto;
}

.agent-profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    position: relative;
    transition: all 0.5s ease;
    animation: profileImageAppear 1.2s ease 0.5s forwards;
    opacity: 0;
}

@keyframes profileImageAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.agent-profile-image:hover {
    transform: scale(1.02);
}

.agent-profile-image::before {
    display: none;
}

.agent-profile-image:hover::before {
    display: none;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.agent-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.agent-profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    text-align: left;
    min-width: 0;
}

.agent-name {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
                 0 0 40px rgba(255, 255, 255, 0.3),
                 0 0 60px rgba(255, 255, 255, 0.2);
}

.agent-profile-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, rgba(0, 212, 255, 0.9) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    letter-spacing: 0.5px;
    line-height: 1.3;
    width: 100%;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.agent-profile-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

.profile-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
}

.profile-detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.profile-detail-item:hover::before {
    left: 100%;
}

.profile-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2),
                0 0 20px rgba(0, 212, 255, 0.1);
}

.detail-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-detail-item:hover .detail-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: left;
}

.detail-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.1vw, 0.8rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.detail-value {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.7vw, 1.15rem);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.detail-value:hover {
    color: var(--accent-color);
    transform: translateX(3px);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.live-chat-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 28px;
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: not-allowed;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.live-chat-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.live-chat-btn:hover::before {
    left: 100%;
}

.live-chat-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.live-chat-btn:not(:disabled):hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: rgba(0, 212, 255, 0.5);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3),
                0 0 30px rgba(0, 212, 255, 0.2);
}

.chat-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
}

.chat-status-indicator.offline {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2),
                inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.chat-status-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6),
                0 0 25px rgba(34, 197, 94, 0.4),
                inset 0 0 5px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.chat-btn-text {
    flex: 1;
    letter-spacing: 0.3px;
}

.chat-status-message {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    margin-top: -12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: center;
}

.trust-reassurance {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    margin-top: -8px;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.4;
    pointer-events: none;
    user-select: none;
}

.service-area-notice {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    color: rgba(0, 212, 255, 0.8);
    margin: 0;
    margin-top: -6px;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.4;
    pointer-events: none;
    user-select: none;
}

.next-available-time {
    color: rgba(0, 212, 255, 0.9);
    font-weight: 500;
}

.schedule-callback-btn {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.08) 100%);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    padding: 12px 28px;
    color: #ffffff;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.schedule-callback-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.schedule-callback-btn:hover::before {
    left: 100%;
}

.schedule-callback-btn:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.15) 100%);
    border-color: rgba(34, 197, 94, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.3),
                0 0 20px rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.schedule-callback-btn:active {
    transform: translateY(0);
}

.schedule-callback-btn .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.schedule-callback-btn:hover .arrow {
    transform: translateX(3px);
}

/* ETHOS Redirect Screen (Phase 0.7) */
.phase-0-7 {
    background-image: url('images/ethosbackground.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #0a0e27 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.phase-0-7.active {
    background-image: url('images/ethosbackground.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #0a0e27 !important;
}

.phase-0-7 .welcome-back-btn {
    z-index: 2000 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
}

.phase-0-7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}


.ethos-redirect-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ethos-redirect-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.ethos-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    width: 100%;
}

.ethos-logo-icon {
    display: none !important;
}

.ethos-logo-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
    transition: transform 0.3s ease;
}

.ethos-logo-img:hover {
    transform: scale(1.05);
}

.ethos-logo-fallback {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #22c55e;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
    letter-spacing: 2px;
}

.ethos-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #22c55e;
    margin: 0;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

.ethos-message {
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    text-align: center;
}

.ethos-main-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

.ethos-main-text strong {
    color: #22c55e;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.ethos-sub-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.6vw, 1.05rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.ethos-redirect-info {
    opacity: 0;
    animation: fadeInUp 1s ease 1.3s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ethos-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 197, 94, 0.2);
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ethos-redirect-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.ethos-continue-btn {
    opacity: 0;
    animation: fadeInUp 1s ease 1.8s forwards;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    color: #ffffff;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    letter-spacing: 0.3px;
    margin: 0 auto;
    display: block;
}

.ethos-continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.ethos-continue-btn:active {
    transform: translateY(-1px);
}

.ethos-help-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.4vw, 0.875rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    margin-top: 12px;
    line-height: 1.4;
    opacity: 0;
    animation: fadeInUp 1s ease 1.8s forwards;
}

.ethos-help-text a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
}

.ethos-help-text a:hover {
    text-decoration: underline;
}

.welcome-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    gap: 15px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

.welcome-image-container {
    display: none !important;
}

.welcome-image {
    display: none !important;
}

@keyframes zoomInWelcome {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    transform: scale(1.3);
    min-height: 100%;
    min-width: 100%;
}

.welcome-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

/* No extra padding needed since back button is on the right */

.welcome-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    line-height: 1.2;
    flex-shrink: 0;
}

.welcome-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 3.5vw, 1.9rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
}

.no-pressure-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 25px;
    margin-top: -8px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    line-height: 1.3;
    flex-shrink: 0;
}

.subtitle-with-dropdowns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.5;
    text-align: center;
}

.subtitle-dropdown {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 6px 14px;
    color: #ffffff;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
    margin: 0 2px;
    flex-shrink: 0;
}

.subtitle-dropdown:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.subtitle-dropdown:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.subtitle-dropdown option {
    background: #0a0a0a;
    color: #ffffff;
    padding: 12px;
    font-size: 1rem;
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    flex-shrink: 0;
}

.welcome-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 6px;
}

.welcome-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 14px 30px;
    color: #ffffff;
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.welcome-btn-featured {
    border: 2px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.welcome-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.welcome-btn-featured:hover {
    border-color: rgba(34, 197, 94, 0.8);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4),
                0 0 30px rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.welcome-btn:active {
    transform: translateY(-1px);
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Agent Contact Button Wrapper - Desktop Hover Effects */
.phase-0-5 .welcome-buttons {
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.agent-btn-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.agent-services-info {
    position: absolute;
    left: calc(100% + 30px);
    top: 0;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.agent-services-info .service-item {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    margin: 10px 0;
    padding-left: 8px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* Desktop hover effects - only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    .phase-0-5 .welcome-buttons:hover .agent-services-info {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }
}

/* Mobile - keep vertical layout */
@media (max-width: 768px) {
    .phase-0-5 .welcome-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .agent-btn-wrapper {
        flex-direction: column;
        gap: 0;
    }
    
    .agent-services-info {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        margin-top: 15px;
        transform: none;
        opacity: 0;
        visibility: hidden;
    }
}

/* Disable hover effects on touch devices to prevent wrong button highlighting */
@media (hover: none) and (pointer: coarse) {
    .welcome-btn:hover,
    .welcome-btn-featured:hover,
    .option-btn:hover,
    .next-phase-btn:hover,
    .back-phase-btn:hover,
    .cta-button:hover,
    .learn-btn:hover,
    .assessment-btn:hover,
    .contact-method-btn:hover,
    .submit-form-btn:hover {
        background: inherit !important;
        border-color: inherit !important;
        transform: none !important;
        box-shadow: inherit !important;
        color: inherit !important;
    }
}

.btn-helper-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.featured-helper {
    color: rgba(0, 212, 255, 0.8);
    font-weight: 500;
}

.welcome-back-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 16px;
    color: #ffffff;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.welcome-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.welcome-back-btn:active {
    transform: translateX(-1px);
}

.welcome-back-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.welcome-back-btn:hover svg {
    transform: translateX(2px);
}

/* Agent Contact Form Styles */
.form-intro-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: auto;
    max-width: 90%;
    margin: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

/* When centered and visible */
.form-intro-text.centered-visible {
    opacity: 1;
}

/* Normal state - positioned above form */
.form-intro-text:not(.centered-visible) {
    position: relative;
    transform: none;
    margin: 0 auto 24px;
    width: 100%;
    max-width: 450px;
    top: auto;
    left: auto;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: normal;
    text-shadow: none;
}

/* Loading Indicator */
.form-loading-indicator {
    position: fixed;
    top: calc(50% + 40px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform: translate(-50%, -50%) translateY(10px);
}

.form-loading-indicator.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateY(0);
}

.loading-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: loadingPulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.agent-contact-form {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
    transition: opacity 0.4s ease-out;
}

.form-field-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-field-row .form-field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Hide Learn about life insurance button - will be built up later */
.welcome-btn-wrapper:nth-child(2),
.nav-card[onclick="showEducationContent()"] {
    display: none;
}

.form-field-group label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.3vw, 0.9rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    letter-spacing: 0.3px;
}

.form-field-group input,
.form-field-group select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 12px 0;
    color: #ffffff;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-field-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.form-field-group input:focus,
.form-field-group select:focus {
    outline: none;
    border-bottom-color: rgba(255, 255, 255, 0.6);
    background: transparent;
}

.form-field-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

.form-field-group select option {
    background: #000000;
    color: #ffffff;
    padding: 10px;
}

.contact-method-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.contact-method-btn {
    flex: 1;
    min-width: 90px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 16px 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.8rem, 1.4vw, 0.95rem);
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-method-btn:hover {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.contact-method-btn.selected {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.contact-method-btn:active {
    transform: scale(0.98);
}

.method-icon {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    line-height: 1;
    opacity: 0.9;
}

.contact-method-btn.selected .method-icon {
    opacity: 1;
}

.method-label {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.submit-form-btn {
    margin-top: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    padding: 10px 28px;
}

.submit-form-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    color: #22c55e;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.form-success-message {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.form-success-message.hidden {
    display: none !important;
    visibility: hidden !important;
}

.form-success-message:not(.hidden) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.success-message-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.8;
    font-size: clamp(1.2rem, 3.5vw, 1.9rem);
}

.success-dropdown {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 8px 16px;
    color: #ffffff;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 130px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.success-dropdown:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.success-dropdown:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.success-dropdown option {
    background: #0a0a0a;
    color: #ffffff;
    padding: 12px;
    font-size: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Phase Styles */
.phase {
    display: none;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    padding: 50px 20px 30px;
    opacity: 0;
    transform: scale(0.96) translateY(20px);
    filter: blur(8px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: 
        radial-gradient(ellipse at top left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at top right, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, #0a0e27 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #0a0e27 0%, transparent 50%),
        linear-gradient(rgba(10, 74, 79, 0.75), rgba(10, 74, 79, 0.75)),
        url('images/background_office.png');
    background-size: 
        auto,
        auto,
        auto,
        auto,
        cover,
        cover;
    background-position: 
        top left,
        top right,
        bottom left,
        bottom right,
        center,
        center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    will-change: opacity, transform, filter;
    position: relative;
}

.phase.active {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0) !important;
    filter: blur(0) !important;
}

/* Ensure initial phase and all active phases are never blurred */
.phase.active,
.phase.active * {
    filter: blur(0) !important;
}

.phase-1-5 {
    overflow-y: auto;
}

.phase-content {
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 40px var(--accent-glow),
                    0 0 30px rgba(0, 212, 255, 0.4);
        transform: scale(1.02);
    }
}

/* Typography */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--accent-glow);
    flex-shrink: 0;
}

.phase-1-5 .main-title {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    margin-bottom: 6px;
}

@media (min-width: 769px) {
    .phase-1-5 .main-title {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
        margin-bottom: 8px;
    }
}

.phase-1-5 .phase-content {
    justify-content: flex-start;
    gap: 8px;
    padding: 5px 0 20px;
    overflow: visible !important;
    height: auto !important;
    min-height: calc(100vh - 80px);
    max-height: none !important;
}

.subtitle {
    text-align: center;
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 300;
    flex-shrink: 0;
}

/* Agent Section */
.agent-section {
    margin-bottom: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.agent-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    justify-content: flex-start;
}

.agent-card.nav-card-style {
    cursor: default;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--accent-glow);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.agent-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 0 30px var(--accent-glow);
    flex-shrink: 0;
    margin-bottom: 10px;
}

.avatar-placeholder svg {
    width: 30px;
    height: 30px;
}

.contact-info-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    width: 100%;
}

.contact-link-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
}

.contact-link-compact:hover {
    color: var(--gold-accent);
    transform: translateX(3px);
}

.contact-link-compact .contact-icon {
    font-size: 0.85rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
}

.contact-link:hover {
    color: var(--gold-accent);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 0.9rem;
}

/* Navigation Cards */
.nav-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 32px var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
}

.nav-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.nav-title {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.nav-description {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    color: var(--text-secondary);
    line-height: 1.3;
    margin: 0;
}

/* Questions Section */
.questions-container {
    max-width: 800px;
    margin: 0 auto 20px;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
}

.question-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 0;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    width: 100%;
}

.question-card.active {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-number {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.question-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.question-reassurance {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.4;
    font-style: italic;
    pointer-events: none;
    user-select: none;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.option-btn:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.6);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.option-btn:active {
    transform: translateX(5px);
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.question-progress {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
    flex-shrink: 0;
}

/* Call to Action Section */
.cta-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto 15px;
    flex: 1;
    align-content: center;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.cta-card:hover::before {
    left: 0;
}

.cta-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px var(--accent-glow);
}

.cta-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.cta-card h3 {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.cta-card p {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 15px;
    font-size: clamp(0.8rem, 1.1vw, 0.9rem);
}

/* Phase Navigation Container */
.phase-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 15px auto 0;
    gap: 20px;
    flex-shrink: 0;
}

/* Buttons */
.next-phase-btn,
.back-phase-btn,
.cta-button {
    border: none;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px var(--accent-glow);
    font-family: 'Inter', sans-serif;
    margin-top: auto;
}

.next-phase-btn {
    background: var(--gradient-2);
    margin: 0 auto;
    width: auto;
    min-width: 140px;
    padding: 12px 28px;
    letter-spacing: 0.5px;
}

.cta-button {
    background: var(--gradient-2);
    margin: 0 auto;
    width: fit-content;
}

.back-phase-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.next-phase-btn:hover,
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: rgba(34, 197, 94, 0.8);
}

.back-phase-btn:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.next-phase-btn:active,
.cta-button:active {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: rgba(34, 197, 94, 0.8);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.back-phase-btn:active {
    transform: translateY(-1px);
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.next-phase-btn:hover .arrow {
    transform: translateX(4px);
}

.back-phase-btn:hover .arrow {
    transform: translateX(-4px);
}

.cta-button {
    width: fit-content;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.contact-form h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.contact-form .trust-reassurance {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* Insurance Types Education Section */
.insurance-types-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 10px auto 0;
    max-width: 850px;
    width: 100%;
    justify-content: center;
}

@media (min-width: 769px) {
    .insurance-types-container {
        gap: 16px;
        margin: 15px auto 0;
        max-width: 950px;
    }
}

.insurance-type-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 769px) {
    .insurance-type-card {
        padding: 18px 16px;
        border-radius: 10px;
        gap: 12px;
    }
}

.insurance-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.insurance-type-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2),
                0 0 60px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.insurance-type-card:hover::before {
    opacity: 1;
}

.insurance-type-icon {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@media (min-width: 769px) {
    .insurance-type-icon {
        font-size: 2rem;
        margin-bottom: 5px;
    }
}

.insurance-type-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, rgba(0, 212, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 769px) {
    .insurance-type-title {
        font-size: clamp(1.05rem, 1.8vw, 1.25rem);
        line-height: 1.25;
    }
}

.insurance-type-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1vw, 0.75rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
    text-align: center;
    margin: 0;
    flex: 1;
}

@media (min-width: 769px) {
    .insurance-type-description {
        font-size: clamp(0.8rem, 1.2vw, 0.9rem);
        line-height: 1.4;
    }
}

.insurance-type-benefits {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
}

@media (min-width: 769px) {
    .insurance-type-benefits {
        gap: 6px;
        margin-top: 4px;
    }
}

.benefit-item {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.65rem, 0.9vw, 0.75rem);
    color: rgba(255, 255, 255, 0.75);
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 3px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

@media (min-width: 769px) {
    .benefit-item {
        font-size: clamp(0.75rem, 1vw, 0.85rem);
        padding: 6px 10px;
        border-radius: 4px;
        line-height: 1.3;
    }
}

.insurance-type-card:hover .benefit-item {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: rgba(0, 212, 255, 0.8);
    transform: translateX(5px);
}

.insurance-types-cta {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 769px) {
    .insurance-types-cta {
        margin-top: 12px;
        padding-top: 12px;
    }
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

@media (min-width: 769px) {
    .cta-text {
        font-size: clamp(1rem, 1.6vw, 1.15rem);
        margin-bottom: 15px;
    }
}

.insurance-types-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.insurance-types-buttons .next-phase-btn,
.insurance-types-buttons .welcome-btn {
    flex: 0 0 auto;
    min-width: auto;
    margin: 0;
}

.insurance-types-buttons .welcome-btn {
    width: auto;
    max-width: none;
}

@media (min-width: 769px) {
    .insurance-types-buttons {
        gap: 6px;
        max-width: 100%;
    }
}

/* Phase-specific adjustments */
.phase-2 .section-title,
.phase-2 .section-subtitle {
    margin-bottom: 15px;
}

.phase-3 .section-title,
.phase-3 .section-subtitle {
    margin-bottom: 15px;
}

/* Desktop - Show toggle button and desktop video */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .desktop-video-thumbnail {
        display: block;
    }
}

/* Hide video thumbnail on welcome screen, agent choice screen, agent profile, contact form, ETHOS redirect, and Phase 1 */
.phase-0.active ~ .desktop-video-thumbnail,
.phase-0-5.active ~ .desktop-video-thumbnail,
.phase-0-55.active ~ .desktop-video-thumbnail,
.phase-0-6.active ~ .desktop-video-thumbnail,
.phase-0-7.active ~ .desktop-video-thumbnail,
.phase-1.active ~ .desktop-video-thumbnail {
    display: none !important;
}

/* Alternative selector for better compatibility */
.funnel-container:has(.phase-0.active) .desktop-video-thumbnail,
.funnel-container:has(.phase-0-5.active) .desktop-video-thumbnail,
.funnel-container:has(.phase-0-55.active) .desktop-video-thumbnail,
.funnel-container:has(.phase-0-6.active) .desktop-video-thumbnail,
.funnel-container:has(.phase-0-7.active) .desktop-video-thumbnail,
.funnel-container:has(.phase-1.active) .desktop-video-thumbnail {
    display: none !important;
}

/* Hide video in mobile menu when Phase 1 is active */
.funnel-container:has(.phase-1.active) .mobile-video-container {
    display: none !important;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Welcome Screen Responsive */
@media (max-width: 768px) {
    .welcome-container {
        gap: 20px;
        padding: 25px 15px;
        justify-content: space-between;
    }

    .welcome-image-container {
        max-width: 350px;
        height: auto;
        flex-shrink: 0;
    }

    .welcome-image {
        width: 180px;
        height: 180px;
        box-shadow: 
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 60px rgba(0, 212, 255, 0.4),
            0 0 90px rgba(0, 212, 255, 0.2),
            0 0 15px rgba(255, 215, 0, 0.3),
            inset 0 0 25px rgba(0, 212, 255, 0.2);
        border: 2px solid rgba(0, 212, 255, 0.3);
    }

    .welcome-content {
        flex: 1;
        min-height: 0;
        justify-content: center;
    }

    .welcome-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 12px;
    }

    .welcome-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.8rem);
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .subtitle-with-dropdowns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
        line-height: 1.5;
        font-size: clamp(0.9rem, 3.8vw, 1.3rem);
        justify-content: center;
    }

    .subtitle-dropdown {
        min-width: 105px;
        max-width: 45%;
        padding: 6px 11px;
        font-size: clamp(0.8rem, 3vw, 1rem);
        padding-right: 28px;
    }

    .welcome-buttons {
        gap: 12px;
    }

    .welcome-btn-wrapper {
        gap: 5px;
    }

    .welcome-btn {
        padding: 12px 25px;
        font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    }

    .btn-helper-text {
        font-size: clamp(0.65rem, 1.1vw, 0.8rem);
    }
}

@media (max-width: 480px) {
    .phase-0-5 .welcome-content {
        padding-top: 0;
    }

    .welcome-container {
        gap: 15px;
        padding: 80px 12px 40px;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .welcome-image-container {
        max-width: 280px;
        height: auto;
    }

    .welcome-image {
        width: 150px;
        height: 150px;
        box-shadow: 
            0 0 25px rgba(0, 212, 255, 0.6),
            0 0 50px rgba(0, 212, 255, 0.4),
            0 0 75px rgba(0, 212, 255, 0.2),
            0 0 12px rgba(255, 215, 0, 0.3),
            inset 0 0 20px rgba(0, 212, 255, 0.2);
        border: 2px solid rgba(0, 212, 255, 0.3);
    }

    .welcome-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        margin-bottom: 10px;
    }

    .welcome-subtitle {
        font-size: clamp(1rem, 4.2vw, 1.5rem);
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .subtitle-with-dropdowns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        line-height: 1.6;
        font-size: clamp(0.95rem, 4vw, 1.4rem);
        justify-content: center;
        margin-bottom: 25px;
    }

    .subtitle-dropdown {
        min-width: 115px;
        max-width: 48%;
        padding: 8px 14px;
        font-size: clamp(0.9rem, 3.5vw, 1.05rem);
        padding-right: 30px;
        margin: 0;
    }

    .welcome-buttons {
        gap: 10px;
    }

    .welcome-btn-wrapper {
        gap: 4px;
    }

    .welcome-btn {
        padding: 11px 22px;
        font-size: clamp(0.85rem, 3.2vw, 1rem);
    }

    .btn-helper-text {
        font-size: clamp(0.6rem, 1vw, 0.75rem);
    }

    .phase-0-6 {
        padding: 60px 12px 20px;
        align-items: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .phase-0-6 .welcome-container {
        gap: 10px;
        padding: 0;
        justify-content: flex-start;
        min-height: auto;
        width: 100%;
    }

    .phase-0-6 .welcome-content {
        gap: 8px;
        width: 100%;
    }

    .phase-0-6 .welcome-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        margin-bottom: 4px;
        line-height: 1.3;
        padding-top: 0;
    }

    .phase-0-6 .trust-reassurance {
        font-size: clamp(0.65rem, 1vw, 0.8rem);
        margin-top: -6px;
        margin-bottom: 8px;
    }

    .phase-0-6 .service-area-notice {
        font-size: clamp(0.7rem, 1.1vw, 0.85rem);
        margin-top: -4px;
        margin-bottom: 10px;
    }

    .phase-0-6 .welcome-subtitle {
        font-size: clamp(0.8rem, 3.3vw, 1.1rem);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .phase-0-6 .subtitle-with-dropdowns {
        margin-bottom: 14px;
        font-size: clamp(0.75rem, 3vw, 1rem);
        gap: 5px;
    }

    .phase-0-6 .subtitle-dropdown {
        min-width: 105px;
        max-width: 47%;
        padding: 6px 10px;
        font-size: clamp(0.7rem, 2.6vw, 0.9rem);
        padding-right: 25px;
    }

    .phase-0-6 .form-intro-text {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
    }
    
    .phase-0-6 .form-intro-text.centered-visible {
        font-size: clamp(1rem, 4vw, 1.3rem);
        max-width: 95%;
        padding: 0 20px;
        white-space: nowrap;
    }
    
    .phase-0-6 .form-intro-text:not(.centered-visible) {
        margin-bottom: 16px;
    }

    .phase-0-6 .agent-contact-form {
        gap: 12px;
        margin-top: 0;
        width: 100%;
    }

    .phase-0-6 .form-field-row {
        gap: 10px;
    }

    .phase-0-6 .form-field-group {
        gap: 4px;
    }

    .phase-0-6 .form-field-group label {
        font-size: clamp(0.65rem, 2.1vw, 0.75rem);
        margin-bottom: 2px;
    }

    .phase-0-6 .form-field-group input,
    .phase-0-6 .form-field-group select {
        padding: 7px 0;
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    }

    .phase-0-6 .submit-form-btn {
        padding: 10px 20px;
        font-size: clamp(0.8rem, 2.6vw, 0.95rem);
        margin-top: 8px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .phase-0-5 .welcome-content,
    .phase-0-55 .agent-profile-content,
    .phase-0-6 .welcome-content {
        padding-top: 0;
    }

    .phase-0-5 .welcome-container {
        justify-content: center;
        align-items: center;
        padding: 100px 15px 40px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .agent-profile-container {
        padding: 20px 15px;
        align-items: flex-start;
        justify-content: center;
        overflow-y: auto;
    }

    .agent-profile-content {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        max-width: 100%;
        width: 100%;
    }

    .agent-profile-image-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .agent-profile-image {
        width: 120px;
        height: 120px;
    }

    .agent-profile-info {
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 14px;
    }

    .agent-name {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 6px;
    }

    .agent-profile-name {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        text-align: center;
        line-height: 1.2;
        margin-bottom: 0;
    }

    .agent-profile-details {
        gap: 10px;
        max-width: 100%;
        width: 100%;
        align-items: center;
    }

    .profile-detail-item {
        align-self: center;
        margin: 0 auto;
    }

    .profile-detail-item {
        padding: 12px 16px;
        gap: 12px;
    }

    .detail-content {
        text-align: left;
    }

    .detail-icon {
        font-size: 1.4rem;
        width: 40px;
        height: 40px;
    }

    .live-chat-btn {
        padding: 14px 28px;
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        max-width: 100%;
    }

    .chat-status-message {
        font-size: clamp(0.7rem, 1.1vw, 0.85rem);
        margin-top: -10px;
    }

    .schedule-callback-btn {
        padding: 11px 24px;
        font-size: clamp(0.85rem, 2.8vw, 1rem);
        margin-top: 6px;
    }

    .phase-0-6 .welcome-container {
        gap: 25px;
        padding: 30px 20px;
        justify-content: flex-start;
    }

    .phase-0-6 .welcome-title {
        font-size: clamp(1.5rem, 5.5vw, 2.2rem);
        margin-bottom: 12px;
    }

    .phase-0-6 .trust-reassurance {
        font-size: clamp(0.7rem, 1.1vw, 0.85rem);
        margin-top: -8px;
        margin-bottom: 12px;
    }

    .phase-0-6 .service-area-notice {
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
        margin-top: -6px;
        margin-bottom: 16px;
    }

    .phase-0-6 .welcome-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 20px;
    }

    .phase-0-6 .subtitle-with-dropdowns {
        margin-bottom: 28px;
    }

    .phase-0-6 .agent-contact-form {
        gap: 22px;
    }

    .phase-0-6 .form-field-row {
        gap: 15px;
    }

    .phase-0-6 .form-field-group {
        gap: 8px;
    }

    .welcome-back-btn {
        top: 15px;
        right: 15px;
        padding: 8px 14px;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1001 !important;
    }

    .welcome-back-btn svg {
        width: 16px;
        height: 16px;
    }

    .site-logo {
        top: 15px;
        left: clamp(15px, 4vw, 30px);
        padding: 0;
    }

    .phase-0-6 ~ .site-logo,
    .phase-0-6.active ~ .site-logo {
        display: none !important;
    }

    .logo-image {
        height: clamp(35px, 6vw, 65px);
        max-width: clamp(120px, 20vw, 220px);
    }

    /* Show mobile menu toggle, hide desktop video */
    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-video-thumbnail {
        display: none !important;
    }

    /* Hide video in mobile menu only when Phase 1 is active */
    .funnel-container:has(.phase-1.active) .mobile-video-container {
        display: none !important;
    }

    .play-overlay svg {
        width: 24px;
        height: 24px;
    }

    .video-close-btn {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }

    .video-close-btn svg {
        width: 20px;
        height: 20px;
    }

    .video-modal-content {
        width: 95%;
        height: 70%;
    }

    .phase {
        padding: 45px 15px 20px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
    }

    .phase-content {
        height: calc(100vh - 65px);
        height: calc(100dvh - 65px);
        padding: 5px 0;
        gap: 10px;
    }
    
    /* Allow scrolling for insurance types section on mobile */
    .phase-1-5 {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .phase-1-5 .phase-content {
        overflow-y: visible;
        height: auto;
        min-height: calc(100vh - 65px);
        min-height: calc(100dvh - 65px);
        padding: 10px 0 20px;
    }

    .phase-1 .phase-content {
        gap: 15px;
        padding: 10px 0;
        justify-content: flex-start;
    }

    .main-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
        margin-bottom: 8px;
    }

    .phase-1 .main-title {
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: clamp(0.75rem, 2.8vw, 0.9rem);
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: clamp(0.75rem, 2.8vw, 0.85rem);
        margin-bottom: 12px;
    }

    .main-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
        margin-bottom: 15px;
    }

    .agent-section {
        margin-bottom: 12px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 100%;
        padding: 0 5px;
    }

    .agent-card {
        padding: 16px 14px;
        min-height: 180px;
    }

    .avatar-placeholder {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }

    .avatar-placeholder svg {
        width: 28px;
        height: 28px;
    }

    .nav-card {
        padding: 18px 16px;
        min-height: 150px;
        gap: 8px;
    }

    .nav-icon {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .nav-title {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .nav-description {
        font-size: clamp(0.75rem, 2.8vw, 0.85rem);
        line-height: 1.4;
    }

    .agent-name {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        margin-bottom: 6px;
    }

    .agent-description {
        font-size: clamp(0.7rem, 2.8vw, 0.8rem);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .contact-info {
        align-items: center;
        gap: 8px;
    }

    .contact-link {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
    }

    .questions-container {
        margin-bottom: 10px;
    }

    .question-card {
        padding: 20px 15px;
    }

    .question-number {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .question-text {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .question-reassurance {
        font-size: clamp(0.7rem, 1.1vw, 0.85rem);
        margin-bottom: 15px;
    }

    .question-options {
        gap: 10px;
    }

    .option-btn {
        padding: 12px 16px;
        font-size: clamp(0.8rem, 3vw, 0.9rem);
    }

    .question-progress {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .go-to-next-container {
        top: 50px;
        right: 15px;
        gap: 6px;
    }

    .skip-text {
        font-size: clamp(0.7rem, 2.2vw, 0.8rem);
    }

    .move-on-btn {
        padding: 8px 16px;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }

    .cta-options {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .cta-card {
        padding: 18px 15px;
    }

    .cta-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .cta-card h3 {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        margin-bottom: 6px;
    }

    .cta-card p {
        font-size: clamp(0.75rem, 2.8vw, 0.85rem);
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .phase-navigation {
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }
    
    .back-phase-btn,
    .next-phase-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    .contact-form {
        padding: 20px 15px;
        max-height: calc(100vh - 150px);
        max-height: calc(100dvh - 150px);
    }

    .contact-form h3 {
        margin-bottom: 10px;
    }

    .contact-form .trust-reassurance {
        font-size: clamp(0.65rem, 1vw, 0.8rem);
        margin-bottom: 15px;
    }

    .contact-form h3 {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 10px;
    }

    .contact-form .trust-reassurance {
        font-size: clamp(0.65rem, 1vw, 0.8rem);
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    .cta-button {
        width: auto;
        min-width: 140px;
        max-width: 90%;
        justify-content: center;
        padding: 10px 20px;
        font-size: clamp(0.8rem, 2.8vw, 0.9rem);
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .phase-1 .phase-content {
        gap: 12px;
        padding: 8px 0;
        justify-content: flex-start;
    }

    .phase-1 .main-title {
        font-size: clamp(1.2rem, 5vw, 1.7rem);
        margin-bottom: 18px;
    }

    .phase-1 .cards-container {
        gap: 12px;
        padding: 0;
    }

    .phase-1 .nav-card {
        padding: 15px 14px;
        min-height: 135px;
        gap: 6px;
    }
    
    .insurance-types-container {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 12px 0;
    }
    
    .insurance-type-card {
        padding: 12px 10px;
        gap: 6px;
    }
    
    .insurance-type-icon {
        font-size: 1.3rem;
    }
    
    .insurance-type-title {
        font-size: clamp(0.9rem, 3.2vw, 1.05rem);
    }
    
    .insurance-type-description {
        font-size: clamp(0.68rem, 2vw, 0.75rem);
        line-height: 1.3;
    }
    
    .benefit-item {
        font-size: clamp(0.63rem, 1.8vw, 0.7rem);
        padding: 3px 6px;
    }
    
    .insurance-types-cta {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .cta-text {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
        margin-bottom: 12px;
    }
    
    .insurance-types-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .insurance-types-buttons .next-phase-btn,
    .insurance-types-buttons .welcome-btn {
        width: 100%;
    }

    .phase-1 .nav-icon {
        font-size: 1.9rem;
        margin-bottom: 8px;
    }

    .phase-1 .nav-title {
        font-size: clamp(0.85rem, 3.3vw, 1.05rem);
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .phase-1 .nav-description {
        font-size: clamp(0.7rem, 2.7vw, 0.82rem);
        line-height: 1.4;
    }

    .welcome-back-btn {
        top: 12px;
        right: 12px;
        padding: 7px 12px;
        font-size: clamp(0.75rem, 2.8vw, 0.85rem);
        gap: 6px;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1001 !important;
    }

    .phase-0-6 .welcome-back-btn {
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
        position: fixed !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 2000 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
    }

    .welcome-back-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .insurance-types-container {
        gap: 15px;
        margin: 25px 0;
    }
    
    .insurance-type-card {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .insurance-type-icon {
        font-size: 2.2rem;
    }
    
    .insurance-type-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    
    .insurance-type-description {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        line-height: 1.6;
    }
    
    .benefit-item {
        font-size: clamp(0.75rem, 2.2vw, 0.85rem);
        padding: 8px 12px;
    }
    
    .insurance-types-cta {
        margin-top: 25px;
        padding-top: 25px;
    }
    
    .cta-text {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        margin-bottom: 20px;
    }

    .site-logo {
        top: 12px;
        left: clamp(10px, 3vw, 25px);
        padding: 0;
    }

    .phase-0-6 ~ .site-logo,
    .phase-0-6.active ~ .site-logo {
        display: none !important;
    }

    .logo-image {
        height: clamp(30px, 5.5vw, 55px);
        max-width: clamp(100px, 18vw, 180px);
    }

    .mobile-menu-toggle {
        width: 50px;
        height: 32px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu {
        width: 320px;
        max-width: 85%;
    }

    .mobile-menu-content {
        padding: 60px 15px 20px;
    }

    .mobile-menu-header h3 {
        font-size: 1.3rem;
    }

    .mobile-video-container {
        padding: 15px;
    }

    /* Hide video in mobile menu only when Phase 1 is active */
    .funnel-container:has(.phase-1.active) .mobile-video-container {
        display: none !important;
    }

    .mobile-video-label {
        font-size: 0.85rem;
    }

    .play-overlay svg {
        width: 18px;
        height: 18px;
    }

    .video-close-btn {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
    }

    .video-close-btn svg {
        width: 18px;
        height: 18px;
    }

    .video-modal-content {
        width: 98%;
        height: 65%;
    }

    .phase {
        padding: 40px 12px 15px;
    }
    
    .phase-0-6 {
        padding: 55px 12px 20px;
    }

    .phase-content {
        height: calc(100vh - 55px);
        height: calc(100dvh - 55px);
        padding: 3px 0;
        gap: 8px;
    }

    .main-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: clamp(0.75rem, 3.5vw, 0.9rem);
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(1.1rem, 5.5vw, 1.5rem);
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: clamp(0.75rem, 3.5vw, 0.85rem);
        margin-bottom: 12px;
    }

    .agent-card {
        padding: 14px 12px;
        min-height: 160px;
    }

    .avatar-placeholder {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
    }

    .avatar-placeholder svg {
        width: 26px;
        height: 26px;
    }

    .nav-card {
        padding: 14px 12px;
        min-height: 160px;
    }

    .nav-icon {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .nav-title {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
        margin-bottom: 4px;
    }

    .nav-description {
        font-size: clamp(0.65rem, 2.3vw, 0.7rem);
    }

    .question-card {
        padding: 18px 12px;
    }

    .question-text {
        font-size: clamp(0.85rem, 4.5vw, 1rem);
        margin-bottom: 10px;
    }

    .question-reassurance {
        font-size: clamp(0.65rem, 1vw, 0.8rem);
        margin-bottom: 12px;
    }

    .option-btn {
        padding: 10px 14px;
        font-size: clamp(0.75rem, 3.5vw, 0.85rem);
    }

    .go-to-next-container {
        top: 45px;
        right: 12px;
        gap: 5px;
    }

    .skip-text {
        font-size: clamp(0.65rem, 2vw, 0.75rem);
    }

    .move-on-btn {
        padding: 7px 14px;
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    }

    .cta-card {
        padding: 14px 12px;
        max-width: 100%;
    }

    .cta-icon {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .cta-card h3 {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 4px;
    }

    .cta-card p {
        font-size: clamp(0.68rem, 2.3vw, 0.75rem);
        margin-bottom: 8px;
    }

    .contact-form {
        padding: 18px 12px;
        max-height: calc(100vh - 140px);
        max-height: calc(100dvh - 140px);
    }

    .phase-navigation {
        gap: 10px;
        margin-top: 8px;
    }

    .back-phase-btn,
    .next-phase-btn,
    .cta-button {
        width: auto;
        min-width: 120px;
        max-width: 85%;
        padding: 9px 18px;
        font-size: clamp(0.75rem, 2.8vw, 0.85rem);
        margin: 0 auto;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .phase-0-5 .welcome-content,
    .phase-0-55 .agent-profile-content,
    .phase-0-6 .welcome-content {
        padding-top: 0;
    }

    .phase-0-5 .welcome-container {
        justify-content: center;
        align-items: center;
        padding: 90px 12px 30px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .agent-profile-container {
        padding: 12px 10px;
    }

    .agent-profile-content {
        gap: 18px;
    }

    .agent-profile-image {
        width: 100px;
        height: 100px;
    }

    .agent-name {
        font-size: clamp(1.3rem, 4.5vw, 1.8rem);
        margin-bottom: 5px;
    }

    .agent-profile-name {
        font-size: clamp(1.1rem, 3.8vw, 1.5rem);
        line-height: 1.2;
        margin-bottom: 0;
    }

    .agent-profile-details {
        gap: 8px;
        align-items: center;
    }
    
    .agent-profile-content {
        gap: 12px;
    }
    
    .agent-profile-info {
        gap: 12px;
    }
    
    .profile-detail-item {
        padding: 10px 14px;
        gap: 10px;
        align-self: center;
        margin: 0 auto;
    }
    
    .live-chat-btn {
        padding: 12px 24px;
        font-size: clamp(0.9rem, 2.8vw, 1rem);
    }
    
    .chat-status-message {
        font-size: clamp(0.65rem, 1.9vw, 0.75rem);
        margin-top: -8px;
    }

    .profile-detail-item {
        padding: 9px 12px;
        gap: 9px;
    }

    .detail-icon {
        font-size: 1.2rem;
    }

    .detail-label {
        font-size: clamp(0.65rem, 1.9vw, 0.75rem);
    }

    .detail-value {
        font-size: clamp(0.85rem, 2.3vw, 1rem);
    }

    .live-chat-btn {
        padding: 11px 20px;
        font-size: clamp(0.85rem, 2.6vw, 1rem);
    }

    .chat-status-message {
        font-size: clamp(0.7rem, 2vw, 0.8rem);
    }

    .phase-0-6 {
        padding: 55px 10px 20px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .phase-0-6 .welcome-back-btn {
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        position: fixed !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 2000 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
    }

    .phase-0-6 .welcome-container {
        gap: 8px;
        padding: 0;
        justify-content: flex-start;
        min-height: auto;
    }

    .phase-0-6 .welcome-content {
        gap: 6px;
    }

    .phase-0-6 .welcome-title {
        font-size: clamp(1rem, 3.8vw, 1.4rem);
        margin-bottom: 3px;
        margin-top: 0;
        line-height: 1.25;
        padding-top: 0;
    }

    .phase-0-6 .trust-reassurance {
        font-size: clamp(0.6rem, 0.95vw, 0.75rem);
        margin-top: -4px;
        margin-bottom: 6px;
    }

    .phase-0-6 .service-area-notice {
        font-size: clamp(0.65rem, 1vw, 0.8rem);
        margin-top: -3px;
        margin-bottom: 8px;
    }

    .phase-0-6 .welcome-subtitle {
        font-size: clamp(0.75rem, 3vw, 1rem);
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .phase-0-6 .subtitle-with-dropdowns {
        margin-bottom: 12px;
        font-size: clamp(0.7rem, 2.8vw, 0.95rem);
        gap: 5px;
    }

    .phase-0-6 .subtitle-dropdown {
        min-width: 100px;
        max-width: 47%;
        padding: 5px 9px;
        font-size: clamp(0.65rem, 2.4vw, 0.85rem);
        padding-right: 24px;
    }

    .phase-0-6 .agent-contact-form {
        gap: 10px;
        margin-top: 0;
    }

    .phase-0-6 .form-field-row {
        gap: 8px;
    }

    .phase-0-6 .form-field-group {
        gap: 4px;
    }

    .phase-0-6 .form-field-group label {
        font-size: clamp(0.6rem, 2vw, 0.7rem);
        margin-bottom: 2px;
    }

    .phase-0-6 .form-field-group input,
    .phase-0-6 .form-field-group select {
        padding: 6px 0;
        font-size: clamp(0.7rem, 2.3vw, 0.85rem);
    }

    .phase-0-6 .submit-form-btn {
        padding: 9px 18px;
        font-size: clamp(0.75rem, 2.4vw, 0.9rem);
        margin-top: 6px;
    }

    .welcome-container {
        gap: 18px;
        padding: 22px 12px;
    }

    .welcome-title {
        font-size: clamp(1.2rem, 5vw, 1.7rem);
        margin-bottom: 10px;
    }

    .welcome-subtitle {
        font-size: clamp(0.85rem, 3.5vw, 1.1rem);
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .subtitle-with-dropdowns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        font-size: clamp(0.8rem, 3.3vw, 1.05rem);
        justify-content: center;
        margin-bottom: 20px;
    }

    .subtitle-dropdown {
        min-width: 105px;
        max-width: 47%;
        padding: 6px 11px;
        font-size: clamp(0.75rem, 2.8vw, 0.9rem);
        padding-right: 26px;
    }

    .agent-contact-form {
        gap: 16px;
        width: 100%;
    }

    .form-field-group {
        gap: 6px;
    }

    .form-field-group label {
        font-size: clamp(0.65rem, 2.2vw, 0.8rem);
    }

    .form-field-group input,
    .form-field-group select {
        padding: 9px 0;
        font-size: clamp(0.8rem, 2.6vw, 0.95rem);
    }

    .submit-form-btn {
        margin-top: 18px;
        padding: 11px 22px;
        font-size: clamp(0.85rem, 2.8vw, 1rem);
    }

    .form-field-group label {
        font-size: clamp(0.65rem, 3vw, 0.8rem);
    }

    .form-field-group input,
    .form-field-group select {
        padding: 9px 0;
        font-size: clamp(0.85rem, 3.2vw, 1rem);
    }

    .contact-method-buttons {
        gap: 6px;
    }

    .contact-method-btn {
        min-width: 70px;
        padding: 12px 8px;
        gap: 5px;
    }

    .method-icon {
        font-size: clamp(1.2rem, 4.2vw, 1.5rem);
    }

    .method-label {
        font-size: clamp(0.65rem, 2.5vw, 0.75rem);
    }

    .welcome-back-btn {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: clamp(0.7rem, 3vw, 0.8rem);
        gap: 5px;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1001 !important;
    }

    .welcome-back-btn svg {
        width: 12px;
        height: 12px;
    }

    .site-logo {
        top: 10px;
        left: clamp(8px, 2.5vw, 20px);
        padding: 0;
    }

    .logo-image {
        height: clamp(28px, 5vw, 50px);
        max-width: clamp(90px, 16vw, 150px);
    }

    .mobile-menu-toggle {
        width: 48px;
        height: 30px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-content {
        padding: 55px 12px 15px;
    }

    /* Hide video in mobile menu only when Phase 1 is active */
    .funnel-container:has(.phase-1.active) .mobile-video-container {
        display: none !important;
    }

    .play-overlay svg {
        width: 16px;
        height: 16px;
    }

    .phase {
        padding: 35px 10px 12px;
    }

    .phase-content {
        height: calc(100vh - 47px);
        height: calc(100dvh - 47px);
    }

    .agent-card,
    .question-card,
    .cta-card {
        padding: 12px 10px;
    }

    .cta-icon {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .cta-card h3 {
        font-size: clamp(0.8rem, 2.8vw, 0.9rem);
        margin-bottom: 4px;
    }

    .cta-card p {
        font-size: clamp(0.65rem, 2.2vw, 0.7rem);
        margin-bottom: 8px;
    }

    .cta-button {
        width: auto;
        min-width: 110px;
        max-width: 80%;
        padding: 8px 16px;
        font-size: clamp(0.7rem, 2.5vw, 0.8rem);
        margin: 0 auto;
    }

    .contact-form {
        padding: 15px 10px;
    }
}


/* Learning Page Styles - Educational Theme */
.learning-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
}




/* Learn More Page - Modern & Cool */
.learn-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000 !important;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 212, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 212, 255, 0.1) 0px, transparent 50%);
    z-index: 2000;
    display: block;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
}

.learn-page.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: #000000 !important;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 212, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 212, 255, 0.1) 0px, transparent 50%);
    animation: fadeInPage 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide body gradients when learn page is active */
body:has(.learn-page.active)::before,
body.learn-page-active::before {
    display: none !important;
}

/* Set body background to black when learn page is active */
body.learn-page-active {
    background: #000000 !important;
}

.learn-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 300;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4), 0 0 0 0 rgba(220, 38, 38, 0.5);
    line-height: 1;
}

.learn-close:hover {
    background: rgba(220, 38, 38, 1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.6), 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.learn-close:active {
    transform: scale(0.95) rotate(90deg);
}

/* Learn Page Navigation Bar */
.learn-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 20px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-nav-toggle {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 2001;
    transition: all 0.3s ease;
}

.learn-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.learn-nav-toggle-line {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.learn-nav-toggle.active .learn-nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.learn-nav-toggle.active .learn-nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.learn-nav-toggle.active .learn-nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.learn-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.learn-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.learn-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.learn-nav-link:hover::before {
    left: 100%;
}

.learn-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.learn-nav-link.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.learn-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

@media (max-width: 768px) {
    .learn-nav-toggle {
        display: flex;
    }
    
    .learn-navbar-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 16px;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .learn-navbar-container.active {
        display: flex;
    }
    
    .learn-nav-link {
        font-size: 0.875rem;
        padding: 12px 16px;
        width: 100%;
        text-align: center;
        border-radius: 6px;
    }
    
    .learn-nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
    }
}

.learn-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 32px 60px;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.learn-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 48px;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.learn-section {
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.learn-section:nth-child(1) { animation-delay: 0.1s; }
.learn-section:nth-child(2) { animation-delay: 0.2s; }
.learn-section:nth-child(3) { animation-delay: 0.3s; }
.learn-section:nth-child(4) { animation-delay: 0.4s; }
.learn-section:nth-child(5) { animation-delay: 0.5s; }

.learn-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    padding-left: 16px;
}

.learn-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #00d4ff, transparent);
    border-radius: 2px;
}

.learn-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.learn-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.learn-list li {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0 8px 28px;
    position: relative;
}

.learn-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.learn-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.learn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.learn-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.learn-card:hover::before {
    opacity: 1;
}

.learn-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.learn-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.learn-accordion {
    margin-top: 16px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.accordion-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-header.active {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #00d4ff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
    margin: 0;
}

.accordion-content.active {
    max-height: 500px;
    padding: 20px;
}

.accordion-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.learn-cta {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(0, 212, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    color: white;
    padding: 48px 32px;
    border-radius: 20px;
    text-align: center;
    margin-top: 48px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.learn-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.learn-cta h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.learn-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 24px;
}

.learn-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.learn-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.learn-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.learn-btn:hover::before {
    width: 300px;
    height: 300px;
}

.learn-btn.primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.learn-btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
}

.learn-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.learn-btn.secondary:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

@media (max-width: 768px) {
    .learn-container {
        max-width: 720px;
        margin: 0 auto;
        padding: 60px 24px 40px;
    }
    
    .learn-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }
    
    .learn-section {
        margin-bottom: 36px;
    }
    
    .learn-section h2 {
        font-size: 1.5rem;
        padding-left: 12px;
    }
    
    .learn-section h2::before {
        width: 3px;
        height: 20px;
    }
    
    .learn-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .learn-cta {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .learn-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
    line-height: 1.2;
}

    .learn-section {
    margin-bottom: 32px;
}

    .learn-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

    .learn-buttons {
        flex-direction: column;
    }

    .learn-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
}

/* Section Toggle for Common Questions */
.section-toggle {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #00d4ff;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 0 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: all 0.2s ease;
}

.section-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.section-toggle.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

.section-toggle-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-toggle h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffffff;
}

.section-toggle-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.section-toggle-icon {
    font-size: 1.75rem;
    font-weight: 300;
    color: #00d4ff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.section-toggle.active .section-toggle-icon {
    transform: rotate(45deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.section-content.active {
    max-height: 5000px;
    margin-top: 20px;
}

/* Needs Assessment CTA Button */
.needs-assessment-cta {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #e2e8f0;
}

.needs-assessment-cta {
    display: none !important;
}

.needs-assessment-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.needs-assessment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.needs-assessment-btn .cta-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.needs-assessment-btn .cta-content {
    flex: 1;
    text-align: left;
}

.needs-assessment-btn .cta-content h3 {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.needs-assessment-btn .cta-content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.needs-assessment-btn .cta-arrow {
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.needs-assessment-btn:hover .cta-arrow {
    transform: translateX(4px);
}

/* Needs Assessment Modal */
.needs-assessment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.needs-assessment-modal.active {
    display: flex;
}

.needs-assessment-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    touch-action: none;
}

.needs-assessment-container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 3001;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.needs-assessment-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3002;
    transition: all 0.2s ease;
}

.needs-assessment-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

/* Assessment Steps */
.assessment-step {
    display: none;
    padding: 40px;
    position: relative;
}

.assessment-step.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: 32px;
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.step-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* Introduction Step */
.intro-content {
    text-align: center;
}

.intro-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.intro-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.intro-content > p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.intro-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #475569;
}

.benefit-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Question Container */
.step-progress {
    margin-bottom: 24px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.875rem;
    color: #64748b;
    display: block;
    text-align: center;
}

/* Coverage Display */
.coverage-display {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.coverage-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coverage-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.coverage-breakdown {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.6;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: 600;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* Question Container */
.question-container {
    margin-bottom: 32px;
}

.question-item {
    display: none;
}

.question-item.active {
    display: block;
}

.question-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    display: block;
}

.question-hint {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 20px;
    display: block;
}

.question-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.question-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Currency input with integrated dollar sign */
.currency-input {
    position: relative;
    padding-left: 40px !important;
}

.currency-input::before {
    content: '$';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

/* Educational Tips */
.educational-tip {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.875rem;
    color: #1e40af;
    line-height: 1.6;
}

.educational-tip strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

/* Assessment Buttons */
.assessment-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.assessment-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.assessment-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.assessment-btn.secondary {
    background: #f1f5f9;
    color: #475569;
}

.assessment-btn.secondary:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.5);
}

.assessment-btn.outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.assessment-btn.outline:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.6);
    color: #22c55e;
}

.assessment-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Scenario Controls */
.scenario-controls {
    margin-bottom: 32px;
}

.scenario-control-group {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.scenario-control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: #0f172a;
}

.scenario-control-value {
    font-size: 1.25rem;
    color: #3b82f6;
    font-weight: 700;
}

.scenario-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.scenario-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}

.scenario-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
}

.scenario-results {
    margin-bottom: 32px;
}

.scenario-coverage {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.scenario-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.scenario-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.scenario-chart {
    height: 200px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 20px;
    gap: 8px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: height 0.3s ease;
    position: relative;
}

.chart-bar-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
}

/* Recommendations */
.recommendation-content {
    text-align: center;
}

.recommendation-summary {
    margin-bottom: 40px;
}

.summary-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.summary-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.summary-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.summary-note {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.summary-breakdown {
    background: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    text-align: left;
}

.breakdown-category {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breakdown-category:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.125rem;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #e2e8f0;
}

.breakdown-category-label {
    color: #475569;
}

.breakdown-category-value {
    color: #0f172a;
    font-weight: 600;
}

.recommendation-actions {
    margin-top: 40px;
}

.recommendation-actions h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-buttons .assessment-btn {
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .needs-assessment-modal {
        padding: 0;
        overflow: hidden;
    }
    
    .needs-assessment-container {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        overscroll-behavior: none;
    }

    .assessment-step {
        padding: 60px 20px 24px 20px;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        min-height: 0;
        touch-action: pan-y;
        will-change: scroll-position;
    }
    
    .needs-assessment-close {
        position: fixed;
        top: 20px;
        right: 20px;
        margin: 0;
        z-index: 3003;
    }

    .step-header h2 {
        font-size: 1.5rem;
    }

    .intro-benefits {
        grid-template-columns: 1fr;
    }

    .coverage-amount,
    .summary-amount,
    .scenario-amount {
        font-size: 2rem;
    }

    .assessment-nav {
        flex-direction: column;
    }

    .assessment-nav .assessment-btn {
        width: 100%;
    }

    .needs-assessment-btn {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .needs-assessment-btn .cta-content {
        text-align: center;
    }
}

