﻿/* ═══════════════════════════════════════════════════
   Cashiry — Cinematic Design System v2
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────── */

:root {
  color-scheme: dark;

  --bg-deep: #030308;
  --bg-base: #08080f;
  --bg-surface: #0e0e1a;
  --bg-elevated: #131325;
  --bg-glass: rgba(14, 14, 26, 0.8);

  --text: #eaeaef;
  --text-secondary: rgba(234, 234, 239, 0.6);
  --text-muted: rgba(234, 234, 239, 0.32);

  --gold: #d4a853;
  --gold-hover: #e0b95e;
  --gold-glow: rgba(212, 168, 83, 0.12);
  --gold-glow-strong: rgba(212, 168, 83, 0.22);
  --gold-gradient: linear-gradient(135deg, #d4a853 0%, #b8860b 50%, #d4a853 100%);

  --blue: #5b8def;
  --blue-glow: rgba(91, 141, 239, 0.08);
  --green: #34d399;
  --red: #f87171;
  --red-glow: rgba(248, 113, 113, 0.08);

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.11);
  --border-active: rgba(212, 168, 83, 0.3);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px var(--gold-glow);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width: 1200px;
  --header-h: 68px;
}

/* ── Reset ─────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Segoe UI', Tahoma, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.site-body { position: relative; z-index: 1; }

/* ── Ambient Background ────────────────────────── */

.ambient-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient-glow::before {
  content: '';
  position: absolute; top: -30%; left: -10%; width: 70%; height: 70%;
  background: radial-gradient(ellipse, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
  animation: ambientFloat 20s ease-in-out infinite;
}
.ambient-glow::after {
  content: '';
  position: absolute; bottom: -25%; right: -10%; width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(91, 141, 239, 0.03) 0%, transparent 70%);
  animation: ambientFloat 24s ease-in-out infinite reverse;
}
.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.018;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ── Header ────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto;
  padding: 0 24px; height: var(--header-h);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: rgba(8, 8, 18, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 8, 18, 0.94);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.site-header nav { display: flex; align-items: center; gap: 2px; }
.site-header nav a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-weight: 600; font-size: 0.9rem;
  transition: all 0.25s var(--ease);
}
.site-header nav a:hover { color: var(--text); background: rgba(255,255,255,0.03); }

/* ── Hero ──────────────────────────────────────── */

.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
}
.hero-bg-image {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.15; filter: blur(2px); z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212,168,83,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(91,141,239,0.05) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-deep) 0%, transparent 40%, transparent 60%, var(--bg-deep) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(var(--max-width), calc(100% - 40px));
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  padding: 100px 0 80px;
}
.hero-copy { display: grid; gap: 22px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  border: 1px solid rgba(212,168,83,0.2);
  background: rgba(212,168,83,0.06);
  color: var(--gold); font-weight: 700; font-size: 0.85rem;
  width: fit-content;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow-strong);
  animation: statusPulse 2s ease-in-out infinite;
}

.hero-copy h1 {
  display: grid; gap: 4px;
  font-size: clamp(42px, 6vw, 76px); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.025em;
}
.hero-title-line { color: var(--text); }
.hero-title-accent {
  background: linear-gradient(135deg, var(--gold) 0%, #f0d080 50%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  max-width: 540px; color: var(--text-secondary);
  font-size: 1.08rem; line-height: 1.9;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero Stats */
.hero-stats {
  display: flex; gap: 28px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero-stat { display: grid; gap: 2px; }
.hero-stat strong { font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.hero-stat span { font-size: 0.8rem; color: var(--text-muted); }

/* Hero Visual */
.hero-visual {
  perspective: 1200px; display: grid; place-items: center; position: relative;
}
.hero-device {
  position: relative; width: 280px;
  padding: 14px; border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(160deg, rgba(20,20,38,0.95), rgba(10,10,22,0.98));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 30px 80px rgba(0,0,0,0.5);
  transform: rotateY(-5deg) rotateX(3deg);
  animation: floatDevice 8s ease-in-out infinite;
}
.device-screen {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, #111128, #0a0a1a);
  border: 1px solid rgba(255,255,255,0.05);
}
.device-statusbar {
  display: flex; gap: 6px; padding: 12px 16px 8px;
}
.device-statusbar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.device-interface { padding: 0 14px 18px; }
.device-header {
  padding: 10px 14px; border-radius: 10px;
  background: rgba(212,168,83,0.08); border: 1px solid rgba(212,168,83,0.1);
  font-size: 0.78rem; font-weight: 700; color: var(--gold);
  margin-bottom: 12px; text-align: center;
}
.device-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
}
.device-card {
  height: 56px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04);
}
.device-row { display: grid; gap: 8px; }
.device-bar {
  height: 10px; border-radius: 5px; background: rgba(255,255,255,0.04);
}
.device-bar.short { width: 65%; }
.device-glow {
  position: absolute; inset: -20px; border-radius: 40px;
  background: radial-gradient(ellipse, rgba(212,168,83,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}

/* Floating Ticket */
.floating-ticket {
  position: absolute; left: -30px; bottom: 20px;
  width: 180px; padding: 14px; border-radius: 14px;
  background: rgba(20,20,35,0.92); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
  animation: floatTicket 6s ease-in-out infinite;
  z-index: 3;
}
.ticket-header {
  font-weight: 800; font-size: 0.82rem; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.ticket-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-size: 0.72rem; color: var(--text-secondary);
}
.ticket-row.total {
  margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border);
  color: var(--text); font-size: 0.8rem;
}
.ticket-footer {
  margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--border);
  font-size: 0.65rem; color: var(--text-muted); text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite; color: var(--text-muted);
  opacity: 0.6;
}

/* ── Buttons ───────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 0.92rem; cursor: pointer;
  transition: all 0.3s var(--ease); white-space: nowrap; position: relative;
}
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 0.98rem; border-radius: var(--radius); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.84rem; border-radius: var(--radius-sm); }

.btn-primary {
  color: #0a0a14;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  border-color: transparent;
  box-shadow: 0 0 24px var(--gold-glow), 0 4px 16px rgba(0,0,0,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--gold-glow-strong), 0 8px 28px rgba(0,0,0,0.45);
  background: linear-gradient(135deg, var(--gold-hover), #c9941a);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  color: var(--text); background: transparent;
  border-color: rgba(255,255,255,0.15);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.25);
}
.btn-outline-light {
  color: #fff; background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35);
}

.btn-ghost {
  color: var(--text); background: transparent; border-color: var(--border-hover);
}
.btn-ghost:hover { background: rgba(255,255,255,0.03); border-color: var(--border-active); }

.btn-disabled {
  color: var(--text-muted) !important; background: rgba(255,255,255,0.02) !important;
  border-color: var(--border) !important; cursor: not-allowed !important; box-shadow: none !important;
  transform: none !important;
}

/* ── Sections (Shared) ─────────────────────────── */

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto 28px; padding: 56px 44px;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: var(--bg-surface); position: relative; overflow: hidden;
}
.section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-label.light { color: rgba(255,255,255,0.7); }
.section-label.light::before { background: rgba(255,255,255,0.5); }

.section-head { margin-bottom: 36px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 46px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px;
}
.section-head p { color: var(--text-secondary); font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.text-accent { color: var(--gold); }

/* ── Features ──────────────────────────────────── */

.feature-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.feature-card {
  padding: 28px 22px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.feature-card:hover {
  border-color: var(--border-hover); transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-icon-box {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--gold);
  background: rgba(212,168,83,0.06); border: 1px solid rgba(212,168,83,0.1);
  transition: all 0.35s var(--ease);
}
.feature-card:hover .feature-icon-box {
  background: rgba(212,168,83,0.12); border-color: rgba(212,168,83,0.2);
  box-shadow: 0 0 20px var(--gold-glow);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.8; }

/* ── Screenshots Gallery ───────────────────────── */

.screenshots-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.screenshot-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease); cursor: pointer;
  aspect-ratio: 9/16;
}
.screenshot-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.screenshot-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.screenshot-card:hover img { transform: scale(1.04); }
.screenshot-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px; font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}

