/* =====================================================
   OTOMASI.APP — Main Stylesheet
   ===================================================== */

/* ── Google Fonts fallback ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design tokens ── */
:root {
  --bg-0:          #030712;
  --bg-1:          #0f172a;
  --bg-2:          #1e293b;
  --bg-card:       rgba(15, 23, 42, 0.75);

  --c-primary:     #6366f1;
  --c-primary-h:   #4f46e5;
  --c-secondary:   #06b6d4;
  --c-accent:      #8b5cf6;
  --c-success:     #10b981;
  --c-warning:     #f59e0b;
  --c-danger:      #ef4444;

  --text-0:        #f1f5f9;
  --text-1:        #cbd5e1;
  --text-2:        #94a3b8;
  --text-3:        #64748b;

  --border:        rgba(99, 102, 241, 0.18);
  --border-h:      rgba(99, 102, 241, 0.55);

  --grad-primary:  linear-gradient(135deg, #6366f1, #06b6d4);
  --grad-warm:     linear-gradient(135deg, #8b5cf6, #6366f1);

  --r-sm:   0.5rem;
  --r-md:   0.875rem;
  --r-lg:   1.25rem;
  --r-xl:   1.75rem;

  --shadow-card:  0 4px 24px rgba(0,0,0,.4), 0 1px 4px rgba(0,0,0,.3);
  --shadow-glow:  0 0 40px rgba(99,102,241,.25);

  --ease:   cubic-bezier(.4, 0, .2, 1);
  --dur:    0.3s;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Canvas ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Container ── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* ── Gradient text ── */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--r-lg);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity var(--dur);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,102,241,.5); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-0);
}
.btn-outline:hover { border-color: var(--border-h); background: rgba(99,102,241,.08); transform: translateY(-2px); }

.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; border-radius: var(--r-xl); }

/* ── Section badge ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  color: #a5b4fc;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.section-subtitle {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 580px;
  margin-inline: auto;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: .9rem 0;
  transition: background var(--dur), box-shadow var(--dur), backdrop-filter var(--dur);
}
.navbar.scrolled {
  background: rgba(3, 7, 18, .85);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.logo-mark { width: 36px; height: 36px; }
.logo-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.logo-dot { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  padding: .45rem .85rem;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--dur), background var(--dur);
}
.nav-link:hover, .nav-link.active { color: var(--text-0); background: rgba(99,102,241,.1); }

.nav-actions { margin-left: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--dur) var(--ease);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(3,7,18,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.1rem; padding: .75rem 2rem; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
}

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

.hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: .18;
}
.hero-glow-left  { background: #6366f1; top: -20%; left: -20%; }
.hero-glow-right { background: #06b6d4; bottom: -20%; right: -15%; }

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1.2rem;
  border-radius: 999px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.25);
  color: #a5b4fc;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-green 2s infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 900px;
}

.hero-subtitle {
  color: var(--text-2);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-green 2s infinite;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem 2.5rem;
  gap: 0;
}
.stat-item { text-align: center; padding: .5rem 2rem; }
.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-number small { font-size: .65em; }
.stat-label { font-size: .78rem; color: var(--text-3); font-weight: 500; margin-top: .25rem; }
.stat-divider { width: 1px; height: 3rem; background: var(--border); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-arrow {
  width: 22px; height: 22px;
  border-right: 2px solid var(--border-h);
  border-bottom: 2px solid var(--border-h);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s infinite;
  border-radius: 2px;
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-section {
  padding: 6rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-h);
  box-shadow: var(--shadow-glow);
}
.service-card--featured {
  grid-column: span 1;
}

/* Card glow background */
.card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--glow, #6366f1);
  opacity: .06;
  filter: blur(50px);
  pointer-events: none;
  transition: opacity var(--dur);
}
.service-card:hover .card-glow { opacity: .14; }

/* Icon */
.card-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--ic), var(--ic2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: .9rem;
}
.card-icon-wrap svg {
  width: 100%; height: 100%;
  color: #fff;
}

