/**
 * Revma Kostos - Unified Design System
 * Shared styles for all pages: frontpage, providers, provider-landing, kostos-revmatos
 * Version: 1.4.0 (Design Lockdown)
 *
 * DESIGN LOCKDOWN RULES:
 * 1. Provider color = ACCENT ONLY (border-left, underlines, badges)
 * 2. ALL CTAs = Brand Blue (#0B5ED7) with white text
 * 3. Hero backgrounds = Neutral (white/light) OR dark with white text
 * 4. Text = #0F172A on light, #FFFFFF on dark
 * 5. Minimum WCAG 4.5:1 contrast ratio
 */

/* ============================================
   GLOBAL SMOOTH SCROLL
============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   LOCKED FOR PRODUCTION
============================================ */
:root {
    /* Primary CTA Colors - Brand Blue (LOCKED) */
    --revma-primary: #0B5ED7;
    --revma-primary-dark: #0950b8;
    --revma-primary-light: #3b82f6;
    --revma-primary-bg: #eff6ff;

    /* Secondary Colors - Success Green */
    --revma-secondary: #059669;
    --revma-secondary-light: #10b981;
    --revma-secondary-dark: #047857;
    --revma-secondary-bg: #ecfdf5;

    /* Accent Colors - For badges/warnings only */
    --revma-accent: #f59e0b;
    --revma-accent-light: #fbbf24;

    /* Text Colors - WCAG Compliant (LOCKED) */
    --revma-text-dark: #0F172A;
    --revma-text-medium: #475569;
    --revma-text-light: #64748b;

    /* Background Colors */
    --revma-bg-white: #ffffff;
    --revma-bg-light: #F7F9FC;
    --revma-bg-dark: #0f172a;
    --revma-bg-dark-alt: #1e293b;

    /* Border Colors */
    --revma-border: #e2e8f0;
    --revma-border-light: #f1f5f9;

    /* Shadows */
    --revma-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --revma-shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --revma-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --revma-shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Premium Card Shadows */
    --revma-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
    --revma-shadow-card-hover: 0 16px 40px rgba(15, 23, 42, 0.1);

    /* CTA Glow Shadows - Use brand blue */
    --revma-shadow-cta-glow: 0 4px 14px rgba(11, 94, 215, 0.35);
    --revma-shadow-cta-glow-hover: 0 8px 24px rgba(11, 94, 215, 0.45);
    --revma-shadow-cta-glow-green: 0 4px 14px rgba(5, 150, 105, 0.35);

    /* Border Radius */
    --revma-radius-sm: 8px;
    --revma-radius-md: 12px;
    --revma-radius-lg: 16px;
    --revma-radius-xl: 24px;
    --revma-radius-full: 50px;

    /* Premium Radius - Unified Design */
    --revma-radius-card: 22px;
    --revma-radius-input: 14px;

    /* Glassmorphism */
    --revma-glass-bg: rgba(255, 255, 255, 0.7);
    --revma-glass-border: rgba(255, 255, 255, 0.5);
    --revma-glass-blur: blur(12px);

    /* Section Spacing */
    --revma-section-spacing-lg: 120px;
    --revma-section-spacing-md: 80px;

    /* Transitions */
    --revma-transition: 0.3s ease;
    --revma-transition-fast: 0.2s ease;

    /* Typography */
    --revma-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Layout */
    --revma-max-width: 1200px;
    --revma-header-height: 80px;
    --revma-section-padding-desktop: 72px;
    --revma-section-padding-tablet: 56px;
    --revma-section-padding-mobile: 48px;
}

/* ============================================
   RESET & BASE STYLES
============================================ */
.revma-page {
    font-family: var(--revma-font-family);
    color: var(--revma-text-dark);
    line-height: 1.6;
    background: var(--revma-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.revma-page *,
.revma-page *::before,
.revma-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* ============================================
   TYPOGRAPHY SYSTEM
============================================ */
.revma-page h1,
.revma-h1 {
    font-size: clamp(2rem, 5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--revma-text-dark);
    letter-spacing: -0.02em;
}

.revma-page h2,
.revma-h2 {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--revma-text-dark);
}

.revma-page h3,
.revma-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--revma-text-dark);
}

.revma-page h4,
.revma-h4 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--revma-text-dark);
}

.revma-page p,
.revma-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--revma-text-medium);
}

.revma-text-sm {
    font-size: 0.85rem;
}

