/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-3: #1a1a24;
  --border: rgba(255,255,255,0.07);
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --accent: #6c63ff;
  --accent-2: #a855f7;
  --accent-3: #22d3ee;
  --success: #10b981;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --gradient-text: linear-gradient(135deg, #6c63ff, #a855f7, #22d3ee);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(108,99,255,0.15);
  --transition: 0.25s ease;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ===========================
   PIXEL GRID + AMBIENT GLOW pe tot site-ul
=========================== */
section { position: relative; }

/* Grid pixel vizibil pe toate secțiunile (nu hero — el are deja) */
section:not(#hero)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Conținutul secțiunilor e deasupra grid-ului */
section:not(#hero) > .container { position: relative; z-index: 1; }

/* Ambient glow colorat, diferit per secțiune */
#services::after    { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 70% 60% at 90% 15%, rgba(108,99,255,0.10) 0%, transparent 65%); pointer-events:none; z-index:0; }
#how-it-works::after{ content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 70% at 10% 50%, rgba(34,211,238,0.08) 0%, transparent 65%); pointer-events:none; z-index:0; }
#pricing::after     { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 70% 60% at 15% 80%, rgba(168,85,247,0.10) 0%, transparent 65%); pointer-events:none; z-index:0; }
#about::after       { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 70% at 85% 40%, rgba(108,99,255,0.09) 0%, transparent 65%); pointer-events:none; z-index:0; }
#faq::after         { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 60% at 50% 20%, rgba(108,99,255,0.08) 0%, transparent 65%); pointer-events:none; z-index:0; }
#testimonials::after{ content:''; position:absolute; inset:0; background:radial-gradient(ellipse 65% 60% at 75% 30%, rgba(168,85,247,0.09) 0%, transparent 65%); pointer-events:none; z-index:0; }
#contact::after     { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 60% at 70% 70%, rgba(34,211,238,0.08) 0%, transparent 65%); pointer-events:none; z-index:0; }

/* ===========================
   PIXEL LOGO
=========================== */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-pixel { flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(108,99,255,0.6)); transition: filter 0.3s; }
.logo:hover .logo-pixel { filter: drop-shadow(0 0 10px rgba(168,85,247,0.8)); }
.logo-text { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 1.1rem; letter-spacing: 0.05em; background: linear-gradient(135deg, #6c63ff, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===========================
   PIXEL GRID BACKGROUND
=========================== */
#hero { position: relative; overflow: hidden; }
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-content, .hero-bg, .scroll-indicator { position: relative; z-index: 1; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
p { color: var(--text-muted); line-height: 1.75; }

.gradient-text {
  background: linear-gradient(135deg, #6c63ff, #a855f7, #22d3ee, #a855f7, #6c63ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 6s ease-in-out infinite;
}

@keyframes gradientShimmer {
  0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 0 24px rgba(108,99,255,0.5)); }
  50%       { background-position: 100% 50%; filter: drop-shadow(0 0 48px rgba(168,85,247,0.85)); }
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  min-height: 44px;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(108,99,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,99,255,0.6);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.full-width { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ===========================
   SECTION HEADERS
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { margin: 12px 0 16px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(108,99,255,0.08);
  color: var(--accent);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(108,99,255,0.18);
}

/* ===========================
   NAVBAR
=========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.logo-icon { font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.nav-cta {
  background: var(--gradient);
  color: #fff;
  padding: 10px 22px;
}
.nav-links a.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   HERO
=========================== */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: var(--accent-2); bottom: -100px; left: -100px; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; background: var(--accent-3); top: 50%; left: 40%; animation-delay: -6s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Scanlines — element separat, nu ::after (folosit de spotlight) */
#hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.025) 3px,
    rgba(0,0,0,0.025) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 10px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.22);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.badge::before {
  content: '//';
  color: var(--accent-2);
  font-weight: 700;
}

#hero h1 { margin-bottom: 24px; }
.hero-subtitle {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgba(232,232,240,0.7);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(108,99,255,0.5);
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Terminal decorativ ─────────────────────────────────────── */
.hero-terminal {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  background: rgba(10,10,15,0.85);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(108,99,255,0.1) inset;
  z-index: 3;
  pointer-events: none;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.t-dot.r { background: #ff5f57; }
.t-dot.y { background: #febc2e; }
.t-dot.g { background: #28c840; }
.t-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.05em;
}
.terminal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.t-line {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: termLine 0.3s ease forwards;
}
.t-line:nth-child(1) { animation-delay: 0.3s; }
.t-line:nth-child(2) { animation-delay: 0.9s; }
.t-line:nth-child(3) { animation-delay: 1.4s; }
.t-line:nth-child(4) { animation-delay: 1.9s; }
.t-line:nth-child(5) { animation-delay: 2.4s; }
@keyframes termLine {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}
.t-prompt { color: var(--accent); font-weight: 700; }
.t-ok { color: #28c840; font-size: 0.7rem; }
.t-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

@media (max-width: 1024px) {
  .hero-terminal { display: none; }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
  margin: 0 auto;
  box-shadow: 0 0 8px var(--accent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ===========================
   SERVICES
=========================== */
#services { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 10%, var(--bg-2) 90%, var(--bg) 100%); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Cardul de mentenanță — centrat jos, același stil ca celelalte */
.services-grid .service-card:last-child {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card:last-child {
    max-width: 100%;
  }
}

.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(108,99,255,0.2);
}
.service-card.featured {
  background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(168,85,247,0.05));
  border-color: rgba(108,99,255,0.2);
  box-shadow: 0 0 30px rgba(108,99,255,0.08);
}
.service-card.featured::before {
  opacity: 1;
  background: linear-gradient(90deg, #6c63ff, #a855f7, #22d3ee, #6c63ff);
  background-size: 300% 100%;
  animation: topBarSlide 3s linear infinite;
  transition: none;
}
@keyframes topBarSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 12px;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: rgba(108,99,255,0.2);
  border-color: rgba(108,99,255,0.4);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 20px rgba(108,99,255,0.3);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 20px; font-size: 0.92rem; }

.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.service-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.service-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap var(--transition);
}
.service-link:hover { letter-spacing: 0.02em; }

/* ===========================
   HOW IT WORKS
=========================== */
#how-it-works { background: var(--bg); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 400;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0 12px rgba(108,99,255,0.4));
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

.step-arrow {
  color: var(--text-muted);
  font-size: 1.5rem;
  padding-top: 32px;
  flex-shrink: 0;
}

/* ===========================
   PRICING
=========================== */
#pricing { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 10%, var(--bg-2) 90%, var(--bg) 100%); }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  font-size: 0.95rem;
  font-weight: 500;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); background: #fff; }

.save-badge {
  background: var(--success);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Linie accent stânga */
.pricing-card::after {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(108,99,255,0.4), transparent);
  transition: all 0.3s ease;
}
.pricing-card:hover::after {
  top: 10%; bottom: 10%;
  background: linear-gradient(to bottom, transparent, rgba(108,99,255,0.8), transparent);
}
.pricing-card .plan-features { flex: 1; }
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(108,99,255,0.2);
  border-color: rgba(108,99,255,0.35);
  background: linear-gradient(135deg, rgba(108,99,255,0.04), var(--bg-3));
}

.pricing-card.popular {
  border-color: transparent;
  background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
              linear-gradient(135deg, #6c63ff, #a855f7, #22d3ee, #a855f7, #6c63ff) border-box;
  background-size: auto, 300% 300%;
  box-shadow: 0 0 40px rgba(108,99,255,0.2), 0 20px 60px rgba(0,0,0,0.4);
  transform: scale(1.04);
  animation: popularPulse 3s ease-in-out infinite, borderShift 5s linear infinite;
}
.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-6px);
  animation: borderShift 3s linear infinite;
  box-shadow: 0 0 70px rgba(108,99,255,0.4), 0 24px 60px rgba(0,0,0,0.5);
}
.pricing-card.popular::after { display: none; }

@keyframes popularPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(108,99,255,0.2), 0 20px 60px rgba(0,0,0,0.4); }
  50%       { box-shadow: 0 0 60px rgba(168,85,247,0.3), 0 20px 60px rgba(0,0,0,0.4); }
}
@keyframes borderShift {
  0%   { background-size: auto, 300% 300%; background-position: auto, 0% 50%; }
  50%  { background-position: auto, 100% 50%; }
  100% { background-position: auto, 0% 50%; }
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6c63ff, #a855f7);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.85;
}
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.currency { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text-muted); margin-top: 4px; }
.amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-period { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 0.03em; }
.plan-desc { font-size: 0.88rem; margin-bottom: 24px; min-height: 48px; line-height: 1.65; }

.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.plan-example { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-bottom: 24px; }
.pricing-label { text-align: center; font-size: 1rem; font-weight: 700; color: var(--text-muted); margin-bottom: 32px; margin-top: 72px; letter-spacing: 0.02em; }
.pricing-label:first-of-type { margin-top: 0; }

.maintenance-card {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 48px;
  gap: 48px; margin-top: 16px;
}
.maintenance-left { flex: 1; }
.maintenance-right { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 180px; }

.testimonials-empty { text-align: center; padding: 64px 0; }
.testimonials-empty .empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.testimonials-empty p { color: var(--text-muted); font-size: 1rem; }

.pricing-note { text-align: center; margin-top: 48px; color: var(--text-muted); font-size: 0.9rem; }
.pricing-note a { color: var(--accent); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .maintenance-card { flex-direction: column; padding: 32px 24px; text-align: center; }
  .maintenance-right { width: 100%; }
}
.plan-features li { font-size: 0.88rem; color: var(--text); }
.plan-features li.muted { color: var(--text-muted); opacity: 0.5; }

/* ===========================
   TESTIMONIALS
=========================== */
#testimonials { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,99,255,0.3);
  box-shadow: 0 0 30px rgba(108,99,255,0.12);
}

.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; }
.testimonial-card p { font-size: 0.95rem; font-style: italic; margin-bottom: 24px; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ===========================
   ABOUT
=========================== */
#about { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 10%, var(--bg-2) 90%, var(--bg) 100%); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }

.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.value { display: flex; align-items: flex-start; gap: 16px; }
.value-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.value strong { display: block; color: var(--text); margin-bottom: 4px; }
.value p { font-size: 0.88rem; margin: 0; }

.about-visual {
  position: relative;
  height: 400px;
}
.visual-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.visual-card.main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  text-align: center;
}
.visual-card.main-card .visual-icon { font-size: 2.5rem; margin-bottom: 12px; }
.visual-card.main-card h3 { margin-bottom: 8px; }
.visual-card.main-card p { font-size: 0.85rem; margin-bottom: 20px; }
.visual-card.mini-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(108,99,255,0.1);
  border-color: rgba(108,99,255,0.2);
}
.visual-card.mini-card.top { top: 24px; right: 0; }
.visual-card.mini-card.bottom { bottom: 24px; left: 0; }

