/* 
   AccessiShield - Web Accessibility & Compliance Shield
   Custom Modern CSS Styling Engine
   Designed for premium SaaS feel (Dark slate, neon gradients, glassmorphism, and smooth transitions)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

:root {
    --bg-main: #090d16;
    --bg-card: rgba(16, 22, 38, 0.7);
    --bg-input: rgba(8, 12, 21, 0.6);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-focus: #4f46e5;
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.15);
    --accent: #d946ef;
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glass-blur: blur(12px);
}

/* Base resets & setups */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient background glows */
body::before, body::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.45;
    pointer-events: none;
}

body::before {
    top: 5%;
    left: 10%;
    background: var(--primary);
}

body::after {
    top: 60%;
    right: 5%;
    background: var(--secondary);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

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

a:hover {
    color: var(--secondary);
}

/* Container limits */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Header Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    -webkit-text-fill-color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0 40px;
    max-width: 800px;
    margin: 0 auto;
}

.lawsuit-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

.lawsuit-banner svg {
    color: var(--danger);
    width: 16px;
    height: 16px;
}

.hero-section h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 18px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism Panel Setup */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
}

/* Input scanning component */
.scan-container {
    max-width: 720px;
    margin: 0 auto 50px;
}

.scan-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.scan-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.scan-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.scan-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.scan-box-wrapper {
    display: none;
}

.scan-box-wrapper.active {
    display: block;
}

.url-input-group {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px;
    transition: var(--transition);
}

.url-input-group:focus-within {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.url-input-group input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0 16px;
}

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

.btn-scan {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border: none;
    outline: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-scan:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.code-textarea {
    width: 100%;
    height: 150px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    outline: none;
    resize: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.code-textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.7;
    margin-top: 10px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Radar scanning visual overlay */
.radar-panel {
    display: none;
    text-align: center;
    padding: 50px 0;
}

.radar-circle {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.2);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--secondary);
    animation: spin 1s linear infinite;
}

.radar-icon {
    font-size: 2rem;
    color: var(--secondary);
}

.scanning-steps {
    max-width: 320px;
    margin: 0 auto;
    text-align: left;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dark);
}

.step-item.active .step-dot {
    background: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
}

.step-item.active {
    color: #ffffff;
    font-weight: 500;
}

.step-item.done .step-dot {
    background: var(--success);
}

.step-item.done {
    color: var(--text-muted);
}

/* Dashboard view */
.dashboard-view {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-meta h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.dashboard-meta p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.badge-url {
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 0.85rem;
}

/* Metric blocks grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.metric-circle-box {
    width: 70px;
    height: 70px;
    position: relative;
}

.radial-progress {
    transform: rotate(-90deg);
}

.radial-progress circle {
    fill: none;
    stroke-width: 4px;
}

.radial-progress .bg {
    stroke: rgba(255, 255, 255, 0.06);
}

.radial-progress .fg {
    stroke: var(--success);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease-out;
}

.radial-progress.fail .fg {
    stroke: var(--danger);
}

.radial-progress.warning .fg {
    stroke: var(--warning);
}

.radial-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
}

.metric-info h4 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.metric-info .val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
}

.risk-level {
    font-weight: 800;
}

.risk-level.high {
    color: var(--danger);
}

.risk-level.medium {
    color: var(--warning);
}

.risk-level.low {
    color: var(--success);
}

/* Violation Layout tabs */
.results-layout {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 24px;
}

.violations-container h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.violation-accordion {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.01);
    overflow: hidden;
    transition: var(--transition);
}

.violation-accordion:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    user-select: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.violation-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.violation-badge.critical {
    background: var(--danger-bg);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.violation-badge.warning {
    background: var(--warning-bg);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.accordion-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.violation-accordion.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.15);
}

.violation-accordion.open .accordion-content {
    display: block;
}