.revma-text-lg {
    font-size: 1.1rem;
}

.revma-text-light {
    color: var(--revma-text-light);
}

/* Text highlight */
.revma-highlight {
    background: linear-gradient(135deg, var(--revma-primary), var(--revma-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LAYOUT CONTAINERS
============================================ */
.revma-container {
    max-width: var(--revma-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.revma-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.revma-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacing */
.revma-section {
    padding: var(--revma-section-padding-desktop) 24px;
}

@media (max-width: 1024px) {
    .revma-section {
        padding: var(--revma-section-padding-tablet) 24px;
    }
}

@media (max-width: 768px) {
    .revma-section {
        padding: var(--revma-section-padding-mobile) 20px;
    }

    .revma-container,
    .revma-container-narrow,
    .revma-container-wide {
        padding: 0 16px;
    }
}

/* ============================================
   SITE HEADER (Unified)
============================================ */
.revma-site-header {
    background: var(--revma-bg-white);
    padding: 12px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
}

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

.revma-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.revma-logo {
    height: var(--revma-header-height);
    width: auto;
    object-fit: contain;
}

.revma-main-nav {
    display: flex;
    gap: 32px;
}

.revma-main-nav a {
    color: var(--revma-text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--revma-transition-fast);
}

.revma-main-nav a:hover,
.revma-main-nav a.active {
    color: var(--revma-primary);
}

@media (max-width: 768px) {
    .revma-site-header {
        padding: 12px 20px;
    }

    .revma-header-container {
        flex-direction: column;
        gap: 12px;
    }

    .revma-logo {
        height: 60px;
    }

    .revma-main-nav {
        gap: 20px;
        font-size: 0.9rem;
    }
}

/* ============================================
   BUTTONS
============================================ */
.revma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--revma-radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--revma-transition-fast);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.revma-btn:focus {
    outline: none;
}

.revma-btn:focus-visible {
    outline: 3px solid var(--revma-primary-light);
    outline-offset: 2px;
}

/* Primary Button */
.revma-btn-primary {
    background: linear-gradient(135deg, var(--revma-primary), var(--revma-primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

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

/* Secondary Button */
.revma-btn-secondary {
    background: var(--revma-bg-white);
    color: var(--revma-text-dark);
    border: 2px solid var(--revma-border);
}

.revma-btn-secondary:hover {
    border-color: var(--revma-primary);
    color: var(--revma-primary);
    transform: translateY(-2px);
}

/* Green/Call Button */
.revma-btn-success,
.revma-btn-call {
    background: linear-gradient(135deg, var(--revma-secondary), var(--revma-secondary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.revma-btn-success:hover,
.revma-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Outline Button (for dark backgrounds) */
.revma-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.revma-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Callback Button (yellow accent on dark backgrounds) */
.revma-btn-callback {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fbbf24;
    border: 2px solid #fbbf24;
    font-weight: 600;
    cursor: pointer;
}

.revma-btn-callback:hover {
    background: #fbbf24;
    color: #1a1a2e;
    transform: translateY(-2px);
}

/* Button Sizes */
.revma-btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-height: 40px;
}

.revma-btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Button with pulse animation */
.revma-btn-pulse {
    animation: revma-pulse-glow 2s infinite;
}

@keyframes revma-pulse-glow {
    0%, 100% { box-shadow: var(--revma-shadow-cta-glow, 0 8px 24px rgba(37, 99, 235, 0.35)); }
    50% { box-shadow: var(--revma-shadow-cta-glow-hover, 0 12px 32px rgba(37, 99, 235, 0.5)); }
}

@keyframes revma-pulse-glow-green {
    0%, 100% { box-shadow: var(--revma-shadow-cta-glow-green, 0 8px 24px rgba(16, 185, 129, 0.35)); }
    50% { box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5); }
}

/* ============================================
   CARDS
============================================ */
.revma-card {
    background: var(--revma-bg-white);
    border-radius: var(--revma-radius-lg);
    border: 1px solid var(--revma-border);
    padding: 28px 24px;
    transition: all var(--revma-transition);
}

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

.revma-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.revma-card-link *,
.revma-card a,
.revma-card span,
.revma-card h3,
.revma-card p {
    text-decoration: none !important;
    color: inherit;
}

/* ============================================
   BADGES
============================================ */
.revma-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--revma-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.revma-badge-primary {
    background: var(--revma-primary);
    color: white;
}

.revma-badge-subtle {
    background: rgba(59, 130, 246, 0.1);
    color: var(--revma-primary-dark);
}

.revma-badge-success {
    background: var(--revma-secondary);
    color: white;
}

/* RAE Badge with tooltip */
.revma-badge-rae {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    background: var(--revma-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    cursor: help;
}

.revma-badge-rae svg {
    stroke: white;
    width: 12px;
    height: 12px;
}

.revma-badge-rae::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--revma-bg-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--revma-transition-fast);
    z-index: 10;
    pointer-events: none;
}

.revma-badge-rae::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--revma-bg-dark);
    opacity: 0;
    visibility: hidden;
    transition: all var(--revma-transition-fast);
}

.revma-badge-rae:hover::after,
.revma-badge-rae:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   SECTION HEADER
============================================ */
.revma-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.revma-section-header h2 {
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.revma-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--revma-primary), var(--revma-secondary));
    border-radius: 2px;
}

.revma-section-header p {
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BREADCRUMB
============================================ */
.revma-breadcrumb {
    padding: 16px 24px;
    background: var(--revma-bg-light);
}

.revma-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    max-width: var(--revma-max-width);
    margin: 0 auto;
}

.revma-breadcrumb li {
    display: flex;
    align-items: center;
}

.revma-breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--revma-text-light);
}

.revma-breadcrumb a {
    color: var(--revma-text-medium);
    text-decoration: none;
    transition: color var(--revma-transition-fast);
}

.revma-breadcrumb a:hover {
    color: var(--revma-primary);
}

.revma-breadcrumb li:last-child span {
    color: var(--revma-text-dark);
    font-weight: 500;
}

/* ============================================
   FAQ ACCORDION (Native details/summary)
============================================ */
.revma-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details.revma-faq-item {
    background: var(--revma-bg-white);
    border-radius: var(--revma-radius-lg);
    margin-bottom: 12px;
    box-shadow: var(--revma-shadow-sm);
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: border-color var(--revma-transition), box-shadow var(--revma-transition);
}

details.revma-faq-item:not([open]):hover {
    border-color: var(--revma-border);
    box-shadow: var(--revma-shadow-md);
}

details.revma-faq-item[open] {
    background: #f8fbff;
    border-color: #c7d9f0;
    border-left: 4px solid #6ba3eb;
    box-shadow: var(--revma-shadow-md);
}

/* Remove default markers */
details.revma-faq-item > summary {
    list-style: none;
    list-style-type: none;
}

details.revma-faq-item > summary::-webkit-details-marker {
    display: none !important;
}

details.revma-faq-item > summary::marker {
    display: none !important;
    content: '';
}

details.revma-faq-item > summary::-moz-list-bullet {
    list-style-type: none;
}

summary.revma-faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: background var(--revma-transition);
    outline: none;
}