.gallery-empty {
  text-align: center; padding: 48px 20px; border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.gallery-empty .empty-icon { color: var(--text-muted); margin-bottom: 14px; }
.gallery-empty p { color: var(--text-muted); font-size: 0.92rem; }

/* ── How It Works ──────────────────────────────── */

.steps-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.step-card {
  position: relative; padding: 32px 24px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg-elevated);
  text-align: center; transition: all 0.35s var(--ease);
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-number {
  position: absolute; top: 14px; right: 18px;
  font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.025);
  line-height: 1; pointer-events: none;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--gold);
  background: rgba(212,168,83,0.06); border: 1px solid rgba(212,168,83,0.1);
}
.step-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.8; }

/* ── Pricing ───────────────────────────────────── */

.price-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.price-card {
  padding: 30px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); text-align: center;
  transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.price-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; color: var(--gold);
  background: rgba(212,168,83,0.06); border: 1px solid rgba(212,168,83,0.1);
}
.price-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.price-card strong {
  display: block; margin: 14px 0 8px;
  font-size: 38px; font-weight: 900; letter-spacing: -0.03em;
  color: var(--text);
}
.price-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }

.price-card.featured {
  border-color: rgba(212,168,83,0.3);
  background: linear-gradient(170deg, rgba(212,168,83,0.05) 0%, var(--bg-elevated) 50%);
  box-shadow: 0 0 40px var(--gold-glow);
}
.price-card.featured .price-icon {
  background: rgba(212,168,83,0.12); border-color: rgba(212,168,83,0.25);
  color: #e6c464;
}
.price-card.featured strong { color: var(--gold); }
.price-card.featured::after {
  content: 'الأكثر اختياراً';
  position: absolute; top: 16px; left: 16px;
  padding: 5px 14px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #0a0a14; font-size: 0.7rem; font-weight: 800;
}

/* ── Stats ─────────────────────────────────────── */

.stats-section { background: var(--bg-elevated); border-color: rgba(212,168,83,0.1); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center;
}
.stat-item { display: grid; gap: 6px; }
.stat-number {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  letter-spacing: -0.02em; color: var(--gold);
}
.stat-item span { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; }

/* ── Downloads ─────────────────────────────────── */

.download-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  max-width: 700px; margin: 0 auto;
}
.download-card {
  padding: 32px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); text-align: center;
  transition: all 0.35s var(--ease); display: grid; gap: 8px; justify-items: center;
}
.download-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.download-icon-box {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px; color: var(--gold);
  background: rgba(212,168,83,0.06); border: 1px solid rgba(212,168,83,0.1);
}
.download-card h3 { font-size: 1.05rem; font-weight: 800; }
.download-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }
.download-card .btn { margin-top: 6px; }

/* ── Support / CTA ─────────────────────────────── */

.support-band {
  position: relative; width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto 32px; padding: 64px 48px;
  border: 1px solid rgba(212,168,83,0.15); border-radius: var(--radius-xl);
  background: var(--bg-surface); overflow: hidden; isolation: isolate;
}
.support-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(212,168,83,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(91,141,239,0.04) 0%, transparent 50%);
}
.support-content { position: relative; z-index: 1; text-align: center; }
.support-content h2 {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; margin-bottom: 10px;
}
.support-content > p { color: var(--text-secondary); margin-bottom: 24px; font-size: 1.02rem; }
.support-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────── */

.site-footer {
  width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto;
  padding: 32px 0 36px; border-top: 1px solid var(--border);
}
.footer-main {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; margin-bottom: 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand div { display: grid; gap: 1px; }
.footer-brand strong { font-size: 0.95rem; }
.footer-brand span { font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); font-size: 0.88rem; font-weight: 600; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; padding-top: 16px;
  border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted);
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }
.footer-admin-link { opacity: 0.4; font-size: 0.78rem; }
.footer-admin-link:hover { opacity: 0.8; color: var(--gold) !important; }

/* ── Login Page ────────────────────────────────── */

.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212,168,83,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(91,141,239,0.04) 0%, transparent 50%),
    var(--bg-deep);
}
.login-card {
  width: min(440px, 100%); padding: 36px 32px;
  border-radius: var(--radius-lg); background: var(--bg-surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  display: grid; gap: 16px;
}
.login-card img { width: 60px; margin: 0 auto; border-radius: 12px; }
.login-card h1 { text-align: center; font-size: 1.35rem; font-weight: 900; }
.login-card > p { text-align: center; color: var(--text-secondary); font-size: 0.9rem; }
.login-card label { font-weight: 700; font-size: 0.88rem; color: var(--text-secondary); }
.login-card input { margin-top: 4px; }
.login-card .btn { margin-top: 4px; }

/* ── Admin Shell ───────────────────────────────── */

.admin-body { background: var(--bg-deep); }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.brand-mini {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem;
}
.brand-mini img { width: 34px; height: 34px; border-radius: 8px; }
.admin-sidebar {
  position: sticky; top: 0; height: 100vh; padding: 18px;
  background: var(--bg-surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.admin-sidebar nav { display: grid; gap: 5px; margin: 24px 0; flex: 1; }
.admin-sidebar nav a,
.link-button {
  display: block; width: 100%; padding: 11px 14px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  color: var(--text-secondary); background: transparent;
  text-align: right; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.25s var(--ease);
}
.admin-sidebar nav a:hover,
.link-button:hover { color: var(--text); background: rgba(255,255,255,0.03); border-color: var(--border); }
.admin-sidebar nav a.active {
  color: var(--gold); background: var(--gold-glow); border-color: rgba(212,168,83,0.2);
}
.link-button { color: var(--text-muted); }
.link-button:hover { color: var(--red); border-color: rgba(248,113,113,0.2); background: var(--red-glow); }
.admin-main { padding: 24px; overflow-x: hidden; }

.admin-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 20px; padding: 16px 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-surface);
}
.admin-top div { display: grid; gap: 2px; }
.admin-top strong { font-weight: 800; font-size: 1.05rem; }
.admin-top span { color: var(--text-muted); font-size: 0.8rem; }

/* ── Metric Cards ──────────────────────────────── */

.metric-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-bottom: 20px;
}
.metric-grid article {
  padding: 20px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-surface); transition: all 0.3s var(--ease);
}
.metric-grid article:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.metric-grid span { color: var(--text-muted); font-size: 0.82rem; font-weight: 600; }
.metric-grid strong {
  display: block; margin-top: 8px; font-size: 28px; font-weight: 900; letter-spacing: -0.02em;
  color: var(--gold);
}

