/* ============================================================
   SwiftIntellect — Homepage Stylesheet
   Theme: DARK near-black canvas with PEACH accent
   Palette: #0B0E14 base, #E8EAED text, #FB923C peach accent
   ============================================================ */

:root {
  --bg: #0B0E14;
  --bg-2: #10141C;
  --bg-3: #151A24;
  --surface: #12161F;
  --line: #232A38;
  --line-soft: #1C2230;
  --text: #E8EAED;
  --text-soft: #B7BECB;
  --text-dim: #8B93A4;
  --peach: #FB923C;
  --peach-deep: #F97316;
  --peach-light: #FDBA74;
  --peach-faint: #2A1B10;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--peach);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--peach-light);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--peach);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 640px;
}

/* ============================================================
   STICKY MICRO-BAR NAVIGATION
   ============================================================ */

.microbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}

.microbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.microbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.microbar-brand span {
  color: var(--peach);
}

.microbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--peach);
  color: #1a0f06;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.microbar-cta:hover {
  background: var(--peach-light);
  color: #1a0f06;
  transform: translateY(-1px);
}

/* ============================================================
   HERO — ORBIT RINGS
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 96px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, #1a1410 0%, transparent 65%),
    var(--bg);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 146, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 146, 60, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

.orbit-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

/* Orbit rings container */
.orbit-field {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring.r1 {
  width: 280px;
  height: 280px;
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.orbit-ring.r2 {
  width: 430px;
  height: 430px;
  border: 1px dashed rgba(251, 146, 60, 0.28);
}

.orbit-ring.r3 {
  width: 600px;
  height: 600px;
  border: 1px solid rgba(251, 146, 60, 0.18);
}

.orbit-ring.r4 {
  width: 790px;
  height: 790px;
  border: 1px dashed rgba(251, 146, 60, 0.14);
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation: orbit-spin 28s linear infinite;
}

.orbit-dot span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 12px rgba(251, 146, 60, 0.9);
}

.orbit-dot.d1 { animation-duration: 22s; }
.orbit-dot.d1 span { width: 8px; height: 8px; transform: translate(-4px, -144px); }
.orbit-dot.d2 { animation-duration: 36s; animation-direction: reverse; }
.orbit-dot.d2 span { width: 6px; height: 6px; transform: translate(-3px, -215px); background: var(--peach-light); }
.orbit-dot.d3 { animation-duration: 48s; }
.orbit-dot.d3 span { width: 7px; height: 7px; transform: translate(-3px, -300px); background: var(--peach-deep); }
.orbit-dot.d4 { animation-duration: 60s; animation-direction: reverse; }
.orbit-dot.d4 span { width: 5px; height: 5px; transform: translate(-2px, -395px); background: var(--peach-light); }

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
}

.orbit-node.n1 { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.orbit-node.n2 { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--peach); border-color: var(--peach); }

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

/* Hero content (center) */
.hero-core {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--peach-light);
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-title .accent {
  color: var(--peach);
}

.hero-sub {
  font-size: 1.16rem;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 34px;
}

/* Section chips inside hero */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-chips a {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-2);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-chips a:hover {
  border-color: var(--peach);
  color: var(--peach-light);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--peach);
  color: #1a0f06;
}

.btn-primary:hover {
  background: var(--peach-light);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--peach);
  color: var(--peach-light);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

.hero-scroll .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}

.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--peach);
  animation: scroll-wheel 1.8s ease infinite;
}

@keyframes scroll-wheel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   MANIFESTO — full-width statement row
   ============================================================ */

.manifesto-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 110px 0;
}

.manifesto-text {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 960px;
}

.manifesto-text .hl {
  color: var(--peach);
}

.manifesto-meta {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.manifesto-meta .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--peach-light);
  letter-spacing: -0.02em;
}

.manifesto-meta .stat-cap {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ============================================================
   APPROACH — numbered list section
   ============================================================ */

.approach-section {
  background: var(--bg);
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
}

.approach-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
}

.approach-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.approach-index {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--peach);
  letter-spacing: -0.03em;
}

.approach-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.approach-item p {
  color: var(--text-soft);
  max-width: 640px;
}

/* ============================================================
   COMPARISON TABLE — legacy vs integrated
   ============================================================ */

.compare-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.compare-table thead th {
  background: var(--bg-3);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.compare-table thead th.col-accent {
  background: var(--peach-faint);
  color: var(--peach-light);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody th {
  color: var(--text-soft);
  font-weight: 600;
  width: 30%;
}

.compare-table td {
  color: var(--text-soft);
}

.compare-table td.yes {
  color: var(--peach-light);
  font-weight: 700;
}

.compare-table td.no {
  color: var(--text-dim);
}

/* ============================================================
   SERVICES — horizontal scroll row of cards
   ============================================================ */

.services-section {
  background: var(--bg);
}

.scroll-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 24px 4px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-top: 44px;
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-track {
  background: var(--bg-2);
  border-radius: 999px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.service-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--peach-faint);
  border: 1px solid rgba(251, 146, 60, 0.35);
  margin-bottom: 20px;
  color: var(--peach-light);
  font-size: 1.4rem;
  font-weight: 700;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* ============================================================
   PRINCIPLES — feature columns with big numerals
   ============================================================ */

.principles-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.principle-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
}

.principle-num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--peach);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.principle-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.principle-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* ============================================================
   VOICES — testimonial slider
   ============================================================ */

.voices-section {
  background: var(--bg);
}

.slider {
  position: relative;
  margin-top: 52px;
}

.slide {
  display: none;
  animation: fade-in 0.5s ease;
}

.slide.active {
  display: block;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-quote {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  max-width: 820px;
}

.slide-attribution {
  margin-top: 24px;
  color: var(--peach-light);
  font-weight: 700;
  font-size: 0.95rem;
}

.slide-role {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.85rem;
}

.slider-nav {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
}

.slider-dot.active {
  background: var(--peach);
}

/* ============================================================
   ACCORDION — FAQ
   ============================================================ */

.faq-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.accordion {
  margin-top: 48px;
  max-width: 820px;
}

.accordion-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--bg);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
}

.accordion-trigger .mark {
  font-size: 1.3rem;
  color: var(--peach);
  font-weight: 700;
  transition: transform 0.25s ease;
}

.accordion-item.open .accordion-trigger .mark {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-panel p {
  padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ============================================================
   CONTACT — split section
   ============================================================ */

.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 52px;
  align-items: start;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-ico {
  flex: 0 0 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--peach-faint);
  border: 1px solid rgba(251, 146, 60, 0.35);
  color: var(--peach-light);
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-info-list .lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
}

.contact-info-list .val {
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 600;
}

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

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

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

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.ok {
  display: block;
  background: var(--peach-faint);
  border: 1px solid rgba(251, 146, 60, 0.4);
  color: var(--peach-light);
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  padding: 90px 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #2a1b10 0%, #1a130d 100%);
  border: 1px solid rgba(251, 146, 60, 0.3);
  padding: 64px 56px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-about {
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--peach-light);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .orbit-ring.r4 {
    width: 560px;
    height: 560px;
  }

  .orbit-dot.d4 span {
    transform: translate(-2px, -280px);
  }
}

@media (max-width: 620px) {
  .section {
    padding: 68px 0;
  }

  .approach-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .orbit-ring.r3,
  .orbit-ring.r4 {
    display: none;
  }

  .orbit-dot.d3,
  .orbit-dot.d4 {
    display: none;
  }

  .orbit-stage {
    min-height: 460px;
  }

  .cta-band {
    padding: 44px 24px;
  }
}
