/* ═══════════════════════════════════════════════════════════════════════════
   LIORA Design System v2 — components.css
   Glassmorphism 3D Premium · Dark Navy · Orange Accent
   Import: <link rel="stylesheet" href="/assets/components.css">
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CUSTOM FONTS ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Gokschil';
  src: url('/Gokschil.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SwinstonSans';
  src: url('/SwinstonSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:   #08090e;
  --bg-secondary: #0c0d14;
  --bg-elevated:  #101118;

  /* Glass */
  --glass-bg:     rgba(255, 255, 255, 0.04);
  --glass-bg-md:  rgba(255, 255, 255, 0.07);
  --glass-bg-hv:  rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hv: rgba(232, 160, 80, 0.28);
  --glass-blur:   blur(20px);
  --glass-blur-sm: blur(10px);

  /* Accent — warm desert orange */
  --accent:       #e8a050;
  --accent-light: #f0b870;
  --accent-glow:  rgba(232, 160, 80, 0.28);
  --accent-soft:  rgba(232, 160, 80, 0.10);
  --accent-dim:   rgba(232, 160, 80, 0.05);

  /* Text */
  --text-primary:   #f5f0e8;
  --text-secondary: rgba(245, 240, 232, 0.68);
  --text-muted:     rgba(245, 240, 232, 0.38);
  --text-dim:       rgba(245, 240, 232, 0.18);

  /* Background gradient — Dune cinematic */
  --gradient-hero:
    radial-gradient(ellipse at 60% 40%, rgba(180, 140, 80, 0.06) 0%, transparent 70%),
    #08090e;

  /* Radii */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  --shadow-card-hv: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 40px rgba(249,115,22,0.10), inset 0 1px 0 rgba(255,255,255,0.14);
  --shadow-btn: 0 0 30px rgba(249,115,22,0.40);

  /* Typography */
  --font-display: 'Gokschil', 'SwinstonSans', Georgia, serif;
  --font-heading: 'SwinstonSans', 'Gokschil', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'DM Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   min(1200px, calc(100vw - 48px));
}

/* ─── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--gradient-hero);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain texture — very subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── GOOGLE FONTS IMPORT (for pages that don't have it in <head>) ─────────── */
/* Note: add to <head> for best performance:
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet"> */

/* ─── CONTAINER ─────────────────────────────────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
}


/* ─── GLASS CARD ─────────────────────────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.glass-card:hover,
.glass-card-hover:hover {
  border-color: var(--glass-border-hv);
  box-shadow: var(--shadow-card-hv);
  transform: translateY(-4px);
}

.glass-card-sm {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.glass-card-strong {
  background: var(--glass-bg-md);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-btn);
  transform: scale(1.03);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}
.btn-secondary:hover {
  border-color: rgba(249,115,22,0.5);
  background: var(--accent-dim);
  color: var(--accent-light);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover {
  background: var(--accent-soft);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.02);
}

.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ─── BADGES & PILLS ─────────────────────────────────────────────────────────── */
.badge-orange {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-light);
}
.badge-orange .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 6px transparent; }
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── NAVIGATION ─────────────────────────────────────────────────────────────── */
.nav-glass {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 13, 26, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}
.nav-glass.scrolled {
  background: rgba(8, 13, 26, 0.92);
  border-bottom-color: rgba(249,115,22,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: var(--container);
  margin-inline: auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 60%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { margin-left: 12px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(8, 13, 26, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--glass-border);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}
.nav-drawer a:last-child { border-bottom: none; }

/* ─── SECTION LAYOUT ─────────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  z-index: 1;
}

.section-badge {
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-title .accent { color: var(--accent); }
.section-title .italic { font-style: italic; }

.section-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.section-header .section-subtitle { margin-inline: auto; }

/* ─── GRID UTILITIES ─────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── DIVIDER ────────────────────────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer-glass {
  background: rgba(8, 13, 26, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

/* ─── STAT CARD ──────────────────────────────────────────────────────────────── */
.stat-card {
  padding: 24px 28px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-value .accent { color: var(--accent); }
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── COMPARISON TABLE ───────────────────────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.compare-table th.col-liora {
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.compare-table th.col-old { color: var(--text-muted); }
.compare-table td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--glass-border);
}
.compare-table td.col-liora {
  color: var(--text-primary);
  background: rgba(249,115,22,0.04);
  font-weight: 500;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--accent); font-size: 18px; }
.compare-table .cross { color: var(--text-dim); font-size: 18px; }

/* ─── PROCESS STEPS ──────────────────────────────────────────────────────────── */
.step-number {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -10px;
  transition: opacity 0.3s;
}
.step-card:hover .step-number { opacity: 0.6; }
.step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── TESTIMONIAL ────────────────────────────────────────────────────────────── */
.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid rgba(249,115,22,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-biz {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── PRICING CARD ───────────────────────────────────────────────────────────── */
.pricing-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: rgba(249,115,22,0.35);
  background: linear-gradient(145deg, rgba(249,115,22,0.08), rgba(255,255,255,0.04));
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pricing-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 12px;
  background: var(--accent);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.pricing-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 22px; vertical-align: super; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.pricing-setup { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── FORM ───────────────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus {
  border-color: rgba(249,115,22,0.45);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.10);
}
.form-input:focus::placeholder { color: transparent; }

/* ─── TRUST BAR ──────────────────────────────────────────────────────────────── */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
  .trust-bar { gap: 14px; }
  .section-title { font-size: clamp(30px, 7vw, 42px); }
}

@media (max-width: 480px) {
  :root { --section-pad: 56px; }
  .btn-lg { padding: 15px 28px; font-size: 15px; }

}