/* ── Admin Panels ──────────────────────────────── */

.admin-panel {
  margin-bottom: 20px; padding: 22px 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-surface);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.panel-head h2 { font-size: 1.15rem; font-weight: 800; }
.panel-head a { color: var(--gold); font-weight: 700; font-size: 0.86rem; }
.panel-head a:hover { text-decoration: underline; }

/* ── Media Grid (Admin) ────────────────────────── */

.media-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}
.media-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); padding: 12px;
  transition: all 0.3s var(--ease);
}
.media-card:hover { border-color: var(--border-hover); }
.media-preview {
  aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(0,0,0,0.3); margin-bottom: 10px;
}
.media-preview img { width: 100%; height: 100%; object-fit: cover; }
.media-info { display: grid; gap: 4px; }
.media-info strong { font-size: 0.84rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-info small { color: var(--text-muted); font-size: 0.74rem; }

/* ── Tables ────────────────────────────────────── */

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: right; vertical-align: top; font-size: 0.88rem; }
th { color: var(--text-muted); font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; }
td small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 0.78rem; }
tr:hover td { background: rgba(255,255,255,0.008); }

code, .token-box {
  direction: ltr; text-align: left;
  font-family: 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.8rem; background: rgba(0,0,0,0.3);
  padding: 3px 8px; border-radius: 4px; border: 1px solid var(--border);
}
.token-box { padding: 14px; border-radius: var(--radius-sm); word-break: break-all; }
.pill {
  display: inline-flex; padding: 4px 10px; border-radius: 50px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-secondary); font-weight: 700; font-size: 0.76rem;
}
.empty { text-align: center; color: var(--text-muted); padding: 32px !important; }

/* ── Toolbar ───────────────────────────────────── */

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar input { flex: 1; min-width: 220px; }

/* ── Forms ─────────────────────────────────────── */

label { display: grid; gap: 5px; font-weight: 700; font-size: 0.88rem; color: var(--text-secondary); }
input, select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; background: rgba(0,0,0,0.22); color: var(--text);
  outline: none; transition: all 0.25s var(--ease);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-glow);
}
select { cursor: pointer; }
select option { background: var(--bg-elevated); color: var(--text); }
textarea { resize: vertical; min-height: 90px; }

.form-grid, .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ── Flash Messages ────────────────────────────── */

.flash {
  margin-bottom: 14px; padding: 13px 16px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.88rem; border: 1px solid;
}
.flash:not(.danger) { color: #6ee7b7; background: rgba(52,211,153,0.06); border-color: rgba(52,211,153,0.18); }
.flash.danger { color: var(--red); background: var(--red-glow); border-color: rgba(248,113,113,0.2); }

/* ── Detail View ───────────────────────────────── */

.detail-grid p {
  margin: 0; padding: 14px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.18); border: 1px solid var(--border);
  display: grid; gap: 5px;
}
.detail-grid span { color: var(--text-muted); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.license-view .token-box { margin-top: 8px; min-height: 150px; }

/* ── Bar Chart ─────────────────────────────────── */

.bar-list { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 150px; gap: 12px; align-items: center; font-size: 0.88rem; }
.bar-row div { height: 10px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.03); }
.bar-row i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--gold), #b8860b); transition: width 0.8s var(--ease); }

/* ── Not Found ─────────────────────────────────── */

.not-found {
  min-height: 100vh; display: grid; place-content: center; gap: 16px;
  text-align: center; padding: 40px;
}

/* ── Scroll Reveal ─────────────────────────────── */

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger > *.visible { opacity: 1; transform: translateY(0); }

/* ── Animations ────────────────────────────────── */

@keyframes floatDevice {
  0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-2deg) rotateX(1deg) translateY(-18px); }
}
@keyframes floatTicket {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
}
@keyframes ambientFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(1.5%, -0.8%) scale(1.02); }
  66% { transform: translate(-1%, 1.2%) scale(0.98); }
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(212,168,83,0.4); }
  50% { box-shadow: 0 0 14px rgba(212,168,83,0.75); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── Reduced Motion ────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 60px 0; }
  .hero-copy { justify-items: center; }
  .hero-badge { margin: 0 auto; }
  .hero-text { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .scroll-indicator { display: none; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .site-header { border-radius: 0; padding: 0 14px; }
  .site-header nav a:not(:last-child) { display: none; }

  .hero-content { padding: 40px 0 60px; }
  .hero-copy h1 { font-size: clamp(30px, 7vw, 46px); }
  .hero-stats { gap: 18px; }

  .section { padding: 36px 18px; margin: 0 auto 18px; border-radius: var(--radius); }
  .section-head h2 { font-size: 1.6rem; }

  .feature-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }

  .support-band { padding: 40px 20px; }
  .support-links { flex-direction: column; align-items: center; }

  .footer-main { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .bar-row div { height: 7px; }
  .admin-top { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: clamp(26px, 8vw, 34px); }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 28px 14px; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-number { font-size: 28px; }
  .price-card strong { font-size: 28px; }
  .metric-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }

  .btn { min-height: 42px; padding: 0 16px; font-size: 0.86rem; }
  .btn-lg { min-height: 48px; padding: 0 22px; }
}

/* ==========================================================================
   Cashiry cinematic website v3
   ========================================================================== */

.cashiry-site-v2 {
  position: relative;
  z-index: 1;
}

