/* ══════════════════════════════════════════════════
   TheAppFreak — Design System v2
   Style: Aurora UI + Motion-Driven Dark Mode
   ══════════════════════════════════════════════════ */

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

:root {
  --bg:          #080B14;
  --bg-2:        #0D1120;
  --surface:     rgba(255,255,255,0.04);
  --surface-2:   rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);

  --violet:      #7C3AED;
  --violet-light:#A78BFA;
  --blue:        #3B82F6;
  --cyan:        #06B6D4;
  --green:       #10B981;
  --amber:       #F59E0B;
  --red:         #EF4444;

  --text:        #F1F5F9;
  --text-muted:  #94A3B8;
  --text-dim:    #64748B;

  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;

  --shadow-glow-v: 0 0 40px rgba(124,58,237,0.25);
  --shadow-card:   0 4px 32px rgba(0,0,0,0.4);

  --font: 'DM Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h: 72px;
  --z-nav: 100;
}

html { scroll-behavior: smooth; }

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

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

/* ── TYPOGRAPHY ───────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.text-gradient {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: grad-shift 6s ease infinite;
}

@keyframes grad-shift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── LAYOUT ───────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-2); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet-light);
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.25);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  margin-bottom: 1.2rem;
}
.section-badge::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--violet-light);
}
.section-title { color: var(--text); margin-bottom: 1rem; }
.section-desc  { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-sub   { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.4rem; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.4rem; border-radius: var(--radius);
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s ease;
  white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  color: #fff; box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.45); }
.btn-ghost {
  background: var(--surface); border: 1px solid var(--border-2); color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.22); }
.btn-secondary {
  background: var(--surface); border: 1px solid var(--border-2); color: var(--text);
}
.btn-secondary:hover { background: var(--surface-2); }
.btn-pro {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  color: #000; font-weight: 700;
}
.btn-pro:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(6,182,212,0.35); }
.btn-lg  { padding: 0.85rem 1.8rem; font-size: 1rem; }
.btn-sm  { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── NAVBAR ───────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  height: var(--nav-h); transition: background 0.3s ease, box-shadow 0.3s ease;
  background: rgba(8,11,20,0.97);
  backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled {
  background: rgba(8,11,20,0.99);
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; text-decoration: none; }
.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav-logo-text { display: none; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  flex: 1; margin-left: 1rem;
}
.nav-link {
  padding: 0.45rem 0.85rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: all 0.2s; cursor: pointer;
  display: flex; align-items: center; gap: 0.3rem;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-arrow { transition: transform 0.2s; }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown::before {
  content: ''; position: absolute; top: 100%; left: 0;
  width: 100%; height: 16px;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: rgba(13,17,32,0.97); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 0.5rem; min-width: 260px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: all 0.2s ease; box-shadow: var(--shadow-card);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.85rem; border-radius: 10px; cursor: pointer;
  transition: background 0.15s;
}
.nav-dropdown-item:hover { background: var(--surface-2); }
.nav-dropdown-item-soon { opacity: 0.5; cursor: not-allowed; }
.nav-dropdown-icon {
  font-size: 1.2rem; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border-radius: 8px;
}
.nav-dropdown-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.nav-dropdown-desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }
.nav-dropdown-badge {
  margin-left: auto; font-size: 0.7rem; font-weight: 600;
  padding: 0.2rem 0.55rem; border-radius: 100px;
  background: rgba(16,185,129,0.15); color: var(--green);
  border: 1px solid rgba(16,185,129,0.3); white-space: nowrap;
}
.nav-dropdown-badge-soon {
  background: rgba(245,158,11,0.15); color: var(--amber);
  border-color: rgba(245,158,11,0.3);
}
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px; transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,11,20,0.98); backdrop-filter: blur(20px);
    padding: 1rem 1.5rem 2rem; border-bottom: 1px solid var(--border);
    gap: 0.25rem; z-index: 99;
  }
  .nav-dropdown-menu {
    position: static; opacity: 1; transform: none;
    pointer-events: all; background: var(--surface); box-shadow: none;
  }
  .nav-actions.open {
    display: flex; flex-direction: column;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(8,11,20,0.98); border-top: 1px solid var(--border);
    padding: 1rem 1.5rem; gap: 0.5rem; z-index: 99;
  }
  .nav-actions.open .btn { width: 100%; justify-content: center; }
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-product { min-height: 85vh; }

.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.5;
  animation: orb-float 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.5) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.4) 0%, transparent 70%);
  bottom: -100px; right: -50px; animation-delay: -6s;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-20px) scale(1.05); }
  66%  { transform: translate(-20px,30px) scale(0.97); }
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 4rem 0;
  display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-muted);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-2);
  padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green); animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 6px var(--green); }
  50%      { box-shadow: 0 0 16px var(--green), 0 0 30px rgba(16,185,129,0.4); }
}
.hero-title { margin-bottom: 1.2rem; }
.hero-desc  { font-size: 1.1rem; max-width: 580px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }

.hero-stats {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 1.2rem 2rem;
  backdrop-filter: blur(10px);
}
.stat-item { text-align: center; padding: 0 1.8rem; }
.stat-number { font-size: 1.9rem; font-weight: 800; color: var(--text); }
.stat-suffix { font-size: 1.4rem; font-weight: 800; color: var(--violet-light); }
.stat-label  { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.2rem; display: block; }
.stat-sep    { width: 1px; height: 40px; background: var(--border-2); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scroll-bounce 2s ease infinite;
}
@keyframes scroll-bounce {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.6); opacity: 0.4; }
}

.hero-trust {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  font-size: 0.82rem; color: var(--text-dim);
}
.trust-item { display: flex; align-items: center; gap: 0.4rem; }
.trust-sep  { color: var(--border-2); }

/* ── BANNER ───────────────────────────────────────── */
.banner-section { padding: 3rem 0; }
.banner-wrapper {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.banner-img { width: 100%; display: block; object-fit: cover; max-height: 360px; }
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.75) 0%, rgba(8,11,20,0.5) 100%);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; padding: 3rem;
}
.banner-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3); padding: 0.3rem 0.7rem;
  border-radius: 100px; margin-bottom: 1rem;
}
.banner-headline {
  font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700;
  color: #fff; margin-bottom: 1.5rem;
}

