/* ═══════════════════════════════════════════════════
   POSYMA Landing Page — Design System & Styles
   Color palette sourced from posium-ft tokens.css
   ═══════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --color-primary: #001373;
  --color-primary-dark: #0f1c5c;
  --color-primary-light: #1e3a8a;
  --color-primary-lighter: #3b52a8;
  --color-accent: #667eea;
  --color-accent-purple: #764ba2;
  --color-heading: #1f2a68;
  --color-gradient-start: #12182c;
  --color-gradient-end: #081a41;
  --color-success: #16a34a;
  --color-text-primary: #0f172a;
  --color-text-secondary: #374151;
  --color-text-muted: #64748b;
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-border: #e2e8f0;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Section spacing ── */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  color: #fff;
}

.section-light {
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(102, 126, 234, 0.1);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-dark .section-badge {
  background: rgba(102, 126, 234, 0.2);
  color: #a3b8ff;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-heading);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
}

.navbar-brand svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
  position: relative;
}

.navbar-links a:hover {
  color: #fff;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-purple));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

/* Mobile menu toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      180deg,
      rgba(10, 22, 40, 0.45) 0%,
      rgba(10, 22, 40, 0.7) 50%,
      rgba(18, 24, 44, 0.95) 100%
    ),
    url('hero-bg.png') center / cover no-repeat;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float-orb 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float-orb 11s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

/* Grid pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #a3b8ff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--color-accent), #a78bfa, var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-purple));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 0.6rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.features-grid {
  perspective: 1400px;
}

.features-grid > .feature-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease, opacity 0.5s ease;
}

.feature-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.features-grid .feature-card:hover {
  transform: translate3d(0, -14px, 40px) scale(1.04);
  box-shadow: 0 35px 70px rgba(0, 19, 115, 0.22), 0 15px 30px rgba(102, 126, 234, 0.12);
  border-color: rgba(102, 126, 234, 0.45);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-icon.sales {
  background: rgba(102, 126, 234, 0.1);
  color: var(--color-accent);
}

.feature-icon.inventory {
  background: rgba(118, 75, 162, 0.1);
  color: var(--color-accent-purple);
}

.feature-icon.reports {
  background: rgba(22, 163, 74, 0.1);
  color: var(--color-success);
}

.feature-icon.multi {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.feature-icon.invoice {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.feature-icon.customers {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.65rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   SYSTEM PREVIEW (clickable gallery)
   ═══════════════════════════════════════════════════ */
.preview {
  position: relative;
  overflow: hidden;
}

.preview-header .section-title,
.preview-header .section-subtitle {
  color: #fff;
}

.preview-header .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.preview-layout .section-header {
  text-align: left;
  margin: 0;
  max-width: none;
}

.preview-right {
  position: relative;
  min-width: 0;
}

.preview-gallery {
  position: relative;
  width: 100%;
  height: 480px;
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.preview-shot {
  --tx: 0px;
  --ty: 0px;
  --r: 0deg;
  --b: 1;
  position: absolute;
  top: 30px;
  left: 0;
  width: min(420px, 70%);
  margin: 0;
  transform-origin: center center;
  transform: translateX(var(--tx)) translateY(var(--ty)) rotate(var(--r));
  filter: brightness(var(--b));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
  will-change: transform;
}

.preview-shot:nth-child(1) { --tx: 0px;   --ty: 0;    --r: 0deg;    --b: 1;    z-index: 6; }
.preview-shot:nth-child(2) { --tx: 45px;  --ty: 6px;  --r: 2.5deg;  --b: 0.9;  z-index: 5; }
.preview-shot:nth-child(3) { --tx: 90px;  --ty: 14px; --r: 5deg;    --b: 0.82; z-index: 4; }
.preview-shot:nth-child(4) { --tx: 135px; --ty: 24px; --r: 7.5deg;  --b: 0.74; z-index: 3; }
.preview-shot:nth-child(5) { --tx: 180px; --ty: 36px; --r: 10deg;   --b: 0.66; z-index: 2; }
.preview-shot:nth-child(6) { --tx: 225px; --ty: 50px; --r: 12.5deg; --b: 0.58; z-index: 1; }

.preview-shot::before {
  content: '';
  position: absolute;
  inset: -24px;
  pointer-events: auto;
  z-index: -1;
}

.preview-shot:hover,
.preview-shot:focus-within {
  transform: translateX(var(--tx)) translateY(var(--ty)) rotate(0deg) scale(1.06);
  filter: brightness(1);
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

.preview-shot-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}

.preview-shot:hover .preview-shot-trigger,
.preview-shot:focus-within .preview-shot-trigger {
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 45px 100px rgba(102, 126, 234, 0.4);
  outline: none;
}

.preview-shot-trigger img {
  width: 100%;
  display: block;
}

.preview-shot-zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.preview-shot:hover .preview-shot-zoom,
.preview-shot:focus-within .preview-shot-zoom {
  opacity: 1;
  transform: translateY(0);
}

.preview-shot-caption {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 50%;
  width: min(620px, 90%);
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0.1s;
}

.preview-shot:hover .preview-shot-caption,
.preview-shot:focus-within .preview-shot-caption {
  opacity: 1;
}

.preview-shot-caption h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.preview-shot-caption p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.65;
}

.preview-hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  margin-top: 2rem;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 8, 18, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1280px;
  width: 100%;
  max-height: 100%;
  margin: 0;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 220px);
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  background: #0f172a;
  display: block;
}

