/* Scriptum — combined CSS bundle (no local @import waterfall). Google Fonts kept as @import with display=swap. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ===================== variables.css ===================== */
/* ============================================================
   DESIGN TOKENS — Scriptum Web
   Psicología: Violeta = Creatividad, Lujo, Misterio
   Armonía: Split-complementaria (violet → pink)
   ============================================================ */

:root {
  /* Core Brand Colors */
  --color-primary:       #8b5cf6;
  --color-primary-light: #a78bfa;
  --color-primary-dark:  #6d28d9;
  --color-secondary:     #ec4899;
  --color-secondary-light: #f472b6;
  --color-accent:        #c084fc;

  /* Gradient */
  --gradient-brand:      linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(139,92,246,0.8) 0%, rgba(236,72,153,0.8) 100%);
  --gradient-glow:       linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #ec4899 100%);

  /* Backgrounds */
  --bg-base:      #0a0a0f;
  --bg-surface:   #11111a;
  --bg-elevated:  #1a1a26;
  --bg-hover:     #22223a;

  /* Glass morphism */
  --glass-bg:         rgba(255, 255, 255, 0.04);
  --glass-bg-hover:   rgba(255, 255, 255, 0.07);
  --glass-border:     rgba(139, 92, 246, 0.2);
  --glass-border-hover: rgba(139, 92, 246, 0.45);
  --glass-blur:       blur(16px);
  --glass-blur-heavy: blur(32px);

  /* Text */
  --text-primary:   #f8f8ff;
  --text-secondary: #b4b4d0;
  --text-muted:     #6b6b8f;
  --text-disabled:  #3f3f58;

  /* Status */
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error:   #ef4444;
  --color-info:    #0ea5e9;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing Scale (base 8px) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-2xl:  2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-xl:     0 20px 60px rgba(0,0,0,0.7);
  --shadow-glow:   0 0 40px rgba(139, 92, 246, 0.35);
  --shadow-glow-sm:0 0 20px rgba(139, 92, 246, 0.2);
  --shadow-pink:   0 0 40px rgba(236, 72, 153, 0.25);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max:  1280px;
  --container-wide: 1440px;
  --nav-height:     72px;
}

/* ===================== reset.css ===================== */
/* ============================================================
   RESET & NORMALIZE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

p {
  line-height: 1.7;
}

::selection {
  background-color: rgba(139, 92, 246, 0.35);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ===================== animations.css ===================== */
/* ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */

/* --- Floating orbs background --- */
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(40px, -60px) scale(1.08); }
  66%  { transform: translate(-30px, 40px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.85; }
}

/* --- Aurora wave --- */
@keyframes aurora {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Particles drift --- */
@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(var(--drift-x, 30px)) rotate(360deg); opacity: 0; }
}

/* --- Scroll reveal --- */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes revealRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- Glow pulse --- */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
  50%       { box-shadow: 0 0 50px rgba(139, 92, 246, 0.6), 0 0 80px rgba(236, 72, 153, 0.2); }
}

/* --- Badge dot blink --- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* --- Shimmer for skeleton / highlights --- */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* --- Typing cursor --- */
@keyframes typingCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* --- Float for mockup --- */
@keyframes floatMockup {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}

/* --- Rotate slow (decorative ring) --- */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Scale in --- */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* --- Gradient shift (hero text) --- */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --------------------------------------------------------
   Utility animation classes
   -------------------------------------------------------- */

.reveal {
  opacity: 0;
}

.reveal.visible {
  animation: revealUp var(--transition-slow) forwards;
}

.reveal-fade.visible {
  animation: revealFade var(--transition-slow) forwards;
}

.reveal-left.visible {
  animation: revealLeft var(--transition-slow) forwards;
}

.reveal-right.visible {
  animation: revealRight var(--transition-slow) forwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }
.delay-5 { animation-delay: 400ms; }
.delay-6 { animation-delay: 480ms; }

/* --- Reduce motion support --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================== components.css ===================== */
/* ============================================================
   COMPONENTS — Buttons, Cards, Badges, Forms, Tags
   ============================================================ */

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}
.btn:hover::before {
  background: rgba(255,255,255,0.06);
}

/* Primary */
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.55), 0 4px 16px rgba(236, 72, 153, 0.25);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Ghost */
.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--color-primary-light);
  border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

/* Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  gap: var(--space-3);
}
.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-xl);
  gap: var(--space-3);
}

/* ── Glass Card ──────────────────────────────────────────── */

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-sm);
}

