:root {
  --bg: #050a14;
  --bg-secondary: #0a1424;
  --bg-card: #101e35;
  --primary: #2ba3ff;
  --primary-dark: #1565b8;
  --ai: #00e5ff;
  --text: #ffffff;
  --text-secondary: #6b8cae;
  --text-muted: #5a7390;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(43, 163, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--ai);
}

.brand-name .intelli {
  color: var(--primary);
}

.brand-name .date {
  color: var(--ai);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(5, 10, 20, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px var(--glow);
}

.nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(43, 163, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(0, 229, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy .tagline {
  margin: 0 0 28px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 28px var(--glow);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--ai);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 300px);
  padding: 12px;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(43, 163, 255, 0.25), rgba(0, 229, 255, 0.08));
  border: 1px solid rgba(43, 163, 255, 0.25);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
}

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

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.feature-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(43, 163, 255, 0.14);
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.screenshots {
  background: linear-gradient(180deg, transparent, rgba(10, 20, 36, 0.65), transparent);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.screenshot-card {
  text-align: center;
}

.screenshot-card img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.screenshot-card figcaption {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.cta-band {
  margin: 0 24px 56px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 32px;
  border-radius: 24px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(43, 163, 255, 0.18), rgba(0, 229, 255, 0.08)),
    var(--bg-card);
  border: 1px solid rgba(43, 163, 255, 0.22);
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 48ch;
  color: var(--text-secondary);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 40px;
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-badges {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .header-inner {
    padding: 14px 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

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