/*
Theme Name: POSadvice Modern
Theme URI: https://posadvice.com
Description: Clean, Modern Theme for POSadvice.com - POS System Comparison
Author: POSadvice Team
Version: 2.0.0
License: GPL v2 or later
Text Domain: posadvice-modern
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --accent: #10b981;
    --accent-dark: #059669;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-cta: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 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;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

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

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

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

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

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

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

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-cta {
    background: var(--gradient-cta);
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

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

.btn-success {
    background: var(--gradient-cta);
    color: var(--white);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding: 100px 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.hero-badge svg {
    color: #fbbf24;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
}

.hero-cta-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

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

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    max-width: 300px;
}

.hero-card h3 {
    color: var(--white);
    margin-top: var(--space-md);
}

.hero-card p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .hero-card {
        max-width: 250px;
    }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--white);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-bar-content,
.trust-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================
   WIZARD SECTION
   ============================================ */
.wizard-section {
    background: var(--white);
    padding: var(--space-3xl) 0;
}

.wizard-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-200);
    transform: translateY(-50%);
    z-index: 0;
}

.wizard-step {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.wizard-step.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
}

.wizard-step.completed {
    background: var(--accent);
    color: var(--white);
}

.wizard-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

.business-type-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.business-type-card:hover,
.business-type-card.selected {
    border-color: var(--primary);
    background: rgba(37,99,235,0.05);
}

.business-type-card .icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.business-type-card .label {
    font-weight: 600;
    color: var(--gray-800);
}

.wizard-nav {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */
.calculator-section {
    background: var(--gray-50);
    padding: var(--space-3xl) 0;
}

.calculator-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.calc-group {
    margin-bottom: var(--space-xl);
}

.calc-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--gray-800);
}

.calc-value {
    color: var(--primary);
    font-weight: 700;
}

.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    -webkit-appearance: none;
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.calc-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.calc-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.calc-result {
    text-align: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, rgba(124,58,237,0.05) 100%);
    border-radius: var(--radius-xl);
}

.calc-result-label {
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
}

.calc-result-price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calc-result-note {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: var(--space-sm);
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-section {
    background: var(--white);
    padding: var(--space-3xl) 0;
}

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

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.3s;
}

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

.industry-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.industry-card h4 {
    margin-bottom: var(--space-sm);
}

.industry-card p {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.industry-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: var(--gray-50);
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.feature-card h4 {
    margin-bottom: var(--space-sm);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--gradient-dark);
    padding: var(--space-3xl) 0;
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-subtitle {
    color: var(--gray-400);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.author-name {
    color: var(--white);
    font-weight: 600;
}

.author-role {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    color: var(--gray-400);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    background: var(--white);
    padding: var(--space-3xl) 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gray-200);
}

.blog-card-content {
    padding: var(--space-lg);
}

.blog-card-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.blog-empty {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--gray-500);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-heading {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: var(--space-md);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    transition: color 0.2s;
}

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

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.footer-social a {
    color: var(--gray-400);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: var(--gray-500);
}

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   STICKY CTA & CHAT
   ============================================ */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    padding: var(--space-md) var(--space-lg);
    z-index: 90;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--space-md);
}

.sticky-cta-text {
    color: var(--white);
}

.sticky-cta-text strong {
    display: block;
}

.sticky-cta-text span {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 95;
}

.chat-trigger {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s;
}

.chat-trigger:hover {
    transform: scale(1.1);
}

.chat-trigger svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    padding: var(--space-lg);
    max-height: 300px;
    overflow-y: auto;
}

.chat-message {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    max-width: 85%;
}

.chat-message.bot {
    background: var(--gray-100);
}

.chat-message.user {
    background: var(--primary);
    color: var(--white);
    margin-left: auto;
}

.chat-input {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-top: 1px solid var(--gray-200);
}

.chat-input input {
    flex: 1;
    padding: var(--space-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    outline: none;
}

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

.chat-input button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    cursor: pointer;
}

/* ============================================
   EXIT POPUP
   ============================================ */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.exit-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
}

.exit-popup-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
}

