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

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --text: #e8e8e8;
  --text-muted: #888888;
  --accent: #4FC3F7;
  --accent-dim: rgba(79, 195, 247, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.04);
  --gradient: linear-gradient(135deg, #ffffff 0%, #a8c8e8 50%, #4FC3F7 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1100px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── UTILITIES ── */

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #7dd3f5;
  border-color: #7dd3f5;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 195, 247, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(79, 195, 247, 0.4);
}

.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* ── REVEAL ANIMATION ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR ── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text);
  transition: color 0.2s;
}

.nav-logo:hover {
  color: var(--accent);
}

/* ── HERO ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 32px 80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-accent {
  position: absolute;
  bottom: 80px;
  right: 60px;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.4));
  pointer-events: none;
}

.desktop-br {
  display: none;
}

@media (min-width: 768px) {
  .desktop-br { display: inline; }
}

/* ── SERVICES ── */

.services {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  border-color: rgba(79, 195, 247, 0.3);
  box-shadow: 0 0 40px rgba(79, 195, 247, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.8;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── PILLARS ── */

.pillars {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.pillars-strip {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pillar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 40px;
  text-align: center;
}

.pillar-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 240px;
}

.pillar-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
  align-self: center;
}

/* ── CTA SECTION ── */

.cta-section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 16px 0 20px;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ── FOOTER ── */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-social {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social:hover {
  color: var(--accent);
}

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }

  .hero { padding: var(--nav-h) 20px 60px; }

  .services { padding: 80px 0; }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillars-strip {
    flex-direction: column;
    gap: 40px;
  }
  .pillar-item { padding: 0; }
  .pillar-divider { width: 60px; height: 1px; align-self: auto; }

  .cta-section { padding: 80px 0; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