.public-header-v2 {
  position: sticky;
  top: 0;
  z-index: 80;
  width: min(1220px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: rgba(5, 7, 16, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-v2 span {
  font-size: 1.05rem;
}

.public-header-v2 nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.public-header-v2 nav a {
  padding: 9px 14px;
  border-radius: 8px;
  color: rgba(234, 244, 255, .68);
  font-weight: 800;
  font-size: .88rem;
}

.public-header-v2 nav a:hover,
.public-header-v2 nav a.active {
  color: #fff;
  background: rgba(47, 128, 237, .14);
}

.header-cta {
  min-height: 40px;
  border-radius: 8px;
}

.cinema-hero {
  position: relative;
  width: min(1320px, calc(100% - 32px));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: 62px 0 34px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.cinema-hero::before {
  content: "";
  position: absolute;
  inset: 26px 0 0;
  background:
    linear-gradient(120deg, rgba(47, 128, 237, .18), transparent 36%),
    linear-gradient(250deg, rgba(214, 162, 60, .16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 42%);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 30px;
  pointer-events: none;
}

.cinema-scanlines {
  position: absolute;
  inset: 26px 0 0;
  border-radius: 30px;
  opacity: .22;
  background-image: linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 100% 7px;
  mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent);
  pointer-events: none;
}

.cinema-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: 36px;
  padding: 42px 44px 34px;
}

.cinema-hero-inner > *,
.hero-copy-v2,
.hero-stage {
  min-width: 0;
}

.hero-copy-v2 {
  display: grid;
  gap: 22px;
}

.hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: #f8d77a;
  background: rgba(214, 162, 60, .1);
  border: 1px solid rgba(214, 162, 60, .22);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 900;
}

.hero-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43e6bf;
  box-shadow: 0 0 18px rgba(67, 230, 191, .8);
}

.hero-copy-v2 h1 {
  max-width: 690px;
  display: grid;
  gap: 2px;
  font-size: clamp(38px, 4.65vw, 62px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy-v2 h1 span {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-copy-v2 h1 .hero-title-main,
.hero-copy-v2 h1 .hero-title-tail {
  color: #f8fbff;
}

.hero-copy-v2 h1 .hero-title-accent-v2 {
  color: #f3c861;
  text-shadow: 0 0 34px rgba(243, 200, 97, .18);
}

.hero-copy-v2 p {
  max-width: 620px;
  color: rgba(234, 244, 255, .72);
  font-size: 1.08rem;
  line-height: 2;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: rgba(234, 244, 255, .64);
  font-size: .9rem;
}

.hero-proof span {
  flex-basis: 100%;
}

.hero-proof strong {
  padding: 7px 11px;
  color: #eaf4ff;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.hero-stage {
  position: relative;
  min-height: 500px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)),
    #050914;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .45);
}

.hero-stage canvas {
  display: block;
  width: 100%;
  height: 500px;
}

.hero-hud {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(240px, calc(100% - 44px));
  padding: 16px;
  border-radius: 12px;
  background: rgba(5, 9, 20, .78);
  border: 1px solid rgba(255, 255, 255, .11);
  backdrop-filter: blur(14px);
}

.hero-hud span,
.hero-hud small {
  display: block;
  color: rgba(234, 244, 255, .62);
  font-size: .78rem;
}

.hero-hud strong {
  display: block;
  margin: 4px 0;
  color: #f3c861;
  font-size: 1.75rem;
  font-weight: 950;
}

.visual-story,
.section-v2,
.support-band-v2,
.page-hero-v2 {
  width: min(1220px, calc(100% - 32px));
  margin: 26px auto;
}

.visual-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.section-v2 {
  padding: 58px 44px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(47, 128, 237, .07), transparent 36%),
    linear-gradient(225deg, rgba(214, 162, 60, .07), transparent 36%),
    rgba(10, 12, 24, .92);
  overflow: hidden;
}

.section-head-v2 {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head-v2 > span,
.page-hero-v2 > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #f3c861;
  background: rgba(214, 162, 60, .1);
  border: 1px solid rgba(214, 162, 60, .18);
  font-weight: 900;
  font-size: .82rem;
}

.section-head-v2 h2,
.page-hero-v2 h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
  font-weight: 950;
}

.section-head-v2 p,
.page-hero-v2 p {
  margin: 12px auto 0;
  max-width: 650px;
  color: rgba(234, 244, 255, .66);
  line-height: 1.9;
}

.feature-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card-v2 {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.feature-card-v2 h3 {
  margin: 16px 0 8px;
  color: #f8fbff;
  font-size: 1.03rem;
}

.feature-card-v2 p {
  color: rgba(234, 244, 255, .62);
  font-size: .9rem;
}

.line-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(47, 128, 237, .16);
  border: 1px solid rgba(94, 234, 212, .18);
}

.line-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid #5eead4;
  border-top-color: #f3c861;
  transform: rotate(45deg);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.showcase-tabs button {
  width: auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: rgba(234, 244, 255, .68);
  font-weight: 900;
  cursor: pointer;
}

.showcase-tabs button.active {
  color: #07111f;
  background: linear-gradient(135deg, #5eead4, #f3c861);
}

.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: grid;
  gap: 18px;
}

.showcase-panel-copy {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 18px;
  align-items: end;
  color: rgba(234, 244, 255, .66);
}

.showcase-panel-copy h3 {
  color: #f8fbff;
  font-size: clamp(22px, 3vw, 34px);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.showcase-tile {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #07111f;
}

.visual-story .showcase-tile {
  min-height: 280px;
}

.showcase-tile img,
.showcase-tile video,
.showcase-tile iframe,
.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

.showcase-tile figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(5, 9, 20, .74);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(12px);
  font-weight: 900;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #050914;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  color: rgba(234, 244, 255, .72);
  background:
    linear-gradient(135deg, rgba(47, 128, 237, .14), transparent),
    linear-gradient(225deg, rgba(214, 162, 60, .14), transparent),
    #050914;
}

.play-glyph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  position: relative;
}

.play-glyph::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 21px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 0;
  border-left: 20px solid #f3c861;
}

.video-copy {
  padding: 18px;
}

.video-copy h3 {
  margin-bottom: 6px;
  color: #f8fbff;
}

.video-copy p {
  color: rgba(234, 244, 255, .62);
}

.stats-grid-v2 .stat-item {
  min-height: 140px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
}

.support-band-v2 {
  background:
    linear-gradient(135deg, rgba(47, 128, 237, .24), transparent 52%),
    linear-gradient(225deg, rgba(214, 162, 60, .2), transparent 48%),
    #07111f;
}

.page-hero-v2 {
  padding: 74px 44px 46px;
  min-height: 310px;
  display: grid;
  align-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(47, 128, 237, .16), transparent),
    linear-gradient(225deg, rgba(214, 162, 60, .12), transparent),
    rgba(10, 12, 24, .92);
}

.media-admin-v2 .muted {
  color: rgba(234, 244, 255, .52);
  font-size: .88rem;
  margin-top: 4px;
}

