/* ==========================================================================
   Kling AI landing
   ========================================================================== */

:root {
  --color-bg: #090b0e;
  --color-bg-primary: #101317;
  --color-bg-soft: #15191f;
  --color-bg-card: #171c22;
  --color-text: #f6f8fb;
  --color-text-muted: #b8c0cb;
  --color-text-soft: #818a96;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-accent: #74ff52;
  --color-accent-light: #9dff7d;
  --color-accent-soft: rgba(116, 255, 82, 0.12);
  --gradient-cta: linear-gradient(148deg, #74ff52 0%, #9fff75 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(9, 11, 14, 0.2) 0%, rgba(9, 11, 14, 0.82) 60%, rgba(9, 11, 14, 0.98) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(116, 255, 82, 0.18) 0%, rgba(116, 255, 82, 0) 65%);
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1180px;
  --page-padding: clamp(1.25rem, 4vw, 3.75rem);
  --header-padding: clamp(1.25rem, 4vw, 3.75rem);
  --section-padding: clamp(3.5rem, 8vw, 6rem);
  --radius-base: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 24px 80px rgba(0, 0, 0, 0.34);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(circle at top, rgba(116, 255, 82, 0.08), transparent 28%),
    linear-gradient(180deg, #090b0e 0%, #0c1117 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-shell {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  color: var(--color-text-muted);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform var(--duration) var(--ease-soft),
    box-shadow var(--duration) var(--ease-soft),
    border-color var(--duration) var(--ease-soft),
    background var(--duration) var(--ease-soft),
    color var(--duration) var(--ease-soft);
}

.btn--large {
  min-height: 58px;
  padding: 1rem 1.75rem;
}

.btn--primary {
  color: #071007;
  background: var(--gradient-cta);
  box-shadow: 0 10px 32px rgba(116, 255, 82, 0.26);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(116, 255, 82, 0.35);
}

.btn--secondary {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--secondary:hover {
  border-color: rgba(116, 255, 82, 0.45);
  color: var(--color-accent-light);
  background: var(--color-accent-soft);
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 1rem var(--header-padding);
  backdrop-filter: blur(16px);
  background: rgba(9, 11, 14, 0.64);
  border-bottom: 1px solid transparent;
  transition: background var(--duration) var(--ease-soft), border-color var(--duration) var(--ease-soft);
}

.header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav__item {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: color var(--duration) var(--ease-soft);
}

.nav__item:hover {
  color: var(--color-accent-light);
}

.animation-btn {
  position: relative;
  overflow: hidden;
}

.animation-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-soft);
}

.animation-btn:hover::before {
  opacity: 1;
}

.go-btn {
  position: relative;
  z-index: 1;
}

.cta-header {
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--gradient-cta);
  color: #071007;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem var(--page-padding) 5.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg,
.hero__videos,
.hero__poster,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg {
  pointer-events: none;
}

.hero__poster {
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 800ms ease-in-out;
}

.hero__poster--hidden {
  opacity: 0;
}

.hero__videos {
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2000ms ease-in-out;
}

.hero__video--active {
  opacity: 0.92;
}

.hero__overlay {
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 860px;
  padding: 1.5rem 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--color-accent-light);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero__subtitle {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(246, 248, 251, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__actions--center {
  justify-content: center;
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero__benefits li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-base);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 11, 14, 0.34);
  color: var(--color-text-muted);
}

main section {
  padding: var(--section-padding) var(--page-padding);
}

.products,
.access,
.about,
.final-cta {
  background: rgba(255, 255, 255, 0.015);
}

.feature-highlights,
.how,
.gallery,
.seo-text,
.footer {
  background: rgba(255, 255, 255, 0.025);
}

.content-list {
  display: grid;
  gap: 2rem;
}

.content-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.content-item__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.content-item__tag,
.content-item__work,
.content-item__intro {
  color: var(--color-text-muted);
}

.content-item__tag {
  margin-bottom: 0.75rem;
}

.content-item__tag b {
  color: var(--color-accent-light);
}

.content-item__work {
  margin-bottom: 0.75rem;
}

.content-item__intro {
  margin-bottom: 1.5rem;
}

.content-item__right,
.content-item__preview,
.gallery-card__preview {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  aspect-ratio: 16 / 9;
  background: #0c1117;
}

.content-item__preview video,
.gallery-card__preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-card,
.feature-card,
.info-card,
.gallery-card,
.how__step,
.access__tip,
.trust-card,
.faq-item {
  border: 1px solid var(--color-border);
  background: var(--gradient-card);
  box-shadow: var(--shadow-soft);
}

.highlight-card {
  padding: 1.35rem;
  border-radius: var(--radius-base);
}

.highlight-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.highlight-card span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.features__grid,
.card-grid,
.gallery__grid,
.access__tips {
  display: grid;
  gap: 1.25rem;
}

.features__grid,
.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.info-card {
  padding: 1.5rem;
  border-radius: var(--radius-base);
  transition:
    transform var(--duration) var(--ease-soft),
    box-shadow var(--duration) var(--ease-soft),
    border-color var(--duration) var(--ease-soft);
}

.feature-card:hover,
.info-card:hover,
.gallery-card:hover,
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(116, 255, 82, 0.18);
}

