/* ========== GLOBAL ========== */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy-950: #0a0f1e;
  --navy-900: #0d1526;
  --navy-800: #111e36;
  --mint-400: #4ade80;
  --mint-500: #22c55e;
  --mint-glow: #39ff8f;
  --slate-soft: #94a3b8;
  --slate-muted: #64748b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--navy-950);
  color: #fff;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: #1c2e52; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #22c55e40; }

/* ========== SELECTION ========== */
::selection { background: #22c55e30; color: #fff; }

/* ========== BACKGROUND GRID ========== */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ========== NAVBAR ========== */
#navbar.scrolled {
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  color: var(--slate-soft);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--mint-400);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mint-500);
  color: #0a0f1e;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--mint-glow);
  box-shadow: 0 0 24px rgba(57, 255, 143, 0.35);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--slate-soft);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-1px);
}

/* ========== TEXT GRADIENT ========== */
.text-gradient {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 40%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== STATS ========== */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, background 0.3s;
}
.stat-card:hover {
  border-color: rgba(34,197,94,0.2);
  background: rgba(34,197,94,0.03);
}

/* ========== TICKER ========== */
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker-content {
  display: inline-flex;
  gap: 2rem;
  animation: ticker 30s linear infinite;
  padding-right: 2rem;
}
.ticker-content .sep { color: rgba(100,116,139,0.4); }
.ticker-content span:not(.sep) {
  color: rgba(100,116,139,0.7);
  transition: color 0.2s;
}
.ticker-content span:not(.sep):hover { color: var(--mint-400); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========== SECTION HEADER ========== */
.section-header { text-align: center; }

.label-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 99px;
  color: var(--mint-400);
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #fff;
  margin-top: 1rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--slate-soft);
  font-size: 1.0625rem;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== PRODUCT CARDS ========== */
.product-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: border-color 0.3s, background 0.3s, transform 0.25s;
  cursor: default;
}
.product-card:hover {
  border-color: rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.03);
  transform: translateY(-4px);
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.625rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-400);
  margin-bottom: 1rem;
}

.product-tag {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-muted);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.product-tag.highlight {
  color: var(--mint-400);
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.06);
}

.product-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.product-desc {
  color: var(--slate-soft);
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mint-400);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.product-link:hover { color: var(--mint-glow); }

/* ========== SERVICE CELLS ========== */
.service-cell {
  background: rgba(13, 21, 38, 0.6);
  padding: 2rem;
  transition: background 0.3s;
}
.service-cell:hover { background: rgba(34,197,94,0.04); }

.service-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  color: rgba(34,197,94,0.5);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.service-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-desc {
  color: var(--slate-soft);
  font-size: 0.875rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ========== STEP CARDS ========== */
.step-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, transform 0.25s;
}
.step-card:hover {
  border-color: rgba(34,197,94,0.2);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(34,197,94,0.12);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-desc {
  color: var(--slate-soft);
  font-size: 0.875rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ========== FAQ ========== */
.faq-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.875rem;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(34,197,94,0.15); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  gap: 1rem;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--mint-400); }

.faq-icon {
  color: var(--slate-muted);
  flex-shrink: 0;
  transition: transform 0.3s, color 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--mint-400);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 1.5rem;
}
.faq-answer p {
  color: var(--slate-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-answer { max-height: 200px; }

/* ========== FORM ========== */
.form-label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-muted);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus {
  border-color: rgba(34,197,94,0.4);
  background: rgba(34,197,94,0.04);
}
.form-input::placeholder { color: rgba(100,116,139,0.5); }
.form-input option { background: #111e36; color: #fff; }

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.animate-fade-up { animation: fadeUp 0.7s ease forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-float   { animation: float 6s ease-in-out infinite; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .section-title { font-size: 1.875rem; }
  .stat-card { padding: 1.25rem 1rem; }
}