/* ── ABOUT CARDS ──────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.about-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s; cursor: default;
}
.about-card:hover {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 0 30px rgba(124,58,237,0.15), var(--shadow-card);
  transform: translateY(-4px);
}
.about-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-light); margin-bottom: 1.2rem;
}
.about-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.about-card-desc  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── PRODUCT SPOTLIGHT ────────────────────────────── */
.product-spotlight {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center;
}
@media (max-width: 900px) { .product-spotlight { grid-template-columns: 1fr; } }
.product-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet-light); margin-bottom: 0.6rem;
}
.product-name    { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 0.3rem; }
.product-tagline { font-size: 1rem; color: var(--cyan); font-weight: 500; margin-bottom: 1rem; }
.product-desc    { font-size: 0.92rem; margin-bottom: 1.5rem; }
.product-features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.8rem; }
.product-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text);
}
.feature-check { color: var(--green); font-weight: 700; }
.product-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.product-price   { font-size: 0.82rem; color: var(--text-dim); }

/* ── APP MOCKUP ───────────────────────────────────── */
.app-mockup {
  background: rgba(13,17,32,0.9); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 50px rgba(124,58,237,0.1);
  font-size: 0.82rem;
}
.app-mockup-lg { width: 100%; }
.mockup-titlebar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem; background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.red    { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green  { background: #10B981; }
.mockup-title { font-size: 0.75rem; color: var(--text-dim); margin-left: 0.5rem; font-family: var(--font-mono); }

.mockup-body { display: flex; height: 280px; }
.mockup-sidebar {
  width: 130px; flex-shrink: 0; border-right: 1px solid var(--border);
  padding: 0.8rem 0.5rem; display: flex; flex-direction: column; gap: 0.15rem;
}
.ms-item {
  padding: 0.45rem 0.65rem; border-radius: 7px;
  font-size: 0.75rem; color: var(--text-muted); cursor: pointer; transition: all 0.15s;
}
.ms-item:hover  { background: var(--surface-2); color: var(--text); }
.ms-item.active { background: rgba(124,58,237,0.15); color: var(--violet-light); font-weight: 600; }

.mockup-content {
  flex: 1; padding: 1rem; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.mockup-cards-row { display: flex; gap: 0.6rem; }
.mockup-card {
  flex: 1; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.7rem;
}
.mc-label { font-size: 0.68rem; color: var(--text-dim); margin-bottom: 0.3rem; }
.mc-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.mc-value.accent { color: var(--violet-light); }
.mc-value.warn   { color: var(--amber); }
.mc-trend { font-size: 0.65rem; margin-top: 0.2rem; }
.mc-trend.up { color: var(--green); }

.mockup-chart {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.7rem;
}
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 85px; }
.chart-bar {
  flex: 1; background: rgba(124,58,237,0.2); border-radius: 4px 4px 0 0;
  position: relative; transition: all 0.5s ease;
  display: flex; flex-direction: column-reverse;
}
.chart-bar span { font-size: 0.58rem; color: var(--text-dim); text-align: center; padding-bottom: 3px; }
.chart-bar.active { background: linear-gradient(to top, var(--violet), var(--cyan)); }

.mockup-invoice { display: flex; flex-direction: column; gap: 0.3rem; overflow-y: auto; }
.mi-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem;
  padding: 0.4rem 0.5rem; border-radius: 6px;
  font-size: 0.72rem; color: var(--text);
}
.mi-row.header { background: var(--surface-2); color: var(--text-dim); font-size: 0.68rem; font-weight: 600; }
.status { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 100px; font-size: 0.65rem; font-weight: 600; }
.status.paid    { background: rgba(16,185,129,0.15); color: var(--green); }
.status.pending { background: rgba(245,158,11,0.15); color: var(--amber); }

.time-tracker { display: flex; flex-direction: column; gap: 0.6rem; }
.timer-display {
  font-size: 1.8rem; font-weight: 800; font-family: var(--font-mono);
  color: var(--violet-light); text-align: center; padding: 0.4rem;
}
.timer-project { font-size: 0.72rem; color: var(--text-dim); text-align: center; }
.timer-controls { display: flex; gap: 0.5rem; justify-content: center; }
.timer-btn {
  padding: 0.3rem 0.65rem; border-radius: 6px; border: 1px solid var(--border-2);
  background: var(--surface-2); color: var(--text-muted);
  font-size: 0.72rem; cursor: pointer;
}
.timer-btn.stop { border-color: rgba(239,68,68,0.3); color: var(--red); }
.time-entries { display: flex; flex-direction: column; gap: 0.25rem; }
.time-entry {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.5rem;
  font-size: 0.72rem; color: var(--text); padding: 0.3rem 0.5rem;
  background: var(--surface); border-radius: 6px;
}

.invoice-preview {
  background: #fff; border-radius: 8px; padding: 1rem;
  color: #1e293b; font-size: 0.72rem; max-height: 230px; overflow-y: auto;
}
.inv-header {
  display: flex; justify-content: space-between; margin-bottom: 0.7rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid #e2e8f0;
}
.inv-brand { font-size: 0.95rem; font-weight: 800; color: #7C3AED; }
.inv-meta  { font-size: 0.65rem; color: #64748b; text-align: right; line-height: 1.6; }
.inv-parties { display: flex; gap: 2rem; margin-bottom: 0.7rem; }
.inv-party-label {
  font-weight: 700; font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 0.2rem;
}
.inv-lines { margin-bottom: 0.5rem; }
.inv-line {
  display: grid; grid-template-columns: 2fr 0.5fr 1fr 1fr; gap: 0.4rem;
  padding: 0.25rem 0; border-bottom: 1px solid #f1f5f9; font-size: 0.68rem;
}
.inv-line.header { font-weight: 700; color: #475569; }
.inv-total { text-align: right; font-size: 0.7rem; }
.inv-subtotal,.inv-tva { color: #64748b; margin-bottom: 0.15rem; }
.inv-grand { font-size: 0.85rem; color: #0f172a; padding-top: 0.25rem; border-top: 2px solid #7C3AED; }

/* ── TESTIMONIALS ─────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem;
}
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem; transition: all 0.3s; cursor: default;
}
.testimonial-card:hover {
  border-color: var(--border-2); transform: translateY(-3px); box-shadow: var(--shadow-card);
}
.testi-stars { color: var(--amber); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testi-text  {
  font-size: 0.9rem; color: var(--text); line-height: 1.7;
  margin-bottom: 1.2rem; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
}
.testi-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.testi-role { font-size: 0.75rem; color: var(--text-dim); }

/* ── PRICING (index.html) ─────────────────────────── */
.pricing-main { display: flex; flex-direction: column; gap: 1.5rem; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.2rem; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--border-2); }
.pricing-card-featured {
  border-color: rgba(124,58,237,0.4);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(59,130,246,0.05));
  box-shadow: 0 0 50px rgba(124,58,237,0.1);
}
.pricing-tag-row { margin-bottom: 1rem; }
.pricing-tag-recommended {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--amber);
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25);
  padding: 0.3rem 0.8rem; border-radius: 100px;
}
.pricing-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 100px; display: inline-block; margin-bottom: 0.8rem;
}
.pricing-badge-featured {
  background: rgba(124,58,237,0.15); color: var(--violet-light);
  border: 1px solid rgba(124,58,237,0.3);
}
.pricing-hero-layout {
  display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center;
}
@media (max-width: 700px) { .pricing-hero-layout { grid-template-columns: 1fr; } }
.pricing-hero-name    { font-size: 2.2rem; font-weight: 900; margin-bottom: 0.3rem; }
.pricing-hero-tagline { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.pricing-features { display: flex; flex-direction: column; gap: 0.55rem; }
.pricing-features li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.88rem; color: var(--text); padding-left: 0.3rem;
}
.pricing-features:not(.pf-list) li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(16,185,129,0.15) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%2310B981' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(16,185,129,0.3); flex-shrink: 0;
}
.pricing-hero-price { display: flex; align-items: flex-start; gap: 0.3rem; margin-bottom: 0.5rem; }
.price-currency { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); margin-top: 0.8rem; }
.price-amount   { font-size: 4rem; font-weight: 900; color: var(--text); line-height: 1; letter-spacing: -0.04em; }
.pricing-period { font-size: 0.8rem; color: var(--text-dim); }
.pricing-guarantee {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 0.8rem; font-size: 0.75rem; color: var(--text-dim);
}
.pricing-addon {
  display: flex; align-items: flex-start; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem; transition: all 0.3s;
}
@media (max-width: 700px) { .pricing-addon { flex-direction: column; } }
.pricing-addon:hover { border-color: var(--border-2); }
.pricing-addon-icon { font-size: 1.8rem; flex-shrink: 0; }
.pricing-addon-info { flex: 1; }
.pricing-addon-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.pricing-addon-desc  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }
.pricing-addon-items { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 0.8rem; }
.pricing-addon-items li { font-size: 0.83rem; color: var(--text); }
.pricing-addon-price { text-align: right; flex-shrink: 0; }
.addon-amount { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.addon-amount span { font-size: 0.88rem; color: var(--text-muted); font-weight: 400; }
.addon-note { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.2rem; }
.pricing-enterprise-layout {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}

/* ── PRICING (easybilling.html) ───────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-bottom: 3rem;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-popular-ribbon {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--amber); background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25);
  padding: 0.28rem 0.75rem; border-radius: 100px; margin-bottom: 1rem;
}
.pricing-tier-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 100px; margin-bottom: 0.8rem;
}
.tier-free-badge { background: rgba(100,116,139,0.15); color: var(--text-dim); border: 1px solid rgba(100,116,139,0.25); }
.tier-std-badge  { background: rgba(59,130,246,0.12); color: var(--blue); border: 1px solid rgba(59,130,246,0.3); }
.tier-pro-badge  { background: rgba(6,182,212,0.12); color: var(--cyan); border: 1px solid rgba(6,182,212,0.3); }

.pricing-plan    { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.pricing-price   { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 0.6rem; }
.pricing-amount  { font-size: 2.5rem; font-weight: 900; color: var(--text); letter-spacing: -0.03em; }
.pricing-currency{ font-size: 0.92rem; font-weight: 600; color: var(--text-muted); }
.pricing-desc    { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.pricing-btn     { width: 100%; justify-content: center; margin-bottom: 1.5rem; }

.pricing-features.pf-list { display: flex; flex-direction: column; gap: 0.45rem; }
.pf-yes,.pf-no,.pf-warn {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.83rem; padding: 0.25rem 0;
}
.pf-yes  { color: var(--text); }
.pf-no   { color: var(--text-dim); }
.pf-warn {
  color: #FBBF24;
  background: linear-gradient(90deg, rgba(251,191,36,0.12) 0%, transparent 100%);
  border-left: 3px solid #F59E0B;
  border-radius: 0 6px 6px 0;
  padding: 0.3rem 0.6rem 0.3rem 0.5rem;
  font-weight: 600;
}
.pf-yes::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  background: rgba(16,185,129,0.15) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%2310B981' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(16,185,129,0.3);
}
.pf-no::before   { content: '✗'; color: var(--text-dim); font-size: 0.78rem; flex-shrink: 0; width: 14px; text-align: center; }
.pf-warn::before {
  content: '⚠';
  font-size: 0.9rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(251,191,36,0.7));
}

.pricing-card-pro {
  border-color: rgba(6,182,212,0.3);
  background: linear-gradient(135deg, rgba(6,182,212,0.06), rgba(16,185,129,0.04));
}

/* Comparison table */
.pricing-table-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }
.pricing-table-scroll { overflow-x: auto; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.pricing-table th {
  padding: 0.8rem 1rem; text-align: center; background: var(--surface-2);
  color: var(--text-muted); font-weight: 600; font-size: 0.78rem;
}
.pricing-table th:first-child { text-align: left; }
.pricing-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); color: var(--text); }
.pricing-table td:not(:first-child) { text-align: center; }
.pt-group-row td {
  background: var(--surface); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.55rem 1rem;
}
.pt-feature-col { text-align: left !important; min-width: 180px; }
.pt-plan-badge { display: inline-block; padding: 0.22rem 0.6rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; }
.pt-free { background: rgba(100,116,139,0.15); color: var(--text-dim); }
.pt-std  { background: rgba(59,130,246,0.15); color: var(--blue); }
.pt-pro  { background: rgba(6,182,212,0.15); color: var(--cyan); }
.pt-yes  { color: var(--green); font-weight: 700; font-size: 0.95rem; }
.pt-no   { color: var(--text-dim); font-size: 0.95rem; }
.pt-warn { color: var(--amber); font-size: 0.75rem; font-weight: 600; }

