/* ============================================================
   AMYLYNN ENTERPRISES, INC. — main stylesheet
   Dark theme · sky blue accent · computer systems design
   ============================================================ */

:root {
  --bg: #0B0E14;
  --surface: #11151F;
  --surface-2: #161C29;
  --surface-3: #1B2230;
  --border: #232B3A;
  --border-strong: #2E3949;
  --text: #E8EAED;
  --muted: #9AA3AF;
  --muted-2: #6B7686;
  --accent: #0EA5E9;
  --accent-light: #38BDF8;
  --accent-dark: #0284C7;
  --accent-deep: #075985;
  --green: #22C55E;
  --amber: #F59E0B;
  --red: #EF4444;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* ============================================================
   GRADIENT HEADER BAR
   ============================================================ */

.gradient-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #38BDF8 0%, #0EA5E9 48%, #0284C7 100%);
  box-shadow: 0 4px 24px rgba(2, 6, 23, 0.45);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gradient-header .brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #06121E;
  white-space: nowrap;
}

.gradient-header .brand span {
  font-weight: 600;
  color: #06283D;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #06121E;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #06121E;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #06121E;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO — gauge / dial console
   ============================================================ */

.hero-section {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(14, 165, 233, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(2, 132, 199, 0.14), transparent 55%),
    var(--bg);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  margin-top: 22px;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #06121E;
}

.btn-primary:hover {
  background-color: var(--accent-light);
  color: #06121E;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

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

/* Console */

.console {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.console-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green { background-color: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-amber { background-color: var(--amber); box-shadow: 0 0 8px var(--amber); }
.dot-red { background-color: var(--red); box-shadow: 0 0 8px var(--red); }

.console-body {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 24px;
}

/* Gauge */

.gauge {
  position: relative;
  width: 158px;
  height: 158px;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg 240deg, var(--border) 240deg 360deg);
}

.gauge-ticks {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--muted-2) 0deg 1.2deg, transparent 1.2deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%);
  mask: radial-gradient(circle, transparent 60%, #000 62%);
}

.gauge-core {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gauge-value small {
  font-size: 0.9rem;
  color: var(--accent-light);
  font-weight: 700;
}

.gauge-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 4px;
}

/* Meters */

.console-meters {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meter-row {
  display: grid;
  grid-template-columns: 84px 1fr 44px;
  align-items: center;
  gap: 12px;
}

.meter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.meter-track {
  display: block;
  height: 8px;
  background: var(--surface-3);
  border-radius: 4px;
  overflow: hidden;
}

.meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
  border-radius: 4px;
}

.meter-fill.meter-ok {
  background: linear-gradient(90deg, var(--accent-dark), var(--green));
}

.meter-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.console-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}

.console-time {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

/* ============================================================
   METRICS BAND
   ============================================================ */

.metrics-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.metrics-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.metric-unit {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
}

/* ============================================================
   SHARED SECTION HEAD
   ============================================================ */

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ============================================================
   CAPABILITIES — numbered list
   ============================================================ */

.capabilities-section {
  padding: 96px 0;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.numbered-list {
  list-style: none;
  counter-reset: item;
}

.numbered-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

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

.number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.numbered-body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.numbered-body p {
  color: var(--muted);
  max-width: 720px;
}

/* ============================================================
   FULL-WIDTH STATEMENT
   ============================================================ */

.statement-section {
  background: linear-gradient(120deg, #0B2230 0%, #0E3550 50%, #082033 100%);
  border-top: 1px solid var(--accent-deep);
  border-bottom: 1px solid var(--accent-deep);
  padding: 96px 0;
}

.statement-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.statement-quote {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 24px;
}

.statement-sub {
  font-size: 1.05rem;
  color: #C7D8E6;
}

/* ============================================================
   SERVICES — comparison table
   ============================================================ */

.services-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-section .section-head {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.service-table {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-row {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  align-items: center;
}

.service-row:last-child {
  border-bottom: 1px solid var(--border);
}

.service-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 0 0 12px;
}

.col-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-light);
}

.col-desc {
  color: var(--muted);
}

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

/* ============================================================
   PROCESS — timeline
   ============================================================ */

.process-section {
  padding: 96px 0;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-step {
  position: relative;
}

.step-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 4px var(--surface-3), 0 0 0 5px var(--accent);
  margin-bottom: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  height: 100%;
}

.step-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* ============================================================
   FAQ — accordion
   ============================================================ */

.faq-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-section .section-head {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.accordion {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.accordion-item {
  border-top: 1px solid var(--border);
}

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

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 22px 0;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
}

.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.accordion-item.open .accordion-trigger::after {
  transform: translateY(-50%) rotate(45deg);
}

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

.accordion-item.open .accordion-panel {
  max-height: 300px;
}

.accordion-panel p {
  color: var(--muted);
  padding: 0 0 24px;
}

/* ============================================================
   NEWSLETTER BAND
   ============================================================ */

.newsletter-section {
  padding: 72px 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-dark));
}

.newsletter-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.newsletter-inner h2 {
  font-size: 1.7rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.newsletter-inner p {
  color: #D6F0FC;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 8px;
  border: none;
  background: #FFFFFF;
  color: #06121E;
  font-size: 0.98rem;
}

.newsletter-form input:focus {
  outline: 2px solid var(--accent-light);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-section {
  padding: 96px 0;
}

.contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}

.contact-copy h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.contact-copy > p {
  color: var(--muted);
  margin-bottom: 32px;
}

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

.contact-list li {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.contact-list a {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
}

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

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

.form-note {
  font-size: 0.9rem;
  color: var(--accent-light);
  min-height: 1.2em;
}

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

.site-footer {
  background: #080B10;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.footer-brand .brand span {
  color: var(--accent-light);
  font-weight: 600;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-2);
  font-size: 0.85rem;
}

.footer-wordmark {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--surface-3);
  line-height: 1;
  user-select: none;
}

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

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

.fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

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

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .metrics-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-header {
    display: none;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(180deg, #0284C7 0%, #0EA5E9 100%);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }

  .main-nav.open {
    max-height: 360px;
  }

  .main-nav a {
    padding: 16px 24px;
    color: #06121E;
    border-top: 1px solid rgba(6, 18, 30, 0.12);
  }

  .main-nav a::after {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .console-body {
    flex-direction: column;
    align-items: center;
  }

  .console-meters {
    width: 100%;
  }

  .statement-quote {
    font-size: 1.7rem;
  }

  .metrics-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .numbered-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
