/*
 * ============================================================
 *  Smartpic.id — Main Stylesheet
 *  Creative Studio · Jakarta, Indonesia
 * ============================================================
 *
 *  TABLE OF CONTENTS
 *  ─────────────────
 *  1.  Reset & Variables
 *  2.  Utilities & Base
 *  3.  Buttons
 *  4.  Navbar
 *  5.  Hero Section
 *  6.  About Section
 *  7.  Services Section
 *  8.  How We Work Section
 *  9.  Why Choose Section
 *  10. CTA Section
 *  11. Footer
 *  12. Motion & Animation Layer
 *  13. Hero Exclusive Animations
 *  14. Responsive Breakpoints
 * ============================================================
 */

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

:root {
  --primary:   #6C47FF;
  --primary-dark: #5130E8;
  --accent:    #FF6B35;
  --dark:      #0D0D0D;
  --dark-2:    #1A1A2E;
  --mid:       #3D3D5C;
  --light:     #F4F4F9;
  --muted:     #7B7B9A;
  --white:     #FFFFFF;
  --card-bg:   #16162A;
  --border:    rgba(255,255,255,0.08);
  --radius:    16px;
  --radius-sm: 8px;
  --shadow:    0 8px 40px rgba(108,71,255,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-2);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── UTILITIES ─────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(108,71,255,.12);
  border: 1px solid rgba(108,71,255,.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(108,71,255,.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,71,255,.55);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(255,107,53,.4);
}
.btn-accent:hover {
  background: #e85c28;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,53,.55);
}

/* ─── NAVBAR ────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  backdrop-filter: blur(16px);
  background: rgba(13,13,30,.7);
  border-bottom: 1px solid var(--border);
  transition: padding .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 22px; font-weight: 900; color: var(--white); text-decoration: none;
  letter-spacing: -.5px;
}
.logo span { color: var(--primary); }
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ─── HERO ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(108,71,255,.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255,107,53,.12) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: gradAnim 12s ease infinite;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,71,255,.12);
  border: 1px solid rgba(108,71,255,.3);
  border-radius: 100px; padding: 6px 14px 6px 8px;
  font-size: 13px; color: #c4b7ff; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero p {
  font-size: 18px; color: var(--muted); line-height: 1.7; margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 52px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 28px; font-weight: 900; color: var(--white);
}
.stat-num span { color: var(--primary); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* hero visual */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-card-main {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative; z-index: 2;
}
.hero-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.card-dots { display: flex; gap: 6px; }
.card-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }
.card-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted);
}
.hero-chip {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  white-space: nowrap;
}
.chip-icon { font-size: 20px; }
.chip-sub { font-size: 11px; color: var(--muted); font-weight: 400; }
.hero-chip.chip-1 { top: -20px; right: -30px; }
.hero-chip.chip-2 { bottom: 40px; left: -30px; }


/* ─── ABOUT ─────────────────────────────────────────── */
#about { background: rgba(0,0,0,.2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.about-icon-row {
  display: flex; gap: 12px; margin-bottom: 24px;
}
.about-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.about-icon.purple { background: rgba(108,71,255,.2); }
.about-icon.orange { background: rgba(255,107,53,.2); }
.about-icon.teal   { background: rgba(20,184,166,.2);  }
.about-desc { font-size: 15px; color: var(--muted); line-height: 1.7; }
.about-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(108,71,255,.5);
}
.float-num { font-size: 32px; font-weight: 900; }
.float-txt { font-size: 12px; opacity: .8; margin-top: 2px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p  { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.about-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--muted);
}
.bullet-check {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(108,71,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--primary); margin-top: 1px;
}

/* ─── SERVICES ──────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #a78bfa);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(108,71,255,.35); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 24px;
}
.service-icon.v1 { background: rgba(108,71,255,.15); }
.service-icon.v2 { background: rgba(255,107,53,.15); }
.service-icon.v3 { background: rgba(20,184,166,.15); }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card .desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.75);
}
.service-list li::before {
  content: '→'; color: var(--primary); flex-shrink: 0; font-weight: 700;
}
.service-tag-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
.service-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(108,71,255,.12);
  color: #c4b7ff;
  border: 1px solid rgba(108,71,255,.2);
}

/* ─── HOW WE WORK ────────────────────────────────────── */
.how-header { margin-bottom: 72px; }

