/* DawnCosmos — Cosmic Dawn Theme */

:root {
  --space: #0E0C1A;
  --space-deep: #221E3A;
  --panel: #1A1730;
  --hairline: #2E2850;
  --violet: #7C5CBF;
  --violet-soft: #9C95C0;
  --ink: #D6D2EA;
  --head: #F2F0FB;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  background-color: #0E0C1A;
  color: #D6D2EA;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ---------- Orbit mark (decorative) ---------- */
.orbit-mark {
  width: 34px;
  height: 26px;
  position: relative;
  flex: 0 0 34px;
}
.orbit-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 34px;
  height: 14px;
  border: 2px solid #7C5CBF;
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit-mark::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #7C5CBF;
}

.orbit-icon {
  width: 30px;
  height: 22px;
  position: relative;
  display: inline-block;
  flex: 0 0 30px;
}
.orbit-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 30px;
  height: 12px;
  border: 2px solid #7C5CBF;
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #7C5CBF;
}

.star-icon {
  width: 14px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.star-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background-color: #7C5CBF;
  transform: translate(-50%, -50%) rotate(45deg);
}
.star-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background-color: #7C5CBF;
  transform: translate(-50%, -50%);
}

/* ---------- Two-row nav ---------- */
.two-row-nav {
  background-color: #0E0C1A;
  border-bottom: 1px solid #2E2850;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-utility {
  background-color: #7C5CBF;
  color: #FFFFFF;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  padding: 7px 16px;
}
.nav-utility span {
  color: #FFFFFF;
}
.nav-utility a {
  color: #FFFFFF;
  font-weight: 600;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #F2F0FB;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: #D6D2EA;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: #FFFFFF;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #7C5CBF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.cta-pill {
  display: inline-block;
  background-color: #7C5CBF;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 600;
  padding: 9px 22px !important;
  border-radius: 999px;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}
.cta-pill:hover {
  background-color: #8D6FD0;
  color: #FFFFFF !important;
}
.cta-pill::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #F2F0FB;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Dawn hero ---------- */
.dawn-hero {
  position: relative;
  background-color: #0E0C1A;
  overflow: hidden;
}

.dawn-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 96px;
}