.exit-popup-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.exit-popup-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.exit-popup-title {
    margin-bottom: var(--space-sm);
}

.exit-popup-text {
    margin-bottom: var(--space-lg);
}

.exit-popup-form input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.exit-popup-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .business-type-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .sticky-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .sticky-cta-bar .btn {
        width: 100%;
    }
    
    .stats-row {
        gap: var(--space-xl);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Card Icon for Features */
.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.card-title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

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

.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

/* ============================================
   HEADER INNER FIX
   ============================================ */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav .nav-menu {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-cta {
    margin-left: var(--space-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s;
        flex-direction: column;
        align-items: stretch;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav .nav-menu {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .main-nav .nav-cta {
        margin: var(--space-md) 0 0;
        text-align: center;
    }
}

/* Hide WP Admin Bar for visitors */
body:not(.logged-in) #wpadminbar {
    display: none !important;
}

body:not(.logged-in) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body:not(.logged-in) .site-header {
    top: 0 !important;
}

/* ============================================
   FOCUS STATES FOR ACCESSIBILITY
   ============================================ */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary);
}

/* ============================================
   TYPOGRAPHY IMPROVEMENTS
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.01em;
}

h1 {
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
}

/* ============================================
   3-AMIGOS FIXES - CRITICAL UI IMPROVEMENTS
   ============================================ */

/* LOADING SPINNER ANIMATION */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

/* BUTTON STATES - DISABLED & ACTIVE */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.btn:active,
.btn[aria-pressed="true"] {
    transform: translateY(0) !important;
    opacity: 0.95;
}

.btn-secondary:disabled {
    border-color: var(--gray-300);
    color: var(--gray-400);
}

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

/* FOCUS VISIBLE FOR ACCESSIBILITY */
.btn:focus-visible,
.wizard-input:focus-visible,
.business-type-card:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* LOGO FALLBACK */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-fallback {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 800;
    display: none;
}

.site-logo img:not([src]),
.site-logo img[src=""],
.site-logo img.error {
    display: none;
}

.site-logo img.error + .logo-fallback,
.site-logo img:not([src]) + .logo-fallback {
    display: inline;
}

/* WIZARD STEP IMPROVEMENTS */
.wizard-step {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    line-height: 1;
}

.wizard-step:hover:not(.active):not(.completed) {
    background: var(--gray-300);
    cursor: pointer;
}

.wizard-progress::before {
    height: 3px;
    border-radius: var(--radius-full);
}

/* TRUST BAR IMPROVEMENTS */
.trust-item {
    gap: var(--space-md);
    color: var(--gray-700);
    font-weight: 600;
}

.trust-item svg {
    width: 28px;
    height: 28px;
}

/* TESTIMONIAL CARD VISIBILITY */
.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

/* FORM INPUT SUCCESS/ERROR STATES */
.wizard-input.success {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
}

.wizard-input.error {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

/* MOBILE MENU TOGGLE ANIMATION */
.mobile-menu-toggle {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

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

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

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

/* STICKY CTA BODY PADDING */
body.sticky-cta-visible {
    padding-bottom: 100px;
}

/* CHAT WIDGET POSITIONING FIX */
@media (max-width: 640px) {
    .chat-widget {
        bottom: 20px;
        right: 12px;
    }
    
    .chat-trigger {
        width: 48px;
        height: 48px;
    }
}

/* SKELETON LOADING */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.skeleton {
    background: var(--gray-100);
    animation: pulse 1.5s ease-in-out infinite;
}

/* PRINT STYLES */
@media print {
    .site-header,
    .site-footer,
    .sticky-cta-bar,
    .chat-widget,
    .wizard-nav,
    .exit-popup-overlay {
        display: none !important;
    }
    
    .wizard-success {
        padding: 0;
        box-shadow: none;
    }
    
    .rec-card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* MOBILE FORM IMPROVEMENTS */
@media (max-width: 480px) {
    .wizard-form {
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .wizard-input {
        padding: 0.875rem;
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    .wizard-submit {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* HELP BUTTON TOOLTIP */
.help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: help;
    font-weight: bold;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* FEATURE ICON VARIANTS */
.feature-icon--cta {
    background: var(--gradient-cta) !important;
}

.feature-icon--secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #a855f7 100%) !important;
}

/* WCAG CONTRAST FIX */
.hero-card p {
    color: rgba(255,255,255,0.95);
}

/* MOBILE NAVIGATION */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        flex-direction: column;
        align-items: stretch;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 99;
    }
    
    .main-nav.open {
        transform: translateY(0);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .nav-cta {
        margin-top: var(--space-md);
        text-align: center;
    }
}

@media (min-width: 969px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-nav {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }
}

/* ============================================
   ROUND 1: DESKTOP FIXES & MODERN COLORS
   ============================================ */

/* TOP BAR WITH TAGLINE */
.top-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 100%);
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.tagline {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.powered-by {
    color: #64748b;
    font-size: 0.75rem;
}

.powered-by a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
}

.powered-by a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* HEADER FIXES FOR DESKTOP */
.site-header {
    top: 36px; /* Account for top bar */
}

body {
    padding-top: 106px; /* 36px top bar + 70px header */
}

/* UPDATED COLOR SCHEME - More Modern */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #8b5cf6;
    --accent: #10b981;
    --accent-light: #34d399;
    
    /* New warm accent */
    --warm: #f59e0b;
    --warm-dark: #d97706;
    
    /* Updated gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d9488 100%);
    --gradient-cta: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

/* NAV CONTAINER FIX */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    gap: var(--space-xl);
}

/* NAV MENU HORIZONTAL ON DESKTOP */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-cta {
    background: var(--gradient-cta) !important;
    color: white !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: all 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* HERO SECTION FIXES */
.hero-section {
    min-height: calc(100vh - 106px);
    padding: var(--space-3xl) 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.hero-cta-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge svg {
    color: #fbbf24;
}

/* HERO VISUAL CARD */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    min-width: 320px;
}

.hero-card h3 {
    color: white;
    margin: var(--space-md) 0 var(--space-sm);
}

.hero-card p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* BUTTON IMPROVEMENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* SECTION IMPROVEMENTS */
.section {
    padding: var(--space-3xl) var(--space-xl);
}

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

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* CARD GRID FIX */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* FEATURE CARDS */
.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* DESKTOP RESPONSIVE */
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-nav {
        display: flex !important;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
    }
}

@media (max-width: 1023px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .top-bar-inner {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }
    
    .site-header {
        top: 28px;
    }
    
    .top-bar {
        padding: 6px 0;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
}

/* ============================================
   ROUND 2: VISUAL HIERARCHY & FLOW
   ============================================ */

/* Enhanced Visual Hierarchy - Spacing System */
.site-main {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 50%, var(--gray-50) 100%);
}

.section {
    position: relative;
}

.section:nth-child(even) {
    background: white;
}

.section:nth-child(odd) {
    background: var(--gray-50);
}

/* Section Dividers - Flowing Curves */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    clip-path: ellipse(80% 100% at 50% 100%);
    transform: translateY(-50%);
    z-index: 1;
}

.section:first-child::before {
    display: none;
}

/* Enhanced Hero Visual Hierarchy */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--gray-50));
    pointer-events: none;
}