/* Animated connector line */
.how-wrapper { position: relative; }
.how-connector {
  position: absolute; top: 52px;
  left: calc(100% / 10 + 32px); right: calc(100% / 10 + 32px);
  height: 2px; z-index: 0;
}
.how-connector-track {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,.07) 0, rgba(255,255,255,.07) 8px,
    transparent 8px, transparent 18px);
}
.how-connector-fill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary), #a78bfa, var(--accent));
  transition: width 2s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 0 14px rgba(108,71,255,.7);
  border-radius: 2px;
}
.how-connector-fill.active { width: 100%; }

/* Step grid */
.how-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 14px;
  position: relative; z-index: 1;
}

/* Step card */
.how-step {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 18px 26px;
  position: relative; overflow: hidden; text-align: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1),
              border-color .3s, box-shadow .35s;
  cursor: default;
}
.how-step::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sc, var(--primary)), transparent);
  opacity: 0; transition: opacity .3s;
}
.how-step:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(0,0,0,.45); border-color: var(--sc, var(--primary)); }
.how-step:hover::after { opacity: 1; }

/* Step color tokens */
.how-step:nth-child(1) { --sc:#6C47FF; --sb:rgba(108,71,255,.12); }
.how-step:nth-child(2) { --sc:#FF6B35; --sb:rgba(255,107,53,.12);  }
.how-step:nth-child(3) { --sc:#14B8A6; --sb:rgba(20,184,166,.12);  }
.how-step:nth-child(4) { --sc:#a78bfa; --sb:rgba(167,139,250,.12); }
.how-step:nth-child(5) { --sc:#FBBF24; --sb:rgba(251,191,36,.12);  }

/* Big faded bg number */
.how-num-bg {
  position: absolute; bottom: -14px; right: -2px;
  font-size: 96px; font-weight: 900; line-height: 1;
  letter-spacing: -4px; pointer-events: none; user-select: none;
  color: var(--sc, var(--primary)); opacity: .05;
  transition: opacity .3s;
}
.how-step:hover .how-num-bg { opacity: .12; }

/* Icon */
.how-icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  background: var(--sb, rgba(108,71,255,.12)); position: relative; z-index: 1;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.how-step:hover .how-icon { transform: scale(1.12) rotate(-6deg); box-shadow: 0 10px 28px rgba(0,0,0,.35); }

/* Step label, title, desc */
.how-step-label {
  font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sc, var(--primary)); margin-bottom: 10px;
}
.how-step h3 { font-size: 15px; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.how-step p  { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }

/* Checklist */
.how-checks { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.how-check  { font-size: 11px; color: rgba(255,255,255,.45); display: flex; align-items: center; gap: 8px; }
.how-check-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--sb, rgba(108,71,255,.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 900; color: var(--sc, var(--primary));
}

/* Guarantee strip */
.how-guarantee {
  margin-top: 48px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 44px; flex-wrap: wrap;
}
.how-guar-item { display: flex; align-items: center; gap: 14px; }
.how-guar-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(108,71,255,.1); border: 1px solid rgba(108,71,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.how-guar-title { font-size: 14px; font-weight: 700; color: var(--white); }
.how-guar-sub   { font-size: 11px; color: var(--muted); margin-top: 2px; }
.how-guar-divider { width: 1px; height: 36px; background: var(--border); }

/* Responsive */
@media (max-width: 1024px) {
  .how-grid      { grid-template-columns: 1fr 1fr; }
  .how-connector { display: none; }
}
@media (max-width: 640px) {
  .how-grid      { grid-template-columns: 1fr; }
  .how-guarantee { gap: 24px; padding: 24px 20px; }
  .how-guar-divider { width: 80px; height: 1px; }
}

/* ─── WHY CHOOSE ────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 0;
}
.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.why-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.why-item:hover { border-color: rgba(108,71,255,.3); box-shadow: 0 4px 24px rgba(108,71,255,.1); }
.why-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(108,71,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.why-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why-item p  { font-size: 14px; color: var(--muted); line-height: 1.6; }
.why-visual {
  position: relative;
}
.why-big-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; text-align: center;
}
.why-big-num {
  font-size: 80px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.why-rating-row {
  display: flex; gap: 4px; justify-content: center; margin: 24px 0 8px;
}
.star { color: #FBBF24; font-size: 22px; }
.why-rating-sub { font-size: 13px; color: var(--muted); }
.why-divider { height: 1px; background: var(--border); margin: 28px 0; }
.why-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-stat {
  background: rgba(108,71,255,.08); border: 1px solid rgba(108,71,255,.15);
  border-radius: var(--radius-sm); padding: 16px; text-align: center;
}
.mini-stat-num { font-size: 24px; font-weight: 800; color: var(--primary); }
.mini-stat-lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }


/* ─── CTA ───────────────────────────────────────────── */
#cta {
  position: relative; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(108,71,255,.25) 0%, transparent 70%);
}
.cta-inner {
  position: relative; z-index: 1;
  background: var(--card-bg); border: 1px solid rgba(108,71,255,.3);
  border-radius: 24px; padding: 72px 48px; text-align: center;
  box-shadow: 0 0 80px rgba(108,71,255,.2);
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 900;
  line-height: 1.15; margin-bottom: 20px;
}
.cta-inner p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ─── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 56px;
}
.footer-brand p {
  font-size: 14px; color: var(--muted); line-height: 1.7; margin: 16px 0 24px;
  max-width: 280px;
}
.social-row { display: flex; gap: 12px; }
.social-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none; color: var(--white);
  transition: background .2s, border-color .2s;
}
.social-icon:hover { background: rgba(108,71,255,.2); border-color: rgba(108,71,255,.4); }
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,.6); }
.contact-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: inherit; text-decoration: none; }
.contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid        { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual      { display: none; }
  .hero p           { max-width: 100%; }
  .about-grid       { grid-template-columns: 1fr; gap: 48px; }
  .services-grid    { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; }
  .why-visual       { display: none; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .nav-links        { display: none; }
}
@media (max-width: 640px) {
  .section          { padding: 64px 0; }
  .hero h1          { letter-spacing: -1px; }
  .hero-stats       { flex-wrap: wrap; gap: 24px; }
  .footer-grid      { grid-template-columns: 1fr; }
  .cta-inner        { padding: 40px 24px; }
  .about-float      { display: none; }
}

/* ════════════════════════════════════════════════════
   MOTION & ANIMATION LAYER
════════════════════════════════════════════════════ */

/* ── Noise grain overlay ─────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Cursor ambient glow ─────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,71,255,.09) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease, opacity .4s;
  will-change: left, top;
}

/* ── Scroll-reveal base states ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1),
              transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal.from-left  { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.from-scale { transform: scale(.9) translateY(16px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}
/* stagger siblings */
.stagger > .reveal:nth-child(1) { transition-delay: .05s; }
.stagger > .reveal:nth-child(2) { transition-delay: .15s; }
.stagger > .reveal:nth-child(3) { transition-delay: .25s; }
.stagger > .reveal:nth-child(4) { transition-delay: .35s; }
.stagger > .reveal:nth-child(5) { transition-delay: .45s; }

/* ── @keyframes library ──────────────────────────── */
@keyframes floatA {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-13px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0px) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(2deg); }
}
@keyframes shimmerText {
  0%   { background-position: -240% center; }
  100% { background-position: 240% center; }
}
@keyframes gradAnim {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes borderPulse {
  0%,100% { box-shadow: 0 0 80px rgba(108,71,255,.18); }
  50%      { box-shadow: 0 0 130px rgba(108,71,255,.45), 0 0 50px rgba(167,139,250,.18); }
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ringRotateCCW {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dotBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}
@keyframes heroEntrance {
  0%   { opacity: 0; transform: translateY(28px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes badgeEntrance {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes chipEntrance {
  0%   { opacity: 0; transform: scale(.8); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes cardEntrance {
  0%   { opacity: 0; transform: translateX(32px) scale(.96); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
/* ── Applied animations ──────────────────────────── */

/* Hero entrance sequence */
.hero-badge      { animation: badgeEntrance .7s cubic-bezier(.22,1,.36,1) .1s both; }
.hero h1         { animation: heroEntrance  .85s cubic-bezier(.22,1,.36,1) .25s both; }
.hero > .container > .hero-grid > .hero-content > p
                 { animation: heroEntrance .8s cubic-bezier(.22,1,.36,1) .4s both; }
.hero-btns       { animation: heroEntrance .8s cubic-bezier(.22,1,.36,1) .55s both; }
.hero-stats      { animation: heroEntrance .8s cubic-bezier(.22,1,.36,1) .7s both; }
.hero-card-main  { animation: cardEntrance .9s cubic-bezier(.22,1,.36,1) .6s both; }
.hero-chip.chip-1{ animation: chipEntrance .7s cubic-bezier(.22,1,.36,1) .85s both,
                              floatA 4.5s ease-in-out 1.6s infinite; }
.hero-chip.chip-2{ animation: chipEntrance .7s cubic-bezier(.22,1,.36,1) 1s both,
                              floatB 5.5s ease-in-out 1.7s infinite; }

/* Highlight text shimmer */
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--primary), #a78bfa, #c4b7ff, var(--primary));
  background-size: 240% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmerText 5s linear infinite;
}

/* About float chip */
.about-float { animation: floatA 4s ease-in-out .5s infinite; }

/* CTA card glow pulse */
.cta-inner { animation: borderPulse 4s ease-in-out infinite; }

/* Decorative orbit rings around hero visual */
.orbit-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(108,71,255,.12);
}
.orbit-ring.r1 {
  width: 480px; height: 480px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ringRotate 28s linear infinite;
}
.orbit-ring.r2 {
  width: 360px; height: 360px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ringRotateCCW 20s linear infinite;
  border-color: rgba(255,107,53,.08);
}
.orbit-dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); top: -3px; left: 50%;
  box-shadow: 0 0 8px var(--primary);
}
.orbit-dot-2 {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); bottom: -2.5px; right: 30%;
  box-shadow: 0 0 6px var(--accent);
}

/* Stat counter pop */
.stat-num { animation: countUp .6s cubic-bezier(.22,1,.36,1) both; }
.hero-stats > div:nth-child(1) .stat-num { animation-delay: .8s; }
.hero-stats > div:nth-child(2) .stat-num { animation-delay: .92s; }
.hero-stats > div:nth-child(3) .stat-num { animation-delay: 1.04s; }

/* Section tag accent line */
.tag { position: relative; }

/* Service card bottom sweep line */
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--primary), transparent);
  transition: width .45s ease;
}
.service-card:hover::after { width: 100%; }

/* Why item left accent bar */
.why-item {
  position: relative; overflow: hidden;
}
.why-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
  border-radius: 0 2px 2px 0;
}
.why-item:hover::before { transform: scaleY(1); }

