/* clearwire.digital — bold marketing / data visualization */

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

:root {
  --violet: #7c3aed;
  --violet-dark: #6d28d9;
  --violet-dim: rgba(124, 58, 237, 0.08);
  --violet-glow: rgba(124, 58, 237, 0.15);
  --text: #1e1e2e;
  --text-mid: #555566;
  --text-light: #8888a0;
  --bg: #fafafa;
  --bg-warm: #f5f3f0;
  --white: #ffffff;
  --rule: rgba(30, 30, 46, 0.1);
  --rule-light: rgba(30, 30, 46, 0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---- utilities ---- */

.section-tag {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1.5px solid var(--violet);
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 20px;
}

.section-tag-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule-light);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
}

.header-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 40px;
}

.wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark-dot {
  color: var(--violet);
}

.wordmark-tld {
  font-weight: 500;
  color: var(--text-mid);
}

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.main-nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--text); }

.header-cta a {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 9px 22px;
  background: var(--violet);
  border-radius: 8px;
  transition: all 0.2s;
}

.header-cta a:hover {
  background: var(--violet-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--violet-glow);
}

/* ---- hero ---- */

.hero {
  background: var(--text);
  position: relative;
  overflow: hidden;
}

/* dot grid texture */
.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* decorative gradient line suggesting a chart trend */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 120px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}

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

/* buttons */
.btn {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--violet);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--violet-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--violet-glow);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

/* hero data visualization */
.hero-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 28px 24px;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  border-radius: 2px;
}

.viz-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  margin-bottom: 20px;
}

.viz-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--violet), rgba(124, 58, 237, 0.4));
  border-radius: 6px 6px 2px 2px;
  position: relative;
  transition: opacity 0.2s;
  min-width: 0;
}

.viz-bar:nth-child(6) {
  background: linear-gradient(to top, var(--violet), rgba(124, 58, 237, 0.7));
}

.viz-bar span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.viz-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 16px;
}

.viz-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.viz-metric-number {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}

.viz-metric-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---- trust bar ---- */

.trust-bar {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--rule-light);
  padding: 18px 0;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  flex-wrap: wrap;
}

.trust-inner span {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ---- platform / features ---- */

.platform {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-top: 12px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}

.feature-item {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  transition: background 0.3s;
}

.feature-item:hover {
  background: var(--white);
}

.feature-number {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--violet);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

/* decorative accent dash before number */
.feature-number::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
}

.feature-item h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.feature-tags li {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--violet);
  background: var(--violet-dim);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ---- results / metrics ---- */

.results {
  background: var(--text);
  position: relative;
  overflow: hidden;
}

/* dot grid on results section too */
.results::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* gradient line at top */
.results::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
}

.results-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  position: relative;
  z-index: 1;
}

.results-header {
  margin-bottom: 64px;
}

.results-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
}

.results-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
  line-height: 1.6;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.metric {
  background: var(--text);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.metric-number {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* ---- approach ---- */

.approach {
  background: var(--bg-warm);
  padding: 100px 40px;
}

.approach-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
}

.approach-left h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.approach-lead {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
}

.approach-right p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.approach-highlights {
  display: flex;
  gap: 48px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.highlight strong {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.highlight span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ---- contact ---- */

.contact {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
}

.contact-left h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-block strong {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.contact-block a,
.contact-block span {
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
}

.contact-block a:hover { color: var(--violet); }

/* form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim);
}

.form-group textarea { resize: vertical; }

.contact-right .btn {
  width: 100%;
  text-align: center;
}

.thank-you {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--violet);
  padding: 60px 0;
  line-height: 1.6;
}

/* ---- footer ---- */

.site-footer {
  background: var(--text);
  color: var(--text-light);
  padding-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
}

.footer-brand .wordmark {
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: block;
  color: var(--white);
}

.footer-brand .wordmark-dot {
  color: var(--violet);
}

.footer-brand .wordmark-tld {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 64px;
}

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

.footer-col strong {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- responsive ---- */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 24px 80px;
  }

  .hero h1 { font-size: 2.8rem; }

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

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

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

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

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

  .footer-links { gap: 40px; }

  .header-cta { display: none; }

  .platform,
  .approach,
  .contact { padding: 72px 24px; }

  .results-inner { padding: 72px 24px; }

  .header-bar { padding: 0 24px; }

  .footer-inner { padding: 0 24px 48px; }
  .footer-bottom { padding: 20px 24px; }

  .trust-inner {
    justify-content: flex-start;
    padding: 0 24px;
  }

  .section-header h2,
  .results-header h2 { font-size: 2.1rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn { text-align: center; }

  .hero-visual { padding: 24px 20px 20px; }
  .viz-bar-group { height: 120px; }

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

  .metric { padding: 32px 24px; }
  .metric-number { font-size: 2.4rem; }

  .approach-highlights {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 28px;
  }

  .main-nav { gap: 20px; }

  .approach-left h2,
  .contact-left h2 { font-size: 1.8rem; }

  .feature-item { padding: 36px 28px; }
  .feature-item h3 { font-size: 1.2rem; }
}
