/* =====================================================
   Actual Technology SRL — style.css  (v3, dark futurist)
   Stil inspirat din site-urile AI moderne:
   fundal întunecat, orbe luminoase, glow, glassmorphism
   ===================================================== */

:root {
  --bg: #060B14;
  --bg-alt: #0A1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(148, 180, 210, 0.14);
  --text: #E9F0F8;
  --text-dim: #93A5B8;
  --accent: #38BDF8;          /* albastru strălucitor din sfera logoului */
  --accent-deep: #115E86;
  --accent-soft: #1B8DC4;
  --teal: #5EEAD4;
  --grad: linear-gradient(120deg, #38BDF8, #1B8DC4 50%, #115E86);
  --radius: 18px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --glow: 0 0 40px rgba(56, 189, 248, 0.35);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

/* ---------- Fundal global: orbe + grilă ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
.orb--1 { width: 560px; height: 560px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(27,141,196,0.5), transparent 70%); }
.orb--2 { width: 480px; height: 480px; bottom: -160px; left: -140px; background: radial-gradient(circle, rgba(17,94,134,0.55), transparent 70%); animation-delay: -5s; }
.orb--3 { width: 360px; height: 360px; top: 40%; left: 55%; background: radial-gradient(circle, rgba(94,234,212,0.18), transparent 70%); animation-delay: -9s; }

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -50px) scale(1.12); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 180, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 210, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

/* ---------- Text gradient animat ---------- */
.grad-animated {
  background: linear-gradient(90deg, #38BDF8, #5EEAD4, #1B8DC4, #38BDF8);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 250% center; } }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

/* ---------- Butoane ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(27, 141, 196, 0.4);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(56, 189, 248, 0.5); }

/* efect shimmer (lumină care trece peste buton) */
.btn--shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer { 45% { left: 160%; } 100% { left: 160%; } }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(56, 189, 248, 0.5); transform: translateY(-3px); }
.btn--ghost .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn--ghost:hover .arrow { transform: translateX(5px); }

.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.header.scrolled {
  background: rgba(6, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  padding: 0.55rem 0;
}

.header__inner { display: flex; align-items: center; gap: 2rem; }

.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo__img {
  width: 44px; height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
}
.logo__text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}
.logo__text strong { color: var(--accent); font-weight: 700; }

.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.header__phone:hover { background: rgba(56, 189, 248, 0.1); box-shadow: 0 0 20px rgba(56, 189, 248, 0.25); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
}

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
  animation: fadeUp 0.8s ease both;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.hero__title {
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s ease 0.12s both;
}

.hero__subtitle {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease 0.24s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s ease 0.36s both;
}

.hero__stats { display: flex; gap: 2.6rem; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.48s both; }
.stat__num, .stat__plus { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.stat__plus { color: var(--accent); }
.stat p { font-size: 0.84rem; color: var(--text-dim); margin-top: 0.1rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Dashboard 3D plutitor ---------- */
.hero__visual {
  position: relative;
  perspective: 1200px;
  animation: fadeUp 0.9s ease 0.4s both;
}

.dashboard {
  position: relative;
  background: rgba(13, 22, 38, 0.85);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(27, 141, 196, 0.18);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.2s ease-out;
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.dashboard__glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), transparent 30%, transparent 70%, rgba(94, 234, 212, 0.18));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.dashboard__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--surface-border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #FB7185; } .dot--y { background: #FBBF24; } .dot--g { background: #34D399; }
.dashboard__url {
  margin-left: 0.8rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.9rem;
  border-radius: 6px;
}

.dashboard__body { display: flex; }

.dashboard__side {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0.8rem;
  border-right: 1px solid var(--surface-border);
}
.side-item { width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); }
.side-item--active { background: rgba(56, 189, 248, 0.3); box-shadow: 0 0 12px rgba(56, 189, 248, 0.3); }

.dashboard__main { flex: 1; padding: 1rem; }

.dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 0.9rem; }
.dash-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.dash-label { font-size: 0.62rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.dash-trend { font-size: 0.62rem; color: var(--text-dim); }
.dash-trend.up { color: #34D399; }

.dash-chart { margin-bottom: 0.9rem; }
.dash-chart svg { width: 100%; height: 78px; }
.chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2.4s ease forwards 0.8s;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.dash-bars { display: flex; align-items: flex-end; gap: 7px; height: 56px; }
.dash-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.85), rgba(17, 94, 134, 0.5));
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: barGrow 1s ease backwards;
}
.dash-bars span:nth-child(2) { animation-delay: 0.1s; }
.dash-bars span:nth-child(3) { animation-delay: 0.2s; }
.dash-bars span:nth-child(4) { animation-delay: 0.3s; }
.dash-bars span:nth-child(5) { animation-delay: 0.4s; }
.dash-bars span:nth-child(6) { animation-delay: 0.5s; }
.dash-bars span:nth-child(7) { animation-delay: 0.6s; }
@keyframes barGrow { from { transform: scaleY(0); } }

/* etichete plutitoare */
.float-chip {
  position: absolute;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(13, 22, 38, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  animation: floatY 5s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip--1 { top: -16px; right: 4%; animation-delay: -1.4s; }
.float-chip--2 { bottom: 16%; left: -26px; animation-delay: -2.8s; }
.float-chip--3 { bottom: -14px; right: 12%; animation-delay: -0.6s; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.95rem 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee__track i { color: var(--accent); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secțiuni ---------- */
.section { padding: 6rem 0; position: relative; }
.section--alt { background: rgba(255, 255, 255, 0.018); border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section__head p { color: var(--text-dim); margin-top: 0.8rem; }

/* ---------- Carduri servicii ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), var(--glow);
}
.card:hover::before { opacity: 1; }

.card__icon {
  font-size: 1.9rem;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  margin-bottom: 1.2rem;
  box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.08);
}
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.94rem; color: var(--text-dim); }

/* ---------- Secțiunea AI ---------- */
.section--ai {
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(17, 94, 134, 0.22), transparent 70%),
    rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.ai {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.ai__visual { position: relative; display: grid; place-items: center; }
.neural { width: min(100%, 420px); filter: drop-shadow(0 0 26px rgba(56, 189, 248, 0.3)); }
.ai__visual-glow {
  position: absolute;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(27, 141, 196, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.ai__text p { color: var(--text-dim); margin: 0.9rem 0 1.6rem; }

.ai__features { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.ai-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.ai-feature:hover { border-color: rgba(94, 234, 212, 0.4); transform: translateX(6px); }
.ai-feature__icon {
  font-size: 1.4rem;
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 12px;
}
.ai-feature h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.ai-feature p { font-size: 0.88rem; color: var(--text-dim); margin: 0; }

/* ---------- Despre ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.about__text p { color: var(--text-dim); margin: 1rem 0 1.4rem; }

.checklist { list-style: none; margin-bottom: 2rem; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  font-size: 0.97rem;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(94, 234, 212, 0.6);
}

.about__visual { display: grid; place-items: center; }
.orbit { position: relative; width: 330px; height: 330px; display: grid; place-items: center; }
.orbit__core {
  width: 170px; height: 170px;
  display: grid; place-items: center;
  z-index: 2;
}
.orbit__core img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.55));
  animation: floatY 6s ease-in-out infinite;
}
.orbit__ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(148, 180, 210, 0.3);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}
.orbit__ring--2 { inset: 40px; animation-duration: 16s; animation-direction: reverse; }
.orbit__ring--3 { inset: 80px; animation-duration: 11s; }
.orbit__ring span {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-alt);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.step {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(56, 189, 248, 0.4); box-shadow: var(--glow); }
.step__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.9rem;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.9rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq__item[open] { border-color: rgba(56, 189, 248, 0.4); box-shadow: 0 0 26px rgba(27, 141, 196, 0.12); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-dim);
  font-size: 0.94rem;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact__info { display: grid; gap: 1rem; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
a.contact__item:hover { border-color: rgba(56, 189, 248, 0.5); transform: translateX(5px); box-shadow: var(--glow); }
.contact__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 1.3rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
}
.contact__item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.contact__item strong { font-size: 0.98rem; font-weight: 600; }

.form {
  background: rgba(13, 22, 38, 0.6);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__group { margin-bottom: 1.1rem; }
.form__group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dim);
}
.form__group input,
.form__group textarea {
  width: 100%;
  background: rgba(6, 11, 20, 0.65);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.form__group input::placeholder, .form__group textarea::placeholder { color: #5C7089; }
.form__group input:focus, .form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18), 0 0 22px rgba(56, 189, 248, 0.15);
}
.form__status { margin-top: 0.9rem; font-size: 0.9rem; text-align: center; min-height: 1.3em; }
.form__status.ok { color: #34D399; }
.form__status.err { color: #FB7185; }

/* ---------- Footer ---------- */
.footer {
  background: #03060D;
  border-top: 1px solid var(--surface-border);
  padding-top: 3.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer__brand p { color: var(--text-dim); font-size: 0.92rem; margin-top: 1rem; max-width: 280px; }
.footer__col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 0.93rem;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
  transition: color 0.25s ease;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--surface-border);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(27, 141, 196, 0.5);
  z-index: 90;
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .dashboard { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 4rem; }
  .hero__visual { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 920px) {
  .about, .ai { grid-template-columns: 1fr; gap: 3rem; }
  .ai__visual { order: -1; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(78%, 320px);
    height: 100vh;
    background: rgba(6, 11, 20, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.35s ease;
    z-index: 99;
  }
  .nav.open { right: 0; }
  .nav__link { font-size: 1.15rem; }

  .header__phone { display: none; }
  .burger { display: flex; margin-left: auto; z-index: 100; }

  .hero { padding-top: 7rem; }
  .hero__stats { gap: 1.6rem; }

  .dashboard { transform: none; }
  .float-chip--2 { left: -8px; }

  .section { padding: 4.2rem 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .orbit { width: 270px; height: 270px; }
  .orbit__core { width: 130px; height: 130px; }
}