.hero-star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #7C5CBF;
  z-index: 1;
}
.hero-star.s1 { top: 16%; left: 8%; }
.hero-star.s2 { top: 30%; left: 22%; }
.hero-star.s3 { top: 12%; left: 44%; }
.hero-star.s4 { top: 22%; left: 68%; width: 3px; height: 3px; }
.hero-star.s5 { top: 60%; left: 4%; background-color: #F2F0FB; width: 3px; height: 3px; }
.hero-star.s6 { top: 74%; left: 30%; background-color: #F2F0FB; width: 3px; height: 3px; }
.hero-star.s7 { top: 82%; left: 55%; }
.hero-star.s8 { top: 40%; left: 88%; background-color: #F2F0FB; width: 3px; height: 3px; }

.dawn-graphic {
  position: absolute;
  right: 4%;
  bottom: 60px;
  width: 220px;
  height: 180px;
  z-index: 1;
  pointer-events: none;
}
.dawn-graphic::before {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 52px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #7C5CBF;
}
.dawn-graphic::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px;
  height: 2px;
  background-color: #7C5CBF;
}
.dawn-graphic .dg-star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #F2F0FB;
}
.dawn-graphic .dg-star.d1 { left: 6px; top: 20px; background-color: #7C5CBF; }
.dawn-graphic .dg-star.d2 { left: 62px; top: 10px; width: 3px; height: 3px; }
.dawn-graphic .dg-star.d3 { right: 16px; top: 64px; width: 3px; height: 3px; }
.dawn-graphic .dg-star.d4 { right: 40px; top: 24px; }
.dawn-graphic .dg-star.d5 { left: 100px; bottom: 24px; background-color: #7C5CBF; width: 3px; height: 3px; }

.eyebrow-chip {
  display: inline-block;
  background-color: #7C5CBF;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.08;
  color: #F2F0FB;
  font-weight: 800;
  max-width: 760px;
  letter-spacing: -1px;
}
.hero-title .accent {
  color: #7C5CBF;
}

.hero-sub {
  font-size: 18px;
  color: #D6D2EA;
  max-width: 640px;
  margin-top: 28px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background-color: #7C5CBF;
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: #8D6FD0;
}
.btn-outline {
  border: 1px solid #F2F0FB;
  color: #F2F0FB;
  background-color: transparent;
}
.btn-outline:hover {
  background-color: #221E3A;
  border-color: #FFFFFF;
}

.constellation-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  padding-left: 2px;
}
.constellation-divider .cd-star {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #7C5CBF;
}
.constellation-divider .cd-line {
  width: 34px;
  height: 1px;
  background-color: #7C5CBF;
}
.constellation-divider .cd-star.wide {
  background-color: #F2F0FB;
}

/* ---------- Capability columns ---------- */
.capability-columns {
  background-color: #0E0C1A;
  padding: 110px 0 120px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .eyebrow-chip {
  margin-bottom: 20px;
}
.section-title {
  font-size: 38px;
  color: #F2F0FB;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-title .underline {
  display: block;
  width: 72px;
  height: 4px;
  background-color: #7C5CBF;
  margin: 20px auto 0;
  border-radius: 2px;
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #2E2850;
  border-bottom: 1px solid #2E2850;
}
.cap-col {
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #0E0C1A;
}
.cap-col + .cap-col {
  border-left: 1px solid #2E2850;
}
.cap-col h3 {
  font-size: 22px;
  color: #F2F0FB;
  margin: 22px 0 16px;
  font-weight: 700;
}
.cap-col p {
  font-size: 15.5px;
  color: #D6D2EA;
  line-height: 1.75;
  flex: 1;
}
.cap-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cap-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #D6D2EA;
  font-size: 14.5px;
}
.cap-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #7C5CBF;
  flex: 0 0 8px;
}

/* ---------- Category collage ---------- */
.category-collage {
  background-color: #0E0C1A;
  border-top: 1px solid #2E2850;
  padding: 110px 0 120px;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  min-height: 560px;
}
.collage-tile {
  background-color: #1A1730;
  border: 1px solid #2E2850;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.collage-tile:hover {
  border-color: #7C5CBF;
  transform: translateY(-4px);
}
.collage-tile.tile-large {
  grid-row: 1 / span 2;
}
.collage-tile .tile-icon {
  margin-bottom: 18px;
}
.collage-tile h3 {
  font-size: 26px;
  color: #F2F0FB;
  font-weight: 700;
  margin-bottom: 12px;
}
.collage-tile.tile-large h3 {
  font-size: 34px;
}
.collage-tile p {
  color: #D6D2EA;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Category ticker ---------- */
.category-ticker {
  background-color: #7C5CBF;
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.ticker-group span {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 26px;
}
.ticker-group i {
  color: #FFFFFF;
  font-style: normal;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- CTA band ---------- */
.cta-band {
  background-color: #221E3A;
  padding: 110px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: 40px;
  color: #F2F0FB;
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 720px;
  margin: 0 auto 22px;
}
.cta-band p {
  color: #9C95C0;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 38px;
  line-height: 1.75;
}
.cta-band .btn-primary {
  font-size: 16px;
  padding: 16px 44px;
}

/* ---------- Link-row footer ---------- */
.link-row-footer {
  background-color: #0E0C1A;
  border-top: 1px solid #2E2850;
  padding: 64px 24px 40px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 0;
  align-items: center;
  margin-bottom: 34px;
}
.footer-links a {
  color: #9C95C0;
  font-size: 15px;
  padding: 0 18px;
  transition: color 0.2s ease;
}
.footer-links .slash {
  color: #2E2850;
  font-size: 15px;
}
.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: #7C5CBF;
  text-underline-offset: 5px;
}
.footer-legal {
  color: #9C95C0;
  font-size: 13.5px;
  line-height: 1.9;
  max-width: 980px;
  margin: 0 auto;
}
.footer-legal a {
  color: #9C95C0;
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: #FFFFFF;
}

/* ---------- Page hero for secondary pages ---------- */
.page-hero {
  background-color: #0E0C1A;
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: 44px;
  color: #F2F0FB;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.page-hero p {
  color: #9C95C0;
  font-size: 17px;
  margin-top: 16px;
  max-width: 720px;
}
.page-hero .page-star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #7C5CBF;
}
.page-hero .ps1 { top: 20%; left: 12%; }
.page-hero .ps2 { top: 30%; left: 72%; width: 3px; height: 3px; }
.page-hero .ps3 { top: 60%; left: 30%; background-color: #F2F0FB; width: 3px; height: 3px; }
.page-hero .ps4 { top: 40%; right: 16%; }

/* ---------- Service page ---------- */
.services-section {
  background-color: #0E0C1A;
  padding: 20px 0 100px;
}
.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  padding: 56px 0;
  border-bottom: 1px solid #2E2850;
}
.service-block:first-of-type {
  border-top: 1px solid #2E2850;
}
.service-num {
  font-size: 15px;
  font-weight: 700;
  color: #7C5CBF;
  letter-spacing: 1px;
  padding-top: 6px;
}
.service-block h2 {
  font-size: 28px;
  color: #F2F0FB;
  font-weight: 700;
  margin-bottom: 16px;
}
.service-block p {
  color: #D6D2EA;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 860px;
}
.process-section {
  background-color: #1A1730;
  padding: 100px 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.process-step {
  padding: 34px 26px;
  background-color: #221E3A;
  border: 1px solid #2E2850;
}
.process-step .step-no {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #7C5CBF;
  color: #FFFFFF;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
  margin-bottom: 18px;
}
.process-step h3 {
  color: #F2F0FB;
  font-size: 18px;
  margin-bottom: 12px;
}
.process-step p {
  color: #D6D2EA;
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Contact page ---------- */
.contact-section {
  background-color: #0E0C1A;
  padding: 20px 0 110px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2,
.contact-form-box h2 {
  font-size: 26px;
  color: #F2F0FB;
  font-weight: 700;
  margin-bottom: 18px;
}
.contact-info p {
  color: #D6D2EA;
  font-size: 15.5px;
  margin-bottom: 12px;
  line-height: 1.75;
}
.info-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-list .info-tag {
  color: #7C5CBF;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  min-width: 96px;
  text-transform: uppercase;
}
.info-list .info-val {
  color: #D6D2EA;
  font-size: 15.5px;
  line-height: 1.6;
}
.info-list a {
  color: #F2F0FB;
  border-bottom: 1px solid #7C5CBF;
  transition: color 0.2s ease;
}
.info-list a:hover {
  color: #FFFFFF;
}

.contact-form-box {
  background-color: #1A1730;
  border: 1px solid #2E2850;
  padding: 44px 40px;
}
.form-field {
  margin-bottom: 22px;
}
.form-field label {
  display: block;
  color: #F2F0FB;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background-color: #221E3A;
  border: 1px solid #2E2850;
  color: #F2F0FB;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #7C5CBF;
}
.form-field select option {
  background-color: #221E3A;
  color: #F2F0FB;
}
.form-note {
  color: #9C95C0;
  font-size: 13.5px;
  margin-top: 18px;
  line-height: 1.7;
}
.form-success {
  display: none;
  background-color: #221E3A;
  border: 1px solid #7C5CBF;
  color: #D6D2EA;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14.5px;
  margin-bottom: 22px;
}
.form-success.show {
  display: block;
}

.business-hours {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #2E2850;
}
.business-hours h3 {
  color: #F2F0FB;
  font-size: 20px;
  margin-bottom: 14px;
}
.business-hours li {
  color: #D6D2EA;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  max-width: 340px;
  padding: 8px 0;
  border-bottom: 1px dashed #2E2850;
}

.faq-box {
  margin-top: 40px;
}
.faq-box h3 {
  color: #F2F0FB;
  font-size: 20px;
  margin-bottom: 18px;
}
.faq-item {
  border: 1px solid #2E2850;
  background-color: #1A1730;
  margin-bottom: 14px;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: #F2F0FB;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-q .faq-arrow {
  color: #7C5CBF;
  font-size: 18px;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-arrow {
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 0 22px 20px;
  color: #D6D2EA;
  font-size: 14.5px;
  line-height: 1.75;
}
.faq-item.open .faq-a {
  display: block;
}

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-title {
    font-size: 44px;
  }
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-col + .cap-col {
    border-left: none;
    border-top: 1px solid #2E2850;
  }
  .collage-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .collage-tile.tile-large {
    grid-row: auto;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .dawn-graphic {
    right: -30px;
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1A1730;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    display: none;
    border-bottom: 1px solid #2E2850;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #2E2850;
  }
  .nav-links .cta-pill {
    width: auto;
    margin: 18px 0;
    padding: 11px 22px !important;
  }
  .nav-utility {
    font-size: 11.5px;
    padding: 6px 12px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-sub {
    font-size: 16.5px;
  }
  .hero-inner {
    padding-top: 80px;
  }
  .section-title {
    font-size: 30px;
  }
  .service-block {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .footer-links {
    gap: 10px 6px;
  }
  .footer-links a {
    padding: 0 10px;
    font-size: 14px;
  }
  .footer-links .slash {
    display: none;
  }
  .footer-links {
    flex-direction: column;
  }
  .cta-band h2 {
    font-size: 30px;
  }
  .dawn-graphic {
    display: none;
  }
}
