:root {
    /* Brand palette */
    --rw-primary: #2563eb;
    --rw-primary-dark: #1d4ed8;
    --rw-primary-light: #dbeafe;
    --rw-secondary: #6366f1;
    --rw-accent: #0d9488;
    --rw-accent-light: #ccfbf1;
    --rw-success: #059669;
    --rw-warning: #d97706;
    --rw-danger: #dc2626;
    --rw-pink: #ec4899;
    --rw-orange: #f97316;
    --rw-cyan: #06b6d4;

    /* Neutrals */
    --rw-bg: #f8fafc;
    --rw-surface: #ffffff;
    --rw-surface-alt: #f1f5f9;
    --rw-text: #1e293b;
    --rw-text-muted: #64748b;
    --rw-border: #e2e8f0;

    /* Typography */
    --rw-radius: 0.75rem;
    --rw-radius-sm: 0.5rem;
    --rw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rw-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --rw-shadow-glow: 0 0 20px rgba(37, 99, 235, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--rw-bg);
    color: var(--rw-text);
    line-height: 1.6;
}

/* Layout helpers */
.rw-container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .rw-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .rw-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Hero */
.rw-hero {
    background: linear-gradient(135deg, var(--rw-primary) 0%, var(--rw-secondary) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.rw-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform: rotate(-15deg);
    pointer-events: none;
}

.rw-hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rw-hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.rw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--rw-radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.rw-btn-primary {
    background-color: var(--rw-primary);
    color: #ffffff;
}

.rw-btn-primary:hover {
    background-color: var(--rw-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--rw-shadow);
}

.rw-btn-secondary {
    background-color: #ffffff;
    color: var(--rw-primary);
    border: 2px solid var(--rw-primary);
}

.rw-btn-secondary:hover {
    background-color: var(--rw-primary-light);
}

.rw-btn-ghost {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.rw-btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.rw-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--rw-radius);
}

/* Cards */
.rw-card {
    background-color: var(--rw-surface);
    border-radius: var(--rw-radius);
    box-shadow: var(--rw-shadow);
    border: 1px solid var(--rw-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rw-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rw-shadow-lg);
}

.rw-card-body {
    padding: 1.5rem;
}

/* Feature / step circles */
.rw-step-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--rw-primary-light) 0%, var(--rw-accent-light) 100%);
    color: var(--rw-primary);
    box-shadow: var(--rw-shadow);
}

/* Badges */
.rw-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rw-badge-recommended {
    background-color: #fbbf24;
    color: #78350f;
}

/* Page titles */
.rw-page-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--rw-text);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.rw-page-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--rw-primary), var(--rw-accent));
    border-radius: 9999px;
    margin-top: 0.5rem;
}

/* Content pages */
.rw-content {
    background-color: var(--rw-surface);
    border-radius: var(--rw-radius);
    box-shadow: var(--rw-shadow);
    padding: 2rem;
    border: 1px solid var(--rw-border);
}

