/* LocalPlate Premium Waitlist Styles */

:root {
    /* Color Palette */
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --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;
    
    /* Extended palette for success page cohesion */
    --emerald-400: #34d399;
    --emerald-300: #6ee7b7;
    --teal-500: #14b8a6;
    --blue-400: #60a5fa;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --emerald-200: #a7f3d0;
    --red-100: #fee2e2;
    --rose-400: #fb7185;
    --pink-500: #ec4899;
    --purple-600: #7c3aed;
    /* For rgba variants */
    --gray-100-rgb: 243, 244, 246;
    --gray-800-rgb: 31, 41, 55;
    --gray-900-rgb: 17, 24, 39;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Fluid Typography Scale */
    --text-xs: clamp(0.7rem, 0.66rem + 0.2vw, 0.75rem);
    --text-sm: clamp(0.8rem, 0.73rem + 0.35vw, 0.875rem);
    --text-base: clamp(0.95rem, 0.85rem + 0.5vw, 1rem);
    --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-xl: clamp(1.1rem, 0.96rem + 0.7vw, 1.25rem);
    --text-2xl: clamp(1.3rem, 1.08rem + 1.1vw, 1.5rem);
    --text-3xl: clamp(1.5rem, 1.24rem + 1.3vw, 1.875rem);
    --text-4xl: clamp(1.75rem, 1.48rem + 1.35vw, 2.25rem);
    --text-5xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-6xl: clamp(2.5rem, 1.86rem + 3.2vw, 3.75rem);
    --text-7xl: clamp(3rem, 2rem + 5vw, 4.5rem);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem; /* Account for fixed navbar + spacing */
    color-scheme: light;
    forced-color-adjust: none;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive scroll padding for mobile */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 6rem;
    }
}

/* Dark Mode */
.dark body {
    color: white;
    background-color: var(--gray-900);
}

html.dark {
    color-scheme: dark;
}

/* Typography */
.font-serif {
    font-family: var(--font-serif);
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
}

.dark .noise-overlay {
    opacity: 0.05;
    mix-blend-mode: screen;
}

/* Paper Texture for Cards */
.form-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5' result='noise' /%3E%3CfeDiffuseLighting in='noise' lighting-color='white' surfaceScale='1'%3E%3CfeDistantLight azimuth='45' elevation='60' /%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3C/defs%3E%3Crect width='100' height='100' filter='url(%23paper)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.dark .form-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.dark .form-card::before {
    opacity: 0.05;
    mix-blend-mode: screen;
}

.form-card-glow {
    z-index: 0;
    opacity: 0.9;
}

.form-card .form-card-glow + * {
    position: relative;
    z-index: 1;
}

.follow-us-section {
    margin-top: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.trust-badge-invisible {
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none;
}

@media (max-width: 639px) {
    .mobile-trust-badge-offset {
        margin-top: 1.75rem;
    }
}

.tier-progress-glow {
    background: linear-gradient(135deg,
        #a7f3d0 0%,
        #14b8a6 45%,
        #fde047 70%,
        #fbcfe8 100%);
}

.dark .tier-progress-glow {
    background: linear-gradient(135deg,
        #065f46 0%,
        #047857 40%,
        #78350f 70%,
        #831843 100%);
}

/* Waitlist status banner */
.waitlist-status-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.waitlist-status-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .waitlist-status-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.waitlist-status-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #047857;
}

.dark .waitlist-status-eyebrow {
    color: #34d399;
}

.waitlist-status-tier {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
}

.dark .waitlist-status-tier {
    color: #f9fafb;
}

.waitlist-status-progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.waitlist-progress-track {
    position: relative;
    width: 100%;
    height: 0.75rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.12);
    overflow: hidden;
}

.dark .waitlist-progress-track {
    background: rgba(16, 185, 129, 0.25);
}

.waitlist-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 18%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10b981, #0ea5e9);
    transition: width 0.8s ease, background 0.4s ease;
}

.waitlist-progress-milestones {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.dark .waitlist-progress-milestones {
    color: #9ca3af;
}

.waitlist-status-message {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
}

.dark .waitlist-status-message {
    color: #e5e7eb;
}

.waitlist-status-footnote {
    font-size: 0.8rem;
    color: #6b7280;
}

.dark .waitlist-status-footnote {
    color: #9ca3af;
}

/* Success tier status */
.tier-status-card {
    display: flex;
    flex-direction: column;
    /* gap removed - using space-y-4 inside card for uniform spacing */
}

.tier-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #10b981, #0ea5e9);
    color: #f9fafb;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.tier-status-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    white-space: pre-line;
}

.dark .tier-status-subtitle {
    color: #e5e7eb;
}

.tier-status-progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tier-progress-track {
    width: 100%;
    height: 0.75rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.14);
    overflow: hidden;
}

.dark .tier-progress-track {
    background: rgba(16, 185, 129, 0.28);
}

.tier-progress-fill {
    height: 100%;
    width: 10%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10b981, #0ea5e9);
    transition: width 0.6s ease, background 0.4s ease;
}

