/* ============================================================
   MHUB FORGE — CORE STYLES
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== TEMA DARK ===== */
:root,
[data-theme="dark"] {
  --bg: #060606;
  --bg-2: #0C0C0D;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --surface-solid: #111113;
  --text: #F4F2EF;
  --text-muted: #8B8F98;
  --text-dim: #565A63;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #FF5A1F;
  --accent-2: #FFB37A;
  --accent-hover: #FF7540;
  --accent-contrast: #0A0A0A;
  --glow: rgba(255, 90, 31, 0.4);
  --glow-soft: rgba(255, 90, 31, 0.15);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 32px 80px rgba(0,0,0,0.55);
  --shadow-xl: 0 40px 120px rgba(0,0,0,0.6);
}

/* ===== TEMA LIGHT ===== */
[data-theme="light"] {
  --bg: #F7F5F1;
  --bg-2: #FFFFFF;
  --surface: rgba(0, 0, 0, 0.025);
  --surface-hover: rgba(0, 0, 0, 0.05);
  --surface-solid: #FFFFFF;
  --text: #0A0A0A;
  --text-muted: #565A63;
  --text-dim: #8B8F98;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --accent: #E04A12;
  --accent-2: #FF8A3D;
  --accent-hover: #C23E0C;
  --accent-contrast: #FFFFFF;
  --glow: rgba(224, 74, 18, 0.3);
  --glow-soft: rgba(224, 74, 18, 0.12);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 32px 80px rgba(0,0,0,0.12);
  --shadow-xl: 0 40px 120px rgba(0,0,0,0.15);
}

:root {
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1240px;
  --header-h: 68px;

  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  /* Safe area pentru iPhone notch */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button { cursor: none; }

  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select { cursor: auto; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

.main-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
}

/* ============================================================
   BACKGROUND LAYER
   ============================================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
  opacity: 0.35;
}

.bg-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  top: -300px; left: -200px;
  animation: float1 24s ease-in-out infinite;
}

.bg-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 65%);
  top: 40%; right: -250px;
  opacity: 0.18;
  animation: float2 30s ease-in-out infinite;
}

.bg-orb-3 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 65%);
  bottom: -400px; left: 40%;
  opacity: 0.12;
  animation: float3 36s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(100px, 80px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-80px, 100px) scale(1.15); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, -100px) scale(1.05); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  opacity: 0.6;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  .bg-grid { display: none; }
  .bg-orb { filter: blur(80px); opacity: 0.25; }
  .bg-orb-1 { width: 400px; height: 400px; }
  .bg-orb-2 { width: 350px; height: 350px; }
  .bg-orb-3 { display: none; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s, background 0.3s;
  will-change: transform;
}

.cursor-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--glow);
  margin-left: -2.5px;
  margin-top: -2.5px;
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border-strong);
  margin-left: -18px;
  margin-top: -18px;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring { opacity: 1; }

.cursor-ring.hover {
  width: 60px; height: 60px;
  margin-left: -30px; margin-top: -30px;
  border-color: var(--accent);
  background: var(--glow-soft);
}

.cursor-ring.click {
  width: 28px; height: 28px;
  margin-left: -14px; margin-top: -14px;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9999;
  box-shadow: 0 0 10px var(--glow);
  transition: width 0.05s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  pointer-events: none;
}

.header-pill {
  width: 100%;
  max-width: var(--container);
  height: 56px;
  padding: 0 10px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: color-mix(in srgb, var(--surface-solid) 65%, transparent);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  transition: all 0.4s var(--ease);
}

[data-theme="light"] .header-pill {
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
}

.site-header.scrolled .header-pill {
  height: 52px;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-img { width: 26px; height: 26px; }
.logo-img-light { display: none; }
[data-theme="light"] .logo-img-light { display: block; }
[data-theme="light"] .logo-img-dark { display: none; }

.logo-text strong { color: var(--accent); font-weight: 700; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.main-nav a:hover { color: var(--text); background: var(--surface-hover); }
.main-nav a.active { color: var(--text); background: var(--surface-hover); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.theme-toggle {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--glow-soft);
}

.theme-toggle svg { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-nav::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transition: left 0.7s var(--ease);
}

.btn-nav:hover::before { left: 100%; }

.btn-nav:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px var(--glow);
  transform: translateY(-1px);
}

.btn-nav svg { transition: transform 0.3s var(--ease); }
.btn-nav:hover svg { transform: translateX(3px); }

.menu-toggle {
  display: none;
  width: 34px; height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ============================================================
   LOGIN CLIENT BUTTON
   ============================================================ */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-login svg {
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}

.btn-login:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--glow-soft);
  transform: translateY(-1px);
}