/* ── Badge ───────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-brand {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-primary-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-success {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-new {
  background: var(--gradient-brand);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-light);
  animation: blink 2s ease-in-out infinite;
}

/* ── Feature icon box ────────────────────────────────────── */

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 22px;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.card:hover .icon-box {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.5);
  transform: scale(1.08);
}

/* ── Gradient text ───────────────────────────────────────── */

.gradient-text {
  background: var(--gradient-glow);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* ── Section label (eyebrow) ─────────────────────────────── */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

/* ── Divider ─────────────────────────────────────────────── */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: var(--space-16) 0;
}

/* ── Avatar / testimonial ────────────────────────────────── */

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
}

/* ── Star rating ─────────────────────────────────────────── */

.stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  font-size: var(--text-sm);
}

/* ── Pricing card special states ─────────────────────────── */

.pricing-card-featured {
  border-color: var(--color-primary) !important;
  background: linear-gradient(160deg, rgba(139,92,246,0.12), rgba(236,72,153,0.06)) !important;
  box-shadow: var(--shadow-glow) !important;
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px) !important;
}

.pricing-badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Checkmark list ──────────────────────────────────────── */

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.check-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item.disabled {
  opacity: 0.4;
}
.check-item.disabled svg {
  color: var(--text-muted);
}

/* ── FAQ Accordion ───────────────────────────────────────── */

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  transition: border-color var(--transition-base);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-6) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: var(--space-4);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary-light);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  color: var(--color-primary-light);
}

.faq-item.open .faq-icon {
  background: rgba(139,92,246,0.15);
  border-color: var(--color-primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1),
              padding var(--transition-base);
}

.faq-answer-inner {
  padding-bottom: var(--space-6);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ── Toggle switch (pricing) ─────────────────────────────── */

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
}

.toggle-label {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.toggle-label.active {
  color: var(--text-primary);
}

.toggle {
  position: relative;
  width: 52px;
  height: 28px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.toggle input:checked + .toggle-track {
  background: var(--gradient-brand);
  border-color: transparent;
}

.toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--transition-bounce);
  pointer-events: none;
}

.toggle input:checked ~ .toggle-thumb {
  transform: translateX(24px);
}

/* ── Screenshot frame ────────────────────────────────────── */

.screenshot-frame {
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(139,92,246,0.15);
  transition: all var(--transition-slow);
}

.screenshot-frame:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(139,92,246,0.25);
  transform: scale(1.01);
}

/* ── Stat number ─────────────────────────────────────────── */

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* ===================== layout.css ===================== */
/* ============================================================
   LAYOUT — Sections, containers, grids, navbar, footer
   ============================================================ */

/* ── Container ───────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-wide {
  max-width: var(--container-wide);
}

/* ── Sections ────────────────────────────────────────────── */

.section {
  padding: var(--space-32) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-20) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Navbar ──────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-base);
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--space-1);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-6);
  flex-direction: column;
  gap: var(--space-4);
  z-index: 999;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--transition-fast);
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu a:hover {
  color: var(--color-primary-light);
}

/* Buttons inside the mobile menu: full-width, centered, no link underline rule */
.nav-mobile-menu .btn {
  border-bottom: none;
  justify-content: center;
  color: var(--text-primary);
}

.nav-mobile-menu .btn-ghost:hover {
  color: var(--color-primary-light);
}

/* ── Language switcher (desktop dropdown) ─────────────────── */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-current:hover {
  border-color: var(--color-primary);
  color: var(--text-primary);
}

.lang-current img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: rgba(17, 17, 26, 0.97);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1001;
}

.lang-switcher.open .lang-menu {
  display: flex;
  animation: scaleIn 0.18s ease;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-menu a img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-menu a:hover {
  background: rgba(139, 92, 246, 0.12);
  color: var(--text-primary);
}

.lang-menu a.active {
  color: var(--color-primary-light);
  font-weight: 600;
}

/* ── Language switcher (mobile flag row) ──────────────────── */
.lang-mobile {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--glass-border);
}

.lang-mobile a {
  padding: 0;
  border-bottom: none;
}

.lang-mobile img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.lang-mobile a.active img {
  border-color: var(--color-primary);
}

.lang-mobile a:hover img {
  border-color: var(--color-primary-light);
}

