/* ============================================
   VibeCodeDoktor - Professional Light Theme
   Clean Business-Friendly Design
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Primary Colors - Warmer, Friendlier Blue */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-primary-darker: #1e40af;

    /* Accent Colors - Warmer Orange/Coral */
    --color-accent: #ff6b35;
    --color-accent-light: #f48c06;
    --color-accent-dark: #e85d04;

    /* Status Colors */
    --color-warning: #f59e0b;
    --color-error: #dc2626;
    --color-success: #16a34a;

    /* Light Theme Colors */
    --color-white: #ffffff;
    --color-bg: #ffffff;
    --color-bg-alt: #fef7f5;
    --color-bg-elevated: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-dark: #f1f5f9;
    --color-bg-darker: #f1f5f9;
    --color-text: #1e293b;
    --color-text-secondary: #475569;
    --color-text-light: #64748b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-light: #cbd5e1;

    /* Warmer Accents */
    --color-accent-soft: #fff0ed;
    --color-border-soft: #fed7aa;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #f48c06 100%);
    --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-glow-blue: 0 2px 8px rgba(15, 76, 129, 0.15);
    --gradient-glow-orange: 0 2px 8px rgba(232, 93, 4, 0.15);

    /* Typography */
    --font-display: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Sizing */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows - Light Theme */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-glow-blue: 0 4px 12px rgba(15, 76, 129, 0.15);
    --shadow-glow-orange: 0 4px 12px rgba(232, 93, 4, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

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

p {
    margin-bottom: var(--space-md);
}

strong {
    font-weight: 600;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header--left {
    text-align: left;
    margin-left: 0;
}

.section-header__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-header__title {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.section-header__subtitle {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn--outline:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-alt);
}

.btn--large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn__icon {
    width: 18px;
    height: 18px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

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

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.nav__logo-code {
    color: var(--color-primary);
}

.nav__logo-doktor {
    color: var(--color-accent);
    font-style: italic;
    font-family: var(--font-display);
    margin-left: 0.1em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-primary);
}

.nav__link--active {
    font-weight: 500;
}

.nav__lang {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav__lang:hover {
    background: var(--color-bg-alt);
}

.nav__lang-current {
    color: var(--color-text);
}

.nav__lang-divider {
    opacity: 0.3;
}

.nav__cta {
    background: var(--gradient-accent);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-xl);
        gap: var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        border-top: 1px solid var(--color-border);
    }

    .nav__menu.is-active {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1.125rem;
    }

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

    .nav__toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

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

/* --- Hero Section --- */
.hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 0 var(--space-lg) var(--space-3xl);
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
    background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Story Flow - Three Steps */
.hero__story {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--space-3xl);
}

.hero__story-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero__story-step:nth-child(1) { animation-delay: 0.1s; }
.hero__story-step:nth-child(2) { animation-delay: 0.3s; }
.hero__story-step:nth-child(3) { animation-delay: 0.5s; }

/* Confetti Animation */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero__story-step--success {
    position: relative;
    min-height: 75vh;
    justify-content: center;
    padding-top: 120px;
}

.confetti {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
}

.confetti:nth-child(1)  { left: 8%;  animation: confetti-fall 4s ease-in-out infinite; animation-delay: 0s;   background: #ff6b6b; }
.confetti:nth-child(2)  { left: 18%; animation: confetti-fall 5s ease-in-out infinite; animation-delay: 0.5s; background: #ffd93d; }
.confetti:nth-child(3)  { left: 28%; animation: confetti-fall 4.5s ease-in-out infinite; animation-delay: 1s; background: #6bcb77; }
.confetti:nth-child(4)  { left: 38%; animation: confetti-fall 4.2s ease-in-out infinite; animation-delay: 0.3s; background: #4d96ff; }
.confetti:nth-child(5)  { left: 48%; animation: confetti-fall 4.8s ease-in-out infinite; animation-delay: 0.8s; background: #ff6b6b; }
.confetti:nth-child(6)  { left: 58%; animation: confetti-fall 5.2s ease-in-out infinite; animation-delay: 1.2s; background: #ffd93d; }
.confetti:nth-child(7)  { left: 68%; animation: confetti-fall 4.3s ease-in-out infinite; animation-delay: 0.2s; background: #6bcb77; }
.confetti:nth-child(8)  { left: 78%; animation: confetti-fall 4.6s ease-in-out infinite; animation-delay: 0.6s; background: #4d96ff; }
.confetti:nth-child(9)  { left: 88%; animation: confetti-fall 4s ease-in-out infinite; animation-delay: 1s;   background: #ff6b6b; }
.confetti:nth-child(10) { left: 93%; animation: confetti-fall 5s ease-in-out infinite; animation-delay: 0.4s; background: #ffd93d; }
.confetti:nth-child(11) { left: 3%;  animation: confetti-fall 4.5s ease-in-out infinite; animation-delay: 0.9s; background: #6bcb77; }
.confetti:nth-child(12) { left: 53%; animation: confetti-fall 4.8s ease-in-out infinite; animation-delay: 1.5s; background: #4d96ff; }

@keyframes confetti-fall {
    0% {
        top: -5%;
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateX(30px) rotate(90deg);
    }
    50% {
        transform: translateX(-20px) rotate(180deg);
    }
    75% {
        transform: translateX(30px) rotate(270deg);
    }
    100% {
        top: 95%;
        transform: translateX(0) rotate(360deg);
        opacity: 0;
    }
}

/* Party Emoji Animation */
.party-container {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.party-emoji {
    font-size: 4rem;
    animation: party-bounce 1.5s ease-in-out infinite;
}

.party-emoji:nth-child(1) { animation-delay: 0s; }
.party-emoji:nth-child(2) { animation-delay: 0.2s; }
.party-emoji:nth-child(3) { animation-delay: 0.4s; }

@keyframes party-bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(-10deg) scale(1.1);
    }
    50% {
        transform: translateY(-5px) rotate(5deg) scale(1);
    }
    75% {
        transform: translateY(-20px) rotate(-5deg) scale(1.15);
    }
}

.hero__story-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
    max-width: 650px;
    margin: 0;
}

.hero__story-but {
    display: inline-block;
    margin-top: var(--space-xl);
    font-size: 2rem;
    font-weight: 800;
    color: #dc2626;
}

/* Step 2: The Problem */
.hero__story-step--problem {
    width: 100%;
    align-items: stretch;
    padding-top: var(--space-3xl);
}

.hero__problem-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 auto var(--space-lg);
    text-align: center;
    padding: var(--space-md) var(--space-xl);
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.hero__problem-content {
    background: var(--color-white);
    background-image: url('../images/brick-wall.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: var(--space-xl) var(--space-xl) var(--space-md);
    min-height: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.hero__story-step--solution {
    padding-top: var(--space-3xl);
}

/* Step 3: Solution - Red Line Disclaimer */
.hero__solution-disclaimer {
    background: #dc2626 !important;
    border-radius: 32px;
    padding: var(--space-2xl) var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
    border: 2px solid #ef4444;
    text-align: center;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
        opacity: 1;
    }
    50% {
        box-shadow: 0 12px 48px rgba(220, 38, 38, 0.5);
        opacity: 0.95;
    }
}

.hero__solution-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__solution-header::before {
    content: '⚠️';
    font-size: 1.75rem;
    animation: shake 0.5s ease-in-out;
    animation-delay: 0.5s;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.hero__solution-text {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Chat Window - Terminal Style */
.chat-window {
    background: #0d1117;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 95%;
    max-width: 800px;
    margin: var(--space-xl) auto;
    border: 1px solid #30363d;
}

.chat-window__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: #1a1a2e;
    border-bottom: 1px solid #333;
}

.chat-window__avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-window__avatar svg {
    width: 18px;
    height: 18px;
    color: white;
}

.chat-window__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chat-window__body {
    padding: var(--space-lg) var(--space-xl);
    height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--space-md);
    background: #0d1117;
    font-size: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    position: relative;
}

/* Terminal cursor */
.terminal-cursor {
    color: #58a6ff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.chat-msg {
    max-width: 90%;
    animation: fadeIn 0.3s ease;
}

.chat-msg--ai {
    align-self: flex-end;
}

.chat-msg--user {
    align-self: flex-start;
}

.chat-msg__text {
    display: block;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    line-height: 1.4;
    font-size: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
}

.chat-msg--ai .chat-msg__text {
    background: transparent;
    color: #ffffff;
    border: none;
    padding: var(--space-sm) 0;
    text-align: right;
}

.chat-msg--user .chat-msg__text {
    background: transparent;
    color: #58a6ff;
    border: none;
    padding: var(--space-sm) 0;
    text-align: left;
}

/* Hero Mobile */
@media (max-width: 768px) {
    .hero {
        padding-bottom: var(--space-2xl);
    }

    .hero__story-step--success {
        padding-top: 80px;
    }

    .hero__story {
        gap: 0;
    }

    .hero__story-text {
        font-size: 1rem;
    }

    .hero__problem-content {
        padding: var(--space-lg);
        border-radius: 20px;
    }

    .hero__problem-text {
        font-size: 1.25rem;
    }

    .chat-window {
        max-width: 100%;
    }

    .chat-window__body {
        height: 180px;
    }

}

/* --- Services Section --- */
.services {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.services__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

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

/* Service Card */
.service-card {
    position: relative;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

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

.service-card--featured {
    border-color: var(--color-accent);
}

.service-card--featured:hover {
    box-shadow: var(--shadow-glow-orange);
}

.service-card__popular {
    position: absolute;
    top: -12px;
    left: var(--space-md);
    background: var(--gradient-accent);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.service-card__price {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 700;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.service-card__title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.service-card__features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-card__features li {
    position: relative;
    padding-left: var(--space-lg);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

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

.service-card__btn {
    width: 100%;
    margin-top: auto;
    margin-bottom: var(--space-sm);
}

/* --- Form Improvements --- */
.contact-form__field input:hover,
.contact-form__field select:hover,
.contact-form__field textarea:hover {
    border-color: var(--color-border-light);
}

/* --- Mobile Typography Scaling --- */
@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
}

/* --- How It Works Section --- */
.how-it-works {
    position: relative;
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg);
}

.how-it-works__container {
    max-width: 800px;
    margin: 0 auto;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.step {
    display: flex;
    gap: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-xl);
}

.step:last-child {
    padding-bottom: 0;
}

/* Timeline marker */
.step__marker {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Vertical connector line */
.step:not(:last-child) .step__marker::after {
    content: '';
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 48px + var(--space-xl));
    background: var(--color-border);
}

.step__content {
    padding-top: 0.625rem;
    padding-bottom: var(--space-md);
}

.step__title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.step__desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .step {
        gap: var(--space-md);
    }

    .step__number {
        width: 40px;
        height: 40px;
        font-size: 0.8125rem;
    }

    .step:not(:last-child) .step__marker::after {
        top: 40px;
        height: calc(100% - 40px + var(--space-xl));
    }
}

/* --- About Section --- */
.about {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.about__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.about__content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__photo {
    position: relative;
}

.about__img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-border);
    overflow: hidden;
    background: var(--color-bg-alt);
    object-fit: cover;
}

.about__portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__photo::after {
    content: '';
    position: absolute;
    inset: var(--space-md);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about__text {
    max-width: 640px;
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-text);
    margin: var(--space-sm) 0 var(--space-lg);
    line-height: 1.2;
}

.about__title span {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.about__intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.about__story {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.about__ai {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.about__stats {
    display: flex;
    gap: var(--space-xl);
}

.about__stat {
    text-align: center;
}

.about__stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.about__stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .about__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__photo {
        max-width: 200px;
        margin: 0 auto;
    }

    .about__text {
        max-width: 100%;
    }

    .about__stats {
        justify-content: center;
    }
}

/* --- Trust Section --- */
.trust {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg);
}

.trust__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* --- Pricing Section --- */
.pricing {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-white);
}

.pricing__container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-table {
    margin-top: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.pricing-table__header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-alt);
    border-bottom: 2px solid var(--color-border);
    font-weight: 600;
    text-align: center;
}

.pricing-table__row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

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

.pricing-table__col {
    font-size: 1rem;
    color: var(--color-text);
}

.pricing__note {
    margin-top: var(--space-xl);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing__note strong {
    color: var(--color-text);
}

@media (max-width: 768px) {
    .pricing-table__header,
    .pricing-table__row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        text-align: left;
    }

}

/* --- What We Check Section --- */
.checks {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.checks__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.checks__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 1000px) {
    .checks__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.checks__card {
    background: var(--color-bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

.checks__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.checks__icon svg {
    width: 24px;
    height: 24px;
}

.checks__icon--security {
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
}

.checks__icon--tests {
    background: rgba(22, 163, 74, 0.1);
    color: #22c55e;
}

.checks__icon--complexity {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.checks__icon--deadcode {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.checks__icon--guidelines {
    background: rgba(15, 76, 129, 0.1);
    color: var(--color-primary);
}

.checks__icon--docs {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

.checks__icon--versioning {
    background: rgba(232, 93, 4, 0.1);
    color: #f97316;
}

.checks__icon--simplicity {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.checks__card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.checks__card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.checks__badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.checks__badge--critical {
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    border-color: rgba(220, 38, 38, 0.3);
}

.checks__cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.checks__cta-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.checks__cta-highlight {
    display: block;
    margin-top: var(--space-sm);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* --- Expertise Section --- */
.expertise {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg);
}

.expertise__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.expertise__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
    .expertise__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.expertise__card {
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    transition: all var(--transition-base);
}

.expertise__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-light);
}

.expertise__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise__icon svg {
    width: 28px;
    height: 28px;
}

.expertise__icon--games {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

.expertise__icon--mobile {
    background: rgba(15, 76, 129, 0.1);
    color: var(--color-primary);
}

.expertise__icon--web {
    background: rgba(22, 163, 74, 0.1);
    color: #22c55e;
}

.expertise__icon--vr {
    background: rgba(232, 93, 4, 0.1);
    color: #f97316;
}

.expertise__icon--enterprise {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.expertise__icon--ai {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

.expertise__icon--embedded {
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
}

.expertise__icon--scripts {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.expertise__card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.expertise__card p {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

.expertise__cta {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-style: italic;
    margin: 0;
}

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

.expertise__action {
    text-align: center;
    margin-top: var(--space-lg);
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.contact__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Contact option cards */
.contact__options--two {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-lg);
}

@media (max-width: 900px) {
    .contact__options--two {
        grid-template-columns: 1fr;
    }
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

@media (max-width: 600px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}

.contact__option {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.contact__option-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.contact__option-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.contact__option-title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.contact__option-meta {
    font-size: 0.8125rem;
    color: var(--color-primary);
    font-weight: 500;
}

.contact__option-body {
    flex: 1;
}

.contact__option-body p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.contact__option-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
}

.contact__option-list li {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.contact__option-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.5;
}

.contact__option-btn {
    width: 100%;
    margin-top: auto;
}

/* Contact Form inside option card */
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form__field {
    margin-bottom: var(--space-sm);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    color: var(--color-text);
    transition: all var(--transition-fast);
    font-size: 0.9375rem;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: var(--color-text-light);
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 80px;
    flex: 1;
}

.contact-form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form__field select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.contact-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.contact-form__privacy label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.contact-form__privacy input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

.contact-form__privacy a {
    color: var(--color-primary-light);
}

.contact-form__privacy a:hover {
    text-decoration: underline;
}

.contact-form .contact__option-btn {
    margin-top: auto;
}

/* --- Footer --- */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--color-border);
}

.footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
}

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

.footer__logo {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer__logo-text {
    color: var(--color-text);
}

.footer__logo-doctor {
    color: var(--color-accent);
    font-style: italic;
    font-family: var(--font-display);
}

.footer__tagline {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.footer__links {
    display: flex;
    gap: var(--space-3xl);
}

@media (max-width: 600px) {
    .footer__links {
        flex-direction: column;
        gap: var(--space-xl);
    }
}

.footer__col h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.footer__col a {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

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

.footer__bottom {
    margin-top: var(--space-3xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
}

.footer__bottom .footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

@media (max-width: 600px) {
    .footer__bottom .footer__container {
        flex-direction: column;
        text-align: center;
    }
}

.footer__copy {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.footer__legal-links {
    display: flex;
    gap: var(--space-md);
}

.footer__legal-links a {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border);
}

.footer__social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

/* --- Scroll Animation Visible State --- */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Notification Toast --- */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

.notification--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.notification--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.notification--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.notification__close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.notification__close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* --- Check Form Placeholder --- */
/* Order Steps */
.order-steps {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.order-step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.order-step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.order-step__content {
    flex: 1;
}

.order-step__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.order-step__dropzone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--color-bg-alt);
}

.order-step__dropzone:hover {
    border-color: var(--color-accent);
    background: rgba(37, 99, 235, 0.04);
}

.order-step__dropzone svg {
    width: 40px;
    height: 40px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.order-step__dropzone p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.order-step__dropzone-hint {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.order-step__input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.order-step__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.order-step__hint {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.order-step__pay {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    justify-content: center;
}

.order-step__pay svg {
    width: 20px;
    height: 20px;
}

.order-steps__legal {
    max-width: 600px;
    margin: var(--space-xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.order-steps__checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.order-steps__checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

.order-steps__checkbox a {
    color: var(--color-primary-light);
}

.order-steps__checkbox a:hover {
    text-decoration: underline;
}

.order-steps__note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    margin-top: var(--space-2xl);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .order-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   Upload Flow (index.html order section)
   ============================================ */
.upload-flow {
    max-width: 600px;
    margin: 0 auto;
}

/* Tab Toggle */
.upload-flow__tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-lg);
    background: var(--color-bg-dark);
    border-radius: var(--radius-md);
    padding: 4px;
}

.upload-flow__tab {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.upload-flow__tab:hover {
    color: var(--color-text);
}

.upload-flow__tab--active {
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

/* Tab Panels */
.upload-flow__panel {
    display: none;
}

.upload-flow__panel--active {
    display: block;
}

/* Dropzone */
.upload-flow__dropzone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--color-bg-alt);
}

.upload-flow__dropzone:hover,
.upload-flow__dropzone--dragover {
    border-color: var(--color-accent);
    background: rgba(255, 107, 53, 0.04);
}

.upload-flow__dropzone svg {
    width: 48px;
    height: 48px;
    color: var(--color-text-muted);
    margin: 0 auto var(--space-sm);
}

.upload-flow__dropzone p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.upload-flow__hint {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* GitHub Input */
.upload-flow__github {
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.upload-flow__github-input-row {
    display: flex;
    gap: var(--space-sm);
}

.upload-flow__github-url {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    background: var(--color-white);
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition-fast);
}

.upload-flow__github-url:focus {
    border-color: var(--color-primary);
}

.upload-flow__github-url::placeholder {
    color: var(--color-text-muted);
}

.upload-flow__github-btn {
    flex-shrink: 0;
}

.upload-flow__github .upload-flow__hint {
    margin-top: var(--space-sm);
}

/* Progress Bar */
.upload-flow__progress-bar {
    margin-top: var(--space-lg);
    text-align: center;
}

.upload-flow__progress-track {
    width: 100%;
    height: 6px;
    background: var(--color-bg-dark);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.upload-flow__progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    width: 0%;
}

.upload-flow__progress-fill--indeterminate {
    width: 30%;
    animation: progress-indeterminate 1.5s ease-in-out infinite;
}

@keyframes progress-indeterminate {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

.upload-flow__progress-text {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

/* Analysis Results */
.upload-flow__results {
    margin-top: var(--space-lg);
}

/* Note */
.upload-flow__note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    margin-top: var(--space-2xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.upload-flow__note a {
    color: var(--color-primary-light);
}

/* ============================================
   Analysis Results Visualization
   ============================================ */
.analysis-results__source {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-sm);
}

.analysis-results__loc-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.analysis-results__loc-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
}

.analysis-results__loc-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

/* Language Bar */
.analysis-results__bar {
    display: flex;
    height: 12px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background: var(--color-bg-dark);
}

.analysis-results__bar-segment {
    min-width: 3px;
}

/* Language Pills */
.analysis-results__langs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    justify-content: center;
}

.analysis-results__lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.analysis-results__lang-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.analysis-results__lang-name {
    font-weight: 500;
    color: var(--color-text);
}

.analysis-results__lang-stat {
    color: var(--color-text-muted);
}

/* File Count */
.analysis-results__file-count {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

/* Pricing Row */
.analysis-results__pricing {
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

.analysis-results__price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.analysis-results__tier {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

/* CTA */
.analysis-results__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.analysis-results__cta svg {
    width: 20px;
    height: 20px;
}

/* Reset Button */
.analysis-results__reset {
    display: block;
    margin: 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.analysis-results__reset:hover {
    color: var(--color-text);
}

/* Error State */
.upload-flow__error {
    text-align: center;
    padding: var(--space-md);
    color: var(--color-error);
    font-size: 0.875rem;
}

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

/* --- Scroll Animation Initial State --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- Form Success State Content --- */
.contact-form--success h3 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.contact-form--success p {
    color: var(--color-text-secondary);
}

/* --- Utility Classes --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

/* --- Form Success State --- */
.contact-form--success {
    text-align: center;
    padding: var(--space-3xl);
}

.contact-form--success::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--color-success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px;
}

/* --- Animations --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Button transitions */
a, button {
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* --- Accessibility Improvements --- */
/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 0;
}

/* Focus visible styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}


/* ============================================
   SVG Icon Sizing - Fix oversized icons
   ============================================ */
svg {
    max-width: 100%;
    height: auto;
    max-height: 48px;
}

/* SVGs in icon containers should respect parent size */
.service-card__icon svg,
.checks__icon svg,
.expertise__icon svg,
.btn__icon {
    max-width: 100%;
    max-height: 100%;
}


/* Sample Report Section */
.sample-report {
    max-width: 900px;
    margin: var(--space-3xl) auto 0;
}

.sample-report__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.sample-report__subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-xl);
}

.sample-report__document {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.sample-report__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg);
    flex-wrap: wrap;
    gap: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.sample-report__header-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.sample-report__header-left svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.sample-report__filename {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.sample-report__meta {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.sample-report__badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.sample-report__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.sample-report__badge--critical {
    background: rgba(220, 38, 38, 0.15);
    color: var(--color-error);
}

.sample-report__badge--major {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.sample-report__badge--minor {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-primary);
}

.sample-report__finding {
    border-bottom: 1px solid var(--color-border);
}

.sample-report__finding:last-of-type {
    border-bottom: none;
}

.sample-report__finding-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-alt);
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-wrap: wrap;
}

.sample-report__finding-header:hover {
    background: var(--color-bg);
}

.sample-report__severity {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sample-report__severity--critical {
    background: rgba(220, 38, 38, 0.15);
    color: var(--color-error);
}

.sample-report__severity--major {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.sample-report__severity--minor {
    background: rgba(15, 76, 129, 0.15);
    color: var(--color-primary);
}

.sample-report__finding-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.sample-report__location {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sample-report__finding-body {
    padding: 0 var(--space-lg) var(--space-lg);
    display: none;
}

.sample-report__finding--expanded .sample-report__finding-body {
    display: block;
}

.sample-report__section {
    margin-top: var(--space-md);
}

.sample-report__section h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.sample-report__section p {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

.sample-report__code {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    overflow-x: auto;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0;
    border: 1px solid var(--color-border);
}

.sample-report__code code {
    color: var(--color-text);
    display: block;
}

.code-keyword {
    color: #dc2626;
    font-weight: 500;
}

.code-string {
    color: #16a34a;
}

.code-comment {
    color: var(--color-text-light);
    font-style: italic;
}

.code-danger {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.code-success {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.sample-report__prompt {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.sample-report__prompt svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.sample-report__section--prompt {
    background: rgba(15, 76, 129, 0.05);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 76, 129, 0.2);
}

.sample-report__footer {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

.sample-report__cta {
    text-align: center;
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.sample-report__cta p {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .sample-report__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sample-report__finding-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .sample-report__finding-title {
        min-width: 100%;
    }

    .sample-report__code {
        font-size: 0.75rem;
        padding: var(--space-sm);
    }

    .sample-report__prompt {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ============================================
   Legal Pages (AGB, Impressum, Datenschutz)
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(120px + var(--space-3xl)) var(--space-lg) var(--space-4xl);
}
.legal-content h1 {
    margin-bottom: var(--space-xl);
}
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    color: var(--color-primary-light);
}
.legal-content h3 {
    font-size: 1.125rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}
.legal-content p, .legal-content li {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}
.legal-content ul, .legal-content ol {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}
.legal-content a {
    color: var(--color-primary-light);
}
.legal-content a:hover {
    text-decoration: underline;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    transition: color var(--transition-fast);
}
.legal-back:hover {
    color: var(--color-primary-light);
}
.legal-back svg {
    width: 20px;
    height: 20px;
}

.legal-meta {
    margin-top: var(--space-2xl);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}
.highlight-box p:last-child {
    margin-bottom: 0;
}
.highlight-box--info {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.checkout__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
}

.checkout__container {
    max-width: 800px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .checkout__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Order Summary */
.order-summary {
    background: var(--color-bg-secondary);
    border-radius: 16px;
    padding: 2rem;
}

.order-summary__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.order-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.order-summary__item:last-child {
    border-bottom: none;
}

.order-summary__product {
    flex: 1;
}

.order-summary__product-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.order-summary__product-desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.order-summary__price {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-accent);
}

.order-summary__total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary__total-label {
    font-weight: 600;
    color: var(--color-text);
}

.order-summary__total-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-accent);
}

.order-summary__vat {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-align: right;
    margin-top: 0.5rem;
}

.order-summary__features {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.order-summary__features-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.order-summary__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--color-text);
}

.order-summary__feature svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Payment Form */
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-form__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
}

.payment-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-form__label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.875rem;
}

.payment-form__input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 77, 0.1);
}

.payment-form__terms {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.payment-form__checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-accent);
}

.payment-form__terms-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.payment-form__terms-text a {
    color: var(--color-accent);
    text-decoration: none;
}

.payment-form__terms-text a:hover {
    text-decoration: underline;
}

.payment-form__error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.payment-form__error.hidden {
    display: none;
}

.payment-form__button {
    margin-top: 0.5rem;
}

.payment-form__button .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.payment-form__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.payment-form__secure svg {
    width: 14px;
    height: 14px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.trust-badge svg {
    width: 32px;
    height: 32px;
    color: var(--color-text-secondary);
}

.trust-badge span {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Upsell Section */
.upsell {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.upsell__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.upsell__icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.upsell__header-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.upsell__title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.upsell__price {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.875rem;
}

.upsell__toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.upsell__details {
    display: none;
    margin-top: 1rem;
}

.upsell__details.active {
    display: block;
}

.upsell__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.upsell__textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    resize: vertical;
}

.upsell__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 77, 0.1);
}

.upsell__benefits {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.upsell__benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

.upsell__benefit svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Spinner (shared checkout/success) */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner--large {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

