/* ========================
   Reset & Base
======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0a0a0f;
  --bg-card:   #0e0e16;
  --bg-alt:    #111118;
  --accent:    #6c63ff;
  --accent-2:  #a78bfa;
  --accent-cyan: #22d3ee;
  --text:      #e8e8f0;
  --muted:     #7a7a9a;
  --border:    #1e1e2e;
  --radius:    12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

code {
  font-family: 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.85em;
  color: var(--accent-2);
  background: rgba(167,139,250,.1);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ========================
   Navbar
======================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.logo-icon { color: var(--accent); font-size: 1.4rem; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}

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

.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1.1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background var(--transition) !important;
}

.btn-nav:hover { background: var(--accent-2) !important; }

/* ========================
   Buttons
======================== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ========================
   Hero
======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-tag {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.hero-subtitle strong { color: var(--text); }

/* Under construction badge */
.under-construction {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(251,191,36,.25);
  background: rgba(251,191,36,.05);
  color: #fbbf24;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 1.75rem;
}

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

/* Orbit Visual */
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 300px;
  height: 340px;
}

.orbit-core {
  position: absolute;
  font-size: 3rem;
  color: var(--accent);
  z-index: 2;
  animation: pulse 3s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.2;
  animation: spin linear infinite;
}

.ring-1 { width: 120px; height: 120px; animation-duration: 7s; }
.ring-2 { width: 215px; height: 215px; animation-duration: 14s; opacity: 0.12; border-style: dashed; }
.ring-3 { width: 310px; height: 310px; animation-duration: 24s; opacity: 0.07; }

.orbit-label {
  position: absolute;
  font-size: 0.7rem;
  letter-spacing: .1em;
  color: var(--accent-2);
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
}
.label-top    { top: 16px;  left: 50%; transform: translateX(-50%); }
.label-right  { right: 10px; top: 50%; transform: translateY(-50%); }
.label-bottom { bottom: 16px; left: 50%; transform: translateX(-50%); }
.label-left   { left: 10px; top: 50%; transform: translateY(-50%); }

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

@keyframes pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.1); opacity: 0.8; }
}

/* ========================
   Section helpers
======================== */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title-left {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--muted);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 660px;
  line-height: 1.8;
}

.section-desc strong { color: var(--text); }

/* ========================
   What section
======================== */
.what {
  padding: 5rem 0 4rem;
}

/* ========================
   Features
======================== */
.features {
  padding: 5rem 0 6rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.card-icon { font-size: 1.8rem; margin-bottom: 0.9rem; }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* ========================
   Platform / About
======================== */
.platform {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.chips-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0;
}

.chip {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition);
}

.stat:hover { border-color: var(--accent); }

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label { font-size: 0.82rem; color: var(--muted); }

/* ========================
   SDK Section
======================== */
.sdk-section {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.code-block {
  margin-top: 2rem;
  background: #07090f;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: #0a0d16;
}

.code-lang {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.code-file {
  font-size: 0.75rem;
  color: var(--muted);
}

.code-body {
  padding: 1.5rem 1.75rem;
  font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.85rem;
  line-height: 1.85;
  color: #94a3b8;
  overflow-x: auto;
}

.c-comment { color: #475569; }
.c-func    { color: #7dd3fc; }
.c-str     { color: #86efac; }
.c-num     { color: #fde68a; }
.c-const   { color: #c4b5fd; }
.c-keyword { color: #f472b6; }

.sdk-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.sdk-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.sdk-status {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}

.sdk-status.ready   { background: rgba(134,239,172,.12); color: #86efac; }
.sdk-status.wip     { background: rgba(251,191,36,.1);  color: #fbbf24; }
.sdk-status.planned { background: rgba(100,116,139,.12); color: #94a3b8; }

/* ========================
   Services list
======================== */
.services {
  padding: 6rem 0;
}

.service-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.service-item strong { color: var(--text); }

.svc-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.6rem;
  flex-shrink: 0;
}

/* ========================
   Contact
======================== */
.contact {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-family: inherit;
  transition: border-color var(--transition);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn-primary { align-self: flex-start; }

/* ========================
   Footer
======================== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { color: var(--muted); font-size: 0.85rem; }

/* ========================
   Responsive
======================== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
  }

  .hero-buttons { justify-content: center; }
  .hero-content { max-width: 100%; }
  .hero-visual   { height: 260px; min-width: unset; }

  .ring-3 { width: 220px; height: 220px; }
  .ring-2 { width: 160px; height: 160px; }
  .ring-1 { width: 100px; height: 100px; }

  .label-right, .label-left { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .nav-links { gap: 1rem; }

  .service-list { grid-template-columns: 1fr; }
}
