/* ============================================
   Genix AI — Landing Page
   ============================================ */

:root {
  --brand-purple: #7c3aed;
  --grad-btn: linear-gradient(90deg, #2f6bff 0%, #7b3ff2 45%, #e539c8 100%);
  --grad-text: linear-gradient(90deg, #a855f7 0%, #e879f9 55%, #f472d0 100%);
  --dark-bg: #0a0e2a;
  --dark-bg-2: #070a20;
  --light-bg: #eef2fb;
  --card-label-bg: #141a3c;
  --text-dark: #0b1020;
  --text-light: #ffffff;
  --text-muted: #a7b0cc;
  --radius-btn: 999px;
  --radius-card: 14px;
  --container: 1200px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--dark-bg);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(110, 60, 240, .65);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -8px rgba(160, 60, 235, .8);
}

.btn-sm { padding: 12px 30px; font-size: 15px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }

.icon-upload { width: 22px; height: 22px; flex: none; }
.icon-arrow { width: 22px; height: 22px; flex: none; transition: transform .25s ease; }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(238, 242, 251, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 20, 45, .06);
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #0d1226;
}

.brand-ai {
  background: linear-gradient(90deg, #4f7cff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-desktop {
  display: flex;
  gap: 44px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: #1b2138;
}

.nav-desktop a { position: relative; padding: 4px 0; transition: color .2s ease; }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-btn);
  transition: width .25s ease;
}
.nav-desktop a:hover { color: var(--brand-purple); }
.nav-desktop a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(15, 20, 45, .08);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #0d1226;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  background: rgba(238, 242, 251, .97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 20, 45, .07);
}

.nav-mobile a {
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  color: #1b2138;
  border-bottom: 1px solid rgba(15, 20, 45, .06);
}

.nav-mobile .nav-mobile-cta {
  margin-top: 12px;
  text-align: center;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--grad-btn);
  color: #fff;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 56px;
  background: var(--light-bg);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  z-index: 0;
  width: 46%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 0%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--light-bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    var(--light-bg) 0%,
    var(--light-bg) 34%,
    rgba(238, 242, 251, .72) 48%,
    rgba(238, 242, 251, .18) 62%,
    rgba(238, 242, 251, 0) 74%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  flex: 1 1 auto;
  max-width: 620px;
  padding: 24px 0;
}

.hero h1 {
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.6px;
  color: #080c1c;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6 60%, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 14px;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 600;
  color: #161c33;
}

.hero-btn { margin-top: 42px; }

.feature-row {
  margin-top: 52px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.feature-row li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  text-align: center;
  border-right: 1px solid rgba(15, 20, 45, .12);
}

.feature-row li:last-child { border-right: none; }

.feature-row svg {
  width: 30px;
  height: 30px;
  color: var(--brand-purple);
}

.feature-row span {
  font-size: 13.5px;
  font-weight: 500;
  color: #2a3150;
  white-space: nowrap;
}

/* floating visual cards */
.hero-visual {
  flex: 0 0 auto;
  position: relative;
  width: 420px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid,
.video-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.polaroid img,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid {
  width: 132px;
  height: 154px;
  padding: 6px 6px 20px;
  transform: rotate(-9deg) translate(-46px, 52px);
  box-shadow: 0 18px 40px rgba(10, 15, 40, .35);
  z-index: 2;
}

.polaroid img { object-position: 60% 25%; }

.flow-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-16px, 12px);
  z-index: 3;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.flow-arrow svg { width: 40px; height: 24px; }

.video-card {
  width: 200px;
  height: 236px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 22px 50px rgba(10, 15, 40, .45);
  transform: translate(34px, 34px);
  z-index: 1;
}

.video-card img { object-position: 62% 22%; }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(12, 16, 38, .55);
  border: 2px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease;
}

.play-btn svg { width: 24px; height: 24px; color: #fff; margin-left: 2px; }

.duration {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(8, 10, 24, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Showcase ---------- */
.showcase {
  background: var(--dark-bg);
  padding: 84px 0 92px;
  color: var(--text-light);
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  margin: 16px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--text-muted);
}

.grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: #131936;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.card:hover img { transform: scale(1.06); }
.card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); background: rgba(124, 58, 237, .7); }

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 26, 0) 45%, rgba(6, 9, 26, .72) 100%);
  pointer-events: none;
}

