/* ============================================
   SM tech - Mein Solardach
   Solar Configurator / Quiz Landing Page
   Font: Space Grotesk | Colors: Teal + Coral
   ============================================ */

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

:root {
    --primary: #0d9488;
    --primary-dark: #0a7a70;
    --primary-light: #14b8a6;
    --primary-50: rgba(13, 148, 136, 0.08);
    --primary-100: rgba(13, 148, 136, 0.15);
    --accent: #f43f5e;
    --accent-dark: #e11d48;
    --accent-light: #fb7185;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: 0.3s ease;
    --font: 'Space Grotesk', system-ui, sans-serif;
    --glow-rgb: 13, 148, 136;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* --- Utility Classes --- */
.text-teal { color: var(--primary) !important; }
.text-coral { color: var(--accent) !important; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--text-light);
    color: var(--text);
}

.btn-light {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-light:hover {
    background: var(--bg);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(13, 148, 136, 0.3); }
    50% { box-shadow: 0 0 25px rgba(13, 148, 136, 0.5), 0 0 50px rgba(13, 148, 136, 0.2); }
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

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

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg) 0%, #e0f2f1 50%, var(--bg) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary-100);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.trust-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Quiz / Konfigurator --- */
.konfigurator {
    padding: 100px 0;
    background: var(--bg-white);
}

.quiz-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

/* Progress */
.quiz-progress {
    margin-bottom: 40px;
}

.progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    width: 20%;
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.progress-step.completed .step-number {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.step-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-step.active .step-label {
    color: var(--primary);
}

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

.quiz-step.active {
    display: block;
    animation: fadeInStep 0.4s ease;
}

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

.quiz-question {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.quiz-hint {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Option Cards (Step 1) */
.option-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.option-card {
    padding: 28px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-white);
}

.option-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: var(--primary);
    background: var(--primary-50);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.option-card.selected .option-icon {
    color: var(--primary);
}

.option-icon {
    margin-bottom: 12px;
    color: var(--text-light);
    transition: color var(--transition);
    display: flex;
    justify-content: center;
}

.option-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.option-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Slider (Step 2) */
.slider-container {
    text-align: center;
}

.slider-value-display {
    margin-bottom: 28px;
}

.slider-current {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.slider-unit {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 4px;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    max-width: 480px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.4);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.5);
}

.range-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.4);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.slider-hints {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hint-card {
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius);
    text-align: center;
}

.hint-card strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 2px;
}

.hint-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Orientation (Step 3) */
.orientation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.orient-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}

.orient-btn:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.orient-btn.selected {
    border-color: var(--primary);
    background: var(--primary-50);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.orient-btn.selected .orient-icon {
    color: var(--primary);
}

.orient-icon {
    color: var(--text-light);
    transition: color var(--transition);
}

.orient-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.orient-detail {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Toggle Options (Step 4) */
.toggle-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toggle-card {
    cursor: pointer;
}

.toggle-card input {
    display: none;
}

.toggle-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    background: var(--bg-white);
}

.toggle-content:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.toggle-card input:checked + .toggle-content {
    border-color: var(--primary);
    background: var(--primary-50);
}

.toggle-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius);
    color: var(--text-light);
    transition: all var(--transition);
}

.toggle-card input:checked + .toggle-content .toggle-icon {
    background: var(--primary-100);
    color: var(--primary);
}

.toggle-info {
    flex: 1;
}

.toggle-label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.toggle-desc {
    font-size: 0.82rem;
    color: var(--text-light);
}

.toggle-switch {
    flex-shrink: 0;
}

.toggle-track {
    width: 48px;
    height: 26px;
    background: var(--border);
    border-radius: 13px;
    position: relative;
    transition: var(--transition);
}

.toggle-thumb {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-card input:checked + .toggle-content .toggle-track {
    background: var(--primary);
}

.toggle-card input:checked + .toggle-content .toggle-thumb {
    left: 24px;
}

/* Results (Step 5) */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.result-card {
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    opacity: 0;
    transform: scale(0.9);
}

.result-card.animate-in {
    animation: popIn 0.5s ease forwards;
}

.result-card:nth-child(1).animate-in { animation-delay: 0.1s; }
.result-card:nth-child(2).animate-in { animation-delay: 0.2s; }
.result-card:nth-child(3).animate-in { animation-delay: 0.3s; }
.result-card:nth-child(4).animate-in { animation-delay: 0.4s; }

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.result-highlight {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.result-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.result-details {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.result-details h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text);
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row-highlight {
    background: var(--primary-50);
    margin: 8px -12px 0;
    padding: 12px;
    border-radius: var(--radius);
    border-bottom: none;
}

.detail-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.result-cta {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-50), rgba(244, 63, 94, 0.05));
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.result-cta p {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 500;
}

.result-cta-sub {
    display: block;
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- Benefits --- */
.vorteile {
    padding: 100px 0;
    background: var(--bg);
}

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

.benefit-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.benefit-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-50);
    line-height: 1;
}

