/* ============ Soarify Digital Marketing ============ */
/* Color tokens pulled from the Soarify logo */
:root {
  --bg: #05091a;
  --bg-elev: #0b1230;
  --bg-card: #0f1838;
  --bg-card-hover: #142046;
  --border: rgba(96, 165, 250, 0.12);
  --border-strong: rgba(96, 165, 250, 0.28);

  --navy: #0a1633;
  --navy-deep: #060d22;
  --blue-primary: #2563eb;
  --blue-bright: #3b82f6;
  --blue-light: #60a5fa;
  --blue-glow: #93c5fd;

  --text: #e8edff;
  --text-muted: #a6b0d4;
  --text-dim: #6b7599;

  --grad-blue: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  --grad-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(96, 165, 250, 0.04));
  --grad-hero: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.18), transparent 60%),
               radial-gradient(ellipse at bottom right, rgba(30, 64, 175, 0.18), transparent 50%);

  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.25);
  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.6);

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --maxw: 1200px;
  --header-h: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -200px, rgba(59, 130, 246, 0.16), transparent),
    radial-gradient(900px 500px at -10% 30%, rgba(30, 64, 175, 0.14), transparent);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-glow); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-muted); margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(120deg, #93c5fd 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5, 9, 26, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 68px; width: auto; }
@media (max-width: 560px) { .brand img { height: 52px; } }

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  color: var(--text-muted);
  font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(59, 130, 246, 0.1); }

.nav-cta {
  margin-left: 10px;
  padding: 10px 18px !important;
  background: var(--grad-blue) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 24px -10px rgba(59, 130, 246, 0.6);
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  color: var(--text-muted);
  font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.nav-dropdown-toggle:hover { color: #fff; background: rgba(59, 130, 246, 0.1); }
.nav-dropdown-toggle.active { color: #fff; background: rgba(59, 130, 246, 0.1); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(5, 9, 26, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  z-index: 100;
}
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
  border-bottom: 1px solid var(--border);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
}

.mobile-toggle { display: none; background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.mobile-toggle svg { width: 26px; height: 26px; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem;
  border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(59, 130, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(59, 130, 246, 0.7); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background: var(--grad-hero);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { margin-bottom: 22px; }
.hero p.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 660px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== Sections ===================== */
section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { font-size: 1.1rem; }

/* ===================== Stats ===================== */
.stats {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat .num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.stat .label { color: var(--text-muted); font-size: 1rem; }

/* ===================== Problem Banner ===================== */
.problem {
  text-align: center;
  padding: 70px 0;
}
.problem h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.problem .highlight {
    display: inline-block;
    background-size: 200% 100%;
    background-position: 0% 0;
    padding: 0 4px;
}

/* ===================== Steps (4 steps card row) ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}
.step-card h3 { color: #fff; font-size: 1.15rem; }
.step-card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ===================== What We Do (alternating rows) ===================== */
.services { display: flex; flex-direction: column; gap: 28px; }
.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: border-color .25s ease;
}
.service-row:hover { border-color: var(--border-strong); }
.service-row .visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.service-row .visual svg { width: 64px; height: 64px; color: var(--blue-light); }
.service-row .visual img { width: 100%; height: 100%; object-fit: cover; }
.service-row .visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.25), transparent 60%);
  pointer-events: none;
}
.service-row h3 { font-size: 1.6rem; }
.service-row .num-tag {
  display: inline-block; font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; color: var(--blue-light);
  margin-bottom: 12px;
}
@media (max-width: 800px) {
  .service-row { grid-template-columns: 1fr; padding: 28px; }
}

/* ===================== Why Soarify ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 24px; height: 24px; color: var(--blue-light); }

/* ===================== Industries ===================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.industry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  cursor: default;
}
.industry:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.industry svg { width: 36px; height: 36px; color: var(--blue-light); margin: 0 auto 10px; display: block; }
.industry .name { font-size: .9rem; color: var(--text); font-weight: 500; }
.industry-disclaimer {
  text-align: center; margin-top: 36px;
  color: var(--text-muted);
  font-size: 1rem;
}
.industry-disclaimer a { font-weight: 600; }

@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== Roadmap ===================== */
.roadmap {
  position: relative;
}
.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.roadmap-track::before {
  content: ""; position: absolute;
  top: 28px; left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  opacity: .35;
  z-index: 0;
}
.road-step { position: relative; text-align: center; z-index: 1; }
.road-dot {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--blue-primary);
  display: grid; place-items: center;
  font-weight: 800; color: #fff;
  box-shadow: 0 0 0 6px var(--bg);
  transition: transform .2s ease, background .2s ease;
}
.road-step:hover .road-dot {
  transform: scale(1.08);
  background: var(--grad-blue);
  border-color: var(--blue-light);
}
.road-step h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.road-step p { font-size: .9rem; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) {
  .roadmap-track { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .roadmap-track::before { display: none; }
}

/* ===================== CTA Banner ===================== */
.cta-banner {
  margin: 30px 0 90px;
}
.cta-banner .inner {
  background: linear-gradient(135deg, #0c1638 0%, #122047 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner .inner::before {
  content: ""; position: absolute;
  inset: -2px; border-radius: var(--radius-lg);
  background: var(--grad-blue);
  z-index: -1; filter: blur(40px); opacity: .25;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; max-width: 540px; margin: 0 auto 28px; }

/* ===================== Footer ===================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--navy-deep);
  padding: 50px 0 30px;
  color: var(--text-muted);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand img { height: 50px; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--blue-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px; font-size: .9rem;
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ===================== Contact Form ===================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info .meta { margin-top: 28px; }
.contact-info .meta-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 16px;
}
.contact-info .meta-item svg { width: 22px; height: 22px; color: var(--blue-light); flex: none; margin-top: 2px; }
.contact-info .meta-item span { color: var(--text-muted); }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 8px;
  color: var(--text); font-weight: 500; font-size: .95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success {
  display: none;
  margin-top: 18px; padding: 14px 18px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.form-success.show { display: block; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===================== Page Hero (about, blog, contact) ===================== */
.page-hero {
  padding: 90px 0 60px;
  text-align: center;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

/* ===================== About ===================== */
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 50px; align-items: center;
}
.carousel-card {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  position: relative;
}
.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.carousel-item.active {
  opacity: 1;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}
.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
.carousel-btn svg {
  width: 24px;
  height: 24px;
}
.carousel-prev {
  left: 16px;
}
.carousel-next {
  right: 16px;
}
.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.carousel-indicators .indicator.active {
  background: rgba(255, 255, 255, 1);
}

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.value-card .v-num {
  font-size: 2rem; font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ===================== Blog (The Updraft) ===================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}
.post-thumb {
  aspect-ratio: 16/10;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--border);
  position: relative;
  display: grid; place-items: center;
}
.post-thumb svg { width: 56px; height: 56px; color: var(--blue-light); opacity: .8; }
.post-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.post-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}
.post-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-body p { font-size: .95rem; flex: 1; }
.post-meta {
  display: flex; justify-content: space-between;
  font-size: .85rem; color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 14px; margin-top: 14px;
}

