/* 169.agency — English business card landing */
:root {
  --bg: #07070c;
  --bg-elev: #0e0e16;
  --bg-card: #12121c;
  --bg-card-hover: #171724;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f8;
  --text-muted: #9a9ab0;
  --text-dim: #6b6b82;
  --accent: #6c5ce7;
  --accent-2: #a29bfe;
  --accent-3: #00d2ff;
  --grad: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 40%, #00d2ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(0, 210, 255, 0.15));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
  --container: 1100px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
code, .mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.bg-grid {
  position: fixed; inset: 0;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.bg-glow {
  position: fixed; border-radius: 50%; filter: blur(100px);
  pointer-events: none; z-index: 0; opacity: 0.4;
}
.bg-glow-1 { width: 480px; height: 480px; background: #6c5ce7; top: -120px; left: -80px; }
.bg-glow-2 { width: 420px; height: 420px; background: #00d2ff; top: 45%; right: -140px; opacity: 0.22; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(7, 7, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.logo {
  display: inline-flex; align-items: baseline;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: -0.02em; z-index: 101;
}
.logo-mark {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-dot { color: var(--accent-3); }
.logo-text { color: var(--text); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { font-size: 0.92rem; color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 0.55rem 1.1rem !important; border-radius: 999px;
  background: var(--grad); color: #fff !important; font-weight: 600 !important;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.35);
}
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px; z-index: 101;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 0; cursor: pointer; transition: transform 0.2s, filter 0.2s, background 0.2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.35);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-2); background: rgba(255,255,255,0.03); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero-inner { max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.35);
  color: var(--accent-2); font-size: 0.82rem; font-weight: 500;
  margin-bottom: 1.5rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #00ff9d;
  box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 157, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.5vw, 4.4rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted); max-width: 540px; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 3.25rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  padding-top: 2rem; border-top: 1px solid var(--border); max-width: 680px;
}
.stat strong {
  font-family: var(--display); font-size: 1.85rem; font-weight: 700;
  letter-spacing: -0.02em; display: block;
}
.stat p { color: var(--text-dim); font-size: 0.85rem; margin-top: 0.2rem; }

/* Sections */
.section { position: relative; z-index: 1; padding: 5.5rem 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.04), transparent);
}
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 0.75rem;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-head strong { color: var(--text); font-weight: 600; }

/* About */
.about-grid { display: grid; gap: 2rem; }
.about-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.mini-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem;
  transition: border-color 0.2s, transform 0.2s;
}
.mini-card:hover { border-color: rgba(108, 92, 231, 0.4); transform: translateY(-2px); }
.mini-card strong {
  display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.4rem;
}
.mini-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Stack */
.stack-groups { display: grid; gap: 1.25rem; }
.stack-group {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.5rem;
}
.stack-group h3 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-dim); margin-bottom: 0.9rem; font-weight: 600;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags span {
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.tags span:hover {
  border-color: rgba(108, 92, 231, 0.45);
  color: var(--text);
  background: rgba(108, 92, 231, 0.1);
}

/* Industries */
.spheres-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.sphere {
  padding: 1rem 1.15rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.sphere:hover {
  border-color: rgba(0, 210, 255, 0.35);
  background: var(--bg-card-hover);
}

/* Client SSL slots */
.client-slots { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.slot {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: 1.15rem 1.35rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.slot:hover {
  border-color: rgba(108, 92, 231, 0.45);
  transform: translateY(-2px);
}
.slot-lock {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.15rem;
  background: var(--grad-soft); border: 1px solid rgba(108, 92, 231, 0.25);
}
.slot strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.slot p { color: var(--text-dim); font-size: 0.88rem; margin-top: 0.15rem; }
.slot-arrow { color: var(--accent-2); font-size: 1.25rem; }
.infra-line {
  color: var(--text-muted); font-size: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--grad-soft);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: var(--radius-sm);
}
.infra-line code {
  background: rgba(0,0,0,0.35); padding: 0.12rem 0.4rem;
  border-radius: 4px; color: var(--accent-3);
}

/* CTA */
.cta-section { padding-bottom: 6.5rem; }
.cta-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  padding: 2.5rem;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(108, 92, 231, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-copy, .contact-form { position: relative; z-index: 1; }
.cta-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em; margin-bottom: 0.85rem;
}
.cta-copy p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.field label {
  display: block; font-size: 0.8rem; font-weight: 500;
  color: var(--text-dim); margin-bottom: 0.35rem;
}
.field input, .field textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: 0.95rem; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--accent); background: rgba(108, 92, 231, 0.08);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note { text-align: center; color: #00ff9d; font-size: 0.9rem; font-weight: 500; }

/* Footer */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem; background: var(--bg-elev);
}
.footer-inner {
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 2.5rem; margin-bottom: 2rem;
}
.footer-brand p { color: var(--text-dim); margin-top: 0.75rem; font-size: 0.92rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-dim); margin-bottom: 0.85rem;
}
.footer-cols a {
  display: block; color: var(--text-muted); font-size: 0.92rem;
  margin-bottom: 0.45rem; transition: color 0.2s;
}
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 960px) {
  .about-cards, .spheres-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0;
    background: rgba(7, 7, 12, 0.96); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 1.5rem;
    opacity: 0; visibility: hidden; transition: 0.3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-box { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .about-cards, .spheres-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
}
