/* ===========================
   TKHC — AI Visibility Engine
   Design System & Styles
   =========================== */

:root {
    --primary: #4d8aff;
    --primary-dark: #3d73ff;
    --primary-light: #6b9fff;
    --accent: #00e6b8;
    --accent-dark: #00d4aa;
    --bg: #0a0a0f;
    --bg-alt: #111118;
    --bg-dark: #050508;
    --bg-card: #16161f;
    --text: #f0f0f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: #2a2a3a;
    --border-light: #1e1e2a;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --transition: 0.2s ease;
    --max-width: 1200px;
}

/* Light Theme */
[data-theme="light"] {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #059669;
    --accent-dark: #047857;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-dark: #e2e8f0;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #cbd5e1;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
}

[data-theme="light"] .navbar {
    background: rgba(248,250,252,0.9);
}

[data-theme="light"] .btn-primary {
    color: #fff;
}

[data-theme="light"] .btn-white {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

[data-theme="light"] .btn-white:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

[data-theme="light"] .cta-section .btn-white,
[data-theme="light"] .pricing-card-featured .btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

[data-theme="light"] .cta-section .btn-white:hover,
[data-theme="light"] .pricing-card-featured .btn-white:hover {
    background: #f0f4ff;
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

[data-theme="light"] .section-tag {
    background: rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.15);
}

[data-theme="light"] .pricing-card {
    box-shadow: var(--shadow);
}

[data-theme="light"] .pricing-card.featured {
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .footer {
    background: #0f172a;
    color: #f0f0f5;
}

[data-theme="light"] .footer .footer-brand p,
[data-theme="light"] .footer a,
[data-theme="light"] .footer .footer-bottom p {
    color: #94a3b8;
}

[data-theme="light"] .footer h4 {
    color: #f0f0f5;
}

[data-theme="light"] .footer .logo-text {
    color: #f0f0f5;
}

/* Light mode: AI icon SVG fix */
[data-theme="light"] .ai-icon svg {
    fill: #1e293b;
}

/* Light mode: step numbers more visible */
[data-theme="light"] .step-number {
    color: var(--primary);
    opacity: 0.4;
}

/* Light mode: secondary/outline button borders */
[data-theme="light"] .btn-secondary,
[data-theme="light"] .btn-outline {
    border-color: #cbd5e1;
    color: var(--text);
}

[data-theme="light"] .btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Light mode: feature & service icon backgrounds */
[data-theme="light"] .feature-icon-wrapper,
[data-theme="light"] .service-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

/* Light mode: hero "you" border */
[data-theme="light"] .hero-you {
    border-color: var(--primary);
}

/* Light mode: result cards */
[data-theme="light"] .result-card {
    box-shadow: var(--shadow-sm);
}

/* Light mode: testimonial cards */
[data-theme="light"] .testimonial-card {
    box-shadow: var(--shadow-sm);
}

/* Light mode: FAQ items */
[data-theme="light"] .faq-item {
    box-shadow: var(--shadow-sm);
}

/* Light mode: service tags */
[data-theme="light"] .service-tag {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
}

/* Light mode: hero stat divider */
[data-theme="light"] .hero-stat-divider {
    background: #cbd5e1;
}

/* Light mode: mobile menu */
[data-theme="light"] .mobile-menu-btn span {
    background: #0f172a;
}

/* Light mode: pricing featured card keep white text */
[data-theme="light"] .pricing-card.featured {
    color: #fff;
}

[data-theme="light"] .pricing-card.featured h3,
[data-theme="light"] .pricing-card.featured .pricing-subtitle,
[data-theme="light"] .pricing-card.featured .feature-list li {
    color: #fff;
}

[data-theme="light"] .pricing-card.featured .feature-list svg {
    color: #fff;
}

/* Theme Toggle */
.theme-switch {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 2px;
    cursor: pointer;
    user-select: none;
}

.theme-option {
    position: relative;
    z-index: 1;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.theme-option svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.2s ease;
}

.theme-option.theme-active svg {
    stroke: #fff;
}

.theme-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    background: var(--primary);
    border-radius: 100px;
    transition: transform 0.25s ease;
}

.theme-switch.light .theme-slider {
    transform: translateX(100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

.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(-1px);
    box-shadow: 0 4px 12px rgba(5, 77, 254, 0.3);
}

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

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

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

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

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

.btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text);
}