summary.revma-faq-question:hover {
    background: rgba(37, 99, 235, 0.04);
}

summary.revma-faq-question:focus-visible {
    outline: 2px solid var(--revma-primary);
    outline-offset: -2px;
    border-radius: var(--revma-radius-lg);
}

summary.revma-faq-question span,
.revma-faq-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--revma-text-dark);
    text-align: left;
    flex: 1;
    transition: color var(--revma-transition);
}

details.revma-faq-item[open] summary.revma-faq-question span {
    color: var(--revma-primary-dark);
}

.revma-faq-icon {
    width: 22px;
    height: 22px;
    stroke: var(--revma-text-light);
    stroke-width: 2.5;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke var(--revma-transition);
    flex-shrink: 0;
}

details.revma-faq-item[open] .revma-faq-icon {
    transform: rotate(180deg);
    stroke: var(--revma-primary);
}

.revma-faq-answer {
    padding: 0 28px 22px 28px;
    color: var(--revma-text-medium);
    line-height: 1.75;
    animation: revma-faq-fade-in 0.2s ease-out;
}

@keyframes revma-faq-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.revma-faq-answer p {
    margin: 0;
}

.revma-faq-hint {
    font-size: 0.95rem;
    color: var(--revma-text-light);
    margin-top: 8px;
}

@media (max-width: 768px) {
    details.revma-faq-item {
        margin-bottom: 8px;
    }

    summary.revma-faq-question {
        padding: 16px 20px;
    }

    summary.revma-faq-question span {
        font-size: 0.95rem;
    }

    .revma-faq-answer {
        padding: 0 20px 16px 20px;
    }
}

