/* NightShiftIQ — shared styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0A0B1E;
  --bg-2: #141629;
  --bg-3: #1C1F36;
  --text: #F5F7FA;
  --text-dim: #A0A8C0;
  --text-dimmer: #6B7290;
  --blue: #4A9EFF;
  --violet: #8B5CF6;
  --cyan: #5EEAD4;
  --gradient: linear-gradient(135deg, #4A9EFF 0%, #8B5CF6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  --rule: rgba(245, 247, 250, 0.1);
  --rule-strong: rgba(245, 247, 250, 0.2);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(74, 158, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ========== NAV ========== */
nav.site-nav {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--text); }
.cta-mini {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--gradient);
  transition: all 0.2s ease;
}
.cta-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ========== HERO ========== */
main { flex: 1; position: relative; z-index: 2; }

.hero {
  padding: 80px 0 140px;
}

/* Centered hero with prominent logo */
.hero.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}
.hero-logo-wrap {
  position: relative;
  margin-bottom: 56px;
  display: inline-block;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -80px;
  background: radial-gradient(ellipse at center, rgba(74, 158, 255, 0.28) 0%, rgba(139, 92, 246, 0.18) 35%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero-logo {
  height: 340px;
  max-width: 100%;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-centered h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  max-width: 22ch;
  margin: 0 auto 28px;
}
.hero-centered .hero-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}
.hero-centered .cta-row {
  justify-content: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 36px;
  padding: 8px 18px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 999px;
  font-weight: 500;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
h1 {
  font-size: clamp(44px, 7vw, 88px);
  margin-bottom: 32px;
  max-width: 16ch;
  font-weight: 700;
}
.hero-sub {
  font-size: 20px;
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: 48px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 34px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5BA9FF 0%, #9B6CFF 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(74, 158, 255, 0.35);
}
.btn-primary:hover::after { opacity: 1; }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--rule-strong);
  background: rgba(245, 247, 250, 0.03);
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: rgba(74, 158, 255, 0.08);
}

/* ========== PROOF BAR ========== */
.proof {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--text-dimmer);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  font-weight: 500;
}

/* ========== SECTIONS ========== */
.section { padding: 120px 0; }
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue);
  margin-bottom: 24px;
  font-weight: 600;
}
h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 32px;
  max-width: 22ch;
}

/* Problem grid */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem-text p {
  color: var(--text-dim);
  font-size: 18px;
  margin-bottom: 24px;
}
.questions-list {
  list-style: none;
  counter-reset: q;
}
.questions-list li {
  counter-increment: q;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--text-dim);
  display: flex;
  gap: 22px;
  align-items: baseline;
}
.questions-list li::before {
  content: counter(q, decimal-leading-zero);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 32px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.step {
  padding: 40px 32px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.step:hover {
  border-color: rgba(74, 158, 255, 0.4);
  transform: translateY(-4px);
}
.step:hover::before { opacity: 1; }
.step > * { position: relative; z-index: 1; }
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 24px;
  display: inline-block;
}
.step h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}
.step p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* Pricing */
.pricing {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 64px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
}
.price-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 76px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
  font-weight: 700;
}
.price-tag .dollar {
  font-size: 44px;
  vertical-align: top;
  color: var(--text-dim);
  margin-right: 4px;
}
.price-tag .unit {
  font-size: 20px;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0;
}
.price-plus {
  margin: 20px 0;
  color: var(--text-dimmer);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.price-detail {
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 14px;
}
.price-features {
  list-style: none;
}
.price-features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--text-dim);
  font-size: 15px;
}
.price-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"), var(--gradient);
  background-size: 12px 12px, 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* Final CTA */
.final {
  text-align: center;
  padding: 140px 0 160px;
}
.final h2 {
  margin: 0 auto 28px;
}
.final p {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 54ch;
  margin: 0 auto 44px;
  line-height: 1.55;
}

/* ========== TEAM ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.team-member {
  padding: 40px 32px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.team-member::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.team-member:hover {
  border-color: rgba(74, 158, 255, 0.4);
  transform: translateY(-4px);
}
.team-member:hover::before { opacity: 1; }
.team-member > * { position: relative; z-index: 1; }
.team-photo {
  width: 144px;
  height: 144px;
  border-radius: 20px;
  margin: 0 auto 24px;
  background: var(--gradient);
  padding: 3px;
  position: relative;
}
.team-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.team-photo-inner .initials {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 42px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.team-photo-inner .placeholder-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dimmer);
  font-weight: 600;
}
.team-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 17px;
  display: block;
}
.team-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 18px;
  font-weight: 600;
}
.team-bio {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-member { padding: 32px 24px; }
}

/* ========== CONTENT PAGES (privacy, terms, contact) ========== */
.content-page {
  padding: 60px 0 120px;
}
.content-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.content-page .meta {
  color: var(--text-dimmer);
  font-size: 14px;
  margin-bottom: 48px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.content-body {
  max-width: 720px;
  color: var(--text-dim);
}
.content-body h2 {
  font-size: 24px;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 14px;
  max-width: none;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.7;
}
.content-body ul {
  margin: 0 0 18px 20px;
  color: var(--text-dim);
}
.content-body ul li { margin-bottom: 8px; }
.content-body a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 158, 255, 0.3);
}
.content-body a:hover { border-bottom-color: var(--blue); }
.content-body strong { color: var(--text); }

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
}
.contact-info {
  padding: 40px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
}
.contact-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.contact-info .contact-item {
  margin-bottom: 20px;
}
.contact-info .contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dimmer);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-info .contact-value {
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
}
.contact-info .contact-value:hover { color: var(--blue); }

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-row input,
.form-row textarea {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--bg-3);
  box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.1);
}
.form-row textarea {
  resize: vertical;
  min-height: 130px;
  font-family: 'Inter', sans-serif;
}
.honeypot { position: absolute; left: -9999px; }
.form-note {
  font-size: 13px;
  color: var(--text-dimmer);
  margin-top: 4px;
}
.form-success {
  padding: 20px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 10px;
  color: var(--cyan);
  margin-bottom: 20px;
  display: none;
}
.form-success.show { display: block; }

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy {
  color: var(--text-dimmer);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--blue); }

/* ========== RESPONSIVE ========== */
@media (max-width: 860px) {
  .problem-grid, .steps, .pricing, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing { padding: 40px 28px; }
  .section { padding: 80px 0; }
  .hero { padding: 50px 0 100px; }
  .hero.hero-centered { padding-top: 30px; }
  .hero-logo { height: 220px; }
  .hero-logo-wrap { margin-bottom: 36px; }
  .hero-logo-wrap::before { inset: -40px; }
  .nav-right { gap: 16px; }
  .nav-link { display: none; }
  .logo-img { height: 50px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 18px; }
}
