/* ============================================================
   Rediafile — Complete Autonomous CSS System
   Self-contained replacement for Tailwind CDN.
   Includes design tokens, component systems, and view utilities.
   ============================================================ */

:root {
  --brand-50: #eef4ff;
  --brand-500: #0045AD;
  --brand-600: #003a96;
  --brand-700: #002f7a;
  --navy-900: #010e2c;
  --navy-800: #021540;
  --navy-700: #032058;
  --navy-600: #0a2d72;
  --navy-500: #1040a0;
  --blue-400: #2563eb;
  --blue-300: #3b82f6;
  --blue-200: #60a5fa;
  --blue-100: #bfdbfe;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-card: 0 2px 12px rgba(1,14,44,.06), 0 1px 4px rgba(1,14,44,.04);
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── POLICY PAGE LAYOUT (Sidebar + Content) ─────────────────── */
.policy-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  padding: 2.5rem 2.5rem 3rem 2.5rem;
}

/* Sidebar */
.policy-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
  border-right: 1px solid #e9edf4;
  padding-right: 1.5rem;
}

.policy-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eef2f6;
}

.policy-sidebar-brand i {
  font-size: 2rem;
  color: #2563eb;
  background: #eef4ff;
  padding: 0.5rem;
  border-radius: 14px;
}

.policy-sidebar-brand span {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.3px;
  color: #0b1e38;
}

.policy-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.policy-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.policy-sidebar-nav a i {
  width: 1.4rem;
  font-size: 1rem;
  color: #64748b;
  transition: color 0.2s;
}

.policy-sidebar-nav a:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #e2e8f0;
}

.policy-sidebar-nav a:hover i {
  color: #2563eb;
}

.policy-sidebar-nav a.active {
  background: #eef4ff;
  color: #1e4caf;
  border-color: #b9d0f8;
  font-weight: 600;
}

.policy-sidebar-nav a.active i {
  color: #2563eb;
}

.policy-sidebar-updated {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef2f6;
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.policy-sidebar-updated i {
  margin-right: 0.3rem;
  color: #3b82f6;
}

/* Main Content Area */
.policy-main {
  min-width: 0;
}

.policy-header {
  margin-bottom: 2.5rem;
}

.policy-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #0b1e38;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.policy-header h1 i {
  color: #2563eb;
  font-size: 2rem;
}

.policy-header .last-updated {
  display: inline-block;
  margin-top: 0.5rem;
  background: #eef4ff;
  padding: 0.3rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e4caf;
  border: 1px solid #d4e0f7;
}

.policy-header p {
  margin-top: 1rem;
  color: #334155;
  max-width: 800px;
  line-height: 1.6;
}

/* Policy Content Sections */
.policy-section {
  margin-top: 2.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eef2f6;
}

.policy-section:last-of-type {
  border-bottom: none;
}

.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 650;
  color: #0b1e38;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.policy-section h2 i {
  color: #2563eb;
  font-size: 1.3rem;
  width: 1.8rem;
}

.policy-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.2rem 0 0.4rem 0;
}

.policy-section p {
  margin-top: 0.5rem;
  color: #1e293b;
  line-height: 1.6;
}

.policy-section ul, .policy-section ol {
  margin: 0.6rem 0 0.6rem 1.8rem;
  color: #1e293b;
}

.policy-section li {
  margin-bottom: 0.3rem;
}

.policy-section .highlight-box {
  background: #f8fafc;
  padding: 0.8rem 1.5rem;
  border-radius: 16px;
  border-left: 5px solid #2563eb;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: #0b1e38;
}

.policy-section .highlight-box i {
  color: #2563eb;
  margin-right: 0.6rem;
}

.policy-section .small-meta {
  color: #475569;
  font-size: 0.8rem;
  background: #f1f5f9;
  padding: 0.15rem 0.7rem;
  border-radius: 30px;
  display: inline-block;
  margin-left: 0.3rem;
}

.policy-section .contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  background: #f8fafc;
  padding: 1.2rem 1.8rem;
  border-radius: 20px;
  margin-top: 0.8rem;
}

.policy-section .contact-block i {
  width: 1.4rem;
  color: #2563eb;
}

.policy-section .contact-block a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.policy-section .contact-block a:hover {
  text-decoration: underline;
}

/* ─── LEGAL CENTER GRID ───────────────────────────────────────── */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
  gap: 20px;
}

.policy-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.policy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  opacity: 0;
  transition: opacity var(--transition);
}

.policy-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(37,99,235,.12), 0 2px 8px rgba(0,0,0,.06);
  transform: translateY(-3px);
}

.policy-card:hover::before {
  opacity: 1;
}

.policy-card .card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.policy-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 22px;
}

.policy-card .card-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-400);
}