.wcag-rule-info {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.wcag-rule-info span {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-weight: 600;
}

.code-fix-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.code-box {
    background: #05070c;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    overflow-x: auto;
    position: relative;
}

.code-box::before {
    content: attr(data-lang);
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.7rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

.code-box.bad {
    border-left: 3px solid var(--danger);
    color: #fca5a5;
}

.code-box.good {
    border-left: 3px solid var(--success);
    color: #a7f3d0;
}

.btn-copy-fix {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy-fix:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sidebar monetization blocks */
.sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    filter: blur(25px);
    opacity: 0.6;
}

.promo-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.promo-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Coupon box interactive styling */
.coupon-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.coupon-wrapper input {
    flex-grow: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 12px;
    outline: none;
    text-transform: uppercase;
}

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

.btn-apply {
    background: var(--primary);
    border: none;
    color: #ffffff;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-apply:hover {
    background: #4f46e5;
}

.pricing-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-row.final {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 4px;
}

.strike-price {
    text-decoration: line-through;
    opacity: 0.6;
}

.discount-text {
    color: var(--success);
    font-weight: 600;
}

.btn-checkout {
    width: 100%;
    margin-top: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #ffffff;
    padding: 10px 0;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    transition: var(--transition);
}

.btn-checkout:hover {
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

.fomo-countdown {
    text-align: center;
    font-size: 0.75rem;
    color: #fca5a5;
    margin-top: 8px;
    font-weight: 600;
}

/* Interactive Overlay Widget Mock */
.widget-mock-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.widget-preview-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.widget-icon-preview {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary);
    cursor: pointer;
    animation: pulse-widget 2.5s infinite;
}

/* Future roadmap items */
.roadmap-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.roadmap-item {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.roadmap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
}

.roadmap-item strong {
    color: #ffffff;
}

/* Testimonials / Early reviews panel */
.testimonials-section {
    padding: 60px 0;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
}

.user-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
}

.user-info p {
    font-size: 0.75rem;
    color: var(--text-dark);
}

/* Legal Documents layout view */
.legal-view {
    display: none;
    max-width: 800px;
    margin: 40px auto;
    animation: fadeIn 0.4s ease-out;
}

.legal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.legal-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.legal-tab-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

.legal-tab-btn.active {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.legal-content-body {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.legal-content-body h2 {
    font-size: 1.4rem;
    margin: 24px 0 12px;
}

.legal-content-body h3 {
    font-size: 1.1rem;
    margin: 18px 0 10px;
    color: #ffffff;
}

.legal-content-body p, .legal-content-body ul {
    margin-bottom: 14px;
}

.legal-content-body ul {
    padding-left: 20px;
}

/* Footers */
footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    color: var(--text-dark);
    font-size: 0.85rem;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
}

.footer-link:hover {
    color: #ffffff;
}

/* FAQ view */
.faq-section {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.faq-accordion {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.01);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
}

.faq-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.faq-content {
    display: none;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.1);
}

.faq-accordion.open .faq-content {
    display: block;
}

/* Premium PDF checkout Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s var(--transition);
}

.modal-card {
    background: #0f1422;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.modal-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-input-group {
    margin-bottom: 16px;
    text-align: left;
}

.modal-input-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.modal-input-group input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    outline: none;
}

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

.modal-footer-btns {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-btn {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn.cancel {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.modal-btn.cancel:hover {
    background: rgba(255,255,255,0.1);
}

.modal-btn.confirm {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
}

.modal-btn.confirm:hover {
    transform: translateY(-1px);
}

/* Animations */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

@keyframes pulse-widget {
    0%, 100% { box-shadow: 0 0 10px var(--primary); }
    50% { box-shadow: 0 0 25px var(--primary); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print / White-labeled PDF specific styling */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    header, footer, .scan-container, .sidebar-panel, .testimonials-section, .faq-section {
        display: none !important;
    }
    
    .dashboard-view {
        display: block !important;
    }
    
    .glass-panel {
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .violation-accordion {
        border: 1px solid #ddd !important;
        background: transparent !important;
        page-break-inside: avoid;
    }
    
    .accordion-content {
        display: block !important;
        background: transparent !important;
    }
    
    .wcag-rule-info span {
        color: #000 !important;
    }
    
    .radial-progress .bg {
        stroke: #eee !important;
    }
}

/* Responsive breakdowns */
@media (max-width: 992px) {
    .results-layout {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    header {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .scan-tabs {
        flex-direction: column;
        align-items: stretch;
    }
}