/* ── DEMO TABS ────────────────────────────────────── */
.demo-tabs-wrapper { display: flex; justify-content: center; margin-bottom: 2rem; }
.demo-tabs {
  display: inline-flex; gap: 0.35rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 0.28rem;
}
.demo-tab {
  padding: 0.45rem 1.1rem; border-radius: 100px;
  background: none; border: none; color: var(--text-muted);
  font-family: var(--font); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.demo-tab.active { background: linear-gradient(135deg, var(--violet), var(--blue)); color: #fff; font-weight: 600; }
.demo-tab:hover:not(.active) { color: var(--text); }
.demo-panels { position: relative; }
.demo-panel  { display: none; }
.demo-panel.active { display: block; animation: panel-fade 0.3s ease; }
@keyframes panel-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── FEATURES ─────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem; transition: all 0.3s; cursor: default;
}
.feature-card:hover {
  border-color: rgba(124,58,237,0.35); box-shadow: 0 0 25px rgba(124,58,237,0.12);
  transform: translateY(-3px);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--violet-light);
}
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; }

/* ── TECH SPECS ───────────────────────────────────── */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.spec-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
}
.spec-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--violet-light); }
.spec-list  { display: flex; flex-direction: column; gap: 0.65rem; }
.spec-list li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.83rem; padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.spec-list li:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { color: var(--text-dim); font-size: 0.75rem; }

