/* Visual polish layer for Tahiru V1 landing page. */

:root {
  --card-shine: linear-gradient(135deg, rgba(255, 200, 106, 0.08), rgba(255, 124, 168, 0.025) 42%, rgba(123, 108, 246, 0.035));
  --card-edge: linear-gradient(135deg, rgba(255, 200, 106, 0.28), rgba(255, 124, 168, 0.12), rgba(110, 168, 255, 0.12));
}

body {
  background: var(--bg);
}

body::before {
  opacity: 0.28;
}

body::after {
  display: none;
}

.page-glow,
.site-shell::before,
.site-shell::after {
  display: none;
}

/* Header pass: remove broad side swirls, section flares, and middle-page glow. */
.fiber-field,
.wave-field,
.fiber-field span,
.wave-field span,
.problem::before,
.what-it-does::before,
.supported::before,
.hero-light,
.hero-copy::before,
.center-heading::before {
  display: none !important;
}

.site-header {
  position: relative;
  z-index: 8;
}

.site-header::before {
  position: absolute;
  left: 50%;
  top: -34px;
  z-index: -1;
  width: 100vw;
  height: 150px;
  content: "";
  background: #000;
  transform: translateX(-50%);
}

.hero {
  position: relative;
  min-height: min(610px, calc(100vh - 124px));
  display: block;
  padding: 72px 0 54px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  left: 50%;
  top: -142px;
  bottom: 0;
  z-index: -4;
  width: 100vw;
  content: "";
  background: #000;
  transform: translateX(-50%);
}

.hero::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 5;
  width: 100vw;
  height: 8px;
  content: "";
  pointer-events: none;
  background: #000;
  filter: none;
  transform: translateX(-50%);
}

.hero-copy {
  position: relative;
  z-index: 6;
  max-width: 545px;
  padding-bottom: 0;
}

.hero-copy h1 {
  max-width: 540px;
  font-size: clamp(3.05rem, 4.9vw, 5.28rem);
  line-height: 0.96;
}

.hero-text {
  max-width: 430px;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
}

.hero-video-layer {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  background: #000;
  pointer-events: none;
  mix-blend-mode: normal;
}

.hero-video-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
}

.hero-video-layer::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, #000 0%, transparent 16%, transparent 100%);
}

.hero-video-left {
  left: calc((1200px - 100vw) / 2);
  bottom: 0;
  width: 50vw;
  height: min(390px, 49vh);
  min-height: 300px;
}

.hero-video-left video {
  object-position: left bottom;
}

.hero-video-left::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0.02) 0%, transparent 54%, #000 100%);
}

.hero-video-right {
  right: calc((1200px - 100vw) / 2);
  bottom: 0;
  width: 50vw;
  height: min(390px, 49vh);
  min-height: 300px;
}

.hero-video-right video {
  object-position: right bottom;
}

.hero-video-right::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #000 0%, transparent 46%, rgba(0,0,0,0.02) 100%);
}

.hero-video-fade {
  display: none;
}

.final-cta .section-heading::before {
  display: block !important;
  position: absolute;
  left: 50%;
  top: -76px;
  width: min(760px, 82vw);
  height: 156px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at center top, rgba(255, 200, 106, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 200, 106, 0.15), rgba(255, 124, 168, 0.075) 45%, rgba(123, 108, 246, 0.035) 70%, transparent 100%);
  filter: blur(25px);
  transform: translateX(-50%);
}

.center-heading,
.final-cta .section-heading {
  position: relative;
}

.problem,
.what-it-does,
.how-it-works,
.supported,
.final-cta {
  position: relative;
  overflow: hidden;
}

.problem {
  padding-top: 76px;
}

.problem > *,
.what-it-does > *,
.how-it-works > *,
.supported > *,
.final-cta > * {
  position: relative;
  z-index: 1;
}

h1,
h2 {
  text-shadow: none;
}

.button {
  position: relative;
  overflow: hidden;
  font-weight: 620;
  isolation: isolate;
}

.button::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.38) 45%, transparent 70%);
  opacity: 0;
  transform: translateX(-115%) skewX(-18deg);
}

