/* Base layout & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #e5ecff;
  background:
    radial-gradient(circle at top left, #1a3d6f 0, transparent 55%),
    radial-gradient(circle at bottom right, #051937 0, transparent 55%),
    linear-gradient(135deg, #050817, #030712 55%, #050b1a);
  min-height: 100vh;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

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

main {
  padding-top: 84px;
}

/* Header & navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(24px);
  background: linear-gradient(to bottom, rgba(5, 10, 28, 0.92), rgba(5, 10, 28, 0.82));
  border-bottom: 1px solid rgba(186, 210, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  background: conic-gradient(
    from 140deg,
    #60a5fa,
    #22c1c3,
    #6366f1,
    #a855f7,
    #60a5fa
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 12px 30px rgba(15, 23, 42, 0.9);
}

.logo-text span {
  color: #7dd3fc;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.nav-link {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: rgba(226, 232, 255, 0.78);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent);
  border-color: rgba(129, 140, 248, 0.45);
  color: #f9fbff;
}

.nav-link.active {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #f9fafb;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 12px 35px rgba(37, 99, 235, 0.45);
}

.nav-cta {
  margin-left: 0.5rem;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.7), transparent);
}

.nav-cta.active {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-color: rgba(251, 146, 60, 0.7);
}

/* Hero area */
.hero {
  position: relative;
  padding: 4rem 0 4.5rem;
  overflow: hidden;
}

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

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #a5b4fc;
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: clamp(2.3rem, 3.2vw + 1rem, 3.4rem);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 1rem;
}

.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #6366f1, #a855f7);
  opacity: 0.9;
}

.hero-subtitle {
  max-width: 38rem;
  color: #cbd5f5;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #f9fafb;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 14px 35px rgba(37, 99, 235, 0.48);
}

.ghost-btn {
  border-color: rgba(148, 163, 255, 0.6);
  background: rgba(15, 23, 42, 0.6);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 18px 40px rgba(15, 23, 42, 0.8);
}

.hero-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.meta-item {
  display: grid;
  gap: 0.1rem;
}

.meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #9ca3ff;
}

.meta-value {
  font-size: 0.88rem;
  color: #e5ecff;
}

.hero-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.glass-card {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.32), transparent),
    rgba(15, 23, 42, 0.92);
  border-radius: 1.1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(148, 163, 255, 0.4);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.7),
    0 22px 60px rgba(15, 23, 42, 0.95);
}

.highlight-card {
  padding: 1.4rem 1.5rem;
}

.glass-card h2,
.glass-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.glass-card p {
  margin: 0.25rem 0 0.6rem;
  font-size: 0.9rem;
  color: #d1ddff;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}

.check-list li::before {
  content: "✓";
  margin-right: 0.45rem;
  color: #4ade80;
}

/* Decorative background orbits */
.gradient-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
}

.gradient-orbit-1 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -40px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.9), transparent 60%);
}

.gradient-orbit-2 {
  width: 360px;
  height: 360px;
  left: -160px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.85), transparent 60%);
}

/* Generic sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.3));
}

.section-grid {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-header h2 {
  margin: 0 0 0.7rem;
}

.section-header p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.section-cta-bar {
  margin-top: 2rem;
  padding: 1rem 1.3rem;
  border-radius: 1rem;
  border: 1px dashed rgba(129, 140, 248, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
}

/* Split & metrics sections */
.section-split .split-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.3rem;
  align-items: start;
}

.split-copy p {
  color: #cbd5f5;
  font-size: 0.95rem;
}

.split-metrics {
  display: grid;
  gap: 0.8rem;
}

.metric-card {
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.5);
}

.metric-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  margin-bottom: 0.15rem;
}

.metric-value {
  font-size: 0.9rem;
}