.upload-panel-v2 {
  background: rgba(255, 255, 255, .03);
}

.media-grid-v2 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.media-card-v2 {
  display: grid;
  gap: 12px;
}

.media-card-v2 .media-preview {
  aspect-ratio: 16 / 10;
}

.media-card-v2 .media-preview iframe,
.media-card-v2 .media-preview video,
.media-card-v2 .media-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

.media-card-v2 form {
  display: grid;
  gap: 9px;
}

.danger-button {
  width: 100%;
  color: var(--red);
}

@media (max-width: 1100px) {
  .cinema-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy-v2 {
    text-align: center;
    justify-items: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-proof {
    justify-content: center;
  }

  .feature-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid,
  .visual-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .public-header-v2 {
    width: 100%;
    border-radius: 0;
    grid-template-columns: 1fr auto;
  }

  .brand-v2 {
    min-width: 0;
    justify-self: end;
  }

  .brand-v2 span {
    display: none;
  }

  .public-header-v2 nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .header-cta {
    min-width: 112px;
  }

  .cinema-hero {
    width: calc(100% - 18px);
    max-width: 1320px;
    min-height: auto;
    padding: 24px 0 10px;
  }

  .cinema-hero::before,
  .cinema-scanlines {
    inset: 8px 0 0;
    border-radius: 18px;
  }

  .cinema-hero-inner {
    padding: 36px 16px 18px;
  }

  .hero-copy-v2 h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(24px, 7.6vw, 34px);
  }

  .hero-copy-v2 p {
    font-size: .96rem;
  }

  .hero-stage {
    min-height: 390px;
  }

  .hero-stage canvas {
    height: 390px;
  }

  .visual-story,
  .section-v2,
  .support-band-v2,
  .page-hero-v2 {
    width: calc(100% - 18px);
    max-width: 1220px;
    margin: 16px auto;
  }

  .section-v2,
  .page-hero-v2 {
    padding: 34px 16px;
    border-radius: 16px;
  }

  .feature-grid-v2,
  .showcase-grid,
  .visual-story,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .showcase-panel-copy {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase-tile {
    min-height: 230px;
  }

  .visual-story .showcase-tile {
    min-height: 220px;
  }
}

/* ==========================================================================
   Cashiry public website - Flutter app visual language
   ========================================================================== */

.site-body {
  color-scheme: light;
  background: #f8f9fa;
  color: #202124;
  max-width: 100%;
  overflow-x: hidden;
}

.site-body .ambient-glow,
.site-body .grid-overlay,
.site-body .cinema-scanlines {
  display: none;
}

.site-body .cashiry-site-v2 {
  color: #202124;
}

.site-body .reveal,
.site-body .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

.site-body .btn {
  border-radius: 12px;
  min-height: 48px;
  box-shadow: none;
}

.site-body .btn-primary {
  color: #fff;
  border-color: #1a73e8;
  background: #1a73e8;
  box-shadow: 0 12px 28px rgba(26, 115, 232, .18);
}

.site-body .btn-primary:hover {
  background: #1557b0;
  border-color: #1557b0;
  box-shadow: 0 16px 34px rgba(26, 115, 232, .22);
}

.site-body .btn-outline,
.site-body .btn-outline-light {
  color: #1a73e8;
  border-color: #dadce0;
  background: #fff;
}

.site-body .btn-outline:hover,
.site-body .btn-outline-light:hover {
  color: #1557b0;
  border-color: #1a73e8;
  background: #f1f6ff;
}

.site-body .btn-disabled {
  color: #5f6368;
  border-color: #dadce0;
  background: #f1f3f4;
}

.site-body .public-header-v2 {
  width: min(1220px, calc(100% - 28px));
  min-height: 68px;
  padding: 10px 14px;
  border: 1px solid rgba(218, 220, 224, .92);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 28px rgba(60, 64, 67, .08);
}

.site-body .brand-v2 {
  color: #202124;
}

.site-body .brand-v2 img,
.site-body .footer-brand img {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(26, 115, 232, .14);
}

.site-body .public-header-v2 nav a {
  color: #5f6368;
  border-radius: 12px;
}

.site-body .public-header-v2 nav a:hover,
.site-body .public-header-v2 nav a.active {
  color: #1a73e8;
  background: #e8f0fe;
}

.site-body .header-cta {
  min-width: 116px;
}

.site-body .cinema-hero {
  width: 100%;
  min-height: calc(100svh - 76px);
  margin: 0;
  padding: 58px 0 42px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 64%, #eef5ff 100%);
}

.site-body .cinema-hero::before {
  inset: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(26, 115, 232, .08) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(26, 115, 232, .06) 0 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .36;
}

.site-body .cinema-hero-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 46px;
  padding: 28px 0 0;
}

.site-body .hero-copy-v2 {
  gap: 20px;
}

.site-body .hero-kicker {
  color: #1557b0;
  border: 1px solid #d2e3fc;
  background: #e8f0fe;
  border-radius: 999px;
}

.site-body .hero-kicker span {
  background: #34a853;
  box-shadow: 0 0 0 6px rgba(52, 168, 83, .12);
}

.site-body .hero-copy-v2 h1 {
  max-width: 720px;
  color: #202124;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.08;
}

.site-body .hero-copy-v2 h1 .hero-title-main,
.site-body .hero-copy-v2 h1 .hero-title-tail {
  color: #202124;
}

.site-body .hero-copy-v2 h1 .hero-title-accent-v2 {
  color: #1a73e8;
  text-shadow: none;
}

.site-body .hero-copy-v2 p {
  max-width: 680px;
  color: #5f6368;
  font-size: 1.08rem;
  line-height: 2;
}

.site-body .hero-proof {
  color: #5f6368;
}

.site-body .hero-proof strong {
  color: #1557b0;
  border: 1px solid #d2e3fc;
  background: #fff;
  border-radius: 12px;
}

.site-body .app-hero-preview {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.site-body .app-hero-preview::before {
  content: "";
  position: absolute;
  inset: 38px 10px 36px;
  z-index: -1;
  border: 1px solid #dadce0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(26, 115, 232, .1), rgba(52, 168, 83, .08)),
    #fff;
  box-shadow: 0 28px 70px rgba(60, 64, 67, .14);
}

.site-body .desktop-frame,
.site-body .phone-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dadce0;
  box-shadow: 0 22px 60px rgba(60, 64, 67, .18);
}

.site-body .desktop-frame {
  position: absolute;
  top: 78px;
  right: 18px;
  left: 66px;
  border-radius: 18px;
  animation: cashiryFloat 7s ease-in-out infinite;
}

.site-body .frame-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #5f6368;
  border-bottom: 1px solid #dadce0;
  background: #f8f9fa;
}

.site-body .frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dadce0;
}

