:root {
    /* Colors */
    --bg-dark: #070312;
    --bg-surface: #100624;
    --bg-surface-lighter: #1e0b3d;

    --primary: #4521bd;
    --secondary: #3a86ff;
    --accent: #ff006e;

    --text-main: #f8f9fa;
    --text-muted: #a097b6;

    --gradient-brand: linear-gradient(135deg, #7434db, #3a86ff);
    --gradient-button: linear-gradient(to right, #431bbb, #8a2be2);
    --gradient-glow: radial-gradient(circle at center, rgba(116, 52, 219, 0.4) 0%, rgba(7, 3, 18, 0) 70%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: -20vh;
    left: -20vw;
    width: 140vw;
    height: 140vh;
    background:
        radial-gradient(circle at 15% 30%, rgba(58, 134, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(255, 0, 110, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(116, 52, 219, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

.fw-600 {
    font-weight: 600;
}

.fw-normal {
    font-weight: 400;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(67, 27, 187, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 27, 187, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-purple {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #7434db;
    border-radius: var(--border-radius-pill);
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-outline-purple:hover {
    background: rgba(116, 52, 219, 0.2);
}

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

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

.btn-ghost .arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: var(--space-md) 0;
    background: rgba(10, 5, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    text-decoration: none;
}

.main-logo {
    height: 55px;
    width: auto;
}

.footer-logo {
    height: 55px;
    width: auto;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    opacity: 0.3;
    z-index: 0;
    mix-blend-mode: screen;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
    gap: var(--space-xl);
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

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

.hero-panda-img {
    width: 100%;
    max-width: 650px;
    /* Reduced from laptop's width slightly? The panda is vertical maybe */
    height: auto;
    filter: drop-shadow(0 0 50px rgba(116, 52, 219, 0.4));
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: center;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Partners Marquee */
.partners {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.partners-marquee {
    display: flex;
    white-space: nowrap;
    gap: 3rem;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    padding-right: 4rem;
}

.partner {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.partner:hover {
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Sections Common */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

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

/* General Cards & Sectors */
.glass-card {
    background: linear-gradient(145deg, rgba(30, 11, 61, 0.6), rgba(16, 6, 36, 0.8));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(116, 52, 219, 0.3);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(116, 52, 219, 0.15), transparent 60%);
    pointer-events: none;
}

.glass-card:hover {
    border-color: rgba(116, 52, 219, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 20px rgba(116, 52, 219, 0.2);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.sectors {
    padding: var(--space-xl) 0;
}

.sector-card {
    display: flex;
    flex-direction: column;
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: var(--space-sm);
}

.sector-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.sector-header .icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.sector-metric {
    font-size: 1.1rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--text-main);
}

.sector-metric.alt-metric {
    margin-top: var(--space-lg);
}

.sector-metric .highlight {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    display: inline-block;
}

.sector-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.btn-link {
    color: #e0aaff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: auto;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.btn-link:hover {
    color: #fff;
}

/* Case Cards */
.cases {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.card-img-wrapper {
    padding: 0;
    /* Remove padding from glass-card */
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
}

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    transition: opacity var(--transition-normal);
}

.glass-card:hover .card-bg-img {
    opacity: 0.8;
}

.card-badge-inline {
    position: relative;
    z-index: 2;
    background: rgba(10, 5, 21, 0.8);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-top-right-radius: var(--border-radius-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.p-0 {
    padding: 0 !important;
}

/* Process: How We Work */
.process {
    padding: var(--space-2xl) 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-md);
    position: relative;
    margin-top: var(--space-xl);
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-surface-lighter);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.2);
}

.step h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 0 0 calc(25% - 100px);
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin-top: 30px;
    opacity: 0.5;
}

/* Services */
.services {
    padding: var(--space-2xl) 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(58, 134, 255, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: inline-block;
    background: var(--bg-surface-lighter);
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 20px;
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.service-examples {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
}

.service-examples li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-examples li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Calculator */
.calculator-section {
    padding: var(--space-xl) 0;
}

.calculator-box.horizontal {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.calc-body-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.calc-inputs-inline {
    flex: 1;
    min-width: 300px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
}

.input-line {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
}

.input-line label {
    font-size: 1rem;
    color: var(--text-muted);
}

.input-line label span {
    color: var(--text-main);
}

.val-display {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

.range-wrapper-inline {
    width: 100%;
    position: relative;
    padding-top: 0.5rem;
}

.range-wrapper-inline input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.range-wrapper-inline input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.range-wrapper-inline input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--text-main);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    margin-top: -10px;
    box-shadow: 0 0 15px rgba(116, 52, 219, 0.6);
    border: 3px solid var(--primary);
}

.calc-result-inline {
    flex: 0 0 350px;
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.result-text-inline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.highlight-large {
    display: block;
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    margin-top: 0.5rem;
    text-shadow: 0 0 20px rgba(116, 52, 219, 0.5);
}

.mt-4 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

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

/* Testimonials */
.testimonials {
    padding: var(--space-xl) 0;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-xl);
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><text x="0" y="80" font-size="100" fill="rgba(255,255,255,0.05)">"</text></svg>') no-repeat top left;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.quote {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1.1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Diagnostic Form */
.diagnostic {
    padding: var(--space-2xl) 0;
}

.diagnostic-box {
    background: linear-gradient(135deg, var(--bg-surface-lighter), var(--bg-surface));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(157, 78, 221, 0.2);
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.diagnostic-panda {
    flex: 0 0 35%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.diagnostic-panda::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: var(--gradient-glow);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.panda-emoji {
    font-size: 8rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.5));
}

.diagnostic-content {
    flex: 1;
    padding: var(--space-xl);
}

.diagnostic-content h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.diagnostic-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.lead-form {
    position: relative;
    min-height: 250px;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

.form-step label {
    display: block;
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    font-weight: 500;
}

.form-step select,
.form-step input {
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-step select:focus,
.form-step input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(157, 78, 221, 0.2);
}

.form-success {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

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

.recommendations {
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
    margin-top: var(--space-md);
    border-left: 3px solid var(--secondary);
}

.rec-item {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    padding: var(--space-2xl) 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Footer */
.footer {
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

/* Mobile Responsive */
@media (max-width: 900px) {
    .calc-body-inline {
        flex-direction: column;
    }

    .calc-result-inline {
        flex: auto;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .nav-links {
        display: none;
    }

    .main-logo {
        height: 35px;
    }

    .btn-outline {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: var(--border-radius-pill);
    }

    /* Hero */
    .hero {
        padding-top: 100px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding-top: var(--space-lg);
        gap: 2rem;
    }

    .hero-text {
        margin: 0 auto;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-panda-img {
        max-width: 250px;
    }

    /* Process section */
    .process-steps {
        flex-direction: column;
        gap: 3rem;
    }

    .step-connector {
        display: none;
    }

    /* Grid structural fixes */
    .cards-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Diagnostic / Cal.com Lead Capture */
    .diagnostic {
        padding: var(--space-xl) 0;
    }

    .diagnostic-box {
        flex-direction: column;
    }

    .diagnostic-panda {
        flex: auto;
        padding: 2rem 0;
    }

    .diagnostic-panda img {
        max-width: 200px !important;
    }

    .diagnostic-content {
        padding: var(--space-md) var(--space-sm);
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================= */
/* DIAGNOSTIC LANDING PAGE STYLES            */
/* ========================================= */
.landing-page {
    background-color: var(--bg-color);
}

.landing-hero {
    min-height: 70vh;
    padding-top: 100px;
}

.hero-bullets {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.bullet-item svg {
    flex-shrink: 0;
}

.center-buttons {
    justify-content: center;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(247, 37, 133, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0);
    }
}

/* Value Blocks */
.value-blocks {
    padding: 4rem 0;
}

.value-card {
    padding: 2.5rem;
}

.value-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Interactive Form */
.diagnostic-form-wrapper {
    padding: 4rem 0 8rem;
}

.interactive-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    width: 0%;
    transition: width 0.4s ease;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.subtext {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
    display: block;
    margin-top: 0.5rem;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1.1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.option-btn.active {
    background: rgba(116, 52, 219, 0.2);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(116, 52, 219, 0.3);
}

/* Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.step-navigation button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* SLIDER */
.slider-container {
    margin: 3rem 0;
    padding: 0 1rem;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(247, 37, 133, 0.5);
}

.slider-val-display {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

/* Lead Capture & Processing */
.processing-animation {
    padding: 3rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(116, 52, 219, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.lead-capture-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.hidden {
    display: none !important;
}

.form-group {
    width: 100%;
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
    box-sizing: border-box;
}

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

.full-width-btn {
    width: 100%;
    margin-top: 1rem;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* Results */
.results-highlight {
    margin: 2rem 0;
}

.big-metric {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin: 1rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-md);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.clean-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.clean-list li strong {
    color: var(--text-main);
}

.clean-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

    .interactive-form-container {
        padding: 2rem 1rem;
    }

    .hero-bullets {
        align-items: flex-start;
        text-align: left;
    }

    .diagnostic-form-wrapper {
        padding: 2rem 0;
    }
}