.card .play-btn { width: 48px; height: 48px; }
.card .play-btn svg { width: 21px; height: 21px; }

.card-label {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--card-label-bg);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.showcase-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-bg-2);
  padding: 40px 0 130px;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-light { color: #fff; font-size: 26px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
  font-size: 14px;
  color: #c9d0e6;
}

.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: #fff; }

.footer-links .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .22);
}

.footer-social { text-align: right; }

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.social-icons a {
  color: #dfe5f5;
  transition: color .2s ease, transform .2s ease;
}

.social-icons a:hover { color: #a855f7; transform: translateY(-2px); }
.social-icons svg { width: 22px; height: 22px; }

.disclaimer {
  margin-top: 12px;
  font-size: 12px;
  color: #7c86a8;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1080px) {
  .hero-visual { width: 320px; height: 320px; }
  .polaroid { width: 112px; height: 130px; transform: rotate(-9deg) translate(-40px, 48px); }
  .video-card { width: 168px; height: 198px; transform: translate(20px, 30px); }
  .flow-arrow { transform: translate(-14px, 10px); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .container, .header-inner { padding: 0 22px; }
  .brand { font-size: 26px; }

  .nav-desktop { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: flex; }
  .header-cta { padding: 10px 22px; font-size: 14px; }

  .nav-mobile.open { display: flex; }

  .hero { padding: calc(var(--header-h) + 22px) 0 40px; }

  .hero::after {
    background: linear-gradient(180deg,
      rgba(238, 242, 251, .98) 0%,
      rgba(238, 242, 251, .96) 42%,
      rgba(238, 242, 251, .55) 72%,
      rgba(238, 242, 251, .15) 100%);
  }

  .hero-media { width: 100%; }

  .hero-media img { object-position: 68% 8%; }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-copy { max-width: none; padding: 0; }
  .hero-btn { margin-top: 30px; }
  .btn-lg { padding: 16px 26px; font-size: 15px; }
  .feature-row { margin-top: 34px; }

  .hero-visual {
    width: 100%;
    height: 250px;
    margin-top: 26px;
  }

  .polaroid { width: 104px; height: 122px; transform: rotate(-8deg) translate(-46px, 34px); }
  .video-card { width: 152px; height: 178px; transform: translate(14px, 22px); }
  .flow-arrow { transform: translate(-18px, 8px); }
  .play-btn { width: 44px; height: 44px; }
  .play-btn svg { width: 19px; height: 19px; }

  .showcase { padding: 60px 0 68px; }
  .grid { margin-top: 38px; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-label { left: 10px; bottom: 10px; padding: 6px 11px; font-size: 12.5px; }
  .showcase-cta { margin-top: 40px; }
  .showcase-cta .btn { width: 100%; max-width: 420px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .footer-links { margin: 0; gap: 16px; font-size: 13px; }
  .footer-social { text-align: center; }
  .social-icons { justify-content: center; }
}

@media (max-width: 520px) {
  .container, .header-inner { padding: 0 16px; }

  .hero h1 { letter-spacing: -1px; }
  .hero-btn { width: 100%; padding: 16px 18px; font-size: 15px; }
  .btn-lg .icon-upload, .btn-lg .icon-arrow { width: 20px; height: 20px; }

  .feature-row { flex-wrap: wrap; gap: 18px 0; margin-top: 30px; }
  .feature-row li { flex: 0 0 50%; border-right: none; }
  .feature-row span { font-size: 12.5px; }

  .hero-visual { height: 210px; margin-top: 20px; }
  .polaroid { width: 92px; height: 108px; transform: rotate(-8deg) translate(-34px, 30px); }
  .video-card { width: 134px; height: 158px; transform: translate(18px, 18px); }
  .flow-arrow { transform: translate(-12px, 6px); }

  .section-title { font-size: 28px; }
  .grid { gap: 12px; }
  .card { aspect-ratio: 1 / 1; }
  .card .play-btn { width: 42px; height: 42px; }
  .card-label { font-size: 11.5px; padding: 5px 9px; left: 8px; bottom: 8px; }

  .footer-links { flex-wrap: wrap; justify-content: center; }

  
  
  
  
}
