/*! ТеяAI — composition layer over the Vikinger (Dark) design system.
    Colors, typography, effects and components come from the template's
    styles.min.css; this file only arranges them into a landing page. */

:root {
  --teyai-cyan: #19A9F4;
  --teyai-magenta: #E11CC7;
}

html { scroll-behavior: smooth; }

/* ============ HERO (template .landing + .landing-info language) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #161b28 url("../img/landing/landing-background.jpg") no-repeat left center;
  background-size: cover;
}

/* template's dot-texture circle */
.hero .landing-decoration {
  width: 64%;
  height: 140%;
  border-radius: 50%;
  background: url("../img/landing/dot-texture.png") repeat left top #161b28;
  position: absolute;
  top: -20%;
  right: -32%;
  pointer-events: none;
  opacity: .92;
}

.hero .landing-info {
  width: 584px;
  max-width: calc(100% - 48px);
  margin: 0 0 0 13%;
  padding: 12vh 0 120px;
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
}

.hero-logo {
  display: block;
  width: 168px;
  height: auto;
  margin: 0 auto 36px;
  border-radius: 32px;
  box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.12);
}

.landing-info .landing-info-pretitle {
  margin-top: 0;
  letter-spacing: 2px;
}

.landing-info .landing-info-title {
  text-transform: none;
  line-height: 1em;
}

.title-brand {
  display: block;
}

.title-line {
  display: block;
  margin-top: 14px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.2em;
}

.landing-info .landing-info-text {
  display: block; /* template hides it below 1365px — we always show it */
  width: 420px;
  max-width: 100%;
  margin: 30px auto 0;
  line-height: 1.5em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

/* hero buttons over the bright art — dark outline like .tab-switch-button */
.hero-actions .button.white {
  border-color: #1d2333;
  color: #1d2333;
}

.hero-actions .button.white:hover {
  color: #fff;
  background-color: #1d2333;
  border-color: #1d2333;
}

/* ============ SECTIONS ============ */
.section {
  position: relative;
  background-color: #161b28;
  padding: 96px 24px;
}

.section-wrap {
  width: 1008px;
  max-width: 100%;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teyai-magenta);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.kicker .icon-star {
  width: 16px;
  height: 16px;
  fill: var(--teyai-magenta);
}

.section-title {
  margin-top: 18px;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.section-sub {
  width: 620px;
  max-width: 100%;
  margin: 22px auto 0;
  color: #9aa4bf;
  font-size: 1.125rem;
  line-height: 1.5em;
  font-weight: 500;
}

/* ============ AI CARDS (template .form-box) ============ */
.ai-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.ai-card {
  width: auto;
  padding: 48px;
}

.ai-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  border-radius: 18px;
  background: linear-gradient(-145deg, #4ff461, #7750f8);
  box-shadow: 4px 7px 12px 0 rgba(119, 80, 248, 0.2);
}

.ai-card-icon.family-alt {
  background: linear-gradient(-145deg, var(--teyai-cyan), var(--teyai-magenta));
  box-shadow: 4px 7px 12px 0 rgba(225, 28, 199, 0.2);
}

.ai-card-icon .icon-friend,
.ai-card-icon .icon-earnings {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.ai-card .form-box-title {
  margin-top: 0;
}

.ai-card-tag {
  width: 100%;
  margin-top: 10px;
  color: #9aa4bf;
  text-align: center;
}

.ai-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.ai-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #9aa4bf;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4em;
}

.ai-list li + li {
  border-top: 1px solid #2f3749;
}

.ai-list .icon-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: #4ff461;
}

/* ============ PRIVACY STRIP ============ */
.privacy {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 36px 48px;
  border-radius: 12px;
  background-color: #1d2333;
  box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.12);
}

.privacy .ai-card-icon {
  flex: 0 0 auto;
  margin: 0;
  background: linear-gradient(-145deg, var(--teyai-cyan), var(--teyai-magenta));
}

.privacy .icon-private {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.privacy-title {
  font-size: 1.375rem;
  font-weight: 700;
  background: linear-gradient(-145deg, var(--teyai-cyan), var(--teyai-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.privacy-text {
  margin-top: 10px;
  color: #9aa4bf;
  font-size: 1rem;
  line-height: 1.5em;
  font-weight: 500;
}

/* ============ SUBSCRIBE ============ */
.subscribe {
  padding-bottom: 112px;
}

.subscribe-box {
  width: 484px;
  max-width: 100%;
  margin: 0 auto;
}

.subscribe-box .form-box-decoration {
  left: -96px;
}

.subscribe-box .form-text {
  margin-top: 30px;
  color: #9aa4bf;
  text-align: center;
}

.subscribe-box .button {
  margin-top: 40px;
}

.thanks {
  margin-top: 40px;
  color: #4ff461;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

/* ============ FOOTER ============ */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  border-top: 1px solid #2f3749;
  background-color: #161b28;
  text-align: center;
}

.footer-logo {
  width: 56px;
  height: auto;
  border-radius: 12px;
}

.footer-copy {
  margin: 0;
  color: #616a82;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 1320px) {
  .hero .landing-info {
    margin: 0 auto;
  }
}

@media screen and (max-width: 1080px) {
  .ai-cards {
    grid-template-columns: 1fr;
    max-width: 584px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 720px) {
  .hero .landing-info {
    max-width: calc(100% - 32px);
    padding: 14vh 0 96px;
    text-align: center;
  }

  .hero-logo {
    width: 132px;
    border-radius: 28px;
  }

  .landing-info .landing-info-title {
    font-size: 3.25rem;
    top: 0;
  }

  .title-line {
    font-size: 1.125rem;
    letter-spacing: 2px;
  }

  .landing-info .landing-info-text {
    width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 72px 16px;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .section-sub {
    font-size: 1rem;
  }

  .ai-card {
    padding: 40px 28px;
  }

  .privacy {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
  }

  .subscribe-box .form-box-decoration {
    display: none;
  }
}