.site-body .frame-bar span:first-child {
  background: #34a853;
}

.site-body .frame-bar span:nth-child(2) {
  background: #fbbc04;
}

.site-body .frame-bar span:nth-child(3) {
  background: #ea4335;
}

.site-body .frame-bar strong {
  margin-inline-start: auto;
  color: #202124;
  font-size: .82rem;
  letter-spacing: 0;
}

.site-body .desktop-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
}

.site-body .phone-frame {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 190px;
  height: 410px;
  padding: 22px 10px 12px;
  border-radius: 30px;
  animation: cashiryFloat 7s ease-in-out infinite .7s;
}

.site-body .phone-speaker {
  position: absolute;
  top: 10px;
  right: 50%;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  transform: translateX(50%);
  background: #dadce0;
}

.site-body .phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

.site-body .app-metric-chip,
.site-body .flow-pill {
  position: absolute;
  z-index: 4;
  border: 1px solid #dadce0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(60, 64, 67, .14);
  backdrop-filter: blur(14px);
}

.site-body .app-metric-chip {
  min-width: 158px;
  padding: 13px 14px;
}

.site-body .app-metric-chip span {
  display: block;
  color: #5f6368;
  font-size: .78rem;
  font-weight: 700;
}

.site-body .app-metric-chip strong {
  display: block;
  color: #202124;
  font-size: 1.25rem;
  font-weight: 950;
}

.site-body .metric-sales {
  left: 0;
  top: 38px;
}

.site-body .metric-stock {
  left: 26px;
  bottom: 56px;
}

.site-body .flow-pill {
  padding: 8px 12px;
  color: #1557b0;
  font-weight: 900;
  background: #e8f0fe;
}

.site-body .flow-pill-top {
  top: 86px;
  right: 36px;
}

.site-body .flow-pill-bottom {
  left: 72px;
  top: 432px;
  color: #1e8e3e;
  background: #e6f4ea;
}

.site-body .visual-story,
.site-body .section-v2,
.site-body .support-band-v2,
.site-body .page-hero-v2 {
  width: min(1220px, calc(100% - 32px));
}

.site-body .visual-story {
  margin-top: -30px;
}

.site-body .section-v2,
.site-body .page-hero-v2 {
  border: 1px solid #dadce0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(60, 64, 67, .07);
}

.site-body .section-head-v2 > span,
.site-body .page-hero-v2 > span {
  width: fit-content;
  justify-self: center;
  color: #1557b0;
  border: 1px solid #d2e3fc;
  background: #e8f0fe;
}

.site-body .section-head-v2 h2,
.site-body .page-hero-v2 h1 {
  color: #202124;
}

.site-body .section-head-v2 p,
.site-body .page-hero-v2 p {
  color: #5f6368;
}

.site-body .feature-card-v2,
.site-body .business-card,
.site-body .video-card,
.site-body .price-card,
.site-body .download-card,
.site-body .stats-grid-v2 .stat-item {
  border: 1px solid #dadce0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(60, 64, 67, .06);
}

.site-body .feature-card-v2 {
  min-height: 222px;
}

.site-body .feature-card-v2 h3,
.site-body .business-card h3,
.site-body .video-copy h3,
.site-body .price-card h3,
.site-body .download-card h3 {
  color: #202124;
}

.site-body .feature-card-v2 p,
.site-body .business-card p,
.site-body .video-copy p,
.site-body .price-card p,
.site-body .download-card p {
  color: #5f6368;
}

.site-body .line-icon {
  color: #1a73e8;
  background: #e8f0fe;
  border: 1px solid #d2e3fc;
}

.site-body .line-icon::before {
  display: none;
}

.site-body .line-icon svg {
  width: 24px;
  height: 24px;
}

.site-body .business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-body .business-card {
  min-height: 138px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
}

.site-body .business-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #1a73e8;
  background: #e8f0fe;
}

.site-body .business-icon svg {
  width: 26px;
  height: 26px;
}

.site-body .business-icon-grocery,
.site-body .business-icon-gym {
  color: #1e8e3e;
  background: #e6f4ea;
}

.site-body .business-icon-pharmacy {
  color: #ea4335;
  background: #fce8e6;
}

.site-body .showcase-tabs button {
  color: #5f6368;
  border: 1px solid #dadce0;
  border-radius: 12px;
  background: #fff;
}

.site-body .showcase-tabs button.active {
  color: #fff;
  border-color: #1a73e8;
  background: #1a73e8;
}

.site-body .showcase-panel-copy {
  color: #5f6368;
}

.site-body .showcase-panel-copy h3 {
  color: #202124;
}

.site-body .showcase-tile {
  min-height: 285px;
  border: 1px solid #dadce0;
  border-radius: 14px;
  background: #f8f9fa;
  box-shadow: 0 10px 28px rgba(60, 64, 67, .08);
}

.site-body .showcase-panel[id="mobile-panel"] .showcase-tile img {
  object-fit: contain;
  background: #f8f9fa;
}

.site-body .showcase-tile figcaption {
  color: #202124;
  border: 1px solid rgba(218, 220, 224, .9);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
}

.site-body .video-frame {
  background: #eef5ff;
}

.site-body .video-placeholder {
  color: #5f6368;
  background:
    linear-gradient(135deg, rgba(26, 115, 232, .1), rgba(52, 168, 83, .08)),
    #f8f9fa;
}

.site-body .video-placeholder strong {
  color: #202124;
}

.site-body .play-glyph {
  border-color: #d2e3fc;
  background: #fff;
}

.site-body .play-glyph::after {
  border-left-color: #1a73e8;
}

.site-body .price-icon,
.site-body .download-icon-box {
  color: #1a73e8;
  background: #e8f0fe;
  border: 1px solid #d2e3fc;
}

.site-body .price-card strong,
.site-body .stat-number,
.site-body .stats-grid-v2 .stat-item > strong {
  color: #1a73e8;
}

.site-body .price-card.featured {
  border-color: #1a73e8;
  background: linear-gradient(180deg, #f7fbff, #fff);
  box-shadow: 0 16px 40px rgba(26, 115, 232, .12);
}

.site-body .price-card.featured .price-icon {
  color: #fff;
  background: #1a73e8;
  border-color: #1a73e8;
}

.site-body .price-card.featured strong {
  color: #1557b0;
}

.site-body .price-card.featured::after {
  color: #fff;
  background: #34a853;
}

.site-body .stats-grid-v2 .stat-item span {
  color: #5f6368;
}

.site-body .support-band-v2 {
  color: #fff;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 46%),
    #1a73e8;
  box-shadow: 0 18px 44px rgba(26, 115, 232, .22);
}

.site-body .support-content h2,
.site-body .support-content > p {
  color: #fff;
}

.site-body .support-content .section-label.light {
  color: #e8f0fe;
}

.site-body .support-band-v2 .btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .44);
  background: rgba(255, 255, 255, .12);
}