.feature-card__title,
.info-card h3,
.gallery-card__body h3,
.trust-card h3,
.how__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
}

.feature-card__desc,
.info-card p,
.gallery-card__body p,
.access__tip p,
.about__text,
.trust-list li,
.contact-list li,
.seo-text p,
.how__desc,
.faq-item p {
  color: var(--color-text-muted);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.how__step {
  padding: 1.5rem;
  border-radius: var(--radius-base);
}

.how__number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #071007;
  font-weight: 700;
  margin-bottom: 1rem;
}

.access__tips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.access__tip {
  padding: 1.35rem;
  border-radius: var(--radius-base);
}

.access__tip strong {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--color-accent-light);
}

.gallery__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.gallery-card__body span {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent-light);
  font-size: 0.85rem;
}

.gallery__note {
  max-width: 760px;
  margin: 1.5rem auto 0;
  color: var(--color-text-muted);
  text-align: center;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-base);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin-top: 0.8rem;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.about__text {
  max-width: 760px;
}

.about__aside {
  display: grid;
  gap: 1rem;
}

.trust-card {
  padding: 1.35rem;
  border-radius: var(--radius-base);
}

.trust-list,
.contact-list {
  display: grid;
  gap: 0.7rem;
}

.trust-list li,
.contact-list li {
  position: relative;
  padding-left: 1.1rem;
}

.trust-list li::before,
.contact-list li::before {
  content: '';
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.contact-list a {
  transition: color var(--duration) var(--ease-soft);
}

.contact-list a:hover,
.footer__links a:hover {
  color: var(--color-accent-light);
}

.seo-text__inner {
  max-width: 860px;
}

.seo-text p + p {
  margin-top: 1rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  margin-bottom: 0.8rem;
}

.final-cta__subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.final-cta__glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.footer {
  margin-top: auto;
  padding: 2.5rem var(--page-padding);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-light);
}

.footer__tagline,
.footer__updated,
.footer__copy {
  color: var(--color-text-soft);
}

.footer__updated {
  margin-top: 0.35rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.footer__links a {
  color: var(--color-text-muted);
  transition: color var(--duration) var(--ease-soft);
}

.footer__copy {
  margin-top: 1rem;
}

.fade-in-item {
  opacity: 0;
  transform: translateY(16px);
}

@media (max-width: 1100px) {
  .feature-highlights__grid,
  .card-grid--four,
  .features__grid,
  .card-grid--three,
  .gallery__grid,
  .how__steps,
  .access__tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about__grid,
  .content-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .header {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

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

  .header__left {
    width: 100%;
    justify-content: space-between;
  }

  .cta-header,
  .btn,
  .btn--large {
    width: 100%;
  }

  .hero {
    padding-top: 9rem;
    padding-bottom: 4rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  main section,
  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .feature-highlights__grid,
  .card-grid--four,
  .features__grid,
  .card-grid--three,
  .gallery__grid,
  .how__steps,
  .access__tips {
    grid-template-columns: 1fr;
  }

  .content-item {
    padding: 1.25rem;
  }

  .section-title,
  .section-title--left {
    text-align: left;
  }

  .section-subtitle,
  .gallery__note,
  .final-cta__subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__actions--center {
    justify-content: stretch;
  }

  .footer__links {
    flex-direction: column;
  }
}