/* Hero Badge Enhancement */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-lg);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.5); }
}

/* Title Hierarchy System */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

/* Visual Flow - Staggered Content */
.card-grid {
    perspective: 1000px;
}

.feature-card {
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(40px);
    animation: card-reveal 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes card-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Card Visual Hierarchy */
.feature-card {
    background: linear-gradient(135deg, white 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Icon Visual Enhancement */
.feature-icon {
    position: relative;
    background: var(--gradient-primary);
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: var(--gradient-primary);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

/* Section Title Decorations */
.section-header {
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Enhanced Wizard Section Hierarchy */
.wizard-section {
    background: var(--gradient-dark) !important;
    position: relative;
    padding: var(--space-3xl) 0;
}

.wizard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--gray-50) 0%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.wizard-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

/* Button Hierarchy */
.btn {
    position: relative;
    font-weight: 600;
    letter-spacing: 0.01em;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--gray-200);
    box-shadow: 0 2px 8px -2px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.2);
}

/* CTA Group Flow */
.hero-cta-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-cta-group .btn-primary {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.hero-cta-group .btn-secondary {
    padding: 16px 32px;
    font-size: 1.125rem;
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.hero-cta-group .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

/* Trust Indicators - Social Proof */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-xl) 0;
    margin-top: var(--space-2xl);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
    text-align: center;
    color: white;
}

.trust-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* Content Hierarchy - Read Order */
.content-block {
    margin-bottom: var(--space-3xl);
}

.content-block:last-child {
    margin-bottom: 0;
}

/* Visual Prominence Levels */
.highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
}

.highlight-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.highlight-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-lg);
}