@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

.subscribe {
  margin-top: 70px;
  background: linear-gradient(135deg, #0c1638 0%, #122047 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
}
.subscribe form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.subscribe input[type=email] {
  flex: 1;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 1rem;
}
.subscribe input[type=email]:focus { outline: none; border-color: var(--blue-bright); }
.subscribe #subscribe-msg {
  grid-column: 1 / -1;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: .95rem;
  display: block;
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .28s ease, transform .28s ease, max-height .3s ease;
}
.subscribe #subscribe-msg.visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}
@media (max-width: 800px) { .subscribe { grid-template-columns: 1fr; } }

/* ===================== Reveal animations ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================== Responsive header ===================== */
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
         background: rgba(5,9,26,0.96); backdrop-filter: blur(14px);
         flex-direction: column; align-items: stretch; gap: 0;
         padding: 16px; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .mobile-toggle { display: inline-flex; }
}

/* ===================== Misc grid responsive ===================== */
@media (max-width: 980px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ===================== Services Page ===================== */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--grad-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}
.service-card-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
}
.service-card p {
  flex: 1;
  font-size: .95rem;
  margin-bottom: 16px;
}
.arrow-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-light);
  font-weight: 500;
  font-size: .9rem;
  transition: gap .2s ease;
}
.service-card:hover .arrow-link {
  gap: 10px;
}
.arrow-link .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.service-card:hover .arrow-link .arrow {
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .services-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-cards-grid { grid-template-columns: 1fr; }
}
.service-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}
.service-header {
  max-width: 840px;
}
.service-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.service-lead {
  font-size: 1.15rem;
  color: var(--blue-light);
  font-weight: 500;
  margin-bottom: 0;
}
.service-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.service-text h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 14px;
  color: #fff;
}
.service-text h3:first-child {
  margin-top: 0;
}
.service-text p { font-size: 1rem; color: var(--text-muted); margin-bottom: 16px; }
.service-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.service-list li {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: none; }
.service-list strong { color: #fff; }

.service-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-bright);
}
.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .service-content { grid-template-columns: 1fr; }
  .service-section { gap: 30px; }
}
@media (max-width: 560px) {
  .service-section { gap: 20px; }
  .service-content { gap: 20px; }
  .service-header h2 { font-size: 1.6rem; }
}