/* Navbar scroll shrink */
nav.scrolled {
  padding: 12px 0;
  background: rgba(13,13,30,.92);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}

/* CTA gradient headline */
.cta-inner h2 span {
  background: linear-gradient(90deg, var(--primary), #a78bfa, #c4b7ff, var(--primary));
  background-size: 240% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmerText 5s linear 1s infinite;
}

/* ════════════════════════════════════════════════════
   HERO — EXCLUSIVE ANIMATION LAYER
════════════════════════════════════════════════════ */

/* ── Canvas particles ──────────────────────────────── */
#hero-canvas {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}

/* ── Aurora blobs ───────────────────────────────────── */
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  will-change: transform; mix-blend-mode: screen;
}
.aurora-blob.b1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(108,71,255,.22), transparent 70%);
  top: -140px; left: 15%;
  animation: aurora1 18s ease-in-out infinite;
}
.aurora-blob.b2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,107,53,.13), transparent 70%);
  bottom: -60px; right: 5%;
  animation: aurora2 22s ease-in-out infinite;
}
.aurora-blob.b3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(167,139,250,.16), transparent 70%);
  top: 45%; right: 28%;
  animation: aurora3 14s ease-in-out infinite;
}
@keyframes aurora1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(70px,-50px) scale(1.12); }
  66%      { transform: translate(-50px,60px) scale(.9); }
}
@keyframes aurora2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(-80px,40px) scale(1.18); }
  70%      { transform: translate(60px,-70px) scale(.85); }
}
@keyframes aurora3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(50px,50px) scale(1.25); }
}