.tier-progress-copy {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f2937;
}

.dark .tier-progress-copy {
    color: #d1d5db;
}

.tier-status-cta {
    font-size: 0.95rem;
    font-weight: 600;
    color: #065f46;
}

.dark .tier-status-cta {
    color: #34d399;
}

.tier-tag {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tier-description {
    line-height: 1.5;
}

.tier-progress-caption {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tier-card {
    border: 2px solid #10b981;
    background: #ecfdf5;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.dark .tier-card {
    background: #065f46;
    border-color: #10b981;
}

.tier-card:hover {
    box-shadow: 0 20px 40px -20px rgba(16, 185, 129, 0.35);
}

.tier-card.tier-locked {
    opacity: 1;
    border-color: #6b7280;
    background: #f3f4f6;
}

.dark .tier-card.tier-locked {
    background: #1f2937;
    border-color: #6b7280;
}

.tier-card.tier-unlocked {
    opacity: 1;
    border-color: #10b981;
    background: #d1fae5;
}

.dark .tier-card.tier-unlocked {
    background: #065f46;
    border-color: #10b981;
}

.tier-card .tier-title,
.tier-card .tier-tag,
.tier-card .tier-description,
.tier-card .tier-progress-caption {
    color: #1f2937;
}

.dark .tier-card .tier-title,
.dark .tier-card .tier-tag,
.dark .tier-card .tier-description,
.dark .tier-card .tier-progress-caption {
    color: #e5e7eb;
}

.tier-card.tier-locked .tier-title,
.tier-card.tier-locked .tier-tag,
.tier-card.tier-locked .tier-description,
.tier-card.tier-locked .tier-progress-caption {
    color: rgba(55, 65, 81, 1);
}

.dark .tier-card.tier-locked .tier-title,
.dark .tier-card.tier-locked .tier-tag,
.dark .tier-card.tier-locked .tier-description,
.dark .tier-card.tier-locked .tier-progress-caption {
    color: rgba(229, 231, 235, 0.9);
}

.tier-card.tier-unlocked .tier-title,
.tier-card.tier-unlocked .tier-tag,
.tier-card.tier-unlocked .tier-description,
.tier-card.tier-unlocked .tier-progress-caption {
    color: #065f46;
}

.dark .tier-card.tier-unlocked .tier-title,
.dark .tier-card.tier-unlocked .tier-tag,
.dark .tier-card.tier-unlocked .tier-description,
.dark .tier-card.tier-unlocked .tier-progress-caption {
    color: #bbf7d0;
}

.ambassador-card {
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: linear-gradient(120deg, rgba(16, 185, 129, 0.12), rgba(59, 130, 246, 0.08));
}

.dark .ambassador-card {
    border-color: rgba(45, 212, 191, 0.45);
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.22), rgba(14, 116, 144, 0.18));
}

.ambassador-card.ambassador-locked {
    border-style: dashed;
    opacity: 0.9;
}

.ambassador-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.ambassador-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #34d399, #10b981);
    color: #064e3b;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.ambassador-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
    font-size: 0.75rem;
    font-weight: 600;
}

.dark .ambassador-pill {
    background: rgba(14, 116, 144, 0.25);
    color: #6ee7b7;
}

.ambassador-message {
    font-size: 0.95rem;
    color: #065f46;
}

.dark .ambassador-message {
    color: #bbf7d0;
}

.no-underline {
    text-decoration: none;
    color: inherit;
}

.no-underline:hover,
.no-underline:focus {
    text-decoration: none;
    color: inherit;
}

/* Ken Burns Effect - Optimized for Mobile */
.ken-burns-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
}

.ken-burns-image {
    width: 110%;
    height: 110%;
    background-image: url("data:image/svg+xml,%3Csvg width='1920' height='1080' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23ecfdf5'/%3E%3Cstop offset='100%25' style='stop-color:%23d1fae5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1920' height='1080' fill='url(%23g)'/%3E%3Ccircle cx='300' cy='300' r='200' fill='%2310b98120'/%3E%3Ccircle cx='1600' cy='800' r='300' fill='%23f59e0b15'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    animation: kenBurns 30s ease-in-out infinite;
    /* GPU acceleration for smooth mobile performance */
    transform: translateZ(0);
    will-change: transform;
    /* Optimize for mobile */
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes kenBurns {
    0% {
        transform: translateZ(0) scale3d(1, 1, 1) translate3d(0, 0, 0);
    }
    50% {
        transform: translateZ(0) scale3d(1.05, 1.05, 1) translate3d(-1%, -1%, 0);
    }
    100% {
        transform: translateZ(0) scale3d(1, 1, 1) translate3d(0, 0, 0);
    }
}

/* Reduce Ken Burns intensity on mobile for better performance */
@media (max-width: 768px) {
    .ken-burns-image {
        animation-duration: 45s; /* Slower animation */
    }
    
    @keyframes kenBurns {
        0%, 100% {
            transform: translateZ(0) scale3d(1, 1, 1) translate3d(0, 0, 0);
        }
        50% {
            transform: translateZ(0) scale3d(1.02, 1.02, 1) translate3d(-0.5%, -0.5%, 0);
        }
    }
}

/* Navigation */
.nav-link {
    position: relative;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-base);
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--emerald-600);
}