/* ============================================
   LIVE BAR (Trust indicators)
============================================ */
.revma-live-bar {
    background: linear-gradient(90deg, var(--revma-bg-dark) 0%, var(--revma-bg-dark-alt) 100%);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.revma-live-indicator,
.revma-live-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.95rem;
}

.revma-live-dot {
    width: 10px;
    height: 10px;
    background: var(--revma-secondary);
    border-radius: 50%;
    animation: revma-live-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--revma-secondary);
}

@keyframes revma-live-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.revma-live-stat strong {
    color: var(--revma-secondary);
}

@media (max-width: 768px) {
    .revma-live-bar {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }
}

/* ============================================
   FOOTER (Unified)
============================================ */
.revma-footer {
    background: var(--revma-bg-dark);
    color: #94a3b8;
    padding: 80px 24px 40px;
    position: relative;
}

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

.revma-footer-content {
    max-width: var(--revma-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
}

.revma-footer-brand h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.revma-footer-brand p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 300px;
}

.revma-footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.revma-footer h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

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

.revma-footer li {
    margin-bottom: 14px;
}

.revma-footer a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--revma-transition);
    position: relative;
}

.revma-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #60a5fa;
    transition: width var(--revma-transition);
}

.revma-footer a:hover {
    color: #60a5fa;
}

.revma-footer a:hover::after {
    width: 100%;
}

.revma-footer-bottom {
    max-width: var(--revma-max-width);
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.revma-footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

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

.revma-footer-links a {
    font-size: 0.85rem;
}

.revma-footer-links a::after {
    display: none;
}

@media (max-width: 1024px) {
    .revma-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .revma-footer {
        padding: 60px 20px 30px;
    }

    .revma-footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .revma-footer-brand p {
        max-width: none;
        margin: 0 auto;
    }

    .revma-footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
        padding-top: 24px;
    }

    .revma-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   CTA SECTION (Dark themed)
============================================ */
.revma-cta-section {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--revma-bg-dark) 0%, var(--revma-bg-dark-alt) 50%, var(--revma-bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.revma-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    animation: revma-rotate-slow 40s linear infinite reverse;
    pointer-events: none;
}

@keyframes revma-rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.revma-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.revma-cta-section h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin: 0 0 16px;
}

.revma-cta-section p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 32px;
    line-height: 1.7;
}

.revma-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--revma-primary-light);
    padding: 10px 20px;
    border-radius: var(--revma-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.revma-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.revma-cta-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.revma-cta-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .revma-cta-section {
        padding: 60px 20px;
    }

    .revma-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .revma-cta-buttons .revma-btn {
        width: 100%;
        max-width: 320px;
    }

    .revma-cta-trust {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   ACCESSIBILITY
============================================ */
@media (prefers-reduced-motion: reduce) {
    .revma-page *,
    .revma-page *::before,
    .revma-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states */
.revma-page a:focus-visible,
.revma-page button:focus-visible,
.revma-page input:focus-visible,
.revma-page select:focus-visible,
.revma-page textarea:focus-visible {
    outline: 2px solid var(--revma-primary);
    outline-offset: 2px;
    border-radius: var(--revma-radius-sm);
}

/* Skip to content link */
.revma-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--revma-primary);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.2s;
    text-decoration: none;
}

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

/* Touch targets */
@media (pointer: coarse) {
    .revma-btn {
        min-height: 48px;
        min-width: 48px;
    }

    summary.revma-faq-question {
        min-height: 48px;
    }

    .revma-main-nav a {
        padding: 12px;
    }
}

/* ============================================
   UTILITY CLASSES
============================================ */
.revma-text-center { text-align: center; }
.revma-text-left { text-align: left; }
.revma-text-right { text-align: right; }

.revma-mb-0 { margin-bottom: 0; }
.revma-mb-1 { margin-bottom: 8px; }
.revma-mb-2 { margin-bottom: 16px; }
.revma-mb-3 { margin-bottom: 24px; }
.revma-mb-4 { margin-bottom: 32px; }
.revma-mb-5 { margin-bottom: 48px; }

.revma-mt-0 { margin-top: 0; }
.revma-mt-1 { margin-top: 8px; }
.revma-mt-2 { margin-top: 16px; }
.revma-mt-3 { margin-top: 24px; }
.revma-mt-4 { margin-top: 32px; }
.revma-mt-5 { margin-top: 48px; }

.revma-flex { display: flex; }
.revma-flex-center { display: flex; align-items: center; justify-content: center; }
.revma-flex-wrap { flex-wrap: wrap; }
.revma-gap-1 { gap: 8px; }
.revma-gap-2 { gap: 16px; }
.revma-gap-3 { gap: 24px; }
.revma-gap-4 { gap: 32px; }

.revma-hidden { display: none !important; }

@media (max-width: 768px) {
    .revma-hidden-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .revma-hidden-desktop { display: none !important; }
}

/* ============================================
   SCROLL MARGIN FOR STICKY HEADER
============================================ */
[id] {
    scroll-margin-top: 100px;
}

/* ============================================
   ADMIN BAR HANDLING
============================================ */
body.admin-bar .revma-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .revma-site-header {
        top: 46px;
    }
}