/* ── Hero ────────────────────────────────────────────────── */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-32);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Aurora gradient layer */
.hero-aurora {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.12) 0%,
    rgba(236, 72, 153, 0.06) 40%,
    transparent 70%
  );
  background-size: 300% 300%;
  animation: aurora 12s ease infinite;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.22);
  top: -100px;
  right: -100px;
  animation: orbFloat 18s ease-in-out infinite, orbPulse 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(236, 72, 153, 0.15);
  bottom: -50px;
  left: 10%;
  animation: orbFloat 22s ease-in-out infinite reverse, orbPulse 10s ease-in-out infinite;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(192, 132, 252, 0.12);
  top: 40%;
  left: 50%;
  animation: orbFloat 15s ease-in-out infinite 3s, orbPulse 6s ease-in-out infinite 2s;
}

/* Particles canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.hero-trust-item svg {
  color: var(--color-success);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Hero visual (right side) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-screenshot {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(139,92,246,0.2);
  animation: floatMockup 6s ease-in-out infinite;
  width: 100%;
  max-width: 560px;
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-screenshot-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: floatMockup 6s ease-in-out infinite 2s;
}

.hero-screenshot-badge-2 {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: floatMockup 8s ease-in-out infinite 1s;
}

/* ── Stats bar ───────────────────────────────────────────── */

#stats {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(90deg, rgba(139,92,246,0.04), rgba(236,72,153,0.04));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-divider {
  width: 1px;
  background: var(--glass-border);
  margin: auto;
  height: 60px;
  align-self: center;
  display: none;
}

/* ── Features grid ───────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  padding: var(--space-8);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-4) 0 var(--space-2);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Screenshots section ─────────────────────────────────── */

.screenshots-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.screenshot-tab {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.screenshot-tab:hover,
.screenshot-tab.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.12);
  border-color: var(--color-primary);
}

.screenshots-display {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.screenshot-slide {
  display: none;
}

.screenshot-slide.active {
  display: block;
  animation: scaleIn 0.3s ease;
}

/* ── How it works ────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 16.5%;
  right: 16.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), var(--glass-border), transparent);
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Pricing ─────────────────────────────────────────────── */

.pricing-header-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  padding: var(--space-8);
  position: relative;
  overflow: visible;
}

.pricing-plan-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.pricing-price {
  margin-bottom: var(--space-2);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-amount-free {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-left: var(--space-1);
}

.pricing-annual-note {
  font-size: var(--text-xs);
  color: var(--color-success);
  margin-bottom: var(--space-4);
  font-weight: 600;
  min-height: 20px;
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--glass-border);
  margin: var(--space-6) 0;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: var(--space-6);
}

/* ── Testimonials ────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  padding: var(--space-8);
}

.testimonial-quote {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── CTA Banner ──────────────────────────────────────────── */

#cta-banner {
  padding: var(--space-32) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(236,72,153,0.05));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.cta-banner-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */

#footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 260px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--glass-border);
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--color-primary-light);
  border-color: var(--color-primary);
  background: rgba(139,92,246,0.1);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card-featured {
    transform: scale(1);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .lang-switcher,
  .nav-actions .btn:not(.nav-cta-mobile) {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: var(--space-20) 0;
  }
  .section-title {
    font-size: var(--text-3xl);
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-screenshot {
    max-width: 85vw;
    margin: 0 auto;
  }
  .screenshots-display {
    max-width: 90vw;
  }
  .screenshot-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-screenshot {
    max-width: 92vw;
  }
  .screenshot-frame img {
    max-height: 50vh;
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
  }
  .screenshots-display {
    padding: 0 var(--space-2);
  }
  .screenshot-tab {
    font-size: 12px;
    padding: var(--space-1) var(--space-3);
  }
}

/* ── Landscape mobile: prevent squished screenshots ───── */
@media (orientation: landscape) and (max-height: 500px) {
  .screenshots-display {
    max-width: 65vh;
    margin: 0 auto;
  }
  .screenshot-frame img {
    max-height: 45vh;
    width: auto;
    margin: 0 auto;
    display: block;
  }
  .hero-screenshot {
    max-width: 50vh;
  }
}

@media (orientation: landscape) and (max-height: 700px) {
  .screenshots-display {
    max-width: 70vw;
  }
  .screenshot-frame img {
    max-height: 55vh;
    width: auto;
    margin: 0 auto;
    display: block;
  }
}

/* ===================== main overrides ===================== */
/* ============================================================
   MAIN — Import all modules + global overrides
   ============================================================ */



/* ── Global body background ──────────────────────────────── */

body {
  background:
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(139,92,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(236,72,153,0.06) 0%, transparent 60%),
    var(--bg-base);
}

/* ── Noise texture overlay (adds depth) ──────────────────── */

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='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Everything sits above the noise layer */
body > * {
  position: relative;
  z-index: 1;
}