.nav-link:hover::after {
    width: 100%;
}

.dark .nav-link {
    color: var(--gray-300);
}

.dark .nav-link:hover {
    color: var(--emerald-400);
}

/* Multi-Step Form */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all var(--transition-base);
}

.step-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color var(--transition-base);
}

.step-indicator.active .step-number {
    background: var(--amber-500);
    color: white;
    transform: scale(1.1);
}

.step-indicator.active .step-label {
    color: var(--gray-900);
    font-weight: 600;
}

.step-indicator.completed .step-number {
    background: var(--emerald-600);
    color: white;
}

.step-connector {
    width: 3rem;
    height: 2px;
    background: var(--gray-200);
    margin-top: -1.75rem;
}

.dark .step-indicator.active .step-label {
    color: white;
}

.dark .step-connector {
    background: var(--gray-700);
}

/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.form-step.active {
    display: block;
    animation: fadeIn var(--transition-slow) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Form Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.dark .form-label {
    color: var(--gray-300);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.dark .form-input {
    background: var(--gray-700);
    border-color: var(--gray-600);
    color: white;
}

.dark .form-input:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-error {
    display: block;
    font-size: 0.875rem;
    color: var(--red-600);
    margin-top: 0.25rem;
}

/* Screen reader only content */
.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;
}

/* Fieldset and Legend styling for accessibility */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: block;
    width: 100%;
    padding: 0;
}

.dark legend.form-label {
    color: var(--gray-300);
}

/* Enhanced focus styles for better accessibility */
.form-input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Error state styling */
.form-input[aria-invalid="true"] {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-input {
        border-width: 2px;
    }
    
    .form-error {
        font-weight: bold;
    }
}

/* Checkboxes */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background var(--transition-base);
}

.checkbox-label:hover {
    background: var(--gray-50);
}

.dark .checkbox-label:hover {
    background: var(--gray-700);
}

.checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--emerald-600);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    min-height: 48px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-600));
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    min-height: 48px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.dark .btn-secondary {
    background: var(--gray-700);
    color: var(--gray-300);
}

.dark .btn-secondary:hover {
    background: var(--gray-600);
}

/* Success page shared utilities for parity */
/* Transparent backgrounds */
.bg-white\/70 { background-color: rgba(255, 255, 255, 0.7); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.dark .dark\:bg-gray-800\/70 { background-color: rgba(var(--gray-800-rgb), 0.7); }
.dark .dark\:bg-gray-800\/90 { background-color: rgba(var(--gray-800-rgb), 0.9); }
.dark .dark\:bg-gray-900\/95 { background-color: rgba(var(--gray-900-rgb), 0.95); }

/* Additional backgrounds/borders referenced by success */
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-gray-300 { background-color: var(--gray-300); }
.bg-gray-600 { background-color: var(--gray-600); }
.bg-gray-700 { background-color: var(--gray-700); }
.bg-red-100 { background-color: var(--red-100); }
.bg-red-500 { background-color: var(--red-500); }
.border-emerald-200 { border-color: var(--emerald-200); }
.dark .dark\:border-emerald-700\/50 { border-color: rgba(5, 150, 105, 0.5); }
.border-red-400 { border-color: #f87171; }

/* Backdrop blur removed for vibrancy */
.backdrop-blur-sm { /* removed */ }

/* Min dimensions for icon buttons */
.min-w-11 { min-width: 2.75rem; }
.min-h-11 { min-height: 2.75rem; }

/* Restaurant Marquee - Mobile Optimized */
.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    /* GPU acceleration */
    transform: translateZ(0);
    will-change: transform;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    animation: marquee 30s linear infinite;
    /* GPU acceleration for smooth scrolling */
    transform: translateZ(0);
    will-change: transform;
}

/* Pause on hover (desktop) and touch (mobile) */
.marquee-container:hover .marquee-content,
.marquee-container.paused .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-100% - 2rem), 0, 0);
    }
}

.marquee-item {
    flex-shrink: 0;
}

.restaurant-logo {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
    cursor: pointer;
    /* Prevent layout shifts */
    transform: translateZ(0);
}

.restaurant-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateZ(0) scale(1.05);
}