/* ── CTA ──────────────────────────────────────────── */
.cta-section { padding: 5rem 0; }
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
  border: 1px solid rgba(124,58,237,0.3); border-radius: var(--radius-xl); padding: 4rem 3rem; text-align: center;
}
.cta-orb {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
  animation: orb-float 10s ease-in-out infinite;
}
.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-desc  { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ── EB HERO LOGO ─────────────────────────────────── */
.eb-logo-hero {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 0.6rem 1.2rem;
  backdrop-filter: blur(10px); margin-bottom: 1.5rem;
}
.eb-bars { display: flex; gap: 4px; }
.eb-bar  { width: 6px; height: 22px; border-radius: 3px; }
.eb-wordmark { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }

/* ── CONTACT ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: var(--text-muted);
}
.contact-item svg { color: var(--violet-light); flex-shrink: 0; }
.contact-form-wrapper {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.form-control {
  padding: 0.7rem 1rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-2);
  color: var(--text); font-family: var(--font); font-size: 0.88rem; transition: border-color 0.2s; outline: none;
}
.form-control:focus { border-color: rgba(124,58,237,0.5); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── FOOTER ───────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { font-size: 0.83rem; color: var(--text-dim); line-height: 1.7; margin-top: 0.6rem; }
.footer-col-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a  { font-size: 0.85rem; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-dim); flex-wrap: wrap; gap: 0.5rem;
}
.footer-made { color: var(--violet-light); }