/* Stats Display with Hierarchy */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Improved Footer Hierarchy */
.site-footer {
    background: var(--gradient-dark);
    color: white;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    padding: var(--space-3xl) var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    display: block;
    padding: var(--space-xs) 0;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Visual Rhythm - Consistent Spacing */
.rhythm-md > * + * {
    margin-top: var(--space-md);
}

.rhythm-lg > * + * {
    margin-top: var(--space-lg);
}

.rhythm-xl > * + * {
    margin-top: var(--space-xl);
}


/* ============================================
   ROUND 3: POLISH ANIMATIONS & INTERACTIONS
   ============================================ */

/* Global Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Page Load Animation */
@keyframes page-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: page-fade-in 0.5s ease-out;
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

@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;
    }
}

/* Header Scroll Animation */
.site-header {
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
}

/* Top Bar Hover Effects */
.top-bar a {
    position: relative;
    transition: color 0.2s ease;
}

.top-bar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.top-bar a:hover::after {
    width: 100%;
}

/* Navigation Link Animations */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Logo Animation */
.site-logo {
    transition: all 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-logo img {
    transition: filter 0.3s ease;
}

.site-logo:hover img {
    filter: brightness(1.1);
}

/* Hero Section Animations */
.hero-text {
    animation: hero-slide-up 0.8s ease-out;
}

@keyframes hero-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    animation: hero-float 0.8s ease-out 0.3s backwards;
}

@keyframes hero-float {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Floating Animation for Hero Card */
.floating {
    animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Button Micro-interactions */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::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 ease, height 0.6s ease;
}

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

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(0);
}

/* Primary Button Glow */
.btn-primary {
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 0.5;
}

/* Card Hover Interactions */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Content Slide Up */
.feature-card h4,
.feature-card p {
    transition: transform 0.3s ease;
}

.feature-card:hover h4 {
    transform: translateX(5px);
}

/* Wizard Step Transitions */
.wizard-step {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(30px);
}

.wizard-step.active {
    opacity: 1;
    transform: translateX(0);
}

.wizard-step.completed {
    opacity: 0;
    transform: translateX(-30px);
}

/* Option Card Interactions */
.wizard-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.wizard-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.wizard-option:active {
    transform: translateY(-2px);
}

.wizard-option.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

.wizard-option.selected::before {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    animation: check-pop 0.3s ease;
}

@keyframes check-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Progress Bar Animation */
.wizard-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.wizard-progress-bar {
    height: 100%;
    background: var(--gradient-cta);
    border-radius: var(--radius-full);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wizard-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Form Input Animations */
input, select, textarea {
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* Label Float Animation */
.form-group {
    position: relative;
}

.form-label {
    transition: all 0.3s ease;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-25px) scale(0.85);
    color: var(--primary);
}

/* Checkbox/Radio Custom Animations */
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: var(--gradient-primary);
    border-color: var(--primary);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    animation: check-pop 0.2s ease;
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: check-pop 0.2s ease;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Pulse Animation for CTAs */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Success State Animation */
.success-animation {
    animation: success-bounce 0.6s ease;
}

@keyframes success-bounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    70% { transform: scale(1.05); }
}

/* Error Shake Animation */
.error-shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}

/* Tooltip Animation */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--gray-900);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Staggered List Animation */
.stagger-list > * {
    opacity: 0;
    transform: translateX(-20px);
    animation: stagger-in 0.4s ease forwards;
}