/* Process grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

.process-step {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(75, 85, 172, 0.7);
}

.step-number {
  display: inline-flex;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  background: radial-gradient(circle at top left, #38bdf8, #6366f1);
  color: #020617;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.process-step h3 {
  margin: 0 0 0.3rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1ddff;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.4rem 0 2.8rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 2.2vw + 1rem, 2.4rem);
}

.page-hero-subtitle {
  margin: 0;
  max-width: 40rem;
  color: #cbd5f5;
  font-size: 0.96rem;
}

.note-text {
  font-size: 0.78rem;
  color: #9ca3ff;
  margin-top: 0.8rem;
}

/* Generic grid helpers */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.3rem;
}

.margin-top-lg {
  margin-top: 2.4rem;
}

/* Side panels & info cards */
.side-panel {
  display: grid;
  gap: 1rem;
}

.side-panel-block {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.6);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.9rem;
}

.side-panel-block.muted {
  border-style: dashed;
  color: #d1ddff;
}

.data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
}

.data-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.data-list li:last-child {
  border-bottom: none;
}

.quote-card {
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(96, 165, 250, 0.7);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.38), transparent),
    rgba(15, 23, 42, 0.98);
}

.quote-text {
  margin: 0 0 0.6rem;
  font-size: 0.96rem;
}

.quote-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #bfdbfe;
}

.info-card,
.note-card {
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(96, 165, 250, 0.7);
  background: rgba(15, 23, 42, 0.96);
  font-size: 0.9rem;
}

.note-card {
  border-style: dashed;
}

/* Portfolio cards */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.portfolio-card {
  padding: 1.1rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.3), transparent),
    rgba(15, 23, 42, 0.96);
  font-size: 0.9rem;
}

.portfolio-card h2 {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.portfolio-card p {
  margin: 0 0 0.6rem;
  color: #d1ddff;
}

.tag {
  display: inline-flex;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(56, 189, 248, 0.9);
  color: #e0f2fe;
  background: rgba(8, 47, 73, 0.9);
}

.tag-alt {
  border-color: rgba(129, 140, 248, 0.9);
  background: rgba(30, 64, 175, 0.9);
}

.tag-muted {
  border-color: rgba(148, 163, 184, 0.9);
  background: rgba(30, 41, 59, 0.9);
  color: #e5e7eb;
}

.bullet-list {
  padding-left: 1rem;
  margin: 0;
}

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

/* Timeline */
.timeline {
  border-left: 1px solid rgba(129, 140, 248, 0.7);
  padding-left: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.25rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #38bdf8, #6366f1);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22);
}

.timeline-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #e5ecff;
}

.timeline-item p {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Lists */
.numbered-list {
  margin: 0.2rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #d1ddff;
}

.numbered-list li {
  margin-bottom: 0.25rem;
}

.text-link {
  font-size: 0.9rem;
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: #bfdbfe;
}

/* Contact form */
.contact-form {
  padding: 1.4rem 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(96, 165, 250, 0.8);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.3), transparent),
    rgba(15, 23, 42, 0.96);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
}

.form-row label {
  font-size: 0.84rem;
  color: #e5ecff;
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 255, 0.7);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.75rem;
  color: #e5ecff;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.8);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  margin-top: 0.8rem;
}

.form-footer .btn {
  margin-bottom: 0.4rem;
}

/* Legal content */
.legal-content h2 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.legal-content p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: #d1ddff;
}

.legal-content .bullet-list {
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
  margin-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.logo-small .logo-mark {
  width: 26px;
  height: 26px;
  font-size: 0.98rem;
}

.footer-copy {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: #9ca3ff;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.4rem;
  font-size: 0.85rem;
}

.footer-column h4 {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3ff;
}

.footer-column p {
  margin: 0;
  color: #d1ddff;
}

.footer-column a {
  display: block;
  margin-bottom: 0.2rem;
  color: #c7d2fe;
}

.footer-column a:hover {
  color: #e5ecff;
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: #6b7280;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  padding-top: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-split .split-inner,
  .two-column,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  main {
    padding-top: 112px;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .section,
  .section-grid {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-cta-bar {
    padding: 0.9rem 1rem;
  }
}