/* ── Dot-grid overlay ───────────────────────────────── */
.hero-dotgrid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  animation: gridPulse 6s ease-in-out infinite;
}
@keyframes gridPulse {
  0%,100% { opacity: .5; }
  50%      { opacity: 1; }
}

/* ── Word-split headline ─────────────────────────────── */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: wordUp .75s cubic-bezier(.22,1,.36,1) both;
}
@keyframes wordUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Cycling service text ────────────────────────────── */
.hero-cycle-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
  opacity: 0; animation: heroEntrance .6s .2s both;
}
.hero-cycle-label { color: var(--muted); }
.hero-cycle-text {
  color: #c4b7ff; font-weight: 600; min-width: 120px;
  position: relative;
}
.hero-cycle-text span {
  display: inline-block;
  animation: cycleIn .45s cubic-bezier(.22,1,.36,1) both;
}
.hero-cycle-text span.out {
  animation: cycleOut .35s cubic-bezier(.55,0,1,.45) both;
}
@keyframes cycleIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cycleOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-16px); }
}
.typing-cursor {
  display: inline-block; width: 2px; height: .9em;
  background: var(--primary); margin-left: 1px; vertical-align: middle;
  animation: cursorBlink .75s step-end infinite;
}
@keyframes cursorBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ── Scan line on hero card ───────────────────────────── */
.hero-scan {
  position: absolute; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(108,71,255,.08) 40%,
    rgba(108,71,255,.12) 50%,
    rgba(108,71,255,.08) 60%,
    transparent 100%);
  pointer-events: none;
  animation: scanMove 5s ease-in-out 1.4s infinite;
  border-radius: 4px;
}
@keyframes scanMove {
  0%   { top: -80px; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* ── Brand kit card entrance ────────────────────────── */
@keyframes mockupPop {
  0%   { opacity: 0; transform: scale(.7); }
  70%  { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── Hero card glow border ───────────────────────────── */
.hero-card-main {
  position: relative; overflow: hidden;
}
.hero-card-main::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius);
  background: conic-gradient(from var(--a,0deg),
    transparent 0deg,
    rgba(108,71,255,.5) 60deg,
    transparent 120deg);
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinBorder 6s linear infinite;
  pointer-events: none;
}
@keyframes spinBorder {
  to { --a: 360deg; }
}
@property --a {
  syntax: '<angle>'; initial-value: 0deg; inherits: false;
}

/* ── Hero spotlight follow mouse ─────────────────────── */
.hero-spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle 300px at 50% 50%,
    rgba(108,71,255,.08) 0%, transparent 70%);
  transition: background .1s;
}