.logo-icon {
    font-size: 1.6rem;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===========================
   Hero
   =========================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-alt);
}

.hero-gradient-bg {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(5, 77, 254, 0.05) 0%, rgba(0, 212, 170, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-title {
    max-width: 900px;
    margin: 0 auto 32px;
}

.hero-title-large {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.ai-icons {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 12px;
    vertical-align: middle;
}

.ai-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-you {
    display: inline-block;
    padding: 2px 24px;
    border: 2px solid var(--primary-light);
    border-radius: 100px;
    color: var(--primary-light);
    font-weight: 700;
}

.hero-subtitle-engine {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-slogan {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 48px;
}

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

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ===========================
   Social Proof
   =========================== */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-alt);
}

.social-proof-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.logo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity var(--transition);
}

.client-logo:hover {
    opacity: 0.8;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(77, 138, 255, 0.15);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
}

/* ===========================
   Problem Section
   =========================== */
.problem-section {
    padding: 100px 0;
}

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

.problem-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.problem-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   Features
   =========================== */
.features {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.feature-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(77, 138, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-card-large {
    grid-column: span 3;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(77, 138, 255, 0.05);
    border-color: rgba(77, 138, 255, 0.2);
}

.feature-card-large .feature-icon-wrapper {
    flex-shrink: 0;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 138, 255, 0.15);
    border-radius: var(--radius);
    color: var(--primary-light);
    margin-bottom: 20px;
}

.feature-card-large .feature-icon-wrapper {
    width: 56px;
    height: 56px;
}

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

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ===========================
   How It Works
   =========================== */
.how-it-works {
    padding: 100px 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.step-card {
    flex: 1;
    max-width: 340px;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

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

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    opacity: 0.6;
    margin-bottom: 16px;
}

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

.step-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 60px;
}

/* ===========================
   Services
   =========================== */
.services {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.service-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.service-card-featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(5, 77, 254, 0.03) 0%, var(--bg-card) 100%);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 138, 255, 0.15);
    border-radius: var(--radius);
    color: var(--primary-light);
    margin-bottom: 20px;
}

.service-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(77, 138, 255, 0.15);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ===========================
   Results
   =========================== */
.results {
    padding: 100px 0;
}

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

.result-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

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

.result-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.result-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.result-card p {
    color: var(--text-secondary);
    font-size: 0.87rem;
    line-height: 1.5;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.testimonial-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

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

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

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

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===========================
   Pricing
   =========================== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    overflow: visible;
    padding-top: 14px;
}

.pricing-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    overflow: visible;
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #ff3b5c, #ff6b35);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 59, 92, 0.35);
}

.pricing-card-featured {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
    background: var(--primary);
    color: #fff;
}

.pricing-card-featured .pricing-header h3 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card-featured .pricing-desc {
    color: rgba(255,255,255,0.8);
}

.pricing-features-light li {
    color: #fff;
}

.pricing-features-light li strong {
    font-weight: 700;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(5, 77, 254, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.pricing-header h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-price {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-custom {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.pricing-features li svg {
    flex-shrink: 0;
}

/* ===========================
   All Plans Section
   =========================== */
.all-plans {
    padding: 60px 0 100px;
}

.all-plans-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
}

.all-plan-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text);
}

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

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: rgba(77, 138, 255, 0.3);
}

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

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

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

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

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

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a3fff 50%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-content > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    color: var(--text);
}

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

.footer-brand .logo {
    color: var(--text);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
}