.stagger-list > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-list > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-list > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-list > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-list > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes stagger-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Menu Animation */
.main-nav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1023px) {
    .main-nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: var(--space-lg);
        box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        flex-direction: column;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        padding: var(--space-md);
        border-bottom: 1px solid var(--gray-100);
    }
}

/* Hamburger Animation */
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Parallax Background Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Number Counter Animation */
.counter {
    display: inline-block;
}

@keyframes count-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer Link Hover */
.footer-section a {
    position: relative;
    display: inline-block;
}

.footer-section a::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    padding-left: 10px;
}

.footer-section a:hover::after {
    opacity: 1;
    right: -25px;
}

/* Smooth Image Loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

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


/* ============================================
   SUPPORT SECTION & LEGACY TRANSITION
   ============================================ */

/* Support Section */
.support-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    padding: var(--space-3xl) 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.support-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.support-icon svg {
    color: white;
}

.support-card h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.support-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.support-card .btn {
    width: 100%;
}

/* Legacy Alert Banner */
.legacy-alert {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.legacy-alert::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, transparent 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.legacy-alert-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.legacy-alert-icon {
    color: #d97706;
}

.legacy-alert-text h4 {
    font-size: 1.25rem;
    color: #92400e;
    margin-bottom: var(--space-xs);
}

.legacy-alert-text p {
    color: #78350f;
    margin: 0;
    line-height: 1.6;
}

.legacy-alert .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    white-space: nowrap;
    flex-shrink: 0;
}

.legacy-alert .btn-primary:hover {
    box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.5);
}

@media (max-width: 768px) {
    .legacy-alert-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legacy-alert-icon {
        margin: 0 auto;
    }
}

/* Trust Section */
.trust-section {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
}

.trust-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.trust-point {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    justify-content: center;
}

.trust-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.trust-point strong {
    color: white;
}

/* Legacy System Cards (for article pages) */
.legacy-system-card {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #ef4444;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.legacy-system-card h4 {
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.legacy-system-card h4::before {
    content: '⚠️';
}

.legacy-system-card p {
    color: #7f1d1d;
}

.legacy-system-card .status-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #dc2626;
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Transition Guide Card */
.transition-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.transition-card h4 {
    color: #065f46;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.transition-card h4::before {
    content: '✅';
}

.transition-card p {
    color: #047857;
}

/* Modern POS Badge */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.modern-badge::before {
    content: '★';
}

/* Legacy Badge */
.legacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.legacy-badge::before {
    content: '⚠';
}

/* Comparison Table for Transition */
.transition-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
}

.transition-comparison th,
.transition-comparison td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.transition-comparison th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
}

.transition-comparison tr:hover {
    background: var(--gray-50);
}

.transition-comparison .old-system {
    color: #dc2626;
    text-decoration: line-through;
    opacity: 0.7;
}

.transition-comparison .new-system {
    color: #10b981;
    font-weight: 600;
}

/* CTA Banner for Legacy Users */
.legacy-cta-banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    color: white;
    margin: var(--space-3xl) 0;
}

.legacy-cta-banner h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.legacy-cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.legacy-cta-banner .btn {
    background: white;
    color: var(--primary);
}

.legacy-cta-banner .btn:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
}

/* Messaging Styles */
.value-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

.urgency-message {
    font-size: 1.125rem;
    color: #dc2626;
    text-align: center;
    padding: var(--space-md);
    background: #fee2e2;
    border-radius: var(--radius-lg);
    border-left: 4px solid #dc2626;
    margin: var(--space-lg) 0;
}

.reassurance-message {
    font-size: 1rem;
    color: #065f46;
    text-align: center;
    padding: var(--space-md);
    background: #ecfdf5;
    border-radius: var(--radius-lg);
    border-left: 4px solid #10b981;
    margin: var(--space-lg) 0;
}

.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; }

/* Improved placeholder contrast for accessibility */
::placeholder {
    color: #6b7280;
    opacity: 1;
}
.wizard-input::placeholder {
    color: #6b7280;
}

