@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #020712;
  --bg-soft: #050b1c;
  --card: rgba(10, 16, 35, 0.9);
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.15);
  --text: #f7fafc;
  --muted: #a0aec0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.75);
  --radius-xl: 20px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020712 40%, #000 100%);
  color: var(--text);
}

body {
  position: relative;
  overflow-x: hidden;
}

/* Glowing background orbs */
.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -80px;
  background: rgba(79, 209, 197, 0.7);
}

.orb-2 {
  width: 520px;
  height: 520px;
  bottom: -120px;
  right: -80px;
  background: rgba(129, 140, 248, 0.5);
}

.orb-3 {
  width: 260px;
  height: 260px;
  top: 40%;
  right: 10%;
  background: rgba(236, 72, 153, 0.4);
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8vw;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

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

.navbar nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.navbar nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #818cf8);
  transition: width 0.25s ease-out;
}

.navbar nav a:hover {
  color: var(--text);
}

.navbar nav a:hover::after {
  width: 100%;
}

/* Layout */

main {
  padding: 40px 8vw 80px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero .accent {
  background: linear-gradient(120deg, #4fd1c5, #818cf8, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 34rem;
  font-size: 0.98rem;
}

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

.btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease-out;
}

.primary-btn {
  background: radial-gradient(circle at top left, #4fd1c5, #0f766e);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.6);
}

.primary-btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 24px 60px rgba(15, 118, 110, 0.8);
}

.ghost-btn {
  border-color: var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--muted);
}

.ghost-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(15, 23, 42, 0.95);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
}

/* Hero right side */

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(79, 209, 197, 0.22), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-card-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 10px;
}

.code-block {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95));
  border-radius: 16px;
  padding: 12px 14px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  margin: 0 0 12px;
}

.hero-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.hero-card-foot .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(79, 209, 197, 0.9);
}

.hero-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.metric {
  flex: 1;
  min-width: 130px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-value {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sections */

.section {
  margin-top: 60px;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.section-text {
  color: var(--muted);
  max-width: 42rem;
  font-size: 0.98rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 22px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 16px 18px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

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

/* Pills */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.82rem;
  color: var(--muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 20px;
}

.contact-card {
  display: block;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border 0.2s;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 16px 8vw 24px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
}

/* Fade-in on scroll */

.fade-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    order: -1;
  }
  .navbar {
    padding-inline: 6vw;
  }
  main {
    padding-inline: 6vw;
  }
}

@media (max-width: 640px) {
  .navbar nav {
    display: none;
  }
  .hero {
    padding-top: 24px;
  }
  .section {
    margin-top: 48px;
  }
}
