:root {
  --bg: #050816;
  --bg-alt: #0b1220;
  --card: #0f172a;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0b1120 0, #020617 50%, #000 100%);
  color: var(--text);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

/* LAYOUT */

.apl-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.apl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #38bdf8, #0ea5e9, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #e5f2ff;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.7);
}

.logo-text .brand {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-text .tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.apl-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.85rem;
}

.apl-nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 6px 8px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.1s;
}

.apl-nav a:hover {
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.btn-nav {
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding-inline: 14px;
}

/* HERO */

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 2.9vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text .accent {
  color: var(--accent);
}

.hero-sub {
  color: var(--text-soft);
  max-width: 34rem;
  font-size: 0.95rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s, background 0.2s, border 0.2s;
}

.btn-primary {
  background: linear-gradient(to right, #0ea5e9, #38bdf8);
  color: #0b1120;
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(56, 189, 248, 0.7);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--text);
  background: rgba(15, 23, 42, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.hero-meta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-meta span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.8);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
}

.orbital {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  margin-inline: auto;
  background: radial-gradient(circle at 30% 20%, #1d4ed8, #020617 70%);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #e0f2fe, #38bdf8, #1d4ed8);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.9);
}

.ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.ring-1 {
  width: 160px;
  height: 160px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
}

.ring-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  border-color: rgba(96, 165, 250, 0.4);
}

.ring-3 {
  width: 240px;
  height: 240px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-color: rgba(14, 165, 233, 0.35);
}

.hero-caption {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  max-width: 260px;
  margin-inline: auto;
}

/* SECTIONS */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #000 100%);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.section-head h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* GRID */

.grid {
  display: grid;
  gap: 1.5rem;
}

/* SERVICES */

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), #020617 45%);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.13), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.06), transparent 60%);
  opacity: 0.2;
  pointer-events: none;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.card ul {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.card ul li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.4rem;
}

.service-card.full {
  grid-column: 1 / -1;
}

/* SOLUTIONS */

.section-alt .card {
  background: linear-gradient(135deg, #020617, #020617 60%, rgba(56, 189, 248, 0.1));
}

.solution-card {
  min-height: 170px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-soft);
  margin-top: 0.6rem;
}

/* ABOUT */

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: flex-start;
}

.about-main {
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.about-highlight {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.about-highlight h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.about-highlight ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.about-highlight li + li {
  margin-top: 0.5rem;
}

/* CONTACT */

.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.contact-form .full {
  width: 100%;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* FOOTER */

.apl-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  background: #020617;
  padding: 1.1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-meta {
  opacity: 0.8;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    height: auto;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
  .apl-nav {
    font-size: 0.8rem;
    gap: 0.7rem;
    flex-wrap: wrap;
  }
  .hero {
    padding-top: 3rem;
  }
  .section {
    padding: 2.6rem 0;
  }
  .card {
    padding: 1.1rem 1.1rem;
  }
}