/* Mobile-specific marquee optimizations */
@media (max-width: 768px) {
    .marquee-container {
        gap: 1.5rem;
    }
    
    .marquee-content {
        gap: 1.5rem;
        /* Slower animation on mobile for better readability */
        animation-duration: 40s;
    }
    
    .restaurant-logo {
        height: 48px;
        /* Disable hover effects on touch devices */
        transition: none;
    }
    
    .restaurant-logo:hover {
        transform: translateZ(0);
        filter: grayscale(100%);
        opacity: 0.7;
    }
    
    /* Touch-friendly active state */
    .restaurant-logo:active {
        filter: grayscale(0%);
        opacity: 1;
        transform: translateZ(0) scale(0.95);
    }
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark .feature-card {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dark .testimonial-card {
    background: var(--gray-800);
}

/* Scroll Reveal Animations - Optimized for Mobile */
.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

/* Faster animations on mobile for better performance */
@media (max-width: 768px) {
    .reveal-on-scroll {
        transition-duration: 0.6s;
        transform: translate3d(0, 20px, 0);
    }
}

.animation-delay-100 {
    transition-delay: 100ms;
}

.animation-delay-200 {
    transition-delay: 200ms;
}

.animation-delay-300 {
    transition-delay: 300ms;
}

.animation-delay-400 {
    transition-delay: 400ms;
}

/* Pulse Animation */
.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Gradient Animation */
.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 5s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Logo Spin on Hover */
.logo-spin {
    transition: transform var(--transition-slow);
}

.logo-spin:hover {
    transform: rotate(360deg);
}

/* Container */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce noise texture opacity on mobile for better performance */
    .noise-overlay {
        opacity: 0.015;
        background-size: 100px 100px; /* Smaller pattern */
    }
    
    /* Simplify form card texture on mobile */
    .form-card::before {
        opacity: 0.01;
    }
    
    /* Optimize button hover effects for touch */
    .btn-primary:active {
        transform: scale(0.98);
        transition-duration: 0.1s;
    }
    
    /* Reduce gradient animation complexity */
    .animate-gradient {
        background-size: 150% 150%; /* Smaller than desktop */
        animation-duration: 8s; /* Slower */
    }
    
    /* Optimize feature card animations */
    .feature-card {
        transition: box-shadow 0.3s ease;
    }
    
    .feature-card:hover {
        transform: none; /* Disable transform on mobile */
    }
    
    /* Optimize step indicators for touch */
    .step-indicator {
        min-width: 44px; /* Touch-friendly size */
        min-height: 44px;
    }
    
    .step-number {
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .noise-overlay,
    .form-card::before {
        background-size: 50% 50%; /* Smaller patterns for high DPI */
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-1 > * + * {
    margin-left: 0.25rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

.order-3 {
    order: 3;
}

.order-none {
    order: 0;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-12 > * + * {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}


.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-28 {
    padding-top: 6.5rem;
}

/* Increase top padding on mobile to prevent header from being pushed to viewport top */
@media (max-width: 768px) {
    .pt-28 {
        padding-top: 6rem;
    }
}

.pt-96 {
    padding-top: 24rem;
}

.pb-20 {
    padding-bottom: 5rem;
}


.w-auto {
    width: auto;
}

.w-full {
    width: 100%;
}

.w-1 {
    width: 0.25rem;
}

.w-2 {
    width: 0.5rem;
}

.w-3 {
    width: 0.75rem;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-11 {
    width: 2.75rem;
}

.w-12 {
    width: 3rem;
}

.w-20 {
    width: 5rem;
}

.w-1\/2 {
    width: 50%;
}

.w-1\/3 {
    width: 33.333%;
}

.h-1 {
    height: 0.25rem;
}

.h-2 {
    height: 0.5rem;
}

.h-3 {
    height: 0.75rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-11 {
    height: 2.75rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-xs {
    font-size: var(--text-xs);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-4xl {
    font-size: var(--text-4xl);
}

.text-5xl {
    font-size: var(--text-5xl);
}

.text-6xl {
    font-size: 3.75rem;
}

.text-7xl {
    font-size: 4.5rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.leading-relaxed {
    line-height: 1.625;
}

.text-white {
    color: white;
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-700 {
    color: var(--gray-700);
}

.text-gray-900 {
    color: var(--gray-900);
}

.text-emerald-600 {
    color: var(--emerald-600);
}

.text-emerald-700 {
    color: var(--emerald-700);
}

.text-amber-500 {
    color: var(--amber-500);
}

.dark .dark\:text-white {
    color: white;
}

.dark .dark\:text-gray-300 {
    color: var(--gray-300);
}

.dark .dark\:text-gray-400 {
    color: var(--gray-400);
}

.dark .dark\:text-emerald-400 {
    color: #34d399;
}

.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-emerald-100 {
    background-color: #d1fae5;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-amber-100 {
    background-color: #fef3c7;
}

.dark .dark\:bg-gray-800 {
    background-color: var(--gray-800);
}

.dark .dark\:bg-gray-900 {
    background-color: var(--gray-900);
}

.dark .dark\:bg-emerald-900 {
    background-color: #064e3b;
}

.dark .dark\:bg-blue-900 {
    background-color: #1e3a8a;
}

.dark .dark\:bg-amber-900 {
    background-color: #78350f;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

.from-emerald-600 {
    --tw-gradient-from: var(--emerald-600);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-teal-600 {
    --tw-gradient-via: #0d9488;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to);
}

.to-emerald-600 {
    --tw-gradient-to: var(--emerald-600);
}

.to-emerald-500 {
    --tw-gradient-to: var(--emerald-500);
}

.from-emerald-500 {
    --tw-gradient-from: var(--emerald-500);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-teal-600 {
    --tw-gradient-to: #0d9488;
}

.from-amber-400 { --tw-gradient-from: var(--amber-400); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-amber-500 { --tw-gradient-from: var(--amber-500); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-orange-500 { --tw-gradient-to: var(--orange-500); }
.to-orange-600 { --tw-gradient-to: #ea580c; }

.from-blue-500 {
    --tw-gradient-from: var(--blue-500);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-cyan-600 {
    --tw-gradient-to: #0891b2;
}

/* Additional gradient tokens used by success */
.from-emerald-400 { --tw-gradient-from: var(--emerald-400); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-teal-500 { --tw-gradient-to: var(--teal-500); }
.from-blue-400 { --tw-gradient-from: var(--blue-400); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-blue-500 { --tw-gradient-to: var(--blue-500); }
.from-purple-400 { --tw-gradient-from: var(--purple-400); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-rose-400 { --tw-gradient-from: var(--rose-400); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-pink-500 { --tw-gradient-via: var(--pink-500); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to); }
.to-purple-500 { --tw-gradient-to: var(--purple-500); }
.to-purple-600 { --tw-gradient-to: var(--purple-600); }
.via-emerald-500 { --tw-gradient-via: var(--emerald-500); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to); }

/* Gradient with opacity variants */
.from-emerald-500\/10 { --tw-gradient-from: rgba(16, 185, 129, 0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-teal-500\/10 { --tw-gradient-to: rgba(20, 184, 166, 0.1); }

.from-white\/80 {
    --tw-gradient-from: rgba(255, 255, 255, 0.8);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-white\/70 {
    --tw-gradient-via: rgba(255, 255, 255, 0.7);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to);
}

.to-white\/90 {
    --tw-gradient-to: rgba(255, 255, 255, 0.9);
}

.dark .dark\:from-gray-900\/80 {
    --tw-gradient-from: rgba(17, 24, 39, 0.8);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.dark .dark\:via-gray-900\/70 {
    --tw-gradient-via: rgba(17, 24, 39, 0.7);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to);
}

.dark .dark\:to-gray-900\/90 {
    --tw-gradient-to: rgba(17, 24, 39, 0.9);
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-gray-100 {
    border-color: var(--gray-100);
}

.border-gray-200 {
    border-color: var(--gray-200);
}

.border-white {
    border-color: white;
}

.dark .dark\:border-gray-700 {
    border-color: var(--gray-700);
}

.dark .dark\:border-gray-800 {
    border-color: var(--gray-800);
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.backdrop-blur {
    /* removed for vibrancy */
}

.backdrop-blur-lg {
    /* removed for vibrancy */
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.left-1\/2 {
    left: 50%;
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.-top-3 {
    top: -0.75rem;
}

.-right-3 {
    right: -0.75rem;
}

.top-0 {
    top: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Focus ring utilities used on success page */
.focus-visible\:outline-none:focus-visible { outline: none; }
.ring-emerald-500 { --_ring-color: var(--emerald-500); }
.focus-visible\:ring-emerald-500:focus-visible { --_ring-color: var(--emerald-500); }
.ring-offset-2 { --_ring-offset: 2px; }
.focus-visible\:ring-offset-2:focus-visible { --_ring-offset: 2px; }
.focus-visible\:ring-2:focus-visible {
    box-shadow: 0 0 0 calc(2px + var(--_ring-offset, 0px)) var(--_ring-color, rgba(0,0,0,0.2));
}
.dark .dark\:focus-visible\:ring-offset-gray-900:focus-visible {
    box-shadow: 0 0 0 calc(2px + 2px) var(--_ring-color, rgba(0,0,0,0.2));
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:translate-x-1:hover {
    transform: translateX(0.25rem);
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Missing animations for success page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Simple fade/scale animations */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fade-in 0.3s ease-out both; }
@keyframes scale-in { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.animate-scale-in { animation: scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* Slide-in/out animations used by success notifications */
@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-out-right {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100%); }
}
.animate-slide-in-right { animation: slide-in-right 0.3s ease-out both; }
.animate-slide-out-right { animation: slide-out-right 0.3s ease-in both; }

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes slideUp {
    from {
        transform: translate3d(0, 100%, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out both;
}

/* Success Page Premium Styling */
.success-card {
    box-shadow: 
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(16, 185, 129, 0.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

/* DEPRECATED: perks-surface no longer used in success.html */
/* Kept for backward compatibility only */
.perks-surface {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem;
    /* margin-top: 1.5rem; -- removed to prevent spacing conflicts */
    /* margin-bottom: 0; -- removed to prevent spacing conflicts */
    border-radius: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(241, 245, 249, 0.88) 100%);
    box-shadow: 0 35px 55px -30px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
}

.dark .perks-surface {
    border-color: rgba(148, 163, 184, 0.25);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.88) 0%, rgba(15, 23, 42, 0.82) 100%);
    box-shadow: 0 40px 60px -35px rgba(2, 6, 23, 0.75);
}

@media (max-width: 1024px) {
    .perks-surface {
        padding: 2.5rem;
        gap: 2.5rem;
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .perks-surface {
        padding: 1.75rem;
        gap: 2rem;
        border-radius: 1.75rem;
        margin-bottom: 0;
    }
}

/* Success Icon Enhanced */
.success-icon-wrapper {
    position: relative;
    display: inline-block;
}

/* Success pulse animation */
@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-success-pulse {
    animation: successPulse 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Glow and unlock effects used by tiers */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
  100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.8); }
}
@keyframes unlock-glow {
  0% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); transform: scale(1); }
  50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.8); transform: scale(1.1); }
  100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); transform: scale(1); }
}


/* Loading and skeleton states */
.loading-pulse {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}
.dark .loading-pulse {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
}
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    border-radius: 0.5rem;
}
.dark .loading-skeleton {
    background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
    background-size: 200% 100%;
}
@keyframes loading-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Tiers and progress - consolidated tier states */
.tier-locked { opacity: 1; filter: none; }
.tier-unlocked { opacity: 1; filter: none; }
.tier-unlocked-glow { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); animation: pulse-glow 2s infinite alternate; }
.tier-unlock-glow { animation: unlock-glow 1s ease-in-out; }
.progress-fill { position: relative; }
.progress-fill::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s infinite;
    border-radius: inherit;
}
@keyframes progress-shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Copy feedback */
.copy-success { animation: copy-feedback 0.6s ease-out; }
@keyframes copy-feedback {
    0% { background-color: var(--emerald-500); transform: scale(1); }
    50% { background-color: var(--emerald-600); transform: scale(1.05); }
    100% { background-color: var(--emerald-500); transform: scale(1); }
}

/* Toast notification helpers */
.notification-enter { animation: notification-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.notification-exit { animation: notification-slide-out 0.3s ease-in-out; }
@keyframes notification-slide-in { from { opacity: 0; transform: translateX(100%) translateY(-20px);} to { opacity: 1; transform: translateX(0) translateY(0);} }
@keyframes notification-slide-out { from { opacity: 1; transform: translateX(0) translateY(0);} to { opacity: 0; transform: translateX(100%) translateY(-20px);} }

/* Enhanced typography for success page */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Improved hover effects for rewards tiers */
.group:hover .opacity-50 {
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.success-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

/* Premium Typography for Success Page */
.success-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Paper texture effect for success card */
.paper-texture {
    position: relative;
}

.paper-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.5) 35px, rgba(255,255,255,.5) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0,0,0,.03) 35px, rgba(0,0,0,.03) 70px);
    opacity: 0.3;
    pointer-events: none;
    border-radius: inherit;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

@media (min-width: 640px) {
    .sm\:text-2xl {
        font-size: 1.5rem;
    }
    
    .sm\:text-4xl {
        font-size: 2.25rem;
    }
    
    .sm\:text-6xl {
        font-size: 3.75rem;
    }
    
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:flex {
        display: flex;
    }
    
    .sm\:hidden {
        display: none;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:space-y-0 > * + * {
        margin-top: 0;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:w-1\/2 {
        width: 50%;
    }

    .md\:gap-12 {
        gap: 3rem;
    }

    .md\:justify-between {
        justify-content: space-between;
    }

    .md\:text-left {
        text-align: left;
    }

    .md\:order-none {
        order: 0;
    }
}

/* Tablet-specific overrides */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Testimonials grid - 2 columns on tablets */
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    
    /* Form width optimization for tablets */
    .form-container {
        max-width: 36rem; /* 576px instead of 448px */
    }
}

@media (min-width: 1024px) {
    .lg\:text-7xl {
        font-size: 4.5rem;
    }
    
    .lg\:text-6xl {
        font-size: var(--text-6xl);
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lg\:w-1\/3 {
        width: 33.333%;
    }

    .lg\:gap-8 {
        gap: 2rem;
    }

    .lg\:gap-16 {
        gap: 4rem;
    }
}

/* Accessibility - Enhanced Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transform: none !important;
    }
    
    /* Disable all marquee animations */
    .marquee-content {
        animation: none !important;
        transform: translateX(0) !important;
    }
    
    /* Disable Ken Burns effect */
    .ken-burns-image {
        animation: none !important;
        transform: scale(1) !important;
        will-change: auto !important;
    }
    
    /* Disable hover animations */
    .feature-card:hover,
    .testimonial-card:hover,
    .btn-primary:hover,
    .restaurant-logo:hover {
        transform: none !important;
    }
    
    /* Disable pulse animations */
    .animate-pulse-slow,
    .animate-gradient {
        animation: none !important;
    }
    
    /* Disable scroll reveals */
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Disable step indicator animations */
    .step-indicator.active .step-number {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .noise-overlay,
    nav,
    footer,
    .marquee-container {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--emerald-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-600);
}

.dark ::-webkit-scrollbar-track {
    background: var(--gray-800);
}

.dark ::-webkit-scrollbar-thumb {
    background: var(--emerald-600);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-500);
}

/* Mobile Navigation */
.mobile-nav-link {
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-base);
    min-height: 48px;
    display: flex;
    align-items: center;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--emerald-600);
    background-color: var(--gray-50);
    outline: none;
}

.mobile-nav-link:active {
    background-color: var(--gray-100);
}

.dark .mobile-nav-link {
    color: var(--gray-300);
}

.dark .mobile-nav-link:hover,
.dark .mobile-nav-link:focus {
    color: var(--emerald-400);
    background-color: var(--gray-800);
}

.dark .mobile-nav-link:active {
    background-color: var(--gray-700);
}

/* Mobile menu open state */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* Prevent scroll when mobile menu is open */
.mobile-menu-active {
    overflow: hidden;
}

/* Hamburger button touch optimization */
#mobile-menu-button {
    min-width: 44px;
    min-height: 44px;
}

/* Mobile-specific optimizations */
@media (max-width: 640px) {
    /* Reduce container padding on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Optimize section padding */
    .py-16 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .py-20 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    
    /* Optimize form and success card padding */
    .form-card,
    .success-card {
        padding: 1.5rem;
    }
    
    /* Reduce excessive margins */
    .mb-8 {
        margin-bottom: 1.5rem;
    }
    
    .mb-12 {
        margin-bottom: 2rem;
    }
    
    /* Optimize hero section */
    .min-h-screen {
        min-height: calc(100vh - 64px);
        padding-top: 2rem;
    }
}

/* Ultra-small mobile (320px) */
@media (max-width: 380px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .form-card,
    .success-card {
        padding: 1.25rem;
    }
    
    /* Hide step labels on very small screens */
    .step-label {
        display: none;
    }
}

/* Enhanced Tier Cards - Premium Design */
.tier-card-premium {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tier-card-premium:hover {
    transform: translateY(-4px);
}

.tier-card-body {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#tier-1 .tier-card-body {
    background: linear-gradient(160deg, #10b981 0%, #059669 100%);
}

#tier-2 .tier-card-body {
    background: linear-gradient(160deg, #f59e0b 0%, #d97706 100%);
}

#tier-3 .tier-card-body {
    background: linear-gradient(160deg, #ec4899 0%, #8b5cf6 100%);
}

.dark #tier-1 .tier-card-body {
    background: linear-gradient(160deg, #0f766e 0%, #064e3b 100%);
}

.dark #tier-2 .tier-card-body {
    background: linear-gradient(160deg, #b45309 0%, #78350f 100%);
}

.dark #tier-3 .tier-card-body {
    background: linear-gradient(160deg, #be185d 0%, #581c87 100%);
}

/* Light mode text contrast fixes for tier cards */
.tier-card-body .text-white {
    color: rgba(0, 0, 0, 0.9);
}

.tier-card-body .text-white\/90 {
    color: rgba(0, 0, 0, 0.8);
}

.tier-card-body .text-white\/80 {
    color: rgba(0, 0, 0, 0.7);
}

.tier-card-body .text-white\/70 {
    color: rgba(0, 0, 0, 0.6);
}

/* Dark mode keeps white text */
.dark .tier-card-body .text-white {
    color: rgba(255, 255, 255, 1);
}

.dark .tier-card-body .text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.dark .tier-card-body .text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.dark .tier-card-body .text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Status indicator badges */
.tier-status-indicator span {
    color: white !important;
}

/* Tier badges need dark semi-transparent background for light mode */
.tier-card-body .tier-badge {
    background-color: rgba(0, 0, 0, 0.15);
}

.dark .tier-card-body .tier-badge {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Fix SVG icon colors in tier cards */
.tier-card-body svg.text-white {
    color: rgba(0, 0, 0, 0.9);
}

.dark .tier-card-body svg.text-white {
    color: rgba(255, 255, 255, 1);
}

.tier-card-body .text-center {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.tier-card-body .tier-progress-section {
    margin-top: auto;
}

.tier-status-indicator,
.tier-lock-indicator {
    top: 1rem;
    right: 1rem;
}

.tier-premium-badge {
    top: 1rem;
}

.tier-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--emerald-400) 0%,
        var(--teal-500) 50%,
        var(--emerald-500) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tier-card-premium:hover .tier-card-body::before {
    opacity: 1;
}

/* Tier 2 gradient bar */
#tier-2 .tier-card-body::before {
    background: linear-gradient(90deg,
        var(--amber-400) 0%,
        #f97316 50%,
        var(--amber-500) 100%);
}

/* Tier 3 gradient bar */
#tier-3 .tier-card-body::before {
    background: linear-gradient(90deg,
        #ec4899 0%,
        var(--purple-500) 50%,
        #e11d48 100%);
}

/* Icon animations */
.tier-icon-premium {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.tier-icon-premium:hover {
    animation-play-state: paused;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Shimmer animation for progress bars */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.animate-shimmer {
    animation: shimmer 2s linear infinite;
}

/* Gradient animation for title */
@keyframes gradient-x {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 3s ease infinite;
}

/* Pulse animation for icons */
.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-250 {
    animation-delay: 0.25s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

/* Enhanced progress bars */
.tier-progress-section {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tier-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.tier-progress-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tier-progress-count {
    font-variant-numeric: tabular-nums;
    color: var(--gray-600);
}

.dark .tier-progress-header {
    color: #9ca3af;
}

.dark .tier-progress-count {
    color: #d1d5db;
}

.tier-progress-bar {
    position: relative;
    height: 1rem;
    border-radius: 9999px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.25), rgba(20, 184, 166, 0.25));
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05);
}

#tier-2 .tier-progress-bar {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(249, 115, 22, 0.25));
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05);
}

#tier-3 .tier-progress-bar {
    background: linear-gradient(90deg, rgba(244, 114, 182, 0.3), rgba(147, 51, 234, 0.25));
    box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dark .tier-progress-bar {
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.progress-fill {
    position: relative;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--emerald-500), var(--teal-500));
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: width 0.8s ease;
}

#tier-1 .progress-fill {
    background: linear-gradient(90deg, var(--emerald-500), var(--teal-500));
}

#tier-2 .progress-fill {
    background: linear-gradient(90deg, var(--amber-500), #f97316);
    box-shadow: 0 6px 12px -6px rgba(245, 158, 11, 0.45);
}

#tier-3 .progress-fill {
    background: linear-gradient(90deg, #fb7185, #a855f7);
    box-shadow: 0 6px 12px -6px rgba(168, 85, 247, 0.45);
}

.tier-card-premium.tier-locked .tier-card-body {
    filter: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card-premium.tier-locked:hover .tier-card-body {
    transform: translateY(-2px);
}

/* Premium badge glow */
.tier-premium-badge {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(236, 72, 153, 0.3); }
    to { box-shadow: 0 0 20px rgba(236, 72, 153, 0.5), 0 0 30px rgba(139, 92, 246, 0.3); }
}

/* Lock indicator hover effect */
.tier-lock-indicator {
    transition: all 0.3s ease;
}

.tier-card-premium:hover .tier-lock-indicator {
    transform: scale(1.1) rotate(10deg);
}

/* Tier unlocked state enhancements */
.tier-card-premium.tier-unlocked .tier-card-body {
    border-color: var(--emerald-400) !important;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.2);
}

.tier-card-premium.tier-unlocked .tier-lock-indicator {
    background: linear-gradient(135deg, var(--emerald-400), var(--teal-500)) !important;
}

.tier-card-premium.tier-unlocked .tier-lock-indicator svg {
    transform: scale(0);
}

.tier-card-premium.tier-unlocked .tier-lock-indicator::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Reward display enhancements */
.tier-reward {
    position: relative;
    overflow: hidden;
}

.tier-reward::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transform: translateY(-50%);
    animation: sweep 3s ease-in-out infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Dark mode specific enhancements */
.dark .tier-card-premium .tier-card-body {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark .tier-card-premium:hover .tier-card-body {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Mobile responsiveness for enhanced cards */
@media (max-width: 1024px) {
    .tier-card-premium .tier-card-body {
        padding: 1.25rem;
    }

    .tier-icon-premium {
        width: 4rem !important;
        height: 4rem !important;
    }

    .tier-icon-premium svg {
        width: 2rem !important;
        height: 2rem !important;
    }
}

/* ======================================
   LEGAL PAGES - PROSE STYLING
   ====================================== */

/* Prose container for legal content */
.prose {
    max-width: 65ch;
    line-height: 1.8;
    font-size: var(--text-base);
}

/* Headings */
.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.3;
}

.prose h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    font-weight: 600;
    line-height: 1.4;
}

/* Paragraphs */
.prose p {
    margin-bottom: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Lists */
.prose ul,
.prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--gray-700);
}

.prose li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

/* Links */
.prose a {
    color: var(--emerald-600);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.prose a:hover {
    color: var(--emerald-700);
}

/* Strong/Bold */
.prose strong {
    font-weight: 600;
    color: var(--gray-900);
}

/* Spacing utilities */
.prose section + section {
    margin-top: 3rem;
}

/* Dark mode for prose */
.dark .prose h2,
.dark .prose h3 {
    color: white;
}

.dark .prose p,
.dark .prose li {
    color: var(--gray-300);
}

.dark .prose a {
    color: var(--emerald-400);
}

.dark .prose a:hover {
    color: var(--emerald-300);
}

.dark .prose strong {
    color: white;
}

/* Legal page specific utilities */
.prose .bg-gray-100 {
    background-color: var(--gray-100);
}

.dark .prose .bg-gray-100 {
    background-color: var(--gray-800);
}

.prose .border-gray-200 {
    border-color: var(--gray-200);
}

.dark .prose .border-gray-200 {
    border-color: var(--gray-700);
}

.prose .rounded-lg {
    border-radius: 0.75rem;
}

.prose .p-6 {
    padding: 1.5rem;
}

.prose .border {
    border-width: 1px;
    border-style: solid;
}

/* Responsive typography for prose */
@media (max-width: 640px) {
    .prose {
        font-size: var(--text-sm);
    }

    .prose h2 {
        font-size: var(--text-2xl);
    }

    .prose h3 {
        font-size: var(--text-xl);
    }
}