/* ===========================
   FAQ
=========================== */
#faq { background: var(--bg); }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-question:hover { color: var(--accent); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: all 0.35s ease;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ===========================
   CONTACT
=========================== */
#contact { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 10%, var(--bg-2) 90%, var(--bg) 100%); }

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

.contact-info .section-tag { margin-bottom: 16px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon { font-size: 1.2rem; }
.contact-item a, .contact-item span { color: var(--text-muted); font-size: 0.95rem; transition: color var(--transition); }
.contact-item a:hover { color: var(--accent); }

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(108,99,255,0.1); }

.contact-form {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 1rem;
  min-height: 44px;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.2);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; }

.form-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; }

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }

/* ===========================
   FOOTER
=========================== */
#footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}
#footer > .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: 0.88rem; max-width: 260px; }

.footer-links h4 { margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.82rem; }


/* ===========================
   FLOATING PIXELS
=========================== */
.floating-pixel {
  position: absolute;
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
  animation: floatUp linear forwards;
}

@keyframes floatUp {
  0%   { opacity: 0;   transform: translateY(0)      rotate(0deg); }
  10%  { opacity: 0.8; }
  80%  { opacity: 0.5; }
  100% { opacity: 0;   transform: translateY(-220px) rotate(180deg); }
}

/* ===========================
   ANIMATIONS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }

  /* ── Navbar ── */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 14px 32px;
    color: var(--text-muted);
    border-radius: 8px;
    letter-spacing: -0.01em;
    width: 100%;
    text-align: center;
  }
  .nav-links.open a:hover { color: var(--text); background: rgba(108,99,255,0.08); }
  .nav-links.open a.nav-cta {
    background: linear-gradient(135deg, #6c63ff, #a855f7);
    color: #fff;
    margin-top: 8px;
    width: auto;
    padding: 14px 40px;
  }
  .menu-toggle { display: flex; z-index: 1000; }

  /* ── Hero ── */
  #hero { padding: 100px 0 56px; text-align: center; }
  #hero .hero-content { max-width: 100%; }
  .badge {
    font-size: 0.72rem;
    padding: 6px 12px;
    justify-content: center;
  }
  .hero-subtitle { font-size: 0.98rem; margin: 0 auto 28px; }
  .hero-actions { justify-content: center; gap: 10px; margin-bottom: 36px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .stat { align-items: center; }
  .stat-divider { display: none; }
  .stat-number { font-size: 1.6rem; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 36px; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }
  .service-icon { width: 44px; height: 44px; font-size: 1.4rem; border-radius: 10px; margin-bottom: 18px; }

  /* ── How it works ── */
  .steps-grid { flex-direction: column; align-items: stretch; gap: 0; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; text-align: center; }
  .step { padding: 20px 16px; text-align: center; }

  /* ── Pricing ── */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card { padding: 28px 22px; }
  .pricing-card::after { display: none; } /* ascunde accent line pe mobile */
  .pricing-card.popular { transform: none; animation: popularPulse 3s ease-in-out infinite; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .amount { font-size: 2.8rem; }
  .maintenance-card { flex-direction: column; padding: 28px 20px; gap: 24px; text-align: center; }
  .maintenance-right { width: 100%; }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 22px; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { display: none; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-info { text-align: center; }
  .contact-details { align-items: center; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===========================
   ACCESSIBILITY & MOTION
=========================== */

/* Focus rings vizibile pentru navigare cu tastatura */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respectă preferința de mișcare redusă */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .floating-pixel { display: none; }
  .blob { animation: none; }
}

@media (max-width: 480px) {
  section { padding: 44px 0; }
  .container { padding: 0 16px; }

  h1 { font-size: 2rem; letter-spacing: -0.025em; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }

  /* Hero */
  .badge { font-size: 0.68rem; padding: 5px 10px; }
  .badge::before { content: none; } /* ascunde // pe ecrane mici */
  #hero { padding: 90px 0 48px; }
  .hero-subtitle { font-size: 0.92rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; border-radius: 8px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; }

  /* Section */
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.9rem; }
  .section-tag { font-size: 0.65rem; }

  /* Cards */
  .service-card { padding: 20px 16px; }
  .service-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .pricing-card { padding: 22px 16px; }
  .amount { font-size: 2.6rem; }
  .popular-badge { font-size: 0.62rem; padding: 3px 12px; }

  /* Steps */
  .step-number { font-size: 2rem; }
  .step { padding: 16px 12px; }

  /* Contact */
  .contact-form { padding: 20px 16px; }
  input, select, textarea { font-size: 1rem !important; } /* previne zoom iOS */

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================
   FUTURISTIC DESKTOP ENHANCEMENTS
=========================== */

/* --- Scroll Progress Bar --- */
#progressBar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #6c63ff, #a855f7, #22d3ee);
  z-index: 9999;
  box-shadow: 0 0 10px rgba(108,99,255,0.9), 0 0 20px rgba(168,85,247,0.5);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* --- Mouse Spotlight pe Hero --- */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px circle at var(--mouse-x, 30%) var(--mouse-y, 50%),
    rgba(108,99,255,0.13) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}

/* --- Featured service card glow animat --- */
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(108,99,255,0.15), 0 0 0 1px rgba(108,99,255,0.25); border-color: rgba(108,99,255,0.25); }
  50%       { box-shadow: 0 0 50px rgba(168,85,247,0.22), 0 0 0 1px rgba(168,85,247,0.42); border-color: rgba(168,85,247,0.42); }
}
.service-card.featured { animation: featuredGlow 5s ease-in-out infinite; }
.service-card.featured:hover { animation: none; }

/* --- Pricing popular card animated top bar --- */
.pricing-card.popular { position: relative; }
.pricing-card.popular::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6c63ff, #a855f7, #22d3ee, #6c63ff);
  background-size: 300% 100%;
  animation: topBarSlide 3s linear infinite;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* --- Nav link underline hover --- */
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 55%; }

