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

:root {
  --bg: #0A0A0F;
  --bg-2: #111118;
  --bg-card: #13131C;
  --violet: #8B5CF6;
  --violet-dim: rgba(139, 92, 246, 0.15);
  --pink: #FF4D6D;
  --pink-dim: rgba(255, 77, 109, 0.12);
  --green: #10B981;
  --text: #E8E8F0;
  --text-muted: #8888A0;
  --text-dim: #55556A;
  --border: rgba(255,255,255,0.07);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--violet);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 6rem 3rem 5rem;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  bottom: -100px;
  right: 30%;
  opacity: 0.2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--violet-dim);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.hero-headline span {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 600px;
  position: relative;
  overflow: hidden;
}

.hero-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
}

.spec-card-header {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.spec-product {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.spec-supplier {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.spec-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.spec-value.accent { color: var(--green); }

.spec-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.spec-delivery {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spec-delivery span { color: var(--green); font-weight: 700; }

/* ===== STATS ROW ===== */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0 3rem;
  text-align: center;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--violet);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.4;
}

.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== SECTION COMMON ===== */
section { padding: 5rem 3rem; }

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 720px;
  margin-bottom: 3rem;
  line-height: 1.15;
}

/* ===== HOW IT WORKS ===== */
.hiw { background: var(--bg-2); }

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
}

.hiw-step {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  transition: border-color 0.3s;
}

.hiw-step:hover { border-color: rgba(139, 92, 246, 0.4); }

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--violet-dim);
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, var(--violet), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.hiw-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hiw-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== PRODUCT SPOTLIGHT ===== */
.product { }

.product-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.pspec {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.pspec-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  flex-shrink: 0;
}

.pspec-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.pspec-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-verdict {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 500px;
}

.verdict-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.verdict-check { color: var(--green); font-weight: 700; }

/* ===== WHY NOW ===== */
.why-now { background: var(--bg-2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.why-card-1 {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(139,92,246,0.04));
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.why-card-2 {
  background: linear-gradient(135deg, rgba(255,77,109,0.1), rgba(255,77,109,0.03));
  border: 1px solid rgba(255, 77, 109, 0.15);
}

.why-card-3 {
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.03));
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.why-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.why-card-1 .why-tag { background: var(--violet-dim); color: var(--violet); }
.why-card-2 .why-tag { background: var(--pink-dim); color: var(--pink); }
.why-card-3 .why-tag { background: rgba(16,185,129,0.12); color: var(--green); }

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== AUTOMATION STACK ===== */
.stack { }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stack-category {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stack-cat-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--violet);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.stack-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stack-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}

/* ===== CLOSING ===== */
.closing {
  background: linear-gradient(135deg, var(--violet-dim), var(--pink-dim));
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.closing p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cta-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hiw-steps { grid-template-columns: repeat(3, 1fr); }
  .stack-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; min-height: auto; }
  section { padding: 3.5rem 1.5rem; }
  .stats-row { flex-wrap: wrap; gap: 1rem; padding: 2rem 1.5rem; }
  .stat-sep { display: none; }
  .stat-item { padding: 0.5rem 1rem; }
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: 1fr; }
  .spec-stats { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hiw-steps { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; }
  .stat-sep { display: block; width: 40px; height: 1px; }
}