.site-body .site-footer-v2 {
  color: #5f6368;
  border-top: 1px solid #dadce0;
}

.site-body .footer-brand strong,
.site-body .footer-links a:hover,
.site-body .footer-bottom a:hover {
  color: #202124;
}

.site-body .footer-brand span,
.site-body .footer-links a,
.site-body .footer-bottom {
  color: #5f6368;
}

@keyframes cashiryFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .site-body .desktop-frame,
  .site-body .phone-frame {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .site-body .cinema-hero-inner {
    grid-template-columns: 1fr;
  }

  .site-body .app-hero-preview {
    width: min(720px, 100%);
    justify-self: center;
  }

  .site-body .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html,
  body,
  .site-body,
  .site-body .cashiry-site-v2,
  .site-body .cinema-hero {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-body .public-header-v2 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0;
    grid-template-columns: 1fr auto;
  }

  .site-body .public-header-v2 nav {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .site-body .public-header-v2 nav a {
    flex: 0 0 auto;
  }

  .site-body .cinema-hero {
    padding: 24px 0 34px;
  }

  .site-body .cinema-hero-inner {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    padding-top: 18px;
  }

  .site-body .hero-copy-v2 h1 {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.2;
  }

  .site-body .hero-copy-v2 h1 span {
    white-space: normal;
    overflow-wrap: break-word;
  }

  .site-body .hero-copy-v2 p {
    font-size: .94rem;
    width: 100%;
    max-width: 285px;
    margin-inline: auto;
    overflow-wrap: break-word;
  }

  .site-body .hero-copy-v2,
  .site-body .hero-proof,
  .site-body .hero-proof span {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    text-align: center;
  }

  .site-body .hero-actions {
    width: min(100%, 286px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-self: center;
  }

  .site-body .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .site-body .app-hero-preview {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .site-body .app-hero-preview::before {
    inset: 16px 0;
    border-radius: 20px;
  }

  .site-body .desktop-frame,
  .site-body .phone-frame,
  .site-body .app-metric-chip,
  .site-body .flow-pill {
    position: relative;
    inset: auto;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
    animation: none;
  }

  .site-body .desktop-frame {
    order: 1;
  }

  .site-body .desktop-frame img {
    height: 250px;
  }

  .site-body .phone-frame {
    order: 2;
    width: min(220px, 72%);
    height: 390px;
    justify-self: center;
  }

  .site-body .metric-sales,
  .site-body .metric-stock,
  .site-body .flow-pill-top,
  .site-body .flow-pill-bottom {
    justify-self: stretch;
  }

  .site-body .business-grid {
    grid-template-columns: 1fr;
  }

  .site-body .business-card {
    min-height: auto;
  }

  .site-body .visual-story {
    margin-top: 14px;
  }

  .site-body .section-v2,
  .site-body .page-hero-v2 {
    padding: 34px 16px;
    border-radius: 16px;
  }
}

/* ==========================================================================
   Cashiry public refinements and admin control surface
   ========================================================================== */

.site-body .price-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-body .price-card > strong {
  margin-bottom: 2px;
  letter-spacing: 0;
}

.site-body .price-extra {
  margin-top: 10px;
  padding: 12px;
  display: grid;
  gap: 4px;
  border-radius: 12px;
  border: 1px dashed #c7d7f5;
  background: #f7fbff;
}

.site-body .price-extra span {
  color: #5f6368;
  font-size: .78rem;
  font-weight: 800;
}

.site-body .price-extra strong {
  color: #1e8e3e;
  font-size: 1.08rem;
  font-weight: 950;
}

.site-body .visual-story {
  align-items: stretch;
}

.site-body .visual-story .showcase-tile {
  min-height: 360px;
}

.site-body .visual-story .tile-phone {
  max-width: 280px;
  justify-self: center;
}

.site-body .tile-phone {
  background:
    linear-gradient(180deg, #f8fbff, #fff);
}

.site-body .tile-phone img {
  width: min(270px, 78%);
  height: 560px;
  margin: 0 auto;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 20px 26px rgba(60, 64, 67, .16));
}

.site-body .tile-desktop img {
  object-fit: cover;
  object-position: top center;
}

.site-body .showcase-panel[id="mobile-panel"] .showcase-grid {
  grid-template-columns: minmax(240px, 360px);
  justify-content: center;
}

.site-body .showcase-panel[id="mobile-panel"] .showcase-tile {
  min-height: 720px;
}

.site-body .showcase-panel[id="mobile-panel"] .tile-phone img {
  height: 660px;
}

.site-body .showcase-panel[id="windows-panel"] .showcase-grid,
.site-body .showcase-panel[id="details-panel"] .showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-subtitle {
  padding: 12px 14px;
  border-radius: 12px;
  color: #1557b0;
  background: #e8f0fe;
  border: 1px solid #d2e3fc;
}

.admin-body {
  background: #f8f9fa;
  color: #202124;
}

.admin-shell {
  grid-template-columns: 292px minmax(0, 1fr);
}

.admin-sidebar {
  padding: 18px 14px;
  background: #11151d;
  border-left: 1px solid #253044;
  color: #e8edf7;
}

.admin-sidebar .brand-mini {
  min-height: 48px;
  padding: 0 8px;
}

.admin-sidebar .brand-mini span {
  color: #fff;
  font-size: 1.1rem;
}

.admin-sidebar nav {
  gap: 10px;
  align-content: start;
  align-items: start;
}

.admin-nav-group {
  align-self: start;
  width: 100%;
  border: 1px solid #253044;
  border-radius: 12px;
  background: #151a23;
  overflow: hidden;
}

.admin-nav-group summary {
  min-height: 52px;
  padding: 10px 10px;
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  align-items: center;
  gap: 10px;
  color: #e8edf7;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.admin-nav-group summary::-webkit-details-marker {
  display: none;
}

.admin-nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #214a8e;
  color: #a9c7ff;
}

.admin-nav-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.admin-nav-licenses .admin-nav-icon::before {
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #214a8e;
}

.admin-nav-site .admin-nav-icon::before {
  border-radius: 3px;
  transform: rotate(45deg);
}

.admin-nav-chevron {
  color: #8792a2;
  transition: transform .2s ease;
}

.admin-nav-group[open] .admin-nav-chevron {
  transform: rotate(180deg);
}

.admin-nav-links {
  display: grid;
  gap: 6px;
  padding: 0 10px 10px;
}

.admin-sidebar nav .admin-nav-links a,
.admin-sidebar nav a,
.link-button {
  border-radius: 10px;
  color: #cbd5e1;
}

.admin-sidebar nav .admin-nav-links a {
  padding: 11px 14px;
  background: #0f1724;
  border: 1px solid transparent;
}

.admin-sidebar nav .admin-nav-links a:hover,
.admin-sidebar nav .admin-nav-links a.active {
  color: #fff;
  background: #214a8e;
  border-color: #3567bd;
}

.admin-sidebar nav a.active {
  color: #fff;
  background: #214a8e;
  border-color: #3567bd;
}

.admin-main {
  padding: 26px;
}

.admin-top,
.admin-panel,
.metric-grid article {
  border: 1px solid #dadce0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(60, 64, 67, .06);
}

.admin-top {
  min-height: 78px;
}

.admin-top strong,
.panel-head h2 {
  color: #202124;
}

.admin-top span,
.metric-grid span,
th,
td small,
.empty,
.media-admin-v2 .muted {
  color: #5f6368;
}

.metric-grid strong {
  color: #1a73e8;
  letter-spacing: 0;
}

.panel-head a {
  color: #1a73e8;
}

.admin-body .btn-primary {
  color: #fff;
  border-color: #1a73e8;
  background: #1a73e8;
  box-shadow: 0 12px 26px rgba(26, 115, 232, .16);
}

.admin-body .btn-primary:hover {
  background: #1557b0;
  border-color: #1557b0;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  color: #202124;
  background: #fff;
  border-color: #dadce0;
}

.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, .12);
}

