:root {
  --primary: #0b3c5d;
  --accent: #02b3e4;
  --accent2: #7b61ff;
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 22, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-img {
  width: 32px;
  height: 32px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.2s ease;
}

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

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

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero-dynamic {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.hero-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-rotating {
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
  min-width: 180px;
}

/* Buttons */

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #020617;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.7);
}

.full-width {
  width: 100%;
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-orbit {
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  position: relative;
  animation: orbit-rotate 26s linear infinite;
}

.orbit-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 24px;
  background: radial-gradient(circle at top, #1d4ed8, #020617);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  text-align: center;
}

.orbit-core span {
  font-weight: 700;
  font-size: 1rem;
}

.orbit-core small {
  font-size: 0.7rem;
  color: var(--muted);
}

.orbit-node {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text);
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.9);
}

.orbit-ai { top: -10px; left: 50%; transform: translateX(-50%); }
.orbit-cloud { right: -10px; top: 50%; transform: translateY(-50%); }
.orbit-sec { bottom: -10px; left: 50%; transform: translateX(-50%); }
.orbit-auto { left: -10px; top: 50%; transform: translateY(-50%); }

.hero-caption {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.75rem;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at bottom, #020617 0, #020617 40%, #000 100%);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

/* Grids & Cards */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at top, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #020617;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

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

.card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  border-color: rgba(96, 165, 250, 0.8);
}

.small-text {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Lists */

.bullet-list {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

/* Hero small */

.hero-small {
  padding: 2.5rem 0 1.5rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-card h3 {
  margin-bottom: 0.75rem;
}

.contact-card form label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #020617;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
}

.contact-card textarea {
  min-height: 110px;
  resize: vertical;
}

/* Form status */

.form-status {
  font-size: 0.8rem;
  min-height: 1.1rem;
  margin-top: 0.25rem;
}

.form-status.pending {
  color: #eab308;
}

.form-status.success {
  color: #22c55e;
}

.form-status.error {
  color: #f97316;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.5rem 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-tags {
  font-size: 0.8rem;
}

/* Responsive */

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

  nav ul {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
