:root {
  --bg: #020617;
  --bg-soft: rgba(255,255,255,0.04);
  --panel: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.10);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --sky: #0ea5e9;
  --sky-2: #38bdf8;
  --emerald: #34d399;
  --max: 1200px;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(14,165,233,0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(52,211,153,0.10), transparent 20%),
    linear-gradient(to bottom, #020617, #020617);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(2,6,23,0.78);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;  height: 120px; padding: 26px 0;
}
.brand, .footer-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img, .footer-brand img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255,255,255,0.00);

  /* AI glow */
  filter: drop-shadow(0 0 8px rgba(56,189,248,0.7))
          drop-shadow(0 0 20px rgba(14,165,233,0.6));

  transition: all 0.3s ease;
}

/* slightly smaller on mobile */
@media (max-width: 720px) {
  .brand img, .footer-brand img {
    width: 90px;
    height: 90px;
  }
}


.brand img:hover, .footer-brand img:hover {
  filter: drop-shadow(0 0 10px rgba(56,189,248,0.9))
          drop-shadow(0 0 22px rgba(14,165,233,0.7));
  transform: scale(1.04);
}

@keyframes aiGlow {
  0% {
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.5))
            drop-shadow(0 0 14px rgba(14,165,233,0.35));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(56,189,248,0.8))
            drop-shadow(0 0 24px rgba(14,165,233,0.6));
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(56,189,248,0.5))
            drop-shadow(0 0 14px rgba(14,165,233,0.35));
  }
}

.brand img {
  animation: aiGlow 3.5s ease-in-out infinite;
}
.brand-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-subtitle {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--muted-2); margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: white; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 22px; font-weight: 600; border: 1px solid transparent;
  transition: 0.2s ease; cursor: pointer;
}
.button-primary {
  background: linear-gradient(135deg, var(--sky), var(--sky-2));
  color: white; box-shadow: 0 12px 30px rgba(14,165,233,0.25);
}
.button-primary:hover { transform: translateY(-1px); }
.button-secondary { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: white; }
.button-secondary:hover { background: rgba(255,255,255,0.08); }
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(56,189,248,0.24);
  background: rgba(14,165,233,0.10); color: #bae6fd; border-radius: 999px; padding: 10px 16px;
  font-size: 0.92rem; margin-bottom: 22px;
}
h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 20px;
  max-width: 900px;
}
.hero p.lead { font-size: 1.15rem; line-height: 1.85; color: var(--muted); max-width: 780px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.proof-item {
  display: flex; gap: 12px; padding: 16px; border-radius: 22px; border: 1px solid var(--border);
  background: var(--panel); color: var(--muted); font-size: 0.95rem;
}
.proof-dot {
  width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--emerald);
  flex: 0 0 auto; box-shadow: 0 0 0 6px rgba(52,211,153,0.12);
}
.hero-card {
  border: 1px solid var(--border); background: var(--panel); border-radius: 32px; padding: 28px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: -80px auto auto -80px; width: 180px; height: 180px;
  background: rgba(56,189,248,0.12); filter: blur(30px); border-radius: 999px;
}
.hero-card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 1;
}
.mini-label {
  text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.72rem; color: var(--muted-2); margin-bottom: 10px;
}
.mini-label.green { color: #bbf7d0; margin-bottom: 8px; }
.hero-card-title { font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.icon-badge {
  width: 64px; height: 64px; border-radius: 20px; background: rgba(14,165,233,0.10);
  border: 1px solid rgba(56,189,248,0.22); display: grid; place-items: center; font-size: 1.7rem;
}
.stack { display: grid; gap: 14px; margin: 24px 0; position: relative; z-index: 1; }
.stack-item, .client-box {
  border-radius: 22px; border: 1px solid var(--border); background: rgba(2,6,23,0.7); padding: 16px 18px; color: var(--muted);
}
.client-box { background: rgba(52,211,153,0.10); border-color: rgba(52,211,153,0.22); color: #e2e8f0; }
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
  color: #7dd3fc; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px;
}
.section-eyebrow.compact { margin-bottom: 10px; }
.section h2 {
  margin: 0; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 860px;
}
.section-intro { color: var(--muted); font-size: 1.06rem; max-width: 860px; margin-top: 18px; }
.section-intro.compact { margin-top: 16px; }
.services-grid, .cards-3, .industries-grid { display: grid; gap: 20px; margin-top: 42px; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.industries-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: start; }
.industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--border); background: var(--panel); border-radius: 28px; padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,0.28); background: rgba(255,255,255,0.07); }
.service-icon {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; font-size: 1.35rem;
  margin-bottom: 16px; background: rgba(14,165,233,0.10); border: 1px solid rgba(56,189,248,0.18);
}
.card h3 { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.positioning-box {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  border: 1px solid var(--border); border-radius: 32px; padding: 34px;
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(255,255,255,0.05), rgba(52,211,153,0.10));
}
.footer { border-top: 1px solid var(--border); padding: 32px 0 48px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer p { margin: 10px 0 0; color: var(--muted-2); max-width: 760px; }
.contact-card {
  border: 1px solid var(--border); background: var(--panel); padding: 18px 20px; border-radius: 22px; color: var(--muted);
}
.contact-card div + div { margin-top: 8px; }
.contact-card a:hover { color: white; }
@media (max-width: 1100px) {
  .hero-grid, .industries-wrap, .services-grid, .cards-3, .positioning-box, .footer-inner { grid-template-columns: 1fr; }
  .services-grid, .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .hero { padding: 56px 0 78px; }
  .proof-grid, .services-grid, .industries-grid, .cards-3 { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .button { width: 100%; }
  .hero-actions { flex-direction: column; }
}
