:root {
  --bg: #0b1020;
  --bg-soft: #10172d;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: #ffffff;
  --text: #ecf2ff;
  --text-dark: #122033;
  --muted: #a8b4cf;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #5eead4;
  --primary-dark: #14b8a6;
  --accent: #8b5cf6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(94, 234, 212, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 30%),
    linear-gradient(180deg, #09101f 0%, #0d1324 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 12, 25, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
}

.brand-name,
.brand-tag {
  display: block;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  font-size: 1.15rem;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-home,
.hero-ai,
.page-hero {
  position: relative;
}

.hero-grid,
.split-grid,
.cards-2,
.cards-3 {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.split-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.hero-copy h1,
.page-hero h1,
.section h2 {
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  max-width: 11ch;
}

.hero-copy p,
.page-hero p,
.section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero-inner {
  max-width: 800px;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #67e8f9);
  color: #062127;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #fff;
}

.glass-card,
.feature-card,
.service-card,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.glass-card,
.feature-card {
  background: rgba(255, 255, 255, 0.05);
}

.glass-card {
  padding: 1.6rem;
}

.mini-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.mini-grid article,
.feature-card,
.card-content {
  padding: 1.25rem;
}

.mini-grid article {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-icon {
  font-size: 1.4rem;
}

.section {
  padding: 2rem 0 4rem;
}

.alt-bg {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-card h3,
.gallery-card h3,
.service-card h2,
.glass-card h2 {
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}

.service-card,
.gallery-card {
  background: #0f172a;
}

.card-image-wrap img,
.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card .card-content {
  padding: 1.5rem;
}

.link-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.45);
}

.text-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.ai-brand-panel {
  display: grid;
  place-items: center;
  gap: 1rem;
  text-align: center;
}

.ai-logo {
  width: min(100%, 360px);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(10, 15, 28, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .brand-tag {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