.btn-login:hover svg {
  color: var(--accent);
  transform: translateX(2px);
}

.btn-account {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-account:hover {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--glow);
}

.btn-account svg { color: currentColor; }
.btn-account:hover svg { transform: scale(1.05); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 32px var(--glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Touch feedback */
@media (hover: none) {
  .btn:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  .btn-primary:active { background: var(--accent-hover); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
}

.hero-inner { max-width: 960px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
}

.hero-badge:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.badge-arrow {
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  font-weight: 600;
}

.hero-badge:hover .badge-arrow { transform: translateX(3px); }

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  text-wrap: balance;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0.05em 0;
}

.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero-title.animate .word {
  animation: revealWord 0.9s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) .word:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(1) .word:nth-child(2) { animation-delay: 0.22s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.32s; }
.hero-title .line:nth-child(2) .word:nth-child(2) { animation-delay: 0.39s; }
.hero-title .line:nth-child(3) .word:nth-child(1) { animation-delay: 0.49s; }
.hero-title .line:nth-child(3) .word:nth-child(2) { animation-delay: 0.56s; }

@keyframes revealWord {
  to { transform: translateY(0); opacity: 1; }
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

/* ===== MOCKUP HERO ===== */
.hero-mockup {
  max-width: 860px;
  margin: 90px auto 0;
  perspective: 1400px;
  position: relative;
}

.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--glow-soft) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.mockup-window {
  background: color-mix(in srgb, var(--surface-solid) 75%, transparent);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 90%, transparent);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mockup-url {
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: 'SF Mono', Monaco, monospace;
  letter-spacing: 0.02em;
}

.mockup-body { padding: 36px 32px; text-align: left; }

.mockup-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.mockup-step:last-child { border-bottom: none; }

.step-num {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  width: 22px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.step-label { flex: 1; }

.step-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.step-check.pending { opacity: 0.25; }

.mockup-step.active { color: var(--text); font-weight: 500; }

.step-spinner {
  width: 13px; height: 13px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 44px;
}

.marquee-track span {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

.marquee-track i {
  color: var(--accent);
  font-style: normal;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 60px;
  max-width: 720px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--glow-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ============================================================
   BENTO GRID
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;
  grid-column: span 2;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.bento-card:hover::before { opacity: 0.8; }

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

@media (hover: none) {
  .bento-card:active {
    transform: scale(0.98);
    border-color: var(--border-strong);
  }
}

.bento-large {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 460px;
}

.bento-wide { grid-column: span 4; }

.bento-icon {
  font-size: 1.9rem;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px var(--glow));
}

.bento-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.bento-glow {
  position: absolute;
  bottom: -50%;
  right: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0;
  filter: blur(60px);
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  z-index: -1;
}

.bento-card:hover .bento-glow { opacity: 0.35; }

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 30%, transparent);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.number-card { padding: 20px; }

.number-value {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--text) 20%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.number-value::after {
  content: '+';
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  font-weight: 600;
  margin-left: 2px;
}

.number-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
  isolation: isolate;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--accent) 90deg, transparent 180deg);
  opacity: 0.1;
  animation: rotate 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 14px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
  box-shadow: 0 0 40px var(--glow-soft);
}

.cta-icon svg { width: 100%; height: 100%; display: block; }

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding: 100px 0 60px;
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
  max-width: 900px;
  text-wrap: balance;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 640px;
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 40%, transparent);
  backdrop-filter: blur(10px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: opacity 0.2s ease;
  width: fit-content;
}

.footer-brand .footer-logo:hover { opacity: 0.85; }

.footer-logo-img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.footer-brand .footer-logo strong {
  color: var(--accent);
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}

.footer-links a:last-child,
.footer-contact a:last-child {
  margin-bottom: 0;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  font-size: 0.82rem;
  color: var(--text-dim);
}

.logo-img-light { display: none; }
.logo-img-dark  { display: block; }