/* Card meta row */
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.card-category {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Status badge */
.card-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(15,23,42,.8);
  border: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 500;
}
.sdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sdot--loading  { background: var(--text-3); animation: blink 1.2s infinite; }
.sdot--online   { background: #10b981; animation: pulse-green 2.5s infinite; }
.sdot--offline  { background: #ef4444; }
.sdot--degraded { background: #f59e0b; animation: blink 1s infinite; }
.sdot--timeout  { background: #f59e0b; }
.stext { color: var(--text-2); }

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.card-desc {
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.65;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.tag {
  padding: .2rem .65rem;
  border-radius: 999px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.15);
  font-size: .72rem;
  font-weight: 500;
  color: #a5b4fc;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-top: .25rem;
  transition: gap var(--dur), color var(--dur);
}
.card-link:hover { color: #fff; gap: .7rem; }

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.features-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.features-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(99,102,241,.05) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.feature-item {
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: rgba(15,23,42,.4);
  backdrop-filter: blur(8px);
  transition: border-color var(--dur), transform var(--dur);
}
.feature-item:hover { border-color: var(--border-h); transform: translateY(-4px); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--fic, #6366f1) 0%, color-mix(in srgb, var(--fic, #6366f1) 70%, #06b6d4) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: .75rem;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 100%; height: 100%; color: #fff; }

.feature-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-item p  { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ══════════════════════════════════════
   STATUS DASHBOARD
══════════════════════════════════════ */
.status-section {
  padding: 6rem 0;
}

.status-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.status-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: .75rem;
}

.status-summary { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.summary-dot { width: 10px; height: 10px; border-radius: 50%; }
.summary-dot--all-online { background: #10b981; animation: pulse-green 2.5s infinite; }
.summary-dot--partial    { background: #f59e0b; animation: blink 1s infinite; }
.summary-dot--offline    { background: #ef4444; }
.summary-dot--loading    { background: var(--text-3); animation: blink 1.2s infinite; }

.status-refresh {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: .82rem;
  font-weight: 500;
  transition: var(--dur);
}
.refresh-btn:hover { border-color: var(--border-h); color: var(--text-0); background: rgba(99,102,241,.1); }
.refresh-btn.spinning svg { animation: spin 1s linear infinite; }

.last-checked { font-size: .78rem; color: var(--text-3); }

/* Status list */
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.status-loading {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 3rem;
  justify-content: center;
  color: var(--text-2);
}

.status-row {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1.2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur);
}
.status-row:hover { background: rgba(99,102,241,.05); }

.status-row-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.status-row-icon svg { width: 20px; height: 20px; }

.status-row-info { flex: 1; min-width: 0; }
.status-row-name { font-weight: 600; font-size: .9rem; }
.status-row-url  { font-size: .75rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.status-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
}
.status-badge--online   { background: rgba(16,185,129,.12); color: #34d399; border: 1px solid rgba(16,185,129,.25); }
.status-badge--offline  { background: rgba(239,68,68,.12);  color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.status-badge--degraded { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.25); }
.status-badge--timeout  { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.25); }
.status-badge--loading  { background: rgba(100,116,139,.12); color: var(--text-3); border: 1px solid var(--border); }

.status-rt { font-size: .7rem; color: var(--text-3); }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-section { padding: 6rem 0; }

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

.about-content { display: flex; flex-direction: column; gap: 1.25rem; }
.about-content .section-title { text-align: left; }
.about-content p { color: var(--text-2); font-size: .95rem; line-height: 1.75; }

.about-list { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
.abt-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-1);
}
.abt-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  color: #34d399;
  flex-shrink: 0;
}

/* Visual side */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.about-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.15), transparent 70%);
  filter: blur(40px);
}

.about-code-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-card);
}

.code-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-title { font-size: .78rem; color: var(--text-3); margin-left: .25rem; font-family: 'Courier New', monospace; }

.code-body {
  padding: 1.5rem 1.75rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: .88rem;
  line-height: 1.8;
  overflow-x: auto;
}
.code-body code { display: block; }
.c-kw  { color: #c792ea; }
.c-var { color: #82aaff; }
.c-key { color: #f78c6c; }
.c-str { color: #c3e88d; }
.c-num { color: #f78c6c; }
.c-bool{ color: #ff5874; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: rgba(3,7,18,.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo { margin-bottom: 1rem; }
.footer-desc { color: var(--text-2); font-size: .875rem; line-height: 1.65; max-width: 280px; }
.footer-server-info { margin-top: 1rem; }
.server-tag {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: var(--r-sm);
  background: rgba(15,23,42,.8);
  border: 1px solid var(--border);
  font-size: .75rem;
  color: var(--text-3);
  font-family: monospace;
}

.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .875rem;
  color: var(--text-3);
  transition: color var(--dur);
}
.footer-col a:hover { color: var(--text-0); }

.footer-status-mini {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .5rem .85rem;
  border-radius: var(--r-md);
  background: rgba(15,23,42,.7);
  border: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  font-size: .8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-powered { color: var(--text-3); }

/* ══════════════════════════════════════
   SPINNER
══════════════════════════════════════ */
.spinner {
  width: 24px; height: 24px;
  border: 2.5px solid var(--border);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ══════════════════════════════════════
   ANIMATION — data-animate reveal
══════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.services-grid .service-card[data-animate]:nth-child(1) { transition-delay: .05s; }
.services-grid .service-card[data-animate]:nth-child(2) { transition-delay: .12s; }
.services-grid .service-card[data-animate]:nth-child(3) { transition-delay: .19s; }
.services-grid .service-card[data-animate]:nth-child(4) { transition-delay: .26s; }
.services-grid .service-card[data-animate]:nth-child(5) { transition-delay: .33s; }
.services-grid .service-card[data-animate]:nth-child(6) { transition-delay: .40s; }
.services-grid .service-card[data-animate]:nth-child(7) { transition-delay: .47s; }

.features-grid .feature-item[data-animate]:nth-child(1) { transition-delay: .05s; }
.features-grid .feature-item[data-animate]:nth-child(2) { transition-delay: .12s; }
.features-grid .feature-item[data-animate]:nth-child(3) { transition-delay: .19s; }
.features-grid .feature-item[data-animate]:nth-child(4) { transition-delay: .26s; }
.features-grid .feature-item[data-animate]:nth-child(5) { transition-delay: .33s; }
.features-grid .feature-item[data-animate]:nth-child(6) { transition-delay: .40s; }

/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: .8; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: .4; }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 640px) {
  .hero-stats { padding: 1rem 1.25rem; }
  .stat-item  { padding: .4rem 1rem; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .status-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