.policy-card .card-tag.essential { background: #eff6ff; color: #3b82f6; }
.policy-card .card-tag.security  { background: #f0fdf4; color: #16a34a; }
.policy-card .card-tag.payments  { background: #fff7ed; color: #ea580c; }
.policy-card .card-tag.gdpr      { background: #f5f3ff; color: #7c3aed; }

.policy-card .card-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.policy-card .card-desc {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
}

.policy-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}

.policy-card .card-updated {
  font-size: 11.5px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

.policy-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-400);
  transition: gap var(--transition), color var(--transition);
  text-decoration: none;
}

.policy-card:hover .card-link {
  gap: 8px;
  color: var(--blue-300);
}

.policy-card .card-link svg {
  transition: transform var(--transition);
}

.policy-card:hover .card-link svg {
  transform: translateX(2px);
}

.policy-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  border-color: rgba(79,142,247,.2);
  color: #fff;
}

.policy-card.featured::before {
  opacity: 1;
}

.policy-card.featured .card-title { color: #fff; }
.policy-card.featured .card-desc  { color: rgba(255,255,255,.65); }
.policy-card.featured .card-footer { border-color: rgba(255,255,255,.10); }
.policy-card.featured .card-updated { color: rgba(255,255,255,.4); }
.policy-card.featured .card-link { color: var(--blue-200); }
.policy-card.featured .card-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }

/* ─── INFO BANNERS ───────────────────────────────────────────── */
.policy-info-banner {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.policy-info-box {
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 18px;
}

.policy-info-box.blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
}

.policy-info-box.dark {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(79,142,247,.2);
  color: #fff;
}

.policy-info-box .info-box-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 22px;
}

.policy-info-box.blue .info-box-icon { background: #dbeafe; }
.policy-info-box.dark .info-box-icon { background: rgba(79,142,247,.15); }

.policy-info-box .info-box-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.policy-info-box.blue .info-box-title { color: var(--navy-800); }
.policy-info-box.dark .info-box-title { color: #fff; }

.policy-info-box .info-box-text {
  font-size: 13.5px;
  line-height: 1.6;
}

.policy-info-box.blue .info-box-text { color: var(--gray-600); }
.policy-info-box.dark .info-box-text { color: rgba(255,255,255,.6); }

.policy-info-box .info-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.policy-info-box.blue .info-box-cta {
  background: var(--blue-400);
  color: #fff;
}

.policy-info-box.blue .info-box-cta:hover {
  background: var(--blue-300);
  transform: translateY(-1px);
}

.policy-info-box.dark .info-box-cta {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.15);
}

.policy-info-box.dark .info-box-cta:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-1px);
}

/* ─── ANIMATIONS & SEARCH HIGHLIGHTS ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.fade-in:nth-child(2) { transition-delay: .08s; }
.fade-in:nth-child(3) { transition-delay: .16s; }
.fade-in:nth-child(4) { transition-delay: .24s; }
.fade-in:nth-child(5) { transition-delay: .32s; }
.fade-in:nth-child(6) { transition-delay: .40s; }
.fade-in:nth-child(7) { transition-delay: .48s; }

.policy-card.hidden-by-search { display: none !important; }
mark { background: #fef08a; border-radius: 2px; padding: 0 2px; }

/* ============================================================
   TAILWIND-COMPATIBLE UTILITY LAYER
   Required for template rendering without external dependencies
   ============================================================ */

/* Layout & Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none !important; }

.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0, .shrink-0 { flex-shrink: 0; }
.flex-shrink { flex-shrink: 1; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }

.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-10 { top: 2.5rem; }
.top-1\/4 { top: 25%; }
.top-\[25\%\] { top: 25%; }
.top-1\/2 { top: 50%; }
.left-4 { left: 1rem; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-3 { right: .75rem; }
.right-3\.5 { right: .875rem; }
.right-10 { right: 2.5rem; }

.z-10 { z-index: 10; }
.z-40 { z-index: 40; }

.invisible { visibility: hidden; }
.visible { visibility: visible; opacity: 1; }
.opacity-0 { opacity: 0; }
.opacity-75 { opacity: .75; }

/* Dimensions */
.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-56 { width: 14rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }
.w-3\/4 { width: 75%; }
.w-\[45\%\] { width: 45%; }

.h-full { height: 100%; }
.h-1\.5 { height: .375rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-60 { height: 15rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }

.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }

.max-w-none { max-width: none; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

/* Grid systems */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg-grid-fix  { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gap-1   { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2   { gap: .5rem; }
.gap-3   { gap: .75rem; }
.gap-4   { gap: 1rem; }
.gap-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }
.gap-10  { gap: 2.5rem; }
.gap-12  { gap: 3rem; }

/* Margins */
.mt-0\.5 { margin-top: .125rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

/* Paddings */
.p-0\.5 { padding: .125rem; }
.p-1 { padding: .25rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-1 { padding-top: .25rem; }
.pt-2 { padding-top: .5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }

.pb-3 { padding-bottom: .75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }

.pl-4 { padding-left: 1rem; }
.pr-10 { padding-right: 2.5rem; }

/* Space-between children */
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: .25rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: .375rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: .75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-16 > :not([hidden]) ~ :not([hidden]) { margin-top: 4rem; }

.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: .5rem; }

/* Typography */
.text-left { text-align: left; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }

.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.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-\[10px\] { font-size: 10px; line-height: 1.4; }
.text-\[11px\] { font-size: 11px; line-height: 1.4; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.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; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.15\] { line-height: 1.15; }

.tracking-tight { letter-spacing: -.025em; }
.tracking-wide { letter-spacing: .025em; }
.tracking-wider { letter-spacing: .05em; }

.line-clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* Colors & Gradients */
.bg-white { background-color: #fff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, .95); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-800\/80 { background-color: rgba(30, 41, 59, .8); }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, .9); }
.bg-slate-950 { background-color: #020617; }

.bg-indigo-50 { background-color: #eef2ff; }
.bg-indigo-50\/80 { background-color: rgba(238, 242, 255, .8); }
.bg-indigo-500 { background-color: #6366f1; }
.bg-indigo-500\/10 { background-color: rgba(99, 102, 241, .10); }
.bg-indigo-500\/20 { background-color: rgba(99, 102, 241, .2); }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-600\/10 { background-color: rgba(79, 70, 229, .10); }
.bg-indigo-600\/95 { background-color: rgba(79, 70, 229, .95); }
.bg-indigo-800 { background-color: #3730a3; }

.bg-emerald-500 { background-color: #10b981; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-950\/90 { background-color: rgba(2, 44, 52, .9); }

.bg-rose-500\/20 { background-color: rgba(244, 63, 94, .2); }

.bg-amber-500 { background-color: #f59e0b; }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, .2); }

.bg-brand-500 { background-color: #0045AD; }
.bg-brand-600 { background-color: #003a96; }

.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-brand-500 { --tw-gradient-from: #0045AD; --tw-gradient-to: rgba(0, 69, 173, 0); }
.to-indigo-700 { --tw-gradient-to: #4338ca; }

.text-white { color: #fff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }

.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.text-indigo-600 { color: #4f46e5; }
.text-indigo-700 { color: #4338ca; }

.text-brand-500 { color: #0045AD; }
.text-brand-600 { color: #003a96; }
.text-brand-700 { color: #002f7a; }

.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-rose-400 { color: #fb7185; }
.text-amber-400 { color: #fbbf24; }

/* Borders & Shadows */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }

.border-transparent { border-color: transparent; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }

.border-indigo-500\/30 { border-color: rgba(99, 102, 241, .3); }
.border-indigo-600 { border-color: #4f46e5; }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, .3); }
.border-emerald-500\/40 { border-color: rgba(16, 185, 129, .4); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, .3); }

.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .10), 0 8px 10px -6px rgba(0, 0, 0, .10); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .05); }

.shadow-indigo-900\/30 { box-shadow: 0 4px 14px rgba(30, 27, 75, .30); }
.shadow-indigo-600\/30 { box-shadow: 0 4px 14px rgba(79, 70, 229, .30); }
.shadow-indigo-600\/40 { box-shadow: 0 10px 18px rgba(79, 70, 229, .40); }

/* Overflow & Object fitting */
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.aspect-video { aspect-ratio: 16 / 9; }

/* Interactive Cursor / User Selection */
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }

/* Transforms, Filters & Backdrop Blurs */
.transform { transform: translateZ(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.rotate-180 { transform: rotate(180deg); }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-duration: 150ms; transition-timing-function: cubic-bezier(.4, 0, .2, 1); }
.transition-all { transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; }

.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* Form states */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-indigo-500:focus { border-color: #6366f1; }
.focus\:border-indigo-600:focus { border-color: #4f46e5; }
.focus\:bg-white:focus { background-color: #fff; }
.placeholder-slate-400::placeholder { color: #94a3b8; }

/* Prose Content Engine */
.prose { color: #334155; max-width: 65ch; }
.prose-md { font-size: 1rem; line-height: 1.75; }
.prose-slate { color: #334155; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: #0f172a; font-weight: 700; line-height: 1.25; margin-top: 1.5em; margin-bottom: .75em; }
.prose p { margin: 1em 0; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.5em; }
.prose li { margin: .35em 0; }
.prose a { color: #4f46e5; text-decoration: underline; }
.prose strong { color: #0f172a; font-weight: 700; }
.not-prose { max-width: none; }

/* Card Component */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover {
  box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
  border-color: #dbe3ef;
}

/* Ambient Visual Effects */
.hero-glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(70px);
}

/* Group & Hover Behaviors */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-indigo-600 { color: #4f46e5; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:visible { visibility: visible; opacity: 1; }

.hover\:underline:hover { text-decoration: underline; }
.hover\:bg-amber-400:hover { background-color: #fbbf24; }
.hover\:bg-brand-500:hover { background-color: #0045AD; }
.hover\:bg-brand-600:hover { background-color: #003a96; }
.hover\:bg-emerald-500:hover { background-color: #10b981; }
.hover\:bg-indigo-50:hover { background-color: #eef2ff; }
.hover\:bg-indigo-500:hover { background-color: #6366f1; }
.hover\:bg-indigo-600:hover { background-color: #4f46e5; }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); }

.hover\:text-brand-500:hover { color: #0045AD; }
.hover\:text-brand-600:hover { color: #003a96; }
.hover\:text-brand-700:hover { color: #002f7a; }
.hover\:text-indigo-600:hover { color: #4f46e5; }
.hover\:text-indigo-700:hover { color: #4338ca; }
.hover\:text-indigo-800:hover { color: #3730a3; }
.hover\:text-slate-900:hover { color: #0f172a; }
.hover\:text-white:hover { color: #fff; }

/* Accordion transition key */
[id^="faq-panel-"] { transition: background-color .15s ease; }

/* Animation Keyframes */
@keyframes rf-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes rf-pulse {
  50% { opacity: .5; }
}
.animate-ping { animation: rf-ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.animate-pulse { animation: rf-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }

/* ─── RESPONSIVE BREAKPOINTS ─────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:hidden { display: none !important; }
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:h-96 { height: 24rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-sm { font-size: .875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .policy-wrapper {
    grid-template-columns: 1fr;
    padding: 1.8rem;
    gap: 1.5rem;
  }
  .policy-sidebar {
    position: relative;
    top: 0;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #e9edf4;
    padding-bottom: 1.5rem;
  }
  .policy-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .policy-sidebar-nav a {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  .policy-sidebar-updated {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }
  .policy-info-banner { grid-template-columns: 1fr; }
  .policy-card.featured { grid-column: span 1; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:inline-flex { display: inline-flex !important; }
  .lg\:hidden { display: none !important; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (max-width: 550px) {
  .policy-wrapper { padding: 1.2rem; }
  .policy-header h1 {
    font-size: 1.6rem;
    flex-wrap: wrap;
  }
  .policy-section h2 { font-size: 1.25rem; }
  .policy-section h2 i { font-size: 1rem; width: 1.5rem; }
  .policy-section .contact-block {
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
  }
}

/* Reduced Motion Safety Override */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;  
  }
}

/* ============================================================
   Rediafile Home — standalone CSS
   Works without Tailwind CDN.
   ============================================================ */

.rf-container{width:100%;max-width:1280px;margin:0 auto;padding:0 24px}
.rf-section{padding:80px 0}
.rf-section-white{background:#fff}
.rf-section-muted{background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.rf-section-dark{background:#020617;color:#fff}
.rf-section-heading{text-align:center;max-width:760px;margin:0 auto 48px}
.rf-section-heading h2,.rf-section-topline h2{margin:0 0 12px;font-size:clamp(28px,4vw,40px);font-weight:800;line-height:1.15;color:#0f172a;letter-spacing:-.025em}
.rf-section-heading p,.rf-section-topline p{margin:0;color:#475569;font-size:15px;line-height:1.7}
.rf-heading-wide{max-width:900px}

.rf-hero{position:relative;overflow:hidden;background:#0f172a;color:#fff;padding:48px 0 96px;border-bottom:1px solid #1e293b}
.rf-hero-inner{position:relative;z-index:2}
.rf-hero-glow{position:absolute;border-radius:999px;filter:blur(50px);pointer-events:none}
.rf-hero-glow-primary{top:18%;left:50%;width:384px;height:384px;transform:translateX(-50%);background:rgba(99,102,241,.10)}
.rf-hero-glow-secondary{top:48%;right:40px;width:320px;height:320px;background:rgba(79,70,229,.10)}
.rf-hero-badge{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;margin:0 auto 32px;padding:7px 16px;border:1px solid rgba(99,102,241,.35);border-radius:999px;background:rgba(99,102,241,.10);color:#c7d2fe;font-size:12px;font-weight:700}
.rf-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.rf-hero-copy h1{margin:0 0 24px;font-size:clamp(42px,5vw,64px);font-weight:850;line-height:1.08;letter-spacing:-.04em}
.rf-hero-copy h1 span{display:block;color:#818cf8}
.rf-hero-description{max-width:650px;margin:0 0 32px;color:#cbd5e1;font-size:18px;line-height:1.7}
.rf-upload-area{margin-bottom:38px}
.rf-upload-form{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:stretch}.rf-upload-actions{display:grid;grid-template-columns:1fr auto;gap:12px}.rf-btn-google{grid-column:1/-1;background:#fff;color:#334155;border:1px solid #334155}
.rf-btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;padding:14px 22px;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer;transition:.2s ease}
.rf-btn-primary{background:#4f46e5;color:#fff;box-shadow:0 8px 24px rgba(79,70,229,.22)}
.rf-btn-primary:hover{background:#6366f1;transform:translateY(-1px)}
.rf-btn-secondary{background:#fff;color:#0f172a;border:1px solid #e2e8f0}
.rf-btn-secondary:hover{background:#f8fafc}
.rf-visually-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.status-message{display:none;padding:10px 12px;margin-top:10px;border-radius:8px;font-weight:600;font-size:13px}
.status-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}
.status-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.rf-upload-toast{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid rgba(52,211,153,.4);border-radius:12px;background:rgba(6,78,59,.88);color:#a7f3d0;font-size:13px;margin-bottom:24px}
.rf-toast-link{color:#fff;text-decoration:none;background:#059669;padding:7px 11px;border-radius:8px;font-size:12px;font-weight:700}
.hidden{display:none!important}
.rf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-top:24px;border-top:1px solid #1e293b}
.rf-stats strong{display:block;font-size:30px;line-height:1.1}
.rf-stats span{display:block;margin-top:4px;color:#94a3b8;font-size:12px}

.rf-hero-mockup{position:relative}
.rf-mockup-card{padding:32px;border:1px solid #334155;border-radius:20px;background:rgba(30,41,59,.82);box-shadow:0 25px 60px rgba(0,0,0,.25);backdrop-filter:blur(20px)}
.rf-mockup-icon{width:64px;height:64px;margin:0 auto 24px;border-radius:14px;background:#4f46e5;display:flex;align-items:center;justify-content:center}
.rf-file-list{display:grid;gap:12px}
.rf-file-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:14px;border:1px solid #334155;border-radius:12px;background:rgba(2,6,23,.82)}
.rf-file-meta{min-width:0}
.rf-file-meta strong,.rf-file-meta span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-file-meta strong{font-size:13px}
.rf-file-meta span{margin-top:3px;color:#94a3b8;font-size:11px}
.rf-file-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800}
.rf-file-pdf{background:rgba(244,63,94,.16);color:#fb7185}
.rf-file-jpg{background:rgba(99,102,241,.16);color:#a5b4fc}
.rf-file-zip{background:rgba(245,158,11,.16);color:#fbbf24}
.rf-status-ok{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#10b981;color:#fff;font-weight:800;font-size:13px}
.rf-progress{grid-column:1/-1;height:6px;overflow:hidden;border-radius:999px;background:#1e293b}
.rf-progress span{display:block;height:100%;border-radius:inherit;background:#6366f1}
.rf-floating-badge{position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.rf-floating-share{top:-12px;right:-12px;background:#4f46e5}
.rf-floating-security{bottom:-12px;left:-12px;background:#020617;border:1px solid #334155}

.rf-overlap{position:relative;margin-top:-48px;z-index:4;padding-top:0}
.rf-pillars{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 15px 40px rgba(15,23,42,.08);overflow:hidden}
.rf-pillars article{padding:32px;text-align:center}
.rf-pillars article+article{border-left:1px solid #eef2f7}
.rf-icon-box{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eef2ff;color:#4f46e5}
.rf-pillars .rf-icon-box,.rf-who-icon{margin:0 auto 16px}
.rf-pillars h2{margin:0 0 8px;font-size:16px;color:#0f172a}
.rf-pillars p{margin:0;color:#475569;font-size:13px;line-height:1.65}

.rf-step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:48px}
.rf-step-card{position:relative;padding:32px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 4px 18px rgba(15,23,42,.04)}
.rf-step-number{position:absolute;top:14px;right:18px;color:#f1f5f9;font-size:42px;font-weight:900}
.rf-step-badge{position:relative;width:40px;height:40px;margin-bottom:22px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#4f46e5;color:#fff;font-size:13px;font-weight:800}
.rf-step-card h3{margin:0 0 8px;color:#0f172a;font-size:18px}
.rf-step-card p{margin:0;color:#475569;font-size:13px;line-height:1.7}
.rf-transfer-box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;border:1px solid #1e293b;border-radius:18px;background:#0f172a;color:#fff}
.rf-transfer-box h3{margin:0 0 8px;font-size:20px}
.rf-transfer-points{display:grid;gap:5px;color:#cbd5e1;font-size:13px;line-height:1.55}

.rf-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rf-feature-card{display:flex;gap:16px;padding:24px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}
.rf-feature-card h3{margin:0 0 5px;font-size:15px;color:#0f172a}
.rf-feature-card p{margin:0;color:#475569;font-size:12px;line-height:1.65}

.rf-api-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.rf-api-grid h2{margin:0 0 16px;color:#fff;font-size:clamp(28px,4vw,40px)}
.rf-api-grid p{margin:0 0 14px;color:#cbd5e1;line-height:1.7}
.rf-api-grid .rf-muted{color:#94a3b8;font-size:14px}
.rf-api-badge{display:inline-flex;padding:5px 10px;border:1px solid rgba(99,102,241,.35);border-radius:999px;background:rgba(99,102,241,.14);color:#c7d2fe;font-size:12px;font-weight:800;margin-bottom:16px}
.rf-code-card{overflow:auto;border:1px solid #1e293b;border-radius:16px;background:#020617;padding:20px}
.rf-code-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #1e293b;font-size:12px}
.rf-code-header strong{color:#cbd5e1}
.rf-code-header span{color:#818cf8}
.rf-code-card pre{margin:0;color:#6ee7b7;font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}

.rf-section-topline{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:36px}
.rf-text-link{color:#0045AD;text-decoration:none;font-size:14px;font-weight:800;white-space:nowrap}
.rf-text-link:hover{text-decoration:underline}
.rf-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.rf-blog-card{display:block;overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;text-decoration:none;box-shadow:0 4px 18px rgba(15,23,42,.04);transition:.2s ease}
.rf-blog-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(15,23,42,.08)}
.rf-blog-image{aspect-ratio:16/9;background:#f1f5f9;overflow:hidden}
.rf-blog-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.rf-blog-card:hover .rf-blog-image img{transform:scale(1.04)}
.rf-blog-body{padding:20px}
.rf-blog-category{display:inline-block;margin-bottom:9px;padding:3px 8px;border-radius:999px;background:#eef4ff;color:#0045AD;font-size:10px;font-weight:800}
.rf-blog-body h3{margin:0 0 8px;color:#0f172a;font-size:16px;line-height:1.35}
.rf-blog-body p{margin:0;color:#475569;font-size:12px;line-height:1.6}
.rf-blog-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;color:#94a3b8;font-size:10px}

.rf-faq-container{max-width:880px}
.rf-faq-list{display:grid;gap:10px}
.rf-faq-item{overflow:hidden;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.rf-faq-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border:0;background:transparent;color:#0f172a;text-align:left;font-size:14px;font-weight:800;cursor:pointer}
.rf-faq-toggle:hover{background:#f8fafc}
.rf-faq-toggle svg{flex:0 0 auto;transition:transform .2s ease}
.rf-faq-toggle.is-open svg{transform:rotate(180deg)}
.rf-faq-panel{padding:0 20px 18px;color:#475569;font-size:14px;line-height:1.7}
.rf-faq-more{text-align:center;margin-top:30px}

.rf-who-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.rf-who-card{padding:24px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;text-align:center}
.rf-who-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#e0e7ff;color:#4f46e5}
.rf-who-card h3{margin:0 0 8px;color:#0f172a;font-size:14px}
.rf-who-card p{margin:0;color:#475569;font-size:12px;line-height:1.65}

.rf-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,6,23,.72);backdrop-filter:blur(8px)}
.rf-modal.hidden{display:none!important}
.rf-modal-card{width:min(520px,100%);max-height:90vh;overflow:auto;padding:24px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 25px 80px rgba(0,0,0,.28)}
.rf-modal-header{display:flex;justify-content:space-between;gap:16px}
.rf-modal-header h3{margin:0;color:#0f172a;font-size:18px}
.rf-modal-header p{margin:5px 0 0;color:#64748b;font-size:12px}
.rf-modal-close{width:34px;height:34px;border:0;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:22px;cursor:pointer}
.rf-price{text-align:center;padding:20px 0}
.rf-price strong{font-size:34px;color:#0045AD}
.rf-price span{color:#64748b;font-size:12px;margin-left:5px}
.rf-price small{display:block;color:#94a3b8;margin-top:5px;font-size:11px}
.rf-conditions h4{margin:0 0 12px;color:#64748b;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.rf-conditions ul{margin:0;padding-left:20px;color:#334155;font-size:13px;line-height:1.7}
.rf-notice{margin-top:14px;padding:12px;border-left:4px solid;border-radius:0 10px 10px 0}
.rf-notice strong{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.rf-notice p{margin:4px 0 0;color:#475569;font-size:12px;line-height:1.6}
.rf-notice-warning{background:#fffbeb;border-color:#f59e0b}
.rf-notice-info{background:#eff6ff;border-color:#60a5fa}
.rf-notice-danger{background:#fef2f2;border-color:#f87171}
.rf-terms-link{display:block;text-align:center;margin:18px 0;color:#0045AD;font-size:12px;font-weight:700;text-decoration:none}
.rf-terms-link:hover{text-decoration:underline}
.rf-pay-button{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:12px;background:linear-gradient(90deg,#0045AD,#003a96);color:#fff;text-decoration:none;font-size:14px;font-weight:800;box-shadow:0 10px 25px rgba(0,69,173,.24)}
.rf-modal-footnote{margin:10px 0 0;text-align:center;color:#94a3b8;font-size:10px}

@media (max-width: 1000px){
  .rf-hero-grid,.rf-api-grid{grid-template-columns:1fr}
  .rf-feature-grid{grid-template-columns:repeat(2,1fr)}
  .rf-who-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 760px){
  .rf-section{padding:64px 0}
  .rf-container{padding:0 18px}
  .rf-upload-form{grid-template-columns:1fr}
  .rf-hero-copy{text-align:center}
  .rf-hero-description{margin-left:auto;margin-right:auto}
  .rf-stats{gap:10px}
  .rf-stats strong{font-size:24px}
  .rf-pillars,.rf-step-grid,.rf-blog-grid{grid-template-columns:1fr}
  .rf-pillars article+article{border-left:0;border-top:1px solid #eef2f7}
  .rf-transfer-box,.rf-section-topline{flex-direction:column;align-items:flex-start}
  .rf-feature-grid{grid-template-columns:1fr}
  .rf-who-grid{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .rf-hero{padding-top:36px}
  .rf-hero-copy h1{font-size:40px}
  .rf-mockup-card{padding:20px}
  .rf-floating-badge{display:none}
  .rf-upload-toast{align-items:flex-start;flex-direction:column}
}



/* ============================================================
   Rediafile — Standalone Header + Footer
   No Tailwind dependency
   ============================================================ */

.rf-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #e2e8f0;
  box-shadow:0 2px 14px rgba(15,23,42,.06);
  backdrop-filter:blur(14px);
}
.rf-nav-shell{
  width:min(1280px,calc(100% - 32px));
  min-height:68px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.rf-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  color:#0f172a;
  text-decoration:none;
  font-weight:900;
  letter-spacing:-.03em;
}
.rf-brand-mark{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,#0045AD,#4338ca);
  box-shadow:0 5px 14px rgba(0,69,173,.2);
}
.rf-brand-name{font-size:22px}
.rf-brand-name span,.rf-footer-logo span span{color:#0045AD}

.rf-desktop-nav{
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:auto;
}
.rf-desktop-nav>a,
.rf-nav-link{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 12px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#475569;
  font:600 14px/1 inherit;
  text-decoration:none;
  cursor:pointer;
}
.rf-desktop-nav>a:hover,
.rf-nav-link:hover{
  color:#0045AD;
  background:#f8fafc;
}
.rf-nav-dropdown{position:relative}
.rf-dropdown-menu{
  position:absolute;
  right:0;
  top:calc(100% + 5px);
  width:245px;
  padding:8px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#fff;
  box-shadow:0 16px 40px rgba(15,23,42,.14);
  display:none;
}
.rf-nav-dropdown:hover .rf-dropdown-menu,
.rf-nav-dropdown:focus-within .rf-dropdown-menu{display:block}
.rf-dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:8px;
  color:#334155;
  text-decoration:none;
  font-size:13px;
}
.rf-dropdown-menu a:hover{background:#f8fafc;color:#0045AD}

.rf-nav-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.rf-language-switcher{
  display:flex;
  gap:2px;
  padding:3px;
  border-radius:999px;
  background:#f1f5f9;
}
.rf-language-switcher a,
.rf-mobile-languages a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  padding:5px 9px;
  border-radius:999px;
  color:#64748b;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
}
.rf-language-switcher a.is-active,
.rf-mobile-languages a.is-active{
  background:#0045AD;
  color:#fff;
}
.rf-nav-transfer,
.rf-nav-upload{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  padding:0 13px;
  border-radius:10px;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.rf-nav-transfer{background:#f59e0b;color:#fff}
.rf-nav-transfer:hover{background:#d97706}
.rf-nav-upload{background:#0045AD;color:#fff;box-shadow:0 5px 14px rgba(0,69,173,.18)}
.rf-nav-upload:hover{background:#003a96}

.rf-mobile-toggle{
  display:none;
  width:42px;
  height:42px;
  padding:9px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}
.rf-mobile-toggle span{
  display:block;
  height:2px;
  margin:4px 0;
  border-radius:4px;
  background:#334155;
  transition:.2s ease;
}
.rf-mobile-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.rf-mobile-toggle.is-open span:nth-child(2){opacity:0}
.rf-mobile-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.rf-mobile-menu{
  border-top:1px solid #e2e8f0;
  background:#fff;
  padding:10px 16px 16px;
}
.rf-mobile-menu[hidden]{display:none!important}
.rf-mobile-menu nav{display:grid;gap:4px}
.rf-mobile-menu nav>a,
.rf-mobile-legal>a,
.rf-mobile-transfer{
  display:block;
  padding:11px 12px;
  border-radius:9px;
  color:#334155;
  text-decoration:none;
  font-size:14px;
  font-weight:650;
}
.rf-mobile-menu nav>a:hover,
.rf-mobile-legal>a:hover{background:#f8fafc;color:#0045AD}
.rf-mobile-label{
  padding:10px 12px 5px;
  color:#94a3b8;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.rf-mobile-transfer{
  margin-top:8px;
  text-align:center;
  background:#0045AD;
  color:#fff!important;
  font-weight:800;
}
.rf-mobile-languages{
  display:flex;
  gap:5px;
  padding:12px 8px 2px;
}

.rf-main{width:100%;flex:1}

/* Footer */
.rf-footer{
  margin-top:auto;
  background:#0f172a;
  color:#cbd5e1;
}
.rf-footer-container{
  width:min(1280px,calc(100% - 32px));
  margin:0 auto;
  padding:52px 0 22px;
}
.rf-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr; /* Changed from 3 to 4 columns */
  gap:40px;
}
.rf-footer-logo{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#fff;
  font-size:20px;
  font-weight:900;
  text-decoration:none;
}
.rf-footer-logo-mark{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:linear-gradient(135deg,#0045AD,#4338ca);
  color:#fff;
}
.rf-footer-logo>span:last-child span{color:#60a5fa}
.rf-footer-tagline{
  max-width:520px;
  margin:17px 0 0;
  color:#94a3b8;
  font-size:14px;
  line-height:1.7;
}
.rf-server-status{
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:18px;
  padding:7px 11px;
  border:1px solid rgba(52,211,153,.3);
  border-radius:999px;
  background:rgba(16,185,129,.08);
  color:#a7f3d0;
  font-size:11px;
  font-weight:700;
}
.rf-status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#34d399;
  box-shadow:0 0 0 4px rgba(52,211,153,.1);
}
.rf-footer-column h2{
  margin:3px 0 15px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.rf-footer-column nav{
  display:grid;
  gap:9px;
}
.rf-footer-column a{
  color:#94a3b8;
  text-decoration:none;
  font-size:13px;
  line-height:1.5;
}
.rf-footer-column a:hover{color:#fff}
.rf-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:38px;
  padding-top:20px;
  border-top:1px solid #1e293b;
  color:#64748b;
  font-size:11px;
}
.rf-footer-bottom p{margin:0}

@media (max-width:1050px){
  .rf-desktop-nav{display:none}
  .rf-mobile-toggle{display:block}
  .rf-nav-transfer{display:none}
}
@media (max-width:760px){
  .rf-nav-shell{min-height:62px;width:min(100% - 20px,1280px)}
  .rf-brand-name{font-size:20px}
  .rf-language-switcher{display:none}
  .rf-nav-upload{display:none}
  .rf-footer-container{width:min(100% - 24px,1280px);padding:40px 0 18px}
  .rf-footer-grid{grid-template-columns:1fr;gap:28px} /* Mobile stays the same */
  .rf-footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;margin-top:28px}
}

/* Optional: Better spacing for 4 columns on medium screens */
@media (max-width:900px) and (min-width:761px){
  .rf-footer-grid{
    grid-template-columns:1fr 1fr;
    gap:32px;
  }
  .rf-footer-brand{
    grid-column:1 / -1;
  }
}

/* -------- new auth block inside mobile menu -------- */
.rf-mobile-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 8px 0 4px;
  padding: 4px 6px;
  background: #f8faff;
  border-radius: 60px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02), 0 4px 10px -6px rgba(0,20,40,0.06);
}

.rf-mobile-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  flex: 1;
  min-width: 80px;
}

.rf-mobile-auth-btn i {
  font-size: 1.2rem;
  line-height: 1;
  color: #1e293b;
}

.rf-mobile-auth-btn span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* signin special */
.rf-mobile-auth-btn.signin {
  background: rgba(30, 58, 138, 0.04);
  border-color: rgba(30, 58, 138, 0.10);
}
.rf-mobile-auth-btn.signin i {
  color: #1e3a8a;
}
.rf-mobile-auth-btn.signin:hover {
  background: rgba(30, 58, 138, 0.08);
  border-color: rgba(30, 58, 138, 0.20);
}

/* signup special */
.rf-mobile-auth-btn.signup {
  background: rgba(11, 94, 75, 0.04);
  border-color: rgba(11, 94, 75, 0.10);
}
.rf-mobile-auth-btn.signup i {
  color: #0b5e4b;
}
.rf-mobile-auth-btn.signup:hover {
  background: rgba(11, 94, 75, 0.08);
  border-color: rgba(11, 94, 75, 0.20);
}

/* active state (touch feedback) */
.rf-mobile-auth-btn:active {
  transform: scale(0.94);
}

/* divider between signin / signup */
.rf-auth-divider {
  width: 1px;
  height: 28px;
  background: #dbe0e8;
  opacity: 0.5;
  flex-shrink: 0;
}

/* small screens: adjust padding */
@media (max-width: 420px) {
  .rf-mobile-auth-btn {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 60px;
  }
  .rf-mobile-auth-btn i {
    font-size: 1rem;
  }
  .rf-mobile-auth-btn span {
    font-size: 0.75rem;
  }
}

/* 
   ============================================================
   FULL REPLACED BLOCK – paste this inside your <nav> 
   (remove the old .rf-mobile-transfer block entirely)
   ============================================================
*/
/* Featured Links Section */
.rf-featured-links {
    padding: 60px 0 40px;
    background: #f8fafc;
}

.rf-featured-container {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.rf-featured-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    margin-bottom: 40px;
}

.rf-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.rf-featured-card {
    display: block;
    padding: 24px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.rf-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #0045AD;
}

.rf-featured-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
    color: #0045AD;
    margin-bottom: 16px;
}

.rf-featured-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.rf-featured-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .rf-featured-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .rf-featured-card {
        padding: 16px;
    }
    
    .rf-featured-title {
        font-size: 22px;
    }
}

@media (max-width: 420px) {
    .rf-featured-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    animation: cookieSlideUp 0.5s ease-out;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 60%;
    min-width: 280px;
}

.cookie-banner-icon {
    flex-shrink: 0;
    color: #fbbf24;
    margin-top: 2px;
}

.cookie-banner-icon svg {
    width: 32px;
    height: 32px;
}

.cookie-banner-text h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 0.02em;
}

.cookie-banner-text p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 6px 0;
    max-width: 720px;
}

.cookie-banner-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-banner-links a {
    color: #60a5fa;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cookie-banner-links a:hover {
    color: #93bbfc;
    text-decoration: underline;
}

.cookie-separator {
    color: #475569;
    font-size: 12px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #0045AD;
    color: #ffffff;
}

.cookie-btn-primary:hover {
    background: #003a8f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 69, 173, 0.4);
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* ============================================================
   FLOATING LANGUAGE SWITCHER (appears after consent)
   ============================================================ */
.cookie-lang-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    display: none; /* Hidden by default */
    gap: 4px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: langSlideUp 0.5s ease-out;
}

@keyframes langSlideUp {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cookie-lang-switcher.cookie-lang-visible {
    display: flex !important;
}

.cookie-lang-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.cookie-lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.cookie-lang-btn.active {
    background: #0045AD;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 69, 173, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 14px 16px;
    }
    
    .cookie-banner-container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    
    .cookie-banner-content {
        flex: 1 1 auto;
        min-width: 0;
        gap: 12px;
    }
    
    .cookie-banner-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .cookie-banner-text h3 {
        font-size: 14px;
    }
    
    .cookie-banner-text p {
        font-size: 12px;
    }
    
    .cookie-banner-actions {
        justify-content: flex-end;
        width: 100%;
    }
    
    .cookie-btn {
        padding: 8px 18px;
        font-size: 12px;
        flex: 1;
        text-align: center;
    }

    /* Mobile language switcher */
    .cookie-lang-switcher {
        bottom: 16px;
        right: 16px;
        left: 16px;
        justify-content: center;
        gap: 4px;
        padding: 4px;
        border-radius: 10px;
    }

    .cookie-lang-btn {
        padding: 6px 10px;
        font-size: 10px;
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-lang-switcher {
        bottom: 12px;
        right: 12px;
        left: 12px;
        padding: 4px;
        gap: 3px;
    }

    .cookie-lang-btn {
        padding: 5px 8px;
        font-size: 9px;
    }
}
/* Hide sidebar on screens smaller than 768px */
@media screen and (max-width: 767px) {
    aside.sidebar {
        display: none !important;
    }
}