[data-theme="light"] .logo-img-light { display: block; }
[data-theme="light"] .logo-img-dark  { display: none; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBIL (fin tuning)
   ═══════════════════════════════════════════════════════════ */

/* ---------- TABLETĂ & MOBIL MARE (≤ 900px) ---------- */
@media (max-width: 900px) {

  /* ===== HEADER ===== */
  .site-header {
    top: 10px;
    padding: 0 10px;
  }

  .header-pill {
    height: 52px;
    padding: 0 6px 0 14px;
    gap: 6px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions {
    gap: 4px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  /* ASCUNDE TEXTUL — rămân doar iconițele */
  .btn-nav span,
  .btn-login span,
  .btn-account span {
    display: none;
  }

  .btn-nav,
  .btn-login,
  .btn-account {
    padding: 8px 10px;
    gap: 0;
  }

  .btn-nav svg,
  .btn-login svg,
  .btn-account svg {
    width: 16px;
    height: 16px;
    margin: 0;
  }

  /* MENIU MOBIL DESCHIS — bottom sheet style */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 12px;
    background: color-mix(in srgb, var(--surface-solid) 95%, transparent);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    gap: 2px;
    animation: menuSlide 0.35s var(--ease-spring);
    transform-origin: top center;
  }

  @keyframes menuSlide {
    from {
      opacity: 0;
      transform: scale(0.95) translateY(-10px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  .main-nav.open a {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: 12px;
    justify-content: flex-start;
    transition: all 0.25s var(--ease);
  }

  .main-nav.open a:active {
    background: var(--glow-soft);
    color: var(--accent);
    transform: scale(0.98);
  }

  /* ===== HERO ===== */
  .hero {
    padding: 80px 0 60px;
  }

  .hero-inner {
    padding: 0 4px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px 6px 10px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 28px;
    line-height: 1.6;
    padding: 0 4px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 32px;
    align-items: stretch;
    padding: 0 8px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  /* ===== MOCKUP ===== */
  .hero-mockup {
    margin-top: 50px;
    padding: 0 8px;
  }

  .mockup-body {
    padding: 22px 18px;
  }

  .mockup-step {
    font-size: 0.85rem;
    padding: 12px 0;
    gap: 12px;
  }

  .mockup-url {
    display: none;
  }

  .step-num {
    font-size: 0.68rem;
    width: 18px;
  }

  /* ===== SECTIONS ===== */
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    line-height: 1.12;
  }

  .section-label {
    font-size: 0.68rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  /* ===== BENTO ===== */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-card,
  .bento-large,
  .bento-wide {
    grid-column: span 1;
    grid-row: auto;
    min-height: auto;
    padding: 24px;
  }

  .bento-icon {
    margin-bottom: 16px;
  }

  .bento-card h3 {
    font-size: 1.15rem;
  }

  /* ===== MARQUEE ===== */
  .marquee-section {
    padding: 40px 0;
  }

  .marquee-track {
    gap: 28px;
    padding-right: 28px;
    animation-duration: 25s;
  }

  .marquee-track span {
    font-size: 1.05rem;
  }

  /* ===== NUMBERS ===== */
  .numbers-section {
    padding: 60px 0;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .number-value {
    font-size: 2rem;
  }

  .number-label {
    font-size: 0.72rem;
  }

  /* ===== CTA ===== */
  .cta-section {
    padding: 60px 0;
  }

  .cta-inner {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .cta-inner h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .cta-inner p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .cta-icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    margin-bottom: 20px;
  }

  /* ===== PAGE HERO ===== */
  .page-hero {
    padding: 80px 0 40px;
  }

  .page-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    line-height: 1.1;
  }

  /* ===== BUTTONS ===== */
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  /* ===== FOOTER ===== */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
}

/* ---------- MOBIL (≤ 600px) ---------- */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 70px 0 50px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .logo-text {
    display: none;
  }

  .logo-img {
    width: 24px;
    height: 24px;
  }

  .header-pill {
    height: 50px;
    padding: 0 4px 0 12px;
  }

  .theme-toggle {
    width: 30px;
    height: 30px;
  }

  .btn-nav,
  .btn-login,
  .btn-account {
    padding: 7px 9px;
  }

  .bento-card {
    padding: 20px;
  }

  .marquee-track span {
    font-size: 0.95rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* ---------- MOBIL MIC (≤ 400px) ---------- */
@media (max-width: 400px) {
  .container {
    padding: 0 14px;
  }

  .header-pill {
    padding: 0 4px 0 10px;
    gap: 3px;
  }

  .header-actions {
    gap: 3px;
  }

  .theme-toggle,
  .btn-nav,
  .btn-login,
  .btn-account {
    padding: 6px 8px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .bg-orb { animation: none; }
  .marquee-track { animation: none; }
  .cta-inner::before { animation: none; }
  .btn-nav::before { display: none; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .bg-layer,
  .cursor-dot,
  .cursor-ring,
  .scroll-progress,
  .marquee-section { display: none; }
  body { background: white; color: black; }
}