.benefit-icon {
    color: var(--primary);
    margin-bottom: 16px;
}

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

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Kosten / Pricing --- */
.kosten {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

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

.pricing-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--bg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pricing-featured .pricing-tag {
    background: var(--primary);
    color: #fff;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-size {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 8px;
}

.pricing-currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    vertical-align: top;
}

.pricing-amount {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.pricing-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-disclaimer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.pricing-disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}

.pricing-disclaimer a:hover {
    color: var(--primary-dark);
}

/* --- Social Proof --- */
.social-proof {
    padding: 100px 0;
    background: var(--bg);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

.review-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.review-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.review-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

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

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.review-location {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 8px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    gap: 16px;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.faq-item.open .faq-toggle {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Final CTA --- */
.final-cta {
    padding: 100px 0;
    background: var(--bg-dark);
}

.cta-box {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 32px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer-links h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 8px;
    font-size: 0.88rem;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.82rem;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Counter Animation --- */
@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .trust-divider {
        display: none;
    }

    .option-cards {
        grid-template-columns: 1fr;
    }

    .orientation-options {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .quiz-wrapper {
        padding: 24px;
    }

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

    .benefits-grid,
    .pricing-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .pricing-featured {
        transform: none;
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 24px;
    }

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

    .progress-steps {
        gap: 4px;
    }

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

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .slider-hints {
        grid-template-columns: 1fr;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .detail-row-highlight {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* === ENHANCED ANIMATIONS === */

/* Floating animation for cards and images */
@keyframes enhanced-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Subtle pulse glow effect */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(var(--glow-rgb), 0.2); }
  50% { box-shadow: 0 0 20px rgba(var(--glow-rgb), 0.4), 0 0 40px rgba(var(--glow-rgb), 0.1); }
}

/* Gradient shift animation for backgrounds */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Slide in from left */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Slide in from right */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scale up bounce */
@keyframes scaleUpBounce {
  0% { opacity: 0; transform: scale(0.8); }
  60% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Rotate in */
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

/* Typewriter cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Shimmer effect for buttons */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Sun rays rotation */
@keyframes sunRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Reveal animation classes */
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible, .reveal-right.visible, .reveal-up.visible, .reveal-scale.visible { opacity: 1; transform: none; }

/* Stagger children animation */
.stagger-children > * { opacity: 0; transform: translateY(30px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* Floating cards effect */
.float-card { animation: enhanced-float 6s ease-in-out infinite; }
.float-card:nth-child(2) { animation-delay: -2s; }
.float-card:nth-child(3) { animation-delay: -4s; }

/* Enhanced button hover with shimmer */
.btn-shimmer {
  background-size: 200% auto;
  background-image: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  animation: shimmer 3s linear infinite;
}

/* Hover lift effect */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }

/* Counter number animation style */
.counter-animated { display: inline-block; transition: all 0.3s; }

/* Parallax-ready sections */
.parallax-bg { transition: background-position 0.1s linear; }

/* Smooth image zoom on hover */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.img-zoom:hover img { transform: scale(1.08); }

/* Text gradient animation */
.text-gradient-animated {
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* Underline animation on hover */
.hover-underline { position: relative; }
.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-underline:hover::after { width: 100%; }

/* Magnetic button effect placeholder */
.btn-magnetic { transition: transform 0.2s ease; }

/* Border animation on cards */
.border-animate {
  position: relative;
  overflow: hidden;
}
.border-animate::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, transparent 30%, currentColor 50%, transparent 70%);
  background-size: 200% 200%;
  animation: gradientShift 3s linear infinite;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
 pointer-events: none;}
.border-animate:hover::before { opacity: 0.3; }

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .quiz-question {
        font-size: 1.2rem;
    }

    .slider-current {
        font-size: 2.5rem;
    }

    .result-value {
        font-size: 1.4rem;
    }

    .pricing-amount {
        font-size: 2.2rem;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }
}


/* === Mobile Logo Size === */
@media (max-width: 768px) {
  .logo img, .nav-logo img, .navbar-brand img, .nav-brand img, .navbar__logo img {
    height: 36px !important;
  }
}

/* === Mobile Hero Text === */
@media (max-width: 768px) {
  .hero h1, .hero-content h1, .hero__content h1 { font-size: 2rem; }
}