/* ==========================================================================
   Sedona Media - public marketing site
   Design system: near-black canvas, teal + warm gold accents, editorial
   serif display type paired with a geometric grotesque for UI copy.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #05070a;
  --bg-raised: #0b0f16;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef2f6;
  --muted: #96a1b2;
  --muted-strong: #c2cad6;

  --teal: #2dd4bf;
  --teal-strong: #5eead4;
  --gold: #f2b84b;
  --coral: #fb7185;

  --gradient-brand: linear-gradient(135deg, #2dd4bf 0%, #22a6a0 45%, #14808a 100%);
  --gradient-warm: linear-gradient(135deg, #f2b84b 0%, #fb7185 100%);
  --gradient-radial: radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(242, 184, 75, 0.14), transparent 45%);

  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 120px -20px rgba(45, 212, 191, 0.35);

  --radius-sm: 0.6rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.75rem;

  --font-ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  background-image: var(--gradient-radial);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--teal-strong);
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

.muted {
  color: var(--muted);
}

/* --- Layout helpers ----------------------------------------------------- */

main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section--tight {
  padding-top: 1rem;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0.75rem 0 1rem;
}

.section__lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.8);
}

/* --- Buttons -------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.button--primary {
  background: var(--gradient-brand);
  color: #04211f;
  box-shadow: 0 12px 30px -10px rgba(45, 212, 191, 0.55);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(45, 212, 191, 0.65);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.button--ghost:hover {
  border-color: var(--teal-strong);
  color: var(--teal-strong);
  transform: translateY(-2px);
}

.button--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.button--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 10, 0.72);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.5rem;
  background: var(--gradient-brand);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.55);
  flex-shrink: 0;
}

.brand__accent {
  color: var(--teal-strong);
  font-weight: 500;
  font-size:19.6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--muted-strong);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav__divider {
  width: 1px;
  height: 1.3rem;
  background: var(--border-strong);
}

.site-nav__ghost {
  color: var(--muted-strong);
  font-weight: 600;
  font-size: 0.92rem;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.site-nav__ghost:hover {
  color: var(--text);
}

.inline-form {
  display: inline;
}

.nav-toggle-input {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- Hero ------------------------------------------------------------------ */

.hero {
  padding: 5.5rem 2rem 3rem;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin: 1.1rem 0 1.4rem;
  font-weight: 500;
}

.hero__title em {
  font-style: italic;
  font-weight: 600;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted-strong);
  max-width: 540px;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero__actions--center {
  justify-content: center;
}

.hero__proof {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}

.hero__proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__proof-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
}

.hero__proof-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
}

.hero__badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero__badge strong {
  font-size: 0.85rem;
}

.hero__badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

.live-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--teal-strong);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.7);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.hero__glow {
  position: absolute;
  inset: -15%;
  z-index: -1;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.28), transparent 65%);
  filter: blur(20px);
}

/* --- Stats band embedded in hero proof handles stats; marquee below --- */

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  animation: marquee 42s linear infinite;
}

.marquee__track span {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted-strong);
  letter-spacing: 0.02em;
}

.marquee__dot {
  color: var(--teal);
  font-weight: 400;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Steps ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.step-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(94, 234, 212, 0.55);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.showcase__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.showcase__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Banner quote ------------------------------------------------------------ */

.banner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.55));
}

.banner__content {
  position: relative;
  max-width: 640px;
  padding: 3rem;
  text-align: center;
}

.banner__content p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--text);
}

/* --- Feature grid ------------------------------------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--panel-strong);
  transform: translateY(-4px);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal-strong);
  margin-bottom: 1.2rem;
}

.feature-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* --- Mall chips ------------------------------------------------------------ */

.mall-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.mall-chip {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-strong);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.mall-chip:hover {
  border-color: var(--teal);
  color: var(--text);
}

/* --- Final CTA --------------------------------------------------------------- */

.final-cta {
  max-width: var(--container);
  margin: 0 auto 6rem;
  padding: 4.5rem 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(242, 184, 75, 0.1));
  border: 1px solid var(--border-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-radial);
  opacity: 0.7;
}

.final-cta__inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 1rem;
}

.final-cta p {
  color: var(--muted-strong);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* --- Page hero (contact / other inner pages) --------------------------------- */

.page-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 1rem 0;
}

.page-hero p {
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.75rem;
  align-items: start;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.contact-details {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.4rem;
}

.contact-details dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-details dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* --- Not found ---------------------------------------------------------------- */

.not-found {
  max-width: 560px;
  margin: 0 auto;
  padding: 7rem 2rem;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 1rem 0;
}

.not-found p {
  color: var(--muted-strong);
  margin-bottom: 2rem;
}

/* --- Forms (shared: contact + auth) -------------------------------------------- */

input,
textarea {
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.75rem 0.95rem;
  font: inherit;
  width: 100%;
  transition: border-color 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button[type="submit"] {
  font-family: inherit;
}

.alert {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

/* --- Auth pages ----------------------------------------------------------------- */

.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  background-image: var(--gradient-radial);
}

.auth-card {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  width: min(400px, 90vw);
  box-shadow: var(--shadow-lg);
}

.auth-card .brand {
  margin-bottom: 1.75rem;
}

.auth-card form p {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.auth-card label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-strong);
}

/* --- Scroll reveal ---------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .live-dot,
  .marquee__track {
    animation: none;
  }
}

/* --- Site footer ------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}

.site-footer__brand p {
  margin-top: 1rem;
  max-width: 280px;
  font-size: 0.9rem;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer__col h3 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.site-footer__col a,
.site-footer__col span {
  font-size: 0.92rem;
  color: var(--muted-strong);
}

.site-footer__col a:hover {
  color: var(--teal-strong);
}

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
}

.site-footer__bottom p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

/* --- Responsive ------------------------------------------------------------------------ */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .steps,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(5, 7, 10, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .site-nav__divider {
    display: none;
  }

  .nav-toggle-input:checked ~ .site-nav {
    max-height: 400px;
    padding: 1.5rem 2rem 2rem;
  }

  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .steps,
  .feature-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__proof {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__actions,
  .hero__actions--center {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta {
    padding: 3rem 1.5rem;
  }
}
