/* =====================================================
   CARCHECK - Premium Used Car Intelligence
   Design: Navy/Gold palette, Dark mode, Typography-led
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Navy/Gold Palette */
    --navy-950: #020617;
    --navy-900: #0a1628;
    --navy-800: #0f2744;
    --navy-700: #1a365d;
    --navy-600: #234e7e;
    --navy-500: #3b6ea5;
    --navy-400: #5a8cc5;
    --navy-300: #8bb0d8;
    --navy-200: #b8d1ea;
    --navy-100: #e0ecf7;

    /* Gold Accents */
    --gold: #d4a855;
    --gold-light: #e8c882;
    --gold-dark: #b8923f;
    --gold-muted: rgba(212, 168, 85, 0.15);

    /* Semantic Colors */
    --success: #22c55e;
    --success-muted: rgba(34, 197, 94, 0.15);
    --warning: #f59e0b;
    --warning-muted: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-muted: rgba(239, 68, 68, 0.15);
    --info: #3b82f6;

    /* Backgrounds */
    --bg-primary: var(--navy-950);
    --bg-secondary: var(--navy-900);
    --bg-tertiary: var(--navy-800);
    --bg-elevated: var(--navy-700);
    --bg-card: rgba(15, 39, 68, 0.6);
    --bg-card-hover: rgba(26, 54, 93, 0.7);

    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: var(--navy-950);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-gold: rgba(212, 168, 85, 0.3);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 40px rgba(212, 168, 85, 0.2);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: clamp(4rem, 10vw, 8rem);

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

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --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-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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 {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md), 0 0 20px rgba(212, 168, 85, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 168, 85, 0.4);
}

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

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.btn-outline {
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold-muted);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.nav.scrolled {
    padding: 0.75rem 0;
    background: rgba(2, 6, 23, 0.95);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--navy-800);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-link {
    font-size: 0.938rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--bg-primary);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 6rem 1.5rem 2rem;
    height: 100%;
}

.mobile-link {
    padding: 1rem 0;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 168, 85, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(59, 110, 165, 0.1), transparent),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(26, 54, 93, 0.3), transparent);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(212, 168, 85, 0.4), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 50px 160px, rgba(212, 168, 85, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(212, 168, 85, 0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.15), transparent);
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gold-muted);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 0.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta {
    margin-bottom: 3rem;
}

.hero-form {
    width: 100%;
}

.hero-form .input-group {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    transition: all var(--transition-base);
}

.hero-form .input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-muted);
}

.hero-form .input-icon {
    width: 24px;
    height: 24px;
    margin: 0 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.hero-input {
    flex: 1;
    padding: 0.75rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

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

.url-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    transition: all var(--transition-base);
}

.url-input-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-muted);
}

.url-input-icon {
    padding: 0 1rem;
    color: var(--text-muted);
}

.url-input-icon svg {
    width: 20px;
    height: 20px;
}

.url-input {
    flex: 1;
    padding: 0.75rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    outline: none;
}

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

.btn-analyze {
    padding: 0.875rem 1.5rem;
}

.hero-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

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

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-default);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-subtle);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy-600);
}

.preview-dots span:first-child { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:last-child { background: #22c55e; }

.preview-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.preview-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.preview-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.score-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.score-ring svg {
    width: 120px;
    height: 120px;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

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

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.detail-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.detail-item.positive {
    color: var(--success);
}

.detail-item.positive span {
    color: var(--text-secondary);
}

.detail-item.warning {
    color: var(--warning);
}

.detail-item.warning span {
    color: var(--text-secondary);
}

.preview-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.preview-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.preview-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-badge-success {
    background: var(--success-muted);
    color: var(--success);
}

.preview-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.preview-vehicle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.preview-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.preview-insights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.insight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.insight svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.insight-positive {
    color: var(--success);
}

.insight-warning {
    color: var(--warning);
}

.preview-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.preview-price .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.preview-price .value {
    font-size: 1rem;
    font-weight: 600;
}

.price-fair .value {
    color: var(--success);
}

/* Trusted Section */
.trusted-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.trusted-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-500);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.logo-item:hover {
    opacity: 1;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--gold-muted);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

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

/* Features Section */
.features-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.features-section .feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-default);
    transform: translateY(-4px);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.feature-icon-primary {
    background: var(--gold-muted);
    border-color: var(--border-gold);
    color: var(--gold);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-visual {
    margin-top: 1.5rem;
}

.mot-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mot-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.mot-date {
    color: var(--text-muted);
    min-width: 80px;
}

.mot-status {
    font-weight: 600;
    min-width: 80px;
}

.mot-pass .mot-status { color: var(--success); }
.mot-advisory .mot-status { color: var(--warning); }

.mot-miles {
    margin-left: auto;
    color: var(--text-secondary);
}

/* How It Works */
.how-section {
    padding: var(--section-padding) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-card .step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.step-card .step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

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

.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.938rem;
}

.step-visual {
    margin-top: 2rem;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--gold);
}

.step-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.step-connector {
    width: 100px;
    padding-top: 4rem;
    flex-shrink: 0;
}

.step-connector svg {
    width: 100%;
    height: 20px;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-section .pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
}

.pricing-section .pricing-card.featured {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.pricing-section .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--gold);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-section .pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-section .pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-section .price {
    margin-bottom: 0.5rem;
}

.pricing-section .price .amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
}

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