.button::after {
  position: absolute;
  inset: 6px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 64%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.015);
}

.button:hover::before {
  animation: buttonSweep 720ms ease forwards;
}

.button:hover::after {
  opacity: 0.24;
  transform: scale(1);
}

.button-primary:hover {
  box-shadow:
    0 18px 38px rgba(255, 200, 106, 0.2),
    0 12px 30px rgba(216, 106, 230, 0.13),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.button-secondary:hover {
  border-color: rgba(110, 168, 255, 0.34);
  background: rgba(110, 168, 255, 0.075);
  box-shadow: 0 12px 30px rgba(110, 168, 255, 0.08);
}

.orbit-card,
.problem-grid article,
.glass-card-grid article,
.preview-grid article,
.platform-grid span,
.faq-list details,
.access-form {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.13);
  background:
    var(--card-shine),
    linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.012)),
    rgba(16, 21, 36, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 48px rgba(0,0,0,0.16);
}

.orbit-card::before,
.problem-grid article::before,
.glass-card-grid article::before,
.preview-grid article::before,
.platform-grid span::before,
.faq-list details::before,
.access-form::before {
  position: absolute;
  inset: 0;
  padding: 1px;
  content: "";
  pointer-events: none;
  background: var(--card-edge);
  border-radius: inherit;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.24;
}

.problem-grid article::after,
.glass-card-grid article::after,
.platform-grid span::after {
  display: none;
}

.problem-grid article {
  min-height: 142px;
  align-items: start;
  padding: 22px;
}

.problem-grid article strong {
  align-self: end;
  max-width: 180px;
  font-size: 1.02rem;
}

.glass-card-grid article {
  min-height: 310px;
  padding: 26px;
}

.glass-card-grid article h3 {
  margin-top: 92px;
}

.glass-card-grid article:nth-child(1) {
  transform: translateY(18px);
}

.glass-card-grid article:nth-child(2) {
  transform: translateY(-8px);
}

.glass-card-grid article:nth-child(3) {
  transform: translateY(18px);
}

.glass-card-grid article span,
.feature-list span,
.orbit-card span,
.preview-grid span {
  color: var(--sunset);
  text-shadow: none;
}

.dashboard-preview {
  border-color: rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    rgba(5,8,20,0.78);
}

.dashboard-preview::before {
  display: none;
}

.preview-grid article {
  min-height: 156px;
}

.preview-panel span {
  position: relative;
  overflow: hidden;
  height: 66px;
  background: linear-gradient(90deg, rgba(255,255,255,0.062), rgba(255,255,255,0.02));
}

.preview-panel span::after {
  display: none;
}

.flow-list {
  position: relative;
  background: rgba(255,255,255,0.012);
}

.flow-list::before {
  display: none;
}

.feature-list article {
  position: relative;
  padding-left: 18px;
}

.feature-list article::before {
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  content: "";
  background: rgba(255,255,255,0.12);
}

.final-cta {
  min-height: 520px;
  display: grid;
  align-content: center;
}

.final-cta .section-light {
  top: 0;
  height: 260px;
  width: min(980px, 90vw);
  opacity: 1;
  background:
    radial-gradient(ellipse at center top, rgba(255, 200, 106, 0.34), transparent 24%),
    radial-gradient(ellipse at center top, rgba(255, 124, 168, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 200, 106, 0.13), rgba(216, 106, 230, 0.065) 55%, transparent 100%);
}

.access-form {
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.28), 0 -12px 70px rgba(255, 200, 106, 0.07);
}

.access-form input {
  background: rgba(5, 8, 20, 0.68);
}

@keyframes scanLine {
  0%, 25% { transform: translateX(-90%); opacity: 0; }
  45%, 70% { opacity: 1; }
  100% { transform: translateX(95%); opacity: 0; }
}

@keyframes buttonSweep {
  0% { opacity: 0; transform: translateX(-115%) skewX(-18deg); }
  20% { opacity: 0.85; }
  100% { opacity: 0; transform: translateX(115%) skewX(-18deg); }
}