.rw-content h1,
.rw-content h2,
.rw-content h3 {
    color: var(--rw-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.rw-content p {
    color: var(--rw-text-muted);
    margin-bottom: 1rem;
}

/* Footer */
.rw-footer {
    background-color: var(--rw-surface);
    border-top: 1px solid var(--rw-border);
    padding: 2rem 0;
    margin-top: auto;
}

/* Navbar */
.rw-navbar {
    background-color: var(--rw-surface);
    border-bottom: 1px solid var(--rw-border);
    box-shadow: var(--rw-shadow);
}

.rw-nav-link {
    color: var(--rw-text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rw-nav-link:hover {
    color: var(--rw-primary);
}

/* Feature icons */
.rw-icon-green { color: var(--rw-success); }
.rw-icon-blue { color: var(--rw-primary); }
.rw-icon-purple { color: #7c3aed; }
.rw-icon-gold { color: #d97706; }
.rw-icon-pink { color: var(--rw-pink); }
.rw-icon-orange { color: var(--rw-orange); }
.rw-icon-cyan { color: var(--rw-cyan); }

/* Gradient text */
.rw-gradient-text {
    background: linear-gradient(135deg, var(--rw-primary) 0%, var(--rw-pink) 50%, var(--rw-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating decoration blobs */
.rw-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.rw-blob-blue {
    background: var(--rw-primary);
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.rw-blob-pink {
    background: var(--rw-pink);
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -80px;
}

.rw-blob-cyan {
    background: var(--rw-cyan);
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Colorful section backgrounds */
.rw-section-gradient {
    background: linear-gradient(135deg, #f0f9ff 0%, #fdf4ff 50%, #f0fdfa 100%);
}

.rw-section-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
}

.rw-section-warm {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
}

/* Icon feature boxes */
.rw-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--rw-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.rw-feature-icon-blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: var(--rw-primary); }
.rw-feature-icon-pink { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); color: var(--rw-pink); }
.rw-feature-icon-cyan { background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%); color: var(--rw-cyan); }
.rw-feature-icon-orange { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); color: var(--rw-orange); }
.rw-feature-icon-green { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); color: var(--rw-success); }
.rw-feature-icon-purple { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); color: #7c3aed; }

/* Animated gradient border */
.rw-gradient-border {
    position: relative;
    border-radius: var(--rw-radius);
    background: var(--rw-surface);
}

.rw-gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--rw-radius) + 2px);
    background: linear-gradient(135deg, var(--rw-primary), var(--rw-pink), var(--rw-cyan), var(--rw-primary));
    background-size: 300% 300%;
    z-index: -1;
    animation: rw-gradient-shift 4s ease infinite;
}

@keyframes rw-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Stats counters */
.rw-stat {
    text-align: center;
    padding: 1.5rem;
}

.rw-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rw-primary), var(--rw-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Full-bleed section (breaks out of centered container to full viewport width) */
.rw-full-bleed {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* SVG icon sizing fallback (in case Tailwind CDN is unreachable) */
svg.w-4 { width: 1rem; height: 1rem; }
svg.w-5 { width: 1.25rem; height: 1.25rem; }
svg.w-6 { width: 1.5rem; height: 1.5rem; }
svg.w-7 { width: 1.75rem; height: 1.75rem; }
svg.h-4 { height: 1rem; }
svg.h-5 { height: 1.25rem; }
svg.h-6 { height: 1.5rem; }
svg.h-7 { height: 1.75rem; }

/* Subtle animations */
@keyframes rw-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rw-float {
    animation: rw-float 4s ease-in-out infinite;
}

@keyframes rw-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
}

.rw-pulse-glow {
    animation: rw-pulse-glow 2s infinite;
}

/* =================================================================
   Tailwind utility class fallbacks
   Provides static CSS for all Tailwind classes used on the landing
   page and shared layout. Kicks in when the Tailwind CDN can't
   generate styles (e.g. CSP blocks eval).
   ================================================================= */

/* --- Display & Flex --- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}

/* --- Grid --- */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@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\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:-translate-y-4 { transform: translateY(-1rem); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- Width & Height --- */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-1 { height: 0.25rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.min-h-screen { min-height: 100vh; }

/* --- Spacing --- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.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-16 { margin-bottom: 4rem; }
.\!mb-0 { margin-bottom: 0; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-10 { padding: 2.5rem; }

@media (min-width: 1024px) {
    .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .lg\:p-16 { padding: 4rem; }
}

/* --- Typography --- */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }

@media (min-width: 768px) {
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* --- Text Colors --- */
.text-white { color: #ffffff; }
.text-white\/90 { color: rgba(255,255,255,0.9); }
.text-transparent { color: transparent; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-900 { color: #0f172a; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-red-600 { color: #dc2626; }
.text-red-800 { color: #991b1b; }
.text-emerald-500 { color: #10b981; }
.text-emerald-600 { color: #059669; }
.text-violet-500 { color: #8b5cf6; }
.text-violet-600 { color: #7c3aed; }
.text-teal-300 { color: #5eead4; }
.text-yellow-300 { color: #fde047; }
.text-yellow-800 { color: #854d0e; }
.text-pink-300 { color: #f9a8d4; }

/* --- Backgrounds --- */
.bg-white { background-color: #ffffff; }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-800 { background-color: #1e293b; }
.bg-yellow-50 { background-color: #fefce8; }

/* --- Borders --- */
.border-y { border-top: 1px solid; border-bottom: 1px solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t-4 { border-top: 4px solid; }
.border-slate-200 { border-color: #e2e8f0; }
.border-blue-500 { border-color: #3b82f6; }
.border-emerald-500 { border-color: #10b981; }
.border-violet-500 { border-color: #8b5cf6; }
.border-yellow-200 { border-color: #fef08a; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded { border-radius: 0.25rem; }

/* --- Shadows & Effects --- */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
.opacity-30 { opacity: 0.3; }
.opacity-60 { opacity: 0.6; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-95 { opacity: 0.95; }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* --- Position --- */
.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.-top-3 { top: -0.75rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.z-10 { z-index: 10; }
.pointer-events-none { pointer-events: none; }

/* --- Overflow --- */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }

/* --- Hover --- */
.hover\:text-red-800:hover { color: #991b1b; }
.hover\:text-blue-600:hover { color: #2563eb; }

/* --- Transition --- */
.transition-colors { transition: color 0.15s ease-in-out; }

/* --- Gradient utilities --- */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-yellow-300 { --tw-gradient-from: #fde047; }
.to-teal-300 { --tw-gradient-to: #5eead4; }
.from-blue-600 { --tw-gradient-from: #2563eb; }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }
.from-blue-500 { --tw-gradient-from: #3b82f6; }
.to-cyan-500 { --tw-gradient-to: #06b6d4; }
.from-pink-500 { --tw-gradient-from: #ec4899; }
.to-violet-500 { --tw-gradient-to: #8b5cf6; }
.from-emerald-500 { --tw-gradient-from: #10b981; }
.to-teal-500 { --tw-gradient-to: #14b8a6; }
.from-blue-400 { --tw-gradient-from: #60a5fa; }
.to-blue-600 { --tw-gradient-to: #2563eb; }
.from-indigo-400 { --tw-gradient-from: #818cf8; }
.from-teal-400 { --tw-gradient-from: #2dd4bf; }
.to-teal-600 { --tw-gradient-to: #0d9488; }