.lightbox-caption {
  text-align: center;
  max-width: 720px;
  color: #fff;
}

.lightbox-counter {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
}

.lightbox-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.lightbox-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(102, 126, 234, 0.25);
  border-color: rgba(102, 126, 234, 0.5);
  transform: scale(1.05);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 3rem 0.75rem;
  }

  .lightbox-image {
    max-height: calc(100vh - 260px);
    border-radius: 0.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    bottom: 1.25rem;
    top: auto;
    transform: none;
    width: 44px;
    height: 44px;
  }

  .lightbox-prev:hover,
  .lightbox-next:hover {
    transform: scale(1.05);
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .lightbox-title {
    font-size: 1.1rem;
  }

  .lightbox-desc {
    font-size: 0.88rem;
  }

  .preview-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .preview-layout .section-header {
    text-align: center;
    margin: 0 auto 1rem;
  }

  .preview-gallery {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0;
  }

  .preview-shot,
  .preview-shot:nth-child(1),
  .preview-shot:nth-child(2),
  .preview-shot:nth-child(3),
  .preview-shot:nth-child(4),
  .preview-shot:nth-child(5),
  .preview-shot:nth-child(6) {
    position: static;
    width: 100%;
    transform: none;
    filter: none;
    z-index: auto;
  }

  .preview-shot:hover,
  .preview-shot:focus-within {
    transform: translateY(-4px);
  }

  .preview-shot-caption {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    margin-top: 1rem;
    pointer-events: auto;
  }

  .preview-shot-zoom {
    opacity: 1;
    transform: translateY(0);
    width: 38px;
    height: 38px;
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .preview-hint {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .preview-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preview-layout .section-header {
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 640px;
  }

  .preview-gallery {
    height: 440px;
    max-width: 720px;
    margin: 0 auto;
  }

  .preview-shot {
    width: min(400px, 52vw);
  }
}

/* ═══════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 19, 115, 0.08);
}

.pricing-card.popular {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 30px 60px rgba(102, 126, 234, 0.2);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-purple));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.pricing-description {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.pricing-features .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.1);
  color: var(--color-success);
  font-size: 0.65rem;
  font-weight: 700;
}

.pricing-features .cross {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.1);
  color: var(--color-text-muted);
  font-size: 0.65rem;
}

.btn-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
}

.btn-pricing.outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-heading);
}

.btn-pricing.outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn-pricing.filled {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-purple));
  color: #fff;
}

.btn-pricing.filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════ */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--color-gradient-start);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-stagger.visible > * { opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.fade-in-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.fade-in-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.fade-in-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.fade-in-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }
.fade-in-stagger.visible > *:nth-child(11) { transition-delay: 0.55s; }
.fade-in-stagger.visible > *:nth-child(12) { transition-delay: 0.6s; }

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

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

  .preview-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .preview-text {
    padding-right: 0;
    text-align: center;
  }

  .preview-text .section-title,
  .preview-text .section-subtitle {
    text-align: center;
  }

  .preview-list {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .navbar-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-cta-desktop {
    display: none;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── Utility: visually hidden ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ═══════════════════════════════════════════════════
   TOP BAR (language + currency)
   ═══════════════════════════════════════════════════ */
/* Language toggle in navbar */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 0.85rem;
}

.lang-option {
  width: 36px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.lang-option:hover {
  opacity: 0.9;
}

.lang-option:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.lang-option.is-active {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════════════
   FEATURES — extended (3x3 grid, highlight + tags)
   ═══════════════════════════════════════════════════ */
.feature-icon.cash {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.feature-icon.offline {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.feature-icon.mia {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.feature-icon.billing {
  background: rgba(244, 114, 182, 0.12);
  color: #ec4899;
}

.feature-icon.pricelist {
  background: rgba(234, 179, 8, 0.12);
  color: #d97706;
}

.feature-icon.support {
  background: rgba(20, 184, 166, 0.12);
  color: #0d9488;
}

.feature-card-highlight {
  background: linear-gradient(180deg, #ffffff 0%, rgba(102, 126, 234, 0.04) 100%);
  border-color: rgba(102, 126, 234, 0.25);
}

.feature-card-highlight::before {
  opacity: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(102, 126, 234, 0.1);
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   PRICING — block-based (2 blocks of 3 plans)
   ═══════════════════════════════════════════════════ */
.pricing-block {
  margin-top: 3.5rem;
}

.pricing-block:first-of-type {
  margin-top: 1rem;
}

.pricing-block-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.pricing-block-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.label-facturador {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.label-pos {
  background: rgba(102, 126, 234, 0.12);
  color: var(--color-accent);
}

.pricing-block-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.pricing-block-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.pricing-grid-4 .pricing-card {
  padding: 2rem 1.35rem;
}

.pricing-grid-4 .pricing-amount {
  font-size: 1.95rem;
}

.pricing-grid-4 .pricing-name {
  font-size: 1.05rem;
}

.pricing-grid-4 .pricing-description {
  font-size: 0.82rem;
  min-height: 2.6rem;
}

.pricing-grid-4 .pricing-features li {
  font-size: 0.82rem;
  gap: 0.5rem;
}

.pricing-grid-4 .pricing-card.popular {
  transform: scale(1.04);
}

.pricing-grid-4 .pricing-card.popular:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.tag-facturador {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.tag-free {
  background: rgba(22, 163, 74, 0.12);
  color: var(--color-success);
}

.tag-enterprise {
  background: rgba(102, 126, 234, 0.12);
  color: var(--color-accent);
}

.pricing-price-custom {
  align-items: center;
  min-height: 3.4rem;
}

.pricing-custom-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.3;
}

.pricing-card-enterprise .btn-pricing.filled {
  background: linear-gradient(135deg, #1f2a68, var(--color-accent));
}

.pricing-footnote {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════
   MOBILE APP — coming soon
   ═══════════════════════════════════════════════════ */
.mobile-soon {
  overflow: hidden;
  position: relative;
}

.mobile-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mobile-text .section-title {
  text-align: left;
  color: #fff;
}

.mobile-text .section-subtitle {
  text-align: left;
}

.badge-soon {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.mobile-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.5;
}

.mobile-list .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  font-size: 0.7rem;
  margin-top: 2px;
}

.mobile-waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.mobile-waitlist input[type="email"] {
  flex: 1 1 220px;
  padding: 0.85rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mobile-waitlist input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.mobile-waitlist input[type="email"]:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-waitlist-ok {
  flex-basis: 100%;
  color: #4ade80;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Phone mockup */
.mobile-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}

.phone-stage {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1600px;
}

.phone-blob {
  position: absolute;
  width: 88%;
  height: 78%;
  top: 10%;
  left: 6%;
  background: radial-gradient(ellipse at 35% 40%, #1a2140 0%, #0d1526 55%, #091022 100%);
  border-radius: 48% 52% 40% 60% / 58% 42% 58% 42%;
  filter: blur(0.5px);
  z-index: 0;
}

.iphone {
  position: absolute;
  width: 248px;
  height: 520px;
  transform-style: preserve-3d;
}

.iphone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #2a2f45 0%, #151a2d 30%, #1d2338 70%, #0f1424 100%);
  border-radius: 44px;
  padding: 9px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1.5px rgba(255, 255, 255, 0.1) inset,
    0 2px 0 1px rgba(255, 255, 255, 0.05) inset;
}

.iphone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.iphone-island::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a3555 0%, #0a0d18 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #0e1628 0%, #131a34 100%);
  padding: 46px 14px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.iphone-btn {
  position: absolute;
  background: linear-gradient(90deg, #2a2f45, #14192b);
  border-radius: 2px;
  z-index: 0;
}

.iphone-btn-action {
  left: -2px;
  top: 86px;
  width: 4px;
  height: 26px;
}

.iphone-btn-volume-up {
  left: -2px;
  top: 126px;
  width: 4px;
  height: 44px;
}

.iphone-btn-volume-down {
  left: -2px;
  top: 178px;
  width: 4px;
  height: 44px;
}

.iphone-btn-power {
  right: -2px;
  top: 138px;
  width: 4px;
  height: 70px;
}

.iphone-front {
  z-index: 2;
  transform: translate(-60px, 35px);
}

.iphone-back {
  z-index: 1;
  transform: translate(75px, -40px) rotateY(-18deg) rotateZ(7deg) scale(0.95);
  transform-origin: center center;
}

.mobile-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-app-title {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.mobile-app-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(22, 163, 74, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

.mobile-app-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.2));
  border: 1px solid rgba(102, 126, 234, 0.25);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-app-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-app-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.mobile-app-delta {
  font-size: 0.75rem;
  color: #4ade80;
  font-weight: 600;
}

.mobile-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-app-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-app-tile-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-app-tile-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.mobile-app-alert {
  margin-top: auto;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.mobile-app-alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  margin-top: 4px;
  flex-shrink: 0;
}

.mobile-app-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-app-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.mobile-app-logo svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.mobile-app-bell {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-app-bell-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #131a34;
}

.mobile-app-greeting {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: -2px;
}

.mobile-app-section-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.mobile-app-chart {
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-app-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-purple));
  border-radius: 3px 3px 0 0;
  opacity: 0.5;
  min-height: 10%;
}

.mobile-app-chart-bar-active {
  opacity: 1;
  box-shadow: 0 0 12px rgba(102, 126, 234, 0.55);
}

.mobile-app-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile-app-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mobile-app-stat-label {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-app-stat-value {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.mobile-app-stat-delta {
  color: #4ade80;
  font-size: 0.62rem;
  font-weight: 600;
}

.mobile-app-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-app-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
}

.mobile-app-list-item strong {
  color: #fff;
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════
   UNDER CONSTRUCTION PAGE
   ═══════════════════════════════════════════════════ */
.uc-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.8) 0%, rgba(18, 24, 44, 0.98) 100%),
    url('hero-bg.png') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.uc-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  animation: float-orb 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.uc-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.uc-illustration {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.3));
}

.uc-illustration svg {
  width: 100%;
  height: 100%;
  animation: uc-spin 40s linear infinite;
}

@keyframes uc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.uc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.uc-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}

.uc-hero h1 .gradient-text {
  background: linear-gradient(135deg, #fbbf24, #f97316, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.uc-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 2rem;
  max-width: 560px;
}

.uc-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.uc-roadmap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  backdrop-filter: blur(8px);
}

.uc-roadmap-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.uc-roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.uc-roadmap-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.uc-roadmap-list .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.2);
  color: #a3b8ff;
  font-size: 0.65rem;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — overrides for new sections
   ═══════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .pricing-grid-4 .pricing-card.popular {
    transform: none;
  }

  .pricing-grid-4 .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 640px) {
  .pricing-grid-4 {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1024px) {
  .mobile-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .mobile-text .section-title,
  .mobile-text .section-subtitle {
    text-align: center;
  }

  .mobile-list {
    align-items: flex-start;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-waitlist {
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .lang-toggle {
    margin-right: 0.5rem;
  }

  .lang-option {
    width: 32px;
    height: 26px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .pricing-block-title {
    font-size: 1.35rem;
  }

  .uc-hero {
    padding: 5rem 0 3rem;
  }

  .uc-illustration {
    width: 120px;
    height: 120px;
  }

  .uc-roadmap {
    padding: 1.25rem 1.5rem;
  }

  .phone-stage {
    height: 560px;
  }

  .iphone {
    width: 210px;
    height: 440px;
  }

  .iphone-front {
    transform: translate(-45px, 25px);
  }

  .iphone-back {
    transform: translate(55px, -30px) rotateY(-16deg) rotateZ(5deg) scale(0.94);
  }
}

@media (max-width: 600px) {
  .mobile-visual {
    min-height: 520px;
  }

  .phone-stage {
    height: 520px;
  }

  .iphone {
    width: 190px;
    height: 400px;
  }

  .iphone-front {
    transform: translate(-30px, 20px);
  }

  .iphone-back {
    transform: translate(40px, -20px) rotateY(-14deg) rotateZ(4deg) scale(0.92);
  }
}

/* ═══════════════════════════════════════════════════
   Contact section
   ═══════════════════════════════════════════════════ */
.contact-section {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, #ffffff 100%);
  scroll-margin-top: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro .section-title {
  margin-bottom: 16px;
}

.contact-intro .section-subtitle {
  margin-bottom: 32px;
  max-width: 480px;
}

/* WhatsApp card */
.wa-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0.04));
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 16px;
  margin-bottom: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wa-card:hover {
  transform: translateY(-2px);
  border-color: #25D366;
  box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.4);
}

.wa-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-card-body {
  flex: 1;
}

.wa-card-title {
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 15px;
  margin-bottom: 2px;
}

.wa-card-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}

.wa-card-arrow {
  color: var(--color-text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.wa-card:hover .wa-card-arrow {
  transform: translateX(3px);
  color: #25D366;
}

/* Contact meta */
.contact-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.contact-meta svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-meta a {
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.contact-meta a:hover {
  color: var(--color-primary);
}

/* Contact form */
.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px -20px rgba(15, 28, 92, 0.15);
}

.contact-field {
  margin-bottom: 20px;
}

.contact-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 19, 115, 0.08);
}

.contact-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Honeypot */
.contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Contact form submit button (use existing .btn-primary, no overrides needed) */
.contact-form .btn-primary {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.contact-form .btn-primary[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.contact-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.contact-status.is-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contact-status.is-err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-status.is-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Footer powered-by */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-sep {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
}

.footer-powered a {
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
  border-bottom: 1px dashed transparent;
}

.footer-powered a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    padding: 28px;
  }
}

/* ═══════════════════════════════════════════════════
   LEGAL PAGES (Terms of Service / Privacy Policy)
   ═══════════════════════════════════════════════════ */
.legal-hero {
  background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  padding: 9.5rem 0 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.22) 0%, transparent 70%);
  top: -180px;
  right: -160px;
  pointer-events: none;
}

.legal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.legal-hero-subtitle {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.35);
  color: #a3b8ff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.legal-body {
  background: var(--color-bg-primary);
  padding: 4rem 0 6rem;
}

.legal-container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-draft-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #92400e;
}

.legal-draft-notice strong {
  color: #78350f;
}

.legal-toc {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}

.legal-toc-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.legal-toc a {
  color: var(--color-primary-lighter);
  transition: color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 90px;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-bg-tertiary);
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 1.5rem 0 0.6rem;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 0.9rem;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-section li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.legal-section a {
  color: var(--color-primary-lighter);
  font-weight: 600;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th {
  background: var(--color-bg-secondary);
  color: var(--color-heading);
  text-align: left;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.legal-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--color-bg-tertiary);
  color: var(--color-text-secondary);
  line-height: 1.5;
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-contact-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
}

.legal-contact-card p {
  margin-bottom: 0.4rem;
}

.legal-crosslinks {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 8rem 0 3rem;
  }

  .legal-body {
    padding: 3rem 0 4rem;
  }

  .legal-toc {
    padding: 1.25rem 1.4rem;
  }
}
