/* =========================================================
   VANKA TEKNOLOGI — Landing Page Styles
   ========================================================= */

:root {
  --bg: #06070d;
  --bg-alt: #0a0c16;
  --surface: #10121e;
  --surface-2: #151827;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef0fa;
  --text-dim: #9aa0b8;
  --text-dimmer: #6b7089;

  --primary: #7c5cff;
  --primary-2: #4f7dff;
  --accent: #22d3ee;
  --accent-2: #ff6ec7;
  --success: #35e6a0;

  --gradient-brand: linear-gradient(120deg, #7c5cff 0%, #4f7dff 50%, #22d3ee 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(124,92,255,0.18), rgba(34,211,238,0.18));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 60px -20px rgba(124,92,255,0.35);
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Noise + cursor glow ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  display: none;
}
@media (min-width: 900px) { .cursor-glow { display: block; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.full-width { width: 100%; }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(124,92,255,0.6);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 40px -10px rgba(124,92,255,0.75); }
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: #0a0c16;
}
.btn-white:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 40px -10px rgba(0,0,0,0.4); }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-brand);
  box-shadow: 0 0 10px rgba(124,92,255,0.6);
  z-index: 210;
  transition: width 0.12s linear;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(6,7,13,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; }
.brand-mark {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--gradient-brand);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px -6px rgba(124,92,255,0.7);
}
.brand-text { font-size: 1.1rem; font-weight: 500; color: var(--text); }
.brand-text b { font-weight: 700; }

.nav-links { display: none; gap: 32px; }
.nav-link {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--text); }
.nav-link.active::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 6px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: rgba(10,12,22,0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 110px 36px;
  transition: right 0.5s var(--ease);
}
.mobile-menu.active { right: 0; }
.mobile-menu a {
  font-size: 1.1rem;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: 0s;
}
.mobile-menu.active a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.active a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu.active a:nth-child(7) { transition-delay: 0.44s; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 100%);
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
}
.blob-1 { width: 500px; height: 500px; background: #7c5cff; top: -120px; left: -100px; animation: drift1 18s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #22d3ee; bottom: -140px; right: -80px; animation: drift2 22s ease-in-out infinite; }
.blob-3 { width: 320px; height: 320px; background: #ff6ec7; top: 40%; right: 20%; opacity: 0.3; animation: drift1 26s ease-in-out infinite reverse; }

@keyframes drift1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(53,230,160,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(53,230,160,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(53,230,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,230,160,0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  margin-bottom: 22px;
}
.typed-wrap { display: block; margin-top: 6px; }
.typed { color: var(--accent); }
.typed-cursor { color: var(--accent); animation: blink 0.9s infinite; font-weight: 300; }
@keyframes blink { 0%, 45% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 480px;
}
@media (min-width: 560px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat span.counter,
.hero-stat > span:not(.counter) {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  display: inline;
}
.hero-stat p { font-size: 0.82rem; color: var(--text-dimmer); margin-top: 4px; }

/* Hero visual card */
.hero-visual { position: relative; height: 100%; min-height: 380px; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}
.hero-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.hero-card-top .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.hero-card-top span { margin-left: 8px; font-size: 0.78rem; color: var(--text-dimmer); font-family: 'Space Grotesk', monospace; }

.hero-card-body {
  padding: 22px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
}
.hero-card-body p { margin-bottom: 10px; color: var(--text-dim); }
.code-key { color: var(--primary); font-weight: 700; margin-right: 6px; }
.code-ok { color: var(--success); }
.code-accent { color: var(--accent); font-weight: 600; }

.chip {
  position: absolute;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
}
.chip-1 { top: -6px; right: -10px; }
.chip-2 { bottom: 40px; left: -30px; }
.chip-3 { bottom: -20px; right: 10px; }

@media (max-width: 640px) {
  .chip { display: none; }
}

.float-anim { animation: float 5s ease-in-out infinite; }
.float-anim-slow { animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  color: var(--text-dimmer);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--text-dimmer), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ===== Logo bar ===== */
.logo-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.logo-bar-label {
  text-align: center;
  color: var(--text-dimmer);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.logo-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.logo-slide {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}
.logo-slide span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dimmer);
  opacity: 0.6;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section generic ===== */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.section-desc { color: var(--text-dim); font-size: 1.02rem; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  padding: 34px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand-soft);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124,92,255,0.4);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-card.featured {
  background: linear-gradient(160deg, rgba(124,92,255,0.12), var(--surface) 60%);
  border-color: rgba(124,92,255,0.35);
}
.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 2;
}

.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 14px; }
.service-list li {
  font-size: 0.86rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

/* ===== Why us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 960px) { .why-grid { grid-template-columns: 0.9fr 1.1fr; } }

.why-visual { position: relative; min-height: 380px; }
.why-glow {
  position: absolute;
  top: 10%; left: 10%;
  width: 70%; height: 70%;
  background: var(--gradient-brand);
  filter: blur(100px);
  opacity: 0.25;
  border-radius: 50%;
}
.why-image {
  position: relative;
  height: 340px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(124,92,255,0.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(34,211,238,0.3), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.why-image::after {
  content: '⚙️';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.5;
  animation: spin-slow 12s linear infinite;
}
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.why-stat-card {
  position: absolute;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-glow);
  top: 10px; left: -10px;
}
.why-stat-card-2 { top: auto; bottom: 10px; right: -10px; left: auto; }
.why-stat-card h4 { font-size: 1.5rem; color: var(--accent); }
.why-stat-card p { font-size: 0.78rem; color: var(--text-dimmer); margin-top: 4px; max-width: 140px; }

.why-list { margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 20px; }
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-dimmer);
  min-width: 44px;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-item p { color: var(--text-dim); font-size: 0.94rem; }

/* ===== Process ===== */
.process-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}
@media (min-width: 800px) { .process-track { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.35s var(--ease);
}
.process-step:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.4); }
.process-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: var(--text-dim); font-size: 0.9rem; }

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #4f2dff 0%, #7c5cff 45%, #22d3ee 100%);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
}
.cta-inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; }

/* ===== Kontak ===== */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 960px) { .kontak-grid { grid-template-columns: 0.85fr 1.15fr; } }

.kontak-item {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.kontak-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
}
.kontak-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.kontak-item p { color: var(--text-dim); font-size: 0.9rem; }

.social-row { display: flex; gap: 12px; margin-top: 36px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}
.social-row a:hover { background: var(--gradient-brand); border-color: transparent; transform: translateY(-3px); }

.kontak-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.94rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.2);
}
.form-group textarea { resize: vertical; }
.form-note { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--success); min-height: 1.2em; }
.form-note.form-note-error { color: #ff6e6e; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); } }

.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 18px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-dimmer); font-size: 0.85rem; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(124,92,255,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(37,211,102,0.6);
  z-index: 90;
  animation: wa-pulse 2.4s ease-in-out infinite;
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px -4px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 24px -4px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0); }
}

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="zoom"] { transform: scale(0.85) translateY(16px); }

[data-reveal].in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* stagger children a bit using nth-child inside grids */
.services-grid [data-reveal].in-view,
.process-track [data-reveal].in-view,
.why-list [data-reveal].in-view {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* Brief highlight pulse when jumping to a section via nav click */
.section-flash .section-title,
.section-flash .section-tag {
  animation: section-flash-glow 0.9s ease;
}
@keyframes section-flash-glow {
  0% { text-shadow: 0 0 0 rgba(124,92,255,0); }
  30% { text-shadow: 0 0 24px rgba(124,92,255,0.55); }
  100% { text-shadow: 0 0 0 rgba(124,92,255,0); }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

@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;
  }
}