.admin-body label {
  color: #3c4043;
}

.admin-body select option {
  color: #202124;
  background: #fff;
}

.admin-body .table-wrap {
  border: 1px solid #edf0f3;
  background: #fff;
}

.admin-body th,
.admin-body td {
  border-bottom-color: #edf0f3;
}

.admin-body tr:hover td {
  background: #f8fbff;
}

.admin-body code,
.admin-body .token-box {
  color: #1557b0;
  background: #e8f0fe;
  border-color: #d2e3fc;
}

.admin-body .pill {
  color: #1557b0;
  background: #e8f0fe;
  border-color: #d2e3fc;
}

.admin-body .bar-row div {
  background: #edf0f3;
}

.admin-body .bar-row i {
  background: linear-gradient(90deg, #1a73e8, #34a853);
}

.admin-body .media-card,
.admin-body .media-card-v2 {
  background: #fff;
  border-color: #dadce0;
}

.admin-body .media-preview {
  background: #f1f3f4;
}

.admin-body .flash:not(.danger) {
  color: #1e8e3e;
  background: #e6f4ea;
  border-color: #c7ebd1;
}

.admin-body .flash.danger {
  color: #c5221f;
  background: #fce8e6;
  border-color: #f8c8c4;
}

.admin-body .link-button {
  color: #cbd5e1;
}

.admin-body .link-button:hover {
  color: #fff;
  background: #2b3443;
  border-color: #3a4352;
}

@media (max-width: 1024px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-body .visual-story {
    grid-template-columns: 1fr;
  }

  .site-body .visual-story .showcase-tile,
  .site-body .showcase-panel[id="mobile-panel"] .showcase-tile {
    min-height: auto;
  }

  .site-body .tile-phone img,
  .site-body .showcase-panel[id="mobile-panel"] .tile-phone img {
    height: auto;
    max-height: 620px;
  }

  .site-body .showcase-panel[id="windows-panel"] .showcase-grid,
  .site-body .showcase-panel[id="details-panel"] .showcase-grid {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 14px;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    padding: 18px 14px;
  }
}

/* Final mobile and currency polish */
.site-body .money-inline {
  display: inline-flex;
  direction: ltr;
  align-items: baseline;
  justify-content: center;
  gap: .28em;
  white-space: nowrap;
}

.site-body .amount-number,
.site-body .amount-currency {
  display: inline-block;
}

@media (max-width: 760px) {
  .site-body,
  .site-body .cashiry-site-v2 {
    width: 100vw;
    max-width: 100vw;
  }

  .site-body .public-header-v2 {
    width: 100vw;
    max-width: 100vw;
    gap: 10px 12px;
  }

  .site-body .public-header-v2 nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding: 0;
  }

  .site-body .public-header-v2 nav a {
    min-width: 0;
    padding: 8px 3px;
    text-align: center;
    font-size: .73rem;
    line-height: 1.25;
    white-space: normal;
  }

  .site-body .visual-story,
  .site-body .section-v2,
  .site-body .support-band-v2,
  .site-body .page-hero-v2 {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .site-body .page-hero-v2 p,
  .site-body .section-head-v2 p,
  .site-body .showcase-panel-copy p {
    width: 100%;
    max-width: 100%;
    direction: rtl;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .site-body .showcase-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .site-body .showcase-tabs button {
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
    white-space: normal;
    line-height: 1.3;
  }

  .site-body .showcase-panel,
  .site-body .showcase-grid,
  .site-body .showcase-tile {
    max-width: 100%;
  }

  .site-body .showcase-panel[id="mobile-panel"] .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-body .showcase-panel[id="mobile-panel"] .showcase-tile {
    min-height: auto;
    padding: 14px 0;
  }

  .site-body .showcase-panel[id="mobile-panel"] .tile-phone img {
    width: min(260px, 86%);
    height: auto;
    max-height: 590px;
  }
}

/* Marketing image pack */
.site-body .app-hero-preview {
  min-height: clamp(420px, 47vw, 620px);
  display: grid;
  place-items: center;
}

.site-body .hero-visual-art {
  width: min(100%, 780px);
  display: block;
  border: 1px solid #dadce0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(60, 64, 67, .16);
  animation: cashiryFloat 7s ease-in-out infinite;
}

.site-body .marketing-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.site-body .marketing-visual-card {
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(60, 64, 67, .07);
}

.site-body .marketing-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #f8f9fa;
  border-bottom: 1px solid #edf0f3;
}

.site-body .marketing-visual-card div {
  display: grid;
  gap: 6px;
  padding: 18px 18px 20px;
}

.site-body .marketing-visual-card h3 {
  margin: 0;
  color: #202124;
  font-size: 1.16rem;
  font-weight: 950;
}

.site-body .marketing-visual-card p {
  margin: 0;
  color: #5f6368;
  line-height: 1.8;
}

.site-body .visual-story .showcase-tile img[src$=".svg"],
.site-body .showcase-panel .showcase-tile img[src$=".svg"] {
  object-fit: cover;
}

@media (max-width: 760px) {
  .site-body .app-hero-preview {
    order: -1;
    min-height: auto;
    padding: 0;
  }

  .site-body .hero-visual-art {
    width: 100%;
    max-height: 245px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
  }

  .site-body .marketing-visual-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-body .marketing-visual-card {
    border-radius: 14px;
  }

  .site-body .marketing-visual-card div {
    padding: 16px;
  }
}

