/* Bright Net, LLC — site styles */

:root {
  --bg: #f4f7f8;
  --bg-deep: #0b1f24;
  --bg-mid: #123039;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --ink: #142328;
  --ink-soft: #4a5f66;
  --muted: #6b8087;
  --line: rgba(20, 35, 40, 0.1);
  --accent: #0d8a7c;
  --accent-deep: #08665c;
  --accent-soft: rgba(13, 138, 124, 0.12);
  --glow: rgba(45, 180, 164, 0.35);
  --danger-soft: #e8f3f1;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(11, 31, 36, 0.08);
  --font-sans: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(45, 180, 164, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(18, 72, 86, 0.08), transparent 55%),
    linear-gradient(180deg, #eef4f5 0%, var(--bg) 40%, #e9f1f0 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(244, 247, 248, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background:
    linear-gradient(145deg, #14b8a6 0%, #0d8a7c 45%, #0a4f56 100%);
  box-shadow: 0 8px 20px var(--glow);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px 8px auto auto;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.55rem 0.85rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
  background: rgba(13, 138, 124, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 31, 36, 0.88) 0%, rgba(12, 58, 66, 0.72) 42%, rgba(11, 31, 36, 0.55) 100%),
    url("../assets/hero-adtech.png") center / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(45, 180, 164, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: 0;
  animation: drift 10s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4%, -3%, 0) scale(1.08);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  color: #f4fbfa;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  max-width: 18ch;
}

.hero p {
  color: rgba(244, 251, 250, 0.82);
  font-size: 1.08rem;
  max-width: 36ch;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #e8fffb;
  color: var(--bg-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  color: #e8fffb;
  border-color: rgba(232, 255, 251, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-deep);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-dark {
  background: linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
  color: #eef7f6;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  pointer-events: none;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-dark .section-label {
  color: #7de0d3;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 20ch;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 58ch;
}

.section-dark .section-lead {
  color: rgba(238, 247, 246, 0.78);
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 56ch;
  font-size: 1.08rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.feature-item {
  padding-top: 1.25rem;
  border-top: 2px solid rgba(13, 138, 124, 0.35);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-item h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.feature-item li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.feature-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* About band */
.about-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: end;
}

.quote {
  margin-top: 1.75rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink);
}

.about-aside {
  padding: 0;
  border-top: none;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-aside img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  display: block;
}

.about-aside p {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Media / imagery */
.visual-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 0.85rem;
  margin: 2.75rem 0 0.5rem;
}

.visual-strip figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  min-height: 220px;
}

.visual-strip img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.visual-strip figure:hover img {
  transform: scale(1.04);
}

.visual-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(9, 24, 28, 0.78));
  color: #eef7f6;
  font-size: 0.92rem;
  font-weight: 600;
}

.media-bleed {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.media-frame {
  margin: 0 0 1.75rem;
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.page-hero-media {
  margin-top: 2rem;
  overflow: hidden;
}

.page-hero-media img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.news-cover {
  margin: 0 0 1.75rem;
  overflow: hidden;
}

/* Legal pages */
.legal {
  max-width: 760px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

.legal h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.55rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0.85rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
  margin-top: 2.75rem;
}

.service-item {
  padding: 0;
}

.service-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.service-item p {
  color: rgba(238, 247, 246, 0.75);
  font-size: 0.98rem;
}

.service-item-light h3 {
  color: var(--ink);
}

.service-item-light p {
  color: var(--ink-soft);
}

.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(125, 224, 211, 0.14);
  display: grid;
  place-items: center;
  color: #7de0d3;
  font-weight: 700;
  font-size: 0.85rem;
}

.service-icon-light {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat span {
  color: rgba(238, 247, 246, 0.7);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--accent);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.principle {
  padding-top: 1.25rem;
  border-top: 2px solid var(--accent);
}

.principle h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.principle p {
  color: var(--ink-soft);
}

/* News */
.news-article {
  max-width: 760px;
}

.news-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.news-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.news-article p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.news-article h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

/* Products / Developers */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.panel {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.panel p,
.panel li {
  color: var(--ink-soft);
}

.panel li {
  position: relative;
  padding-left: 0.95rem;
  margin-bottom: 0.45rem;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--accent-deep);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.doc-link:hover {
  border-color: var(--accent);
}

.doc-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* Footer */
.site-footer {
  background: #09181c;
  color: rgba(238, 247, 246, 0.82);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 247, 246, 0.55);
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col a,
.footer-col li {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.footer-col a:hover {
  color: #7de0d3;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(238, 247, 246, 0.55);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: #7de0d3;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* Page utilities */
.prose {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1rem;
}

.prose p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 960px) {
  .feature-grid,
  .stats,
  .service-grid,
  .principles,
  .steps,
  .about-band,
  .split,
  .footer-grid,
  .visual-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    background: rgba(244, 247, 248, 0.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    gap: 0.25rem;
  }

  .nav.is-open {
    transform: none;
  }

  .nav a {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 4rem;
    align-items: center;
  }

  .feature-grid,
  .stats,
  .service-grid,
  .principles,
  .steps,
  .about-band,
  .split,
  .footer-grid,
  .visual-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}