.footer-legal {
    font-size: 0.78rem;
    color: var(--text-muted);
    opacity: 0.7;
    line-height: 1.5;
    margin-top: 2px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-links a {
    display: block;
    font-size: 0.87rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color var(--transition);
}

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

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-social a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--text);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: span 2;
    }

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

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

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }

    .nav-actions.active {
        display: flex;
        position: absolute;
        top: calc(72px + var(--nav-links-height, 200px));
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 0 24px 24px;
        box-shadow: var(--shadow-lg);
    }

    .hero {
        padding: 130px 0 70px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .problem-grid,
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .pricing-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
        flex-direction: column;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .step-connector {
        display: none;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===========================
   Language Toggle
   =========================== */
.lang-switch {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 2px;
    cursor: pointer;
    user-select: none;
}

.lang-option {
    position: relative;
    z-index: 1;
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.lang-option.lang-active {
    color: #fff;
}

.lang-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    background: var(--primary);
    border-radius: 100px;
    transition: transform 0.25s ease;
}

.lang-switch.de .lang-slider {
    transform: translateX(100%);
}

/* ===========================
   Fixed Bottom-Right Toggles
   =========================== */
.fixed-toggles {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

/* ===========================
   Audit Page Styles
   =========================== */
.audit-section {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.audit-phase {
    max-width: 560px;
    margin: 0 auto;
}

.audit-header {
    text-align: center;
    margin-bottom: 40px;
}

.audit-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.audit-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.audit-label {
    display: block;
    margin-bottom: 20px;
}

.audit-label-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.audit-label-optional {
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
    font-family: var(--font-body);
}

.audit-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    font-family: var(--font-body);
    transition: border-color var(--transition);
}

.audit-input:focus {
    border-color: var(--primary);
}

.audit-input::placeholder {
    color: var(--text-muted);
}

.audit-form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* Scanning Phase */
.audit-scanning-content {
    text-align: center;
    padding-top: 60px;
}

.audit-scanning-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 8px;
}

.audit-scanning-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.audit-steps {
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
}

.scan-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.scan-step-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scan-step-indicator.pending {
    border: 2px solid var(--border);
}

.scan-step-indicator.active {
    border: 3px solid var(--accent);
    animation: auditPulse 1.2s ease-in-out infinite;
}

.scan-step-indicator.done {
    background: var(--accent);
}

.scan-check {
    color: var(--bg);
    font-size: 16px;
    font-weight: 700;
}

.scan-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.scan-step span {
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
}

@keyframes auditPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Results Phase */
#auditResults {
    max-width: 680px;
}

.audit-results-header {
    text-align: center;
    margin-bottom: 36px;
}

.audit-results-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.audit-score-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 20px;
}

.score-ring-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
}

.score-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.score-label-small {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.score-verdict {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.score-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Stats Row */
.audit-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.audit-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 12px;
    text-align: center;
}

.audit-stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.audit-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Competitors */
.audit-competitors {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.audit-competitors-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.audit-competitors-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.competitor-tag {
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(255,59,92,0.15);
    border: 1px solid rgba(255,59,92,0.3);
    color: #ff6b7a;
}

/* Prompt Results */
.audit-results-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-family: var(--font-mono);
}

.prompt-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 14px;
}

.prompt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.prompt-platform {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-mono);
}

.prompt-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}

.prompt-status.found {
    background: rgba(0,229,160,0.2);
    color: #00e5a0;
}

.prompt-status.not-found {
    background: rgba(255,59,92,0.2);
    color: #ff3b5c;
}

.prompt-question {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.prompt-answer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.prompt-toggle {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-body);
}

.prompt-competitors {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.prompt-comp-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

/* Assessment */
.audit-assessment {
    background: rgba(255,200,0,0.06);
    border: 1px solid rgba(255,200,0,0.2);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 24px 0;
}

.audit-assessment h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 10px;
}

.audit-assessment p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Audit CTAs */
.audit-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.audit-run-another {
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent);
    cursor: pointer;
    margin-bottom: 48px;
}

.audit-run-another:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .audit-stats-row {
        grid-template-columns: 1fr;
    }

    .fixed-toggles {
        bottom: 16px;
        right: 16px;
    }
}
