/* Paradisio Design Tokens */

:root {
  /* Colors — Backgrounds & Surfaces */
  --sand-50: #f7f2e8;
  --sand-100: #efe4d0;
  --surface: #fffaf1;
  --surface-raised: #ffffff;

  /* Colors — Text */
  --ink: #17211c;
  --muted: #56635b;
  --faint: #666b65;

  /* Colors — Brand */
  --jungle-900: #18382b;
  --jungle-700: #245743;
  --jungle-500: #2f7a5b;

  /* Colors — Accent */
  --reef-600: #007f7a;
  --reef-400: #21a6a0;
  --coral-600: #b84b2a;
  --coral-500: #ed744f;
  --sun-500: #f2b84b;

  /* Colors — Utility */
  --success: #23845a;
  --warning: #b7791f;
  --danger: #b94343;
  --border: #ded3bf;

  /* Colors — Legacy compatibility */
  --green-dark: var(--jungle-900);

  /* Typography — Family */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: var(--font-body);

  /* Typography — Scale (relative) */
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-h3: 1.125rem;
  --text-h2: 1.4rem;
  --text-h1-mobile: 1.8rem;
  --text-h1: 2.4rem;

  /* Typography — Line height */
  --leading-tight: 1.25;
  --leading-normal: 1.55;
  --leading-loose: 1.65;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(23, 33, 28, 0.08);
  --shadow-md: 0 4px 12px rgba(23, 33, 28, 0.08);
  --shadow-lg: 0 8px 24px rgba(23, 33, 28, 0.10);

  /* Layout */
  --max-width: 1100px;
  --nav-height: 48px;
}

/* Open/Closed status */
.biz-open { color: var(--success); font-weight: 600; }
.biz-closed { color: var(--danger); }
.biz-hours-line { color: var(--muted); font-size: 0.9em; }
.biz-check { color: var(--muted); font-size: 0.85em; }

/* Prices */
.biz-prices { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.price-chip { background: var(--sand-100); color: var(--ink); padding: 2px 8px; border-radius: 4px; font-size: 0.85em; }

/* Freshness */
.biz-freshness { font-size: 0.75em; color: var(--faint); margin-top: 2px; }

/* Plus code */
.plus-code { font-family: monospace; font-size: 0.85em; color: var(--faint); }

/* View Modes — Tourist (default), Biz, Premium, God's Eye */
[data-mode="biz"] .biz-header { border-left: 3px solid var(--sun-500); padding-left: 12px; }
[data-mode="premium"] .biz-header { border-left: 3px solid var(--coral-500); padding-left: 12px; }
[data-mode="premium"] .biz-header h1:after { content: " ⭐"; font-size: 0.6em; vertical-align: super; }
[data-mode="god"] { --ink: #e0e0e0; --surface: #1a1a2e; --surface-raised: #16213e; --sand-50: #1a1a2e; --sand-100: #2a2a4a; --faint: #888; }
[data-mode="god"] body { background: #0f0f23; }
[data-mode="god"] .biz-header { border-left: 3px solid #00ff88; padding-left: 12px; }
[data-mode="god"] .result-card { border-color: #2a2a4a; }
[data-mode="god"] .masthead h1 { color: #00ff88; }

/* Mode visibility helpers */
[data-show-mode] { transition: opacity 0.2s; }

/* Premium page */
.premium-page h1 { margin-top: 0; }
.premium-page .subtitle { font-size: 1.1em; color: var(--muted); margin-bottom: 2em; }
.premium-tiers { display: flex; gap: 2em; margin: 2em 0; flex-wrap: wrap; }
.tier { flex: 1; min-width: 260px; background: var(--surface-raised); border: 1px solid var(--sand-100); border-radius: 8px; padding: 1.5em; }
.tier-pro { border-color: var(--coral-500); box-shadow: 0 2px 12px rgba(237, 116, 79, 0.15); }
.tier h2 { margin: 0 0 0.3em 0; font-size: 1.4em; }
.tier-price { font-size: 1.8em; font-weight: 700; color: var(--jungle-700); margin-bottom: 0.8em; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.5em 0; }
.tier ul li { padding: 0.4em 0; border-bottom: 1px solid var(--sand-50); }
.tier ul li:before { content: "✓ "; color: var(--success); }
.payment-section { margin-top: 3em; padding-top: 2em; }
.sinpe-details { background: var(--sand-50); border-radius: 8px; padding: 1.5em; margin: 1em 0; }
.sinpe-number { font-size: 1.3em; font-weight: 700; letter-spacing: 1px; }
.payment-note { font-size: 0.9em; color: var(--muted); }
.premium-link { display: inline-block; font-size: 0.85em; color: var(--coral-500); margin-top: 2px; text-decoration: none; }
.premium-link:hover { text-decoration: underline; }