/* ════════════════════════════════════════════════════
   DUMMY VISUAL COMPONENTS
════════════════════════════════════════════════════ */

/* ── Hero Brand Kit Card ───────────────────────────── */
.hk-logo-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.hk-logo-mark {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -1px;
  box-shadow: 0 6px 20px rgba(108,71,255,.5);
  animation: mockupPop .5s cubic-bezier(.22,1,.36,1) .75s both;
}
.hk-brand-name {
  font-size: 17px; font-weight: 900; letter-spacing: .06em; color: #fff;
}
.hk-brand-sub {
  font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: .04em;
}
.hk-divider { height: 1px; background: var(--border); margin: 16px 0; }
.hk-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-bottom: 10px;
}
.hk-colors {
  display: flex; gap: 8px; margin-bottom: 18px;
}
.hk-swatch {
  flex: 1; height: 28px; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s ease;
  animation: mockupPop .4s cubic-bezier(.22,1,.36,1) both;
}
.hk-swatch:nth-child(1){animation-delay:.85s}
.hk-swatch:nth-child(2){animation-delay:.95s}
.hk-swatch:nth-child(3){animation-delay:1.05s}
.hk-swatch:nth-child(4){animation-delay:1.15s}
.hk-swatch:nth-child(5){animation-delay:1.25s}
.hk-swatch:hover { transform: scaleY(1.3) translateY(-2px); }
.hk-type-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 16px;
}
.hk-type-big {
  font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1;
}
.hk-type-name { font-size: 13px; font-weight: 700; color: #fff; }
.hk-type-weights { font-size: 11px; color: var(--muted); margin-top: 2px; }
.hk-assets {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
}
.hk-asset {
  height: 52px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: transform .2s, background .2s;
  animation: mockupPop .4s cubic-bezier(.22,1,.36,1) both;
}
.hk-asset:nth-child(1){animation-delay:1.05s}
.hk-asset:nth-child(2){animation-delay:1.15s}
.hk-asset:nth-child(3){animation-delay:1.25s}
.hk-asset:nth-child(4){animation-delay:1.35s}
.hk-asset:hover { transform: scale(1.08) translateY(-3px); background: rgba(108,71,255,.15); }

/* ── About card visual upgrade ───────────────────────── */
.about-mockup-screen {
  width: 100%; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; overflow: hidden; margin-bottom: 16px;
}
.ams-header {
  background: rgba(0,0,0,.2); padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
}
.ams-dot { width: 8px; height: 8px; border-radius: 50%; }
.ams-body { padding: 14px; }
.ams-line {
  height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); margin-bottom: 8px;
}
.ams-line.accent { background: linear-gradient(90deg, var(--primary), #a78bfa); }
.ams-line.short { width: 60%; }
.ams-thumbs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
}
.ams-thumb {
  height: 52px; border-radius: 6px; display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}

/* Reduce motion override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