@media (max-width: 1040px) {
  .hero {
    min-height: 650px;
    padding-top: 62px;
    padding-bottom: 260px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-video-left,
  .hero-video-right {
    width: 55vw;
    height: 340px;
    min-height: 290px;
  }

  .hero-video-left {
    left: -14px;
  }

  .hero-video-right {
    right: -14px;
  }

  .glass-card-grid article,
  .glass-card-grid article:nth-child(1),
  .glass-card-grid article:nth-child(2),
  .glass-card-grid article:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 630px;
    padding-top: 46px;
    padding-bottom: 235px;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-video-left,
  .hero-video-right {
    height: 250px;
    min-height: 230px;
  }

  .hero-video-left {
    width: 62vw;
    opacity: 0.72;
  }

  .hero-video-right {
    width: 82vw;
  }

  .final-cta .section-heading::before {
    width: 110vw;
    height: 120px;
    top: -44px;
  }

  .problem-grid article,
  .glass-card-grid article {
    min-height: 180px;
  }
}

/* Clean split hero video anchoring. */
.hero {
  overflow: hidden;
  background: #000;
}

.hero-video-layer,
.hero-video-layer video {
  background: #000;
}

.hero-video-layer::before,
.hero-video-layer::after {
  display: none !important;
}

.hero-video-layer video {
  object-fit: contain;
  opacity: 1;
}

.hero-video-left {
  left: calc(50% - 50vw);
  right: auto;
  bottom: 0;
  width: 50vw;
  height: min(390px, 49vh);
  min-height: 300px;
}

.hero-video-left video {
  object-position: left bottom;
}

.hero-video-right {
  left: auto;
  right: calc(50% - 50vw);
  bottom: 0;
  width: 50vw;
  height: min(390px, 49vh);
  min-height: 300px;
}

.hero-video-right video {
  object-position: right bottom;
}

.hero::after {
  height: 8px;
  background: #000;
}

@media (max-width: 1040px) {
  .hero-video-left {
    left: calc(50% - 50vw);
    width: 54vw;
    height: 330px;
    min-height: 280px;
  }

  .hero-video-right {
    right: calc(50% - 50vw);
    width: 54vw;
    height: 330px;
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .hero-video-left {
    left: calc(50% - 50vw);
    width: 64vw;
    height: 250px;
    min-height: 230px;
    opacity: 1;
  }

  .hero-video-right {
    right: calc(50% - 50vw);
    width: 82vw;
    height: 250px;
    min-height: 230px;
  }
}

/* Hard reset: full-width black hero with corner-anchored videos. */
.site-shell {
  overflow: visible;
}

.site-header {
  background: #000;
}

.hero {
  width: 100vw;
  min-height: 570px;
  margin-left: calc(50% - 50vw);
  padding: 58px max(24px, calc((100vw - 1200px) / 2)) 0;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.hero::before {
  inset: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  background: #000;
  transform: none;
}

.hero::after {
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 100%;
  height: 2px;
  background: #000;
  transform: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-video-layer {
  position: absolute;
  z-index: 1;
  bottom: 0;
  height: 300px;
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.hero-video-layer,
.hero-video-layer::before,
.hero-video-layer::after {
  filter: none !important;
  box-shadow: none !important;
}

.hero-video-layer::before,
.hero-video-layer::after {
  display: none !important;
  content: none !important;
}

.hero-video-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 1;
  background: #000;
}

.hero-video-left {
  left: 0;
  right: auto;
  width: 42vw;
}

.hero-video-left video {
  object-position: left bottom;
}

.hero-video-right {
  left: auto;
  right: 0;
  width: 42vw;
}

.hero-video-right video {
  object-position: right bottom;
}

.problem {
  padding-top: 76px;
}

@media (max-width: 1040px) {
  .hero {
    min-height: 620px;
    padding-top: 52px;
  }

  .hero-video-layer {
    height: 270px;
  }

  .hero-video-left,
  .hero-video-right {
    width: 48vw;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 610px;
    padding-top: 42px;
  }

  .hero-video-layer {
    height: 220px;
  }

  .hero-video-left {
    width: 58vw;
  }

  .hero-video-right {
    width: 68vw;
  }
}