/* Production: hide admin bar styles */
body:not(.admin-bar) .revma-site-header {
    top: 0;
}

/* ============================================
   SCROLL TO TOP BUTTON
============================================ */
#revma-scroll-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--revma-primary, #2563eb);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

#revma-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#revma-scroll-top:hover {
    background: var(--revma-primary-dark, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #revma-scroll-top {
        bottom: 86px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    /* On pages with sticky bar, position scroll-to-top above it */
    body.page-revma-frontpage #revma-scroll-top,
    body.page-kostos-revmatos #revma-scroll-top,
    body.page-revma-providers #revma-scroll-top,
    body.page-provider-landing #revma-scroll-top {
        bottom: 140px !important;
        right: 20px;
    }
}

/* ============================================
   GLASSMORPHISM UTILITIES
============================================ */
.revma-glass {
    background: var(--revma-glass-bg);
    backdrop-filter: var(--revma-glass-blur);
    -webkit-backdrop-filter: var(--revma-glass-blur);
    border: 1px solid var(--revma-glass-border);
}

.revma-glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: var(--revma-glass-blur);
    -webkit-backdrop-filter: var(--revma-glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   PREMIUM CARD STYLES
============================================ */
.revma-card-premium {
    background: var(--revma-bg-white);
    border-radius: var(--revma-radius-card);
    border: 1px solid var(--revma-border);
    box-shadow: var(--revma-shadow-card);
    transition: all var(--revma-transition);
}

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

/* ============================================
   CTA GLOW BUTTON STYLES
============================================ */
.revma-btn-glow {
    background: linear-gradient(135deg, var(--revma-primary), var(--revma-primary-dark));
    color: white;
    box-shadow: var(--revma-shadow-cta-glow);
    transition: all var(--revma-transition);
}

.revma-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: var(--revma-shadow-cta-glow-hover);
}

.revma-btn-glow-green {
    background: linear-gradient(135deg, var(--revma-secondary), var(--revma-secondary-dark));
    color: white;
    box-shadow: var(--revma-shadow-cta-glow-green);
}

.revma-btn-glow-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

/* ============================================
   SCROLL & ANIMATION UTILITIES
============================================ */
.revma-smooth-scroll {
    scroll-behavior: smooth;
}

.revma-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.revma-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Highlight animation for calculator scroll target */
@keyframes revma-highlight-pulse {
    0% { box-shadow: var(--revma-shadow-card); }
    50% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), var(--revma-shadow-card-hover); }
    100% { box-shadow: var(--revma-shadow-card); }
}

.revma-highlight-target {
    animation: revma-highlight-pulse 1.5s ease-out;
}

/* ============================================
   STICKY BOTTOM CTA BAR (Mobile) - Global
============================================ */
.revma-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .revma-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--revma-bg-white, #ffffff);
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .revma-sticky-cta .revma-btn {
        flex: 1;
        max-width: 180px;
        padding: 12px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        cursor: pointer;
        border: none;
    }

    .revma-sticky-cta .revma-btn-secondary {
        background: #f0f4ff;
        color: var(--revma-primary, #2563eb);
        border: 2px solid var(--revma-primary, #2563eb);
    }

    /* Hide sticky bar when scrolled to top (hero visible) */
    .revma-sticky-cta.hidden {
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .revma-sticky-cta:not(.hidden) {
        transform: translateY(0);
        transition: transform 0.3s ease;
    }

    /* Add padding to footer to prevent overlap with sticky bar */
    .revma-footer {
        padding-bottom: 80px !important;
    }
}
