/* RevSnap CSS - Modern SaaS Design System */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0F172A;
    background: #FFFFFF;
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0F172A;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: #3B82F6;
    transition: all 0.2s ease;
}

a:hover {
    color: #2563EB;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-arrow:hover {
    color: #2563EB;
    transform: translateX(4px);
}

.link-arrow::after {
    content: '→';
    font-size: 1.2em;
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.w-full {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #3B82F6;
    color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: #3B82F6;
    border: 2px solid #3B82F6;
}

.btn-outline:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-1px);
}

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

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

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

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    text-decoration: none;
}

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

.nav-links a {
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #3B82F6;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #475569;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
}

.mobile-menu-content a {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

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

/* Sections */
section {
    padding: 6rem 0;
}

.hero {
    padding: 8rem 0 6rem;
    margin-top: 5rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.hero-content {
    text-align: center;
    margin-bottom: 4rem;
}

.eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #EFF6FF;
    color: #3B82F6;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.trust-badges {
    opacity: 0.7;
}

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

.trust-logos img {
    height: 32px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.2s ease;
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Hero Visual */
.hero-visual {
    max-width: 900px;
    margin: 0 auto;
}

.hero-mockup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

.mockup-left,
.mockup-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.step-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    background: #F1F5F9;
    border: 2px solid #E2E8F0;
}

.step-icon.failed {
    background: #FEF2F2;
    border-color: #FECACA;
}

.step-icon.cart {
    background: #FEF3C7;
    border-color: #FDE68A;
}

.step-icon.ai {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
}

.step-icon.success {
    background: #DCFCE7;
    border-color: #BBF7D0;
}

.step-text {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: #475569;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #94A3B8;
    font-weight: bold;
}

/* Problem Section */
.problem {
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #F8FAFC;
    border-radius: 0.75rem;
    border-left: 4px solid #EF4444;
}

.problem-icon {
    font-size: 1.5rem;
}

.problem-text {
    font-weight: 500;
    color: #475569;
}

.callout {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3B82F6;
    padding: 2rem;
    background: #EFF6FF;
    border-radius: 1rem;
    margin-top: 3rem;
}

/* What RevSnap Does */
.what-revsnap-does {
    background: #F8FAFC;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
}

.column h3 {
    color: #3B82F6;
    margin-bottom: 1.5rem;
}

.column ul {
    list-style: none;
    space-y: 1rem;
}

.column li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #475569;
}

.column li::before {
    content: '✓';
    color: #22C55E;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.note {
    font-style: italic;
    color: #64748B;
    text-align: center;
    margin-top: 2rem;
}

/* How It Works */
.how-it-works {
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: #F8FAFC;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #3B82F6;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: #3B82F6;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.step h3 {
    color: #0F172A;
    margin-bottom: 1rem;
}

.step p {
    color: #475569;
    margin-bottom: 0;
}

/* Data Flow Diagram */
.data-flow-diagram {
    margin: 4rem 0;
    text-align: center;
}

.flow-svg {
    width: 100%;
    max-width: 800px;
    height: 200px;
}

.diagram-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    fill: #475569;
}

.diagram-text.white {
    fill: white;
}

.diagram-text.small {
    font-size: 12px;
    font-weight: 500;
}

/* Demo Widget */
.demo-widget {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
}

.demo-widget h2,
.demo-widget p {
    color: white;
}

.subtext {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Results Section */
.results {
    background: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #F8FAFC;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: #22C55E;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: #22C55E;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
}

.case-study-teaser {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #EFF6FF;
    border-radius: 1rem;
}

/* Pricing */
.pricing {
    background: #F8FAFC;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.pricing-card {
    position: relative;
    padding: 2.5rem;
    background: white;
    border-radius: 1rem;
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #3B82F6;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #3B82F6;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: #3B82F6;
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 2rem;
}

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

.features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #475569;
}

.features li::before {
    content: '✓';
    color: #22C55E;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footnote {
    text-align: center;
    font-size: 0.875rem;
    color: #64748B;
    margin-top: 2rem;
}

/* Integrations */
.integrations {
    background: white;
}

.integration-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.logo-chip {
    padding: 0.75rem 1.5rem;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 2rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
}

.logo-chip:hover {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
    transform: translateY(-2px);
}

/* Security */
.security {
    background: #F8FAFC;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.security-icon {
    font-size: 1.5rem;
}

.security-text {
    font-weight: 500;
    color: #475569;
}

/* FAQ */
.faq {
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #3B82F6;
}

.faq-icon {
    font-size: 1.5rem;
    color: #94A3B8;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #3B82F6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 2rem;
}

.faq-answer p {
    color: #475569;
    margin-bottom: 0;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.final-cta h2,
.final-cta p {
    color: white;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.footer-columns {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #3B82F6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    font-size: 0.875rem;
}

/* Floating CTAs */
.floating-ctas {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
}

.floating-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-btn {
    background: #3B82F6;
    color: white;
}

.pilot-btn {
    background: #22C55E;
    color: white;
}

.chat-btn {
    background: #8B5CF6;
    color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.modal-header h3 {
    margin: 0;
    color: #0F172A;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #94A3B8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #475569;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 2rem;
    color: #475569;
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0.25rem 0 0 0;
    flex-shrink: 0;
}

.form-group.checkbox label {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group .checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group .checkbox input {
    width: auto;
    margin: 0;
}

.checkbox-group .checkbox label {
    margin: 0;
    font-size: 1rem;
}

/* Success States */
.success-content {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-mockup {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-columns {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        margin-top: 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .steps-grid,
    .metrics-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .form-row,
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .floating-ctas {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
    
    .trust-logos {
        gap: 1rem;
    }
    
    .integration-logos {
        gap: 0.5rem;
    }
    
    .logo-chip {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .mockup-left,
    .mockup-right {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-mockup {
        padding: 1rem;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Print Styles */
@media print {
    .header,
    .floating-ctas,
    .modal {
        display: none;
    }
    
    .hero {
        margin-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .btn {
        border: 2px solid black;
        color: black;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .modal {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .faq-item {
        border-bottom-width: 2px;
    }
}

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #3B82F6;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}