/* --- Btn primary inner glow on hover --- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}
.btn-primary:hover::after {
  width: 300px; height: 300px;
  opacity: 1;
}

/* --- Staggered reveal delays pentru grid-uri --- */
.services-grid .service-card:nth-child(1) { transition-delay: 0ms; }
.services-grid .service-card:nth-child(2) { transition-delay: 100ms; }
.services-grid .service-card:nth-child(3) { transition-delay: 200ms; }
.pricing-grid .pricing-card:nth-child(1) { transition-delay: 0ms; }
.pricing-grid .pricing-card:nth-child(2) { transition-delay: 120ms; }
.pricing-grid .pricing-card:nth-child(3) { transition-delay: 240ms; }
.steps-grid .step:nth-child(odd) { transition-delay: calc(var(--step-i, 0) * 100ms); }

/* --- Card tilt — smooth reset --- */
.service-card, .pricing-card {
  will-change: transform;
  transform-style: preserve-3d;
}

/* --- Badge hero pulsing glow --- */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108,99,255,0.3); }
  50%       { box-shadow: 0 0 0 6px rgba(108,99,255,0); }
}
.badge { animation: badgePulse 3s ease-in-out infinite; }

/* --- Stat numbers glow --- */
.stat-number {
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(108,99,255,0.6);
}

/* --- Contact form glass effect --- */
.contact-form {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- FAQ hover line color transition --- */
.faq-question { transition: color var(--transition), padding-left var(--transition); }
.faq-item.open .faq-question { color: var(--accent); padding-left: 4px; }

/* Disable heavy effects on mobile */
@media (max-width: 768px) {
  #hero::after { display: none; } /* mouse spotlight off */
  #hero .hero-bg::after { display: none; } /* scanlines off pe mobile */
  .badge { animation: none; }
  .service-card.featured { animation: none; }
  .btn-primary::after { display: none; }
  .pricing-card.popular::after { display: none; } /* animated top bar off */
  /* Dezactivăm animația borderShift pe mobile — prea scump */
  .pricing-card.popular {
    background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(168,85,247,0.05));
    border: 1px solid rgba(108,99,255,0.4);
    animation: popularPulse 3s ease-in-out infinite;
  }
}