.pricing-section .price-description {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-section .pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-section .pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.938rem;
    color: var(--text-secondary);
}

.pricing-section .pricing-features svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

.save-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--success-muted);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-left: 0.5rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-size: 0.938rem;
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.toggle-label.active {
    color: var(--text-primary);
    font-weight: 500;
}

.toggle-switch {
    width: 56px;
    height: 28px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
}

.toggle-indicator {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.toggle-switch[data-active="dealer"] .toggle-indicator {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Only hide pricing grids with toggle functionality (consumer/dealer) */
.pricing-toggle-grids .pricing-grid:not(.active) {
    display: none;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--border-default);
    transform: translateY(-4px);
}

.pricing-card-featured {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--gold);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 0.5rem;
}

.price-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
}

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

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

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.938rem;
    color: var(--text-secondary);
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

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

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.testimonial-rating {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

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

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

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    font-weight: 600;
    color: var(--gold);
}

.author-name {
    display: block;
    font-weight: 500;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
}

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

.cta-section .cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-section .cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-section .cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--navy-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(212, 168, 85, 0.1), transparent);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--navy-950);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    color: var(--navy-800);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.938rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.footer-links a {
    display: block;
    padding: 0.375rem 0;
    font-size: 0.938rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold-muted);
    color: var(--gold);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-text {
        max-width: 100%;
    }

    .dashboard-preview {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .url-input-wrapper {
        flex-direction: column;
        padding: 0.75rem;
    }

    .url-input-icon {
        display: none;
    }

    .url-input {
        width: 100%;
        padding: 0.75rem;
    }

    .btn-analyze {
        width: 100%;
    }

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

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

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

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

    .step-connector {
        display: none;
    }

    .pricing-grid,
    .pricing-section .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in {
    animation: slideIn 0.6s ease forwards;
}

/* 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;
}

/* =====================================================
   ENHANCED ANIMATIONS & MICRO-INTERACTIONS
   ===================================================== */

/* Smooth hover transitions for all interactive elements */
.btn, .feature-card, .pricing-card, .testimonial-card, .step-card {
    transition: all var(--transition-base);
}

/* Enhanced button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card lift effect on hover */
.feature-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-gold);
}

/* Floating animation for hero visual */
@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); }
    50% { transform: translateY(-15px) rotateY(-5deg) rotateX(5deg); }
}

.dashboard-preview {
    animation: float 6s ease-in-out infinite;
}

.dashboard-preview:hover {
    animation-play-state: paused;
}

/* Glow effect for gold elements */
@keyframes goldGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 85, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 168, 85, 0.5); }
}

.pricing-card.featured {
    animation: goldGlow 3s ease-in-out infinite;
}

/* Typing cursor effect for hero input */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-input:focus::placeholder {
    opacity: 0;
}

.hero-input::after {
    content: '|';
    animation: blink 1s infinite;
}

/* Staggered animations for lists */
.features-grid .feature-card:nth-child(1) { animation-delay: 0s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.3s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 0.4s; }
.features-grid .feature-card:nth-child(6) { animation-delay: 0.5s; }

.pricing-grid .pricing-card:nth-child(1) { animation-delay: 0s; }
.pricing-grid .pricing-card:nth-child(2) { animation-delay: 0.15s; }
.pricing-grid .pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Bounce animation for CTA */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.cta-section .btn-primary:hover {
    animation: bounce 0.5s ease;
}

/* Progress bar loading animation */
@keyframes progressLoad {
    0% { width: 0; }
    100% { width: 100%; }
}

.loading-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    animation: progressLoad 2s ease-out;
}

/* Skeleton loading states */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-elevated) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-card {
    height: 200px;
    margin-bottom: 1rem;
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(calc(100% + 2rem));
    transition: transform var(--transition-base);
    z-index: 9999;
}

.toast.show {
    transform: translateX(0);
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info { border-left: 4px solid var(--gold); }

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-message {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.toast-close {
    margin-left: auto;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
}

.toast-close:hover {
    color: var(--text-primary);
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 10000;
    transition: width 0.1s linear;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--navy-950);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Enhanced form focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-muted);
}

/* Ripple effect on buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Improved focus visible states for accessibility */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

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

/* Better mobile tap targets */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .dashboard-preview {
        animation: none;
    }
    
    .pricing-card.featured {
        animation: none;
    }
}

/* Improved contrast for better readability */
.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Enhanced testimonial cards */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity var(--transition-base);
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Cookie consent banner styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-default);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-banner a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
