/** Shopify CDN: Minification failed

Line 18:10 Expected identifier but found whitespace
Line 18:11 Unexpected "100%"

**/
/* Injoy native hearing test - built from HearingTest/client/index.html */
#hearing-test-root {
        
            --primary-color: #085e88;
            --secondary-color: #61d0ee;
            --accent-color: #fe5f00;
            --text-color: #2d3748;
            --gray-light: #f7fafc;
            --gray-medium: #e2e8f0;
            --gray-dark: #718096;
        }
    width: 100%;
}

        #hearing-test-root, #hearing-test-root * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        #hearing-test-root {/* Keep gradient fixed while scrolling *//* Start from top to allow natural scrolling *//* Extra bottom padding *//* Enable vertical scrolling when needed */
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            background-attachment: fixed; 
            min-height: 100vh;
            display: flex;
            align-items: flex-start; 
            justify-content: center;
            padding: 20px 20px 40px 20px; 
            overflow-y: auto; 
        }
        
        #hearing-test-root .embed-mode {/* Keep the gradient background in embed mode *//* Use 100% instead of 100vh for iframes *//* Let content determine height *//* Allow scrolling from top *//* Override flex for better mobile iframe compatibility */
            
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            background-attachment: fixed;
            min-height: 100%; 
            height: auto; 
            align-items: flex-start; 
            padding: 20px 20px 40px 20px;
            display: block; 
        }
        
        #hearing-test-root .app-container {/* Add margin for scrolling space *//* Remove height constraints *//* Ensure content is not hidden */
            background: white;
            border-radius: 20px;
            padding: 40px;
            max-width: 500px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
            isolation: isolate;
            margin: 20px auto; 
            max-height: none; 
            overflow: visible; 
        }
        
        #hearing-test-root .embed-mode .app-container {/* Keep the shadow for visual depth in embed mode *//* Reduce padding on mobile *//* Less margin in embed mode *//* Allow full height in embed *//* Show all content */
            
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            padding: 30px; 
            margin: 10px auto; 
            max-height: none; 
            overflow: visible; 
        }/* Mobile-specific embed styling */
        
        
        @media (max-width: 640px) {
            #hearing-test-root .embed-mode {
                padding: 10px;
            }
            
            #hearing-test-root .embed-mode .app-container {
                padding: 20px;
                margin: 10px;
                border-radius: 12px;
            }
        }
        
        #hearing-test-root h1 {
            text-align: center;
            color: var(--text-color);
            margin-bottom: 10px;
            font-size: 28px;
            position: relative;
            z-index: 10;
            background: white;
            padding: 10px 0;
        }
        
        #hearing-test-root .brand-logo {
            display: block;
            height: 50px;
            width: auto;
            margin: 0 auto;
            object-fit: contain;
        }
        
        #hearing-test-root .subtitle {
            text-align: center;
            color: var(--gray-dark);
            margin-bottom: 30px;
            font-size: 14px;
        }
        
        #hearing-test-root .screen {
            display: none;
            position: relative;
            z-index: 1;
        }
        
        #hearing-test-root .screen.active {
            display: block;
        }/* Start screen */
        
        
        #hearing-test-root .start-screen {
            text-align: center;
        }
        
        #hearing-test-root .hearing-test-title {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 30px;
            color: var(--primary-color);
            text-align: center;
        }
        
        #hearing-test-root .instructions {
            background: var(--gray-light);
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            line-height: 1.6;
            color: #4a5568;
            text-align: left;
        }
        
        #hearing-test-root .calibration-instructions {
            background: white;
            border: 1px solid var(--gray-medium);
            padding: 16px;
            border-radius: 12px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        
        #hearing-test-root .instructions-header {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        #hearing-test-root .instruction-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        
        #hearing-test-root .instruction-step {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px;
            border-radius: 8px;
            transition: background 0.2s;
        }
        
        #hearing-test-root .instruction-step:hover {
            background: var(--gray-light);
        }
        
        #hearing-test-root .step-number {
            width: 20px;
            height: 20px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 10px;
            flex-shrink: 0;
        }
        
        #hearing-test-root .step-icon {
            font-size: 16px;
            flex-shrink: 0;
        }
        
        #hearing-test-root .step-content {
            flex: 1;
            color: var(--text-color);
            line-height: 1.5;
        }
        
        #hearing-test-root .step-title {
            font-weight: 500;
            margin-bottom: 2px;
            color: var(--text-color);
            font-size: 12px;
        }
        
        #hearing-test-root .step-description {
            font-size: 11px;
            color: var(--gray-dark);
            line-height: 1.3;
        }
        
        #hearing-test-root .test-flow {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin: 25px 0;
            padding: 20px;
            background: var(--gray-light);
            border-radius: 12px;
        }
        
        #hearing-test-root .flow-step {
            text-align: center;
        }
        
        #hearing-test-root .step-icon {
            font-size: 32px;
            display: block;
            margin-bottom: 8px;
        }
        
        #hearing-test-root .step-text {
            font-size: 14px;
            color: #4a5568;
            font-weight: 600;
        }
        
        #hearing-test-root .step-text small {
            display: block;
            font-size: 12px;
            color: var(--gray-dark);
            font-weight: normal;
            margin-top: 2px;
        }
        
        #hearing-test-root .flow-arrow {
            font-size: 24px;
            color: #cbd5e0;
        }
        
        #hearing-test-root .btn {
            width: 100%;
            padding: 18px;
            border: none;
            border-radius: 10px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            color: white;
        }
        
        #hearing-test-root .btn-primary {
            background: var(--accent-color);
        }
        
        #hearing-test-root .btn-primary:hover {
            transform: translateY(-2px);
            opacity: 0.9;
        }
        
        #hearing-test-root .btn-secondary {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
        }
        
        #hearing-test-root .btn-secondary:hover {
            transform: translateY(-2px);
            opacity: 0.9;
        }
        
        #hearing-test-root a.btn {
            text-decoration: none;
            display: inline-block;
        }/* Solution card inner content styles */
        
        
        #hearing-test-root .solution-card p {
            margin-bottom: 15px;
            line-height: 1.6;
            color: var(--text-color);
            font-size: 15px;
        }
        
        #hearing-test-root .solution-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        #hearing-test-root .solution-card li {
            padding: 12px 0;
            padding-left: 32px;
            position: relative;
            color: var(--text-color);
            line-height: 1.5;
            border-bottom: 1px solid #f0f0f0;
            font-size: 15px;
        }
        
        #hearing-test-root .solution-card li:last-child {
            border-bottom: none;
        }
        
        #hearing-test-root .solution-card li:before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-weight: bold;
            font-size: 18px;
        }/* Enhanced CTA section styles */
        
        
        #hearing-test-root .cta-section {
            background: linear-gradient(135deg, #fff9f5 0%, #fff0e6 100%);
            border-radius: 20px;
            padding: 35px;
            text-align: center;
            margin: 35px 0;
            border: 3px solid var(--accent-color);
            box-shadow: 0 8px 25px rgba(254, 95, 0, 0.15);
            position: relative;
            overflow: hidden;
        }
        
        #hearing-test-root .cta-section:before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(254, 95, 0, 0.1) 0%, transparent 70%);
            animation: pulse 3s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(0.8); opacity: 0.5; }
            50% { transform: scale(1.2); opacity: 0.8; }
        }
        
        #hearing-test-root .cta-section h3 {
            color: var(--primary-color);
            font-size: 28px;
            margin-bottom: 12px;
            font-weight: 800;
            letter-spacing: -0.5px;
            position: relative;
            z-index: 1;
        }
        
        #hearing-test-root .cta-text {
            color: var(--text-color);
            font-size: 17px;
            margin-bottom: 25px;
            line-height: 1.4;
            position: relative;
            z-index: 1;
        }
        
        #hearing-test-root .cta-section .btn-primary {
            font-size: 20px;
            padding: 20px 40px;
            box-shadow: 0 4px 15px rgba(254, 95, 0, 0.3);
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        #hearing-test-root .cta-section .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(254, 95, 0, 0.4);
        }
        
        #hearing-test-root .trial-text {
            color: var(--primary-color);
            font-size: 15px;
            margin-top: 20px;
            font-weight: 700;
            padding: 10px 20px;
            background: rgba(8, 94, 136, 0.1);
            border-radius: 30px;
            display: inline-block;
            position: relative;
            z-index: 1;
        }/* Ear indicator */
        
        
        #hearing-test-root .ear-indicator {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        #hearing-test-root .ear-badge {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 18px;
            background: var(--gray-medium);
            color: #a0aec0;
            transition: all 0.3s;
        }
        
        #hearing-test-root .ear-badge.active {
            background: var(--primary-color);
            color: white;
            transform: scale(1.2);
        }
        
        #hearing-test-root .ear-label {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-color);
        }/* Frequency display */
        
        
        #hearing-test-root .frequency-indicator {
            text-align: center;
            margin-bottom: 30px;
        }
        
        #hearing-test-root .current-freq {
            font-size: 48px;
            font-weight: bold;
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        #hearing-test-root .freq-label {
            color: var(--gray-dark);
            margin-top: 5px;
            font-size: 14px;
        }/* Sound visualizer */
        
        
        #hearing-test-root .sound-visualizer {
            height: 100px;
            background: var(--gray-light);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            position: relative;
        }
        
        #hearing-test-root .sound-wave {
            display: flex;
            align-items: center;
            gap: 6px;
            height: 100px;
        }
        
        #hearing-test-root .wave-bar {
            width: 6px;
            background: var(--gray-medium);
            border-radius: 3px;
            transition: height 0.5s ease, background 0.3s ease;
        }
        
        #hearing-test-root .wave-bar.playing {
            background: linear-gradient(to top, var(--secondary-color), var(--primary-color));
            animation: wave var(--animation-speed, 1.2s) ease-in-out infinite;
        }
        
        #hearing-test-root .wave-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
        #hearing-test-root .wave-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
        #hearing-test-root .wave-bar:nth-child(3) { height: 80%; animation-delay: 0.2s; }
        #hearing-test-root .wave-bar:nth-child(4) { height: 100%; animation-delay: 0.3s; }
        #hearing-test-root .wave-bar:nth-child(5) { height: 90%; animation-delay: 0.4s; }
        #hearing-test-root .wave-bar:nth-child(6) { height: 75%; animation-delay: 0.5s; }
        #hearing-test-root .wave-bar:nth-child(7) { height: 60%; animation-delay: 0.6s; }
        #hearing-test-root .wave-bar:nth-child(8) { height: 50%; animation-delay: 0.7s; }
        #hearing-test-root .wave-bar:nth-child(9) { height: 40%; animation-delay: 0.8s; }
        
        @keyframes wave {
            0%, 100% { transform: scaleY(1); opacity: 0.8; }
            50% { transform: scaleY(1.3); opacity: 1; }
        }
        
        #hearing-test-root .play-control {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            color: var(--primary-color);
        }
        
        #hearing-test-root .play-control.playing {
            background: var(--primary-color);
            color: white;
        }/* Response buttons */
        
        
        #hearing-test-root .response-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        #hearing-test-root .response-btn {
            padding: 18px;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            color: white;
        }
        
        #hearing-test-root .btn-hear {
            background: #48bb78;
        }
        
        #hearing-test-root .btn-hear:hover {
            background: #38a169;
            transform: translateY(-2px);
        }
        
        #hearing-test-root .btn-no-hear {
            background: var(--accent-color);
        }
        
        #hearing-test-root .btn-no-hear:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }/* Progress */
        
        
        #hearing-test-root .progress-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 10px;
        }
        
        #hearing-test-root .progress-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--gray-medium);
            transition: all 0.3s;
        }
        
        #hearing-test-root .progress-dot.active {
            background: var(--secondary-color);
            transform: scale(1.3);
        }
        
        #hearing-test-root .progress-dot.completed {
            background: #48bb78;
        }/* Form */
        
        
        #hearing-test-root .form-group {
            margin-bottom: 20px;
        }
        
        #hearing-test-root .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #4a5568;
            font-size: 14px;
        }
        
        #hearing-test-root .form-input {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--gray-medium);
            border-radius: 8px;
            font-size: 16px;
        }
        
        #hearing-test-root .form-input:focus {
            outline: none;
            border-color: var(--secondary-color);
        }
        
        #hearing-test-root .checkbox-label {
            display: flex;
            align-items: flex-start;
            font-size: 12px;
            line-height: 1.6;
            color: #4a5568;
            gap: 10px;
        }
        
        #hearing-test-root .checkbox-label input {
            margin-top: 3px;
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        
        #hearing-test-root .checkbox-label span {
            display: inline;
            text-align: left;
        }
        
        #hearing-test-root .brand-name-inline {
            display: inline;
            font-weight: 600;
            white-space: nowrap;
        }/* Results Screen Enhanced Styles */
        
        
        #hearing-test-root .results-screen {
            animation: fadeIn 0.6s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        #hearing-test-root .hearing-level-card {
            text-align: center;
            padding: 40px 30px;
            background: linear-gradient(145deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            border-radius: 24px;
            margin-bottom: 28px;
            box-shadow: 0 16px 40px rgba(8, 94, 136, 0.35);
            position: relative;
            overflow: hidden;
        }
        
        #hearing-test-root .hearing-level-card:before {
            content: '';
            position: absolute;
            top: -80%;
            right: -40%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
        
        #hearing-test-root .hearing-level-card:after {
            content: '';
            position: absolute;
            bottom: -60%;
            left: -30%;
            width: 250px;
            height: 250px;
            background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
            border-radius: 50%;
        }
        
        #hearing-test-root .hearing-level-card h2 {
            margin: 0 0 8px 0;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }
        
        #hearing-test-root .hearing-level {
            font-size: 34px;
            font-weight: 800;
            margin: 16px 0;
            padding: 14px 28px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            display: inline-block;
            letter-spacing: -0.5px;
            position: relative;
            z-index: 1;
            border: 1px solid rgba(255,255,255,0.25);
        }
        
        #hearing-test-root .hearing-level-description {
            font-size: 16px;
            opacity: 0.95;
            line-height: 1.6;
            max-width: 85%;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        #hearing-test-root .results-section-label {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--gray-dark);
            margin-bottom: 12px;
            display: block;
        }
        
        #hearing-test-root .insights-card, #hearing-test-root .next-steps-card, #hearing-test-root .solution-card {
            background: white;
            border: 1px solid #edf2f7;
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            animation: slideUp 0.5s ease-out backwards;
        }
        
        #hearing-test-root .insights-card { animation-delay: 0.1s; }
        #hearing-test-root .solution-card { animation-delay: 0.2s; }
        #hearing-test-root .next-steps-card { animation-delay: 0.3s; }
        
        #hearing-test-root .insights-card h3, #hearing-test-root .next-steps-card h3, #hearing-test-root .solution-card h3 {
            margin: 0 0 18px 0;
            color: var(--primary-color);
            font-size: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        #hearing-test-root .card-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }
        
        #hearing-test-root .card-icon.insights-icon {
            background: linear-gradient(135deg, #e8f4fd, #d0ecfb);
        }
        
        #hearing-test-root .card-icon.solution-icon {
            background: linear-gradient(135deg, #e8faf0, #d0f5e0);
        }
        
        #hearing-test-root .card-icon.steps-icon {
            background: linear-gradient(135deg, #fff4e6, #ffe8cc);
        }
        
        #hearing-test-root #keyInsights ul, #hearing-test-root #nextSteps ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        #hearing-test-root #keyInsights li, #hearing-test-root #nextSteps li {
            padding: 14px 0 14px 36px;
            position: relative;
            line-height: 1.6;
            font-size: 15px;
            color: var(--text-color);
            border-bottom: 1px solid #f5f5f5;
        }
        
        #hearing-test-root #keyInsights li:last-child, #hearing-test-root #nextSteps li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        #hearing-test-root #keyInsights li:before {
            content: '';
            position: absolute;
            left: 6px;
            top: 18px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--secondary-color);
        }
        
        #hearing-test-root #nextSteps li:before {
            content: '';
            position: absolute;
            left: 2px;
            top: 16px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--accent-color);
        }
        
        #hearing-test-root #nextSteps li:after {
            content: '';
            position: absolute;
            left: 6px;
            top: 20px;
            width: 7px;
            height: 4px;
            border-left: 2px solid white;
            border-bottom: 2px solid white;
            transform: rotate(-45deg);
        }
        
        #hearing-test-root .ear-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin: 24px 0;
            padding: 0;
            animation: slideUp 0.5s ease-out 0.35s backwards;
        }
        
        #hearing-test-root .comparison-item {
            text-align: center;
            padding: 20px 15px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            border: 1px solid #edf2f7;
        }
        
        #hearing-test-root .ear-icon {
            font-size: 24px;
            margin-bottom: 6px;
            display: block;
        }
        
        #hearing-test-root .ear-label {
            display: block;
            font-size: 13px;
            color: var(--gray-dark);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 700;
        }
        
        #hearing-test-root #leftEarSummary, #hearing-test-root #rightEarSummary {
            padding: 8px 16px;
            border-radius: 24px;
            font-size: 13px;
            font-weight: 700;
            display: inline-block;
            margin-top: 4px;
            max-width: 100%;
            word-wrap: break-word;
            white-space: normal;
            line-height: 1.3;
        }/* Hearing Level Status Badges */
        
        
        #hearing-test-root .hearing-normal { 
            background: linear-gradient(135deg, #d4f1d4, #b8e6b8);
            color: #1e6b1e;
            box-shadow: 0 2px 8px rgba(42, 127, 42, 0.15);
        }
        
        #hearing-test-root .hearing-mild { 
            background: linear-gradient(135deg, #e8f3ff, #c8e3ff);
            color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(8, 94, 136, 0.15);
        }
        
        #hearing-test-root .hearing-moderate { 
            background: linear-gradient(135deg, #fff7e6, #ffe4b3);
            color: #b37700;
            box-shadow: 0 2px 8px rgba(204, 136, 0, 0.15);
        }
        
        #hearing-test-root .hearing-severe { 
            background: linear-gradient(135deg, #ffe6e6, #ffcccc);
            color: #b30000;
            box-shadow: 0 2px 8px rgba(204, 0, 0, 0.15);
        }/* CTA Schedule Section */
        
        
        #hearing-test-root .cta-schedule-section {
            background: linear-gradient(145deg, #fef9f0, #fff5e6);
            border: 3px solid var(--accent-color);
            border-radius: 24px;
            padding: 36px 28px;
            margin: 28px 0;
            text-align: center;
            animation: slideUp 0.5s ease-out 0.4s backwards;
            position: relative;
            overflow: hidden;
        }
        
        #hearing-test-root .cta-schedule-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--accent-color));
        }
        
        #hearing-test-root .cta-schedule-section h3 {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary-color);
            margin: 0 0 10px 0;
            line-height: 1.3;
        }
        
        #hearing-test-root .cta-schedule-section .cta-subtitle {
            font-size: 16px;
            color: var(--text-color);
            margin-bottom: 24px;
            line-height: 1.5;
        }
        
        #hearing-test-root .cta-benefits {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }
        
        #hearing-test-root .cta-benefit-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-color);
        }
        
        #hearing-test-root .cta-benefit-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--accent-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }
        
        #hearing-test-root .meetings-iframe-container {
            margin: 0 auto;
            max-width: 100%;
            border-radius: 16px;
            overflow: hidden;
        }
        
        #hearing-test-root .meetings-iframe-container iframe {
            border-radius: 16px;
        }
        
        #hearing-test-root .cta-fallback-btn {
            display: inline-block;
            padding: 16px 40px;
            background: var(--accent-color);
            color: white;
            font-size: 18px;
            font-weight: 700;
            border-radius: 50px;
            text-decoration: none;
            box-shadow: 0 8px 25px rgba(254, 95, 0, 0.35);
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            letter-spacing: 0.3px;
        }
        
        #hearing-test-root .cta-fallback-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(254, 95, 0, 0.45);
            background: #e55500;
        }
        
        #hearing-test-root .cta-or-divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 20px 0;
            color: #999;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }
        
        #hearing-test-root .cta-or-divider:before, #hearing-test-root .cta-or-divider:after {
            content: '';
            flex: 1;
            height: 1px;
            background: #ccc;
        }
        
        #hearing-test-root .warning {
            margin-top: 25px;
            padding: 18px;
            background: linear-gradient(90deg, #f0f9ff 0%, #e6f7ff 100%);
            border-left: 4px solid var(--secondary-color);
            border-radius: 0 12px 12px 0;
            font-size: 14px;
            color: var(--text-color);
            box-shadow: 0 2px 10px rgba(97, 208, 238, 0.1);
            font-style: italic;
            line-height: 1.6;
        }
        
        #hearing-test-root .status-message {
            text-align: center;
            padding: 10px;
            background: #e6f9fc;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            color: var(--primary-color);
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        #hearing-test-root .status-message.show {
            opacity: 1;
        }/* Loading */
        
        
        #hearing-test-root .loading {
            display: none;
            text-align: center;
            padding: 40px;
        }
        
        #hearing-test-root .loading.active {
            display: block;
        }
        
        #hearing-test-root .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid var(--gray-light);
            border-top: 5px solid var(--accent-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }/* Calibration screen */
        
        
        #hearing-test-root .calibration-screen {
            text-align: center;
        }
        
        #hearing-test-root .volume-control {
            margin: 30px 0;
        }
        
        #hearing-test-root .volume-label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--text-color);
            font-size: 16px;
        }
        
        #hearing-test-root .volume-slider {
            width: 100%;
            height: 8px;
            border-radius: 4px;
            background: var(--gray-medium);
            outline: none;
            opacity: 0.8;
            transition: opacity 0.2s;
            margin: 15px 0;
            -webkit-appearance: none;
        }
        
        #hearing-test-root .volume-slider:hover {
            opacity: 1;
        }
        
        #hearing-test-root .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
        }
        
        #hearing-test-root .volume-slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            border: none;
        }
        
        #hearing-test-root .volume-value {
            display: inline-block;
            margin-top: 10px;
            padding: 8px 16px;
            background: var(--gray-light);
            border-radius: 8px;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        #hearing-test-root .ear-test-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin: 12px 0;
        }
        
        #hearing-test-root .ear-test-btn {
            padding: 10px;
            border: 2px solid var(--gray-medium);
            border-radius: 10px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: 600;
        }
        
        #hearing-test-root .ear-test-btn:hover {
            border-color: var(--secondary-color);
            background: var(--gray-light);
        }
        
        #hearing-test-root .ear-test-btn.active {
            border-color: var(--primary-color);
            background: var(--primary-color);
            color: white;
        }/* Mobile responsive */
        
        
        @media (max-width: 768px) {
            #hearing-test-root .app-container {
                padding: 20px;
            }
            
            #hearing-test-root .test-flow {
                flex-direction: column;
                gap: 10px;
            }
            
            #hearing-test-root .flow-arrow {
                transform: rotate(90deg);
            }
            
            #hearing-test-root .response-container {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            
            #hearing-test-root .ear-results {
                grid-template-columns: 1fr;
            }
            
            #hearing-test-root .ear-test-buttons {
                grid-template-columns: 1fr;
            }
            
            #hearing-test-root .instruction-grid {
                grid-template-columns: 1fr;
            }
            
            #hearing-test-root .ear-comparison {
                gap: 12px;
            }
            
            #hearing-test-root .comparison-item {
                padding: 14px 10px;
            }
            
            #hearing-test-root #leftEarSummary, #hearing-test-root #rightEarSummary {
                padding: 6px 10px;
                font-size: 13px;
            }
            
            #hearing-test-root .cta-schedule-section {
                padding: 28px 20px;
            }
            
            #hearing-test-root .cta-schedule-section h3 {
                font-size: 22px;
            }
            
            #hearing-test-root .cta-benefits {
                gap: 12px;
            }
            
            #hearing-test-root .cta-benefit-item {
                font-size: 13px;
            }
            
            #hearing-test-root .hearing-level-card {
                padding: 30px 20px;
            }
            
            #hearing-test-root .hearing-level {
                font-size: 28px;
                padding: 12px 20px;
            }
        }
        
        @media (max-width: 480px) {
            #hearing-test-root h1 {
                font-size: 24px;
            }
            
            #hearing-test-root .brand-logo {
                height: 40px;
            }
            
            #hearing-test-root .current-freq {
                font-size: 36px;
            }
            
            #hearing-test-root .freq-results {
                grid-template-columns: repeat(3, 1fr);
                gap: 5px;
            }
            
            #hearing-test-root .ear-comparison {
                gap: 8px;
            }
            
            #hearing-test-root .comparison-item {
                padding: 10px;
            }
            
            #hearing-test-root #leftEarSummary, #hearing-test-root #rightEarSummary {
                padding: 5px 8px;
                font-size: 12px;
            }
            
            #hearing-test-root .cta-schedule-section h3 {
                font-size: 20px;
            }
            
            #hearing-test-root .cta-benefits {
                flex-direction: column;
                gap: 8px;
            }
            
            #hearing-test-root .hearing-level {
                font-size: 24px;
                padding: 10px 16px;
            }
            
            #hearing-test-root .hearing-level-card h2 {
                font-size: 14px;
            }
        }/* Severity Scale */

        
        #hearing-test-root .severity-scale {
            margin: 0 0 24px 0;
            animation: slideUp 0.5s ease-out 0.15s backwards;
        }

        #hearing-test-root .severity-bar {
            display: flex;
            border-radius: 12px;
            overflow: hidden;
            height: 40px;
        }

        #hearing-test-root .severity-segment {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(0,0,0,0.4);
            transition: all 0.3s ease;
            position: relative;
        }

        #hearing-test-root .severity-segment span {
            position: relative;
            z-index: 1;
        }

        #hearing-test-root .severity-normal { background: #d4edda; }
        #hearing-test-root .severity-mild { background: #fff3cd; }
        #hearing-test-root .severity-moderate { background: #ffe0b2; }
        #hearing-test-root .severity-significant { background: #f8d7da; }

        #hearing-test-root .severity-segment.active {
            color: white;
            font-size: 13px;
            transform: scaleY(1.15);
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            z-index: 2;
        }

        #hearing-test-root .severity-normal.active { background: #28a745; }
        #hearing-test-root .severity-mild.active { background: #daa520; }
        #hearing-test-root .severity-moderate.active { background: #e67e22; }
        #hearing-test-root .severity-significant.active { background: #dc3545; }/* Ear Comparison Note */

        
        #hearing-test-root .ear-comparison-note {
            text-align: center;
            font-size: 14px;
            color: var(--gray-dark);
            font-style: italic;
            line-height: 1.5;
            margin: -10px 0 24px 0;
            padding: 0 10px;
            animation: slideUp 0.5s ease-out 0.4s backwards;
        }/* Prefer to Call Section */

        
        #hearing-test-root .prefer-call-section {
            margin: 20px 0;
            text-align: center;
        }

        #hearing-test-root .prefer-call-text {
            font-size: 15px;
            color: var(--gray-dark);
            margin-bottom: 10px;
            font-weight: 600;
        }

        #hearing-test-root .phone-cta-btn {
            display: inline-block;
            padding: 14px 32px;
            background: var(--primary-color);
            color: white;
            font-size: 17px;
            font-weight: 700;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(8, 94, 136, 0.3);
        }

        #hearing-test-root .phone-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(8, 94, 136, 0.4);
        }/* Urgency text */

        
        #hearing-test-root .urgency-text {
            display: inline-block;
            margin-top: 20px;
            font-size: 14px;
            color: #c35200;
            font-weight: 700;
            font-style: italic;
            text-align: center;
            background: #fff3e0;
            border: 1px solid #f5a623;
            border-radius: 8px;
            padding: 10px 20px;
        }
        
        #hearing-test-root .urgency-text-wrapper {
            text-align: center;
        }/* CTA results tie-back */

        
        #hearing-test-root .cta-results-tie {
            font-size: 15px;
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 16px;
            padding: 10px 16px;
            background: rgba(8, 94, 136, 0.08);
            border-radius: 10px;
            border-left: 3px solid var(--primary-color);
            text-align: left;
        }/* Schedule section inner layout */

        
        #hearing-test-root .schedule-section-inner {
            text-align: left;
        }

        #hearing-test-root .schedule-copy-side {
            text-align: center;
        }

        #hearing-test-root .schedule-calendar-side {
            min-height: 100px;
        }/* Why Brand Section */

        
        #hearing-test-root .why-brand-section {
            background: white;
            border: 1px solid #edf2f7;
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            animation: slideUp 0.5s ease-out 0.5s backwards;
        }

        #hearing-test-root .why-brand-section h3 {
            margin: 0 0 20px 0;
            color: var(--primary-color);
            font-size: 22px;
            font-weight: 700;
            text-align: center;
        }

        #hearing-test-root .why-brand-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        #hearing-test-root .why-brand-item {
            display: flex;
            gap: 14px;
            align-items: flex-start;
            padding: 16px;
            background: var(--gray-light);
            border-radius: 14px;
            transition: transform 0.2s ease;
        }

        #hearing-test-root .why-brand-item:hover {
            transform: translateY(-2px);
        }

        #hearing-test-root .why-brand-icon {
            font-size: 28px;
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }

        #hearing-test-root .why-brand-item strong {
            display: block;
            color: var(--primary-color);
            font-size: 15px;
            margin-bottom: 4px;
        }

        #hearing-test-root .why-brand-item p {
            margin: 0;
            font-size: 14px;
            color: var(--text-color);
            line-height: 1.4;
        }/* Secondary outline button */

        
        #hearing-test-root .btn-outline-secondary {
            display: inline-block;
            padding: 14px 32px;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            font-size: 16px;
            font-weight: 700;
            border-radius: 10px;
            text-decoration: none;
            background: transparent;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #hearing-test-root .btn-outline-secondary:hover {
            background: var(--primary-color);
            color: white;
        }/* CTA phone note */

        
        #hearing-test-root .cta-phone-note {
            margin-top: 16px;
            font-size: 15px;
            color: var(--gray-dark);
            position: relative;
            z-index: 1;
        }

        #hearing-test-root .cta-phone-note a {
            color: var(--primary-color);
            font-weight: 700;
            text-decoration: none;
        }/* Testimonials Section */

        
        #hearing-test-root .testimonials-section {
            margin-bottom: 20px;
            animation: slideUp 0.5s ease-out 0.45s backwards;
        }

        #hearing-test-root .testimonials-section h3 {
            margin: 0 0 16px 0;
            color: var(--primary-color);
            font-size: 20px;
            font-weight: 700;
            text-align: center;
        }

        #hearing-test-root .testimonials-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 14px;
        }

        #hearing-test-root .testimonial-card {
            background: white;
            border: 1px solid #edf2f7;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.04);
        }

        #hearing-test-root .testimonial-stars {
            color: #f5a623;
            font-size: 16px;
            letter-spacing: 2px;
            margin-bottom: 10px;
        }

        #hearing-test-root .testimonial-text {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-color);
            font-style: italic;
            margin: 0 0 12px 0;
        }

        #hearing-test-root .testimonial-author {
            font-size: 13px;
            font-weight: 700;
            color: var(--primary-color);
        }

        #hearing-test-root .testimonial-detail {
            font-size: 12px;
            color: var(--gray-dark);
            font-weight: 400;
        }

        @media (min-width: 769px) {
            #hearing-test-root .testimonials-grid {
                grid-template-columns: 1fr 1fr 1fr;
            }
        }/* FAQ Accordion */

        
        #hearing-test-root .faq-section {
            background: white;
            border: 1px solid #edf2f7;
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            animation: slideUp 0.5s ease-out 0.55s backwards;
        }

        #hearing-test-root .faq-section h3 {
            margin: 0 0 20px 0;
            color: var(--primary-color);
            font-size: 22px;
            font-weight: 700;
            text-align: center;
        }

        #hearing-test-root .faq-item {
            border-bottom: 1px solid #edf2f7;
        }

        #hearing-test-root .faq-item:last-child {
            border-bottom: none;
        }

        #hearing-test-root .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            cursor: pointer;
            font-weight: 600;
            font-size: 15px;
            color: var(--text-color);
            transition: color 0.2s;
            user-select: none;
        }

        #hearing-test-root .faq-question:hover {
            color: var(--primary-color);
        }

        #hearing-test-root .faq-toggle {
            font-size: 18px;
            color: var(--gray-dark);
            transition: transform 0.3s ease;
            flex-shrink: 0;
            margin-left: 12px;
        }

        #hearing-test-root .faq-item.open .faq-toggle {
            transform: rotate(180deg);
        }

        #hearing-test-root .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

        #hearing-test-root .faq-item.open .faq-answer {
            max-height: 300px;
        }

        #hearing-test-root .faq-answer p {
            margin: 0;
            padding: 0 0 16px 0;
            font-size: 14px;
            line-height: 1.6;
            color: var(--gray-dark);
        }/* Retake link */

        
        #hearing-test-root .retake-link {
            text-align: center;
            margin: 30px 0 10px 0;
            font-size: 14px;
            color: var(--gray-dark);
        }

        #hearing-test-root .retake-link a {
            color: var(--gray-dark);
            text-decoration: underline;
            font-weight: 500;
            transition: color 0.2s;
        }

        #hearing-test-root .retake-link a:hover {
            color: var(--primary-color);
        }/* Sticky Mobile Bottom Bar */

        
        #hearing-test-root .sticky-mobile-bar {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            padding: 10px 16px;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
            z-index: 1000;
            gap: 10px;
        }

        #hearing-test-root .sticky-mobile-bar.visible {
            display: flex;
        }

        #hearing-test-root .sticky-bar-btn {
            flex: 1;
            padding: 14px 12px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            text-align: center;
            text-decoration: none;
            transition: all 0.2s;
        }

        #hearing-test-root .sticky-bar-call {
            background: var(--primary-color);
            color: white;
        }

        #hearing-test-root .sticky-bar-schedule {
            background: var(--accent-color);
            color: white;
        }/* Sticky Desktop Header */

        
        #hearing-test-root .results-sticky-header {
            display: none;
        }/* Pulsing glow for schedule section */

        
        @keyframes glowPulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(254, 95, 0, 0.2); }
            50% { box-shadow: 0 0 20px 4px rgba(254, 95, 0, 0.3); }
        }/* Desktop Results Layout */

        
        @media (min-width: 769px) {
            #hearing-test-root .app-container.results-active {
                max-width: 900px;
                padding: 60px;
            }
            
            #hearing-test-root .results-sticky-header {
                display: flex;
                align-items: center;
                gap: 16px;
                background: white;
                padding: 12px 20px;
                border-radius: 14px;
                margin-bottom: 24px;
                box-shadow: 0 4px 15px rgba(0,0,0,0.08);
                position: sticky;
                top: 0;
                z-index: 100;
            }
            
            #hearing-test-root .sticky-header-logo {
                height: 28px;
                width: auto;
                object-fit: contain;
            }
            
            #hearing-test-root .sticky-header-result {
                flex: 1;
                font-size: 14px;
                font-weight: 600;
                color: var(--text-color);
            }
            
            #hearing-test-root .sticky-header-actions {
                display: flex;
                align-items: center;
                gap: 12px;
            }
            
            #hearing-test-root .sticky-header-phone {
                display: inline-flex;
                align-items: center;
                padding: 8px 20px;
                background: var(--primary-color);
                color: white;
                font-size: 13px;
                font-weight: 700;
                border-radius: 8px;
                text-decoration: none;
                white-space: nowrap;
                transition: all 0.2s;
            }
            
            #hearing-test-root .sticky-header-phone:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 12px rgba(8, 94, 136, 0.3);
            }
            
            #hearing-test-root .sticky-header-btn {
                padding: 8px 20px;
                background: var(--accent-color);
                color: white;
                border-radius: 8px;
                font-size: 13px;
                font-weight: 700;
                text-decoration: none;
                white-space: nowrap;
                transition: all 0.2s;
            }
            
            #hearing-test-root .sticky-header-btn:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 12px rgba(254, 95, 0, 0.3);
            }
            
            #hearing-test-root .sticky-mobile-bar {
                display: none !important;
            }
            
            #hearing-test-root .cta-schedule-section {
                text-align: center;
                border: 3px solid var(--accent-color);
                animation: slideUp 0.5s ease-out 0.4s backwards, glowPulse 3s ease-in-out 1s infinite;
            }
            
            #hearing-test-root .why-brand-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            #hearing-test-root .cta-section .btn-primary, #hearing-test-root .cta-section .btn-outline-secondary {
                width: auto;
            }
            
            #hearing-test-root .severity-segment {
                font-size: 13px;
            }
        }

        @media (max-width: 768px) {
            body.results-body-padding {
                padding-bottom: 80px;
            }
            
            #hearing-test-root .sticky-mobile-bar.visible {
                display: flex;
            }
            
            #hearing-test-root .results-sticky-header {
                display: none !important;
            }
            
            #hearing-test-root .schedule-calendar-side {
                width: 100%;
                max-width: 100%;
                overflow: hidden;
            }
            
            #hearing-test-root .meetings-iframe-container {
                width: 100%;
                max-width: 100%;
                overflow: hidden;
            }
        }
        
        @media (max-width: 480px) {
            #hearing-test-root .why-brand-grid {
                grid-template-columns: 1fr !important;
            }
        }