/* ============================================
   FACTORY AI — Landing Page Styles
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-muted: #eef0f3;
  --ink: #0d0d0d;
  --ink-soft: #3a3a3a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #9b7bff;
  --accent-soft: #eae2ff;
  --accent-deep: #7c5cff;
  --dark: #0f0f10;
  --dark-card: #1a1a1c;
  --dark-border: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 12px 40px rgba(15, 15, 16, 0.08);
  --shadow-hover: 0 18px 50px rgba(15, 15, 16, 0.14);
  --container: 1180px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.eyebrow__left {
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 0.45rem 0.9rem;
}

.eyebrow__right {
  padding: 0.45rem 0.9rem;
  color: var(--ink);
  background: #fff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #222;
  box-shadow: var(--shadow);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--split {
  padding: 0.35rem 0.35rem 0.35rem 1.2rem;
  background: #fff;
  border: 1px solid var(--ink);
  gap: 0.75rem;
}

.btn--split .btn__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn--split:hover .btn__icon {
  transform: rotate(45deg);
  background: var(--accent-deep);
}

.btn--hero-split {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.btn--hero-split .btn__label {
  padding: 0.95rem 1.4rem;
}

.btn--hero-split .btn__trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.9rem 0.55rem 0.7rem;
  height: 100%;
}

.btn--hero-split .avatars {
  display: flex;
}

.btn--hero-split .avatars span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  margin-left: -8px;
  background: linear-gradient(135deg, #c4b5fd, #818cf8);
}

.btn--hero-split .avatars span:first-child {
  margin-left: 0;
  background: linear-gradient(135deg, #a78bfa, #6366f1);
}

.btn--hero-split .avatars span:nth-child(2) {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

.link-arrow__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.link-arrow:hover .link-arrow__circle {
  transform: rotate(45deg);
  background: var(--accent-soft);
}

/* ============================================
   HEADER — Floating glass pill
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
  pointer-events: none;
}

.site-header.is-scrolled {
  border: none;
  box-shadow: none;
}

.nav-shell {
  width: min(100%, 1120px);
  margin-inline: auto;
  pointer-events: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.4rem 0.55rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 10px 40px rgba(15, 15, 16, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled .nav {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(229, 231, 235, 0.9);
  box-shadow: 0 14px 44px rgba(15, 15, 16, 0.1);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  white-space: nowrap;
}

.nav__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #05080c;
  box-shadow:
    0 0 0 1.5px rgba(0, 229, 238, 0.35),
    0 0 14px rgba(255, 140, 0, 0.22);
  display: grid;
  place-items: center;
}

.nav__logo img {
  width: 118%;
  height: 118%;
  object-fit: cover;
  object-position: center 42%;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav__brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.nav__brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav__links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav__links a:hover {
  color: var(--ink);
  background: rgba(15, 15, 16, 0.04);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(246, 247, 249, 0.9);
  border: 1px solid var(--line);
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lang-switch__btn:hover {
  color: var(--ink);
}

.lang-switch__btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(15, 15, 16, 0.08);
}

.lang-switch__flag {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: #222;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__atmosphere {
  position: absolute;
  inset: -12% -8% 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.7s ease;
}

.hero__atmosphere.is-dimmed {
  opacity: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  opacity: 0.85;
}

.hero__orb--a {
  width: min(58vw, 640px);
  height: min(58vw, 640px);
  left: 8%;
  top: 6%;
  background: radial-gradient(
    circle,
    rgba(146, 176, 255, 0.42) 0%,
    rgba(168, 148, 255, 0.18) 42%,
    transparent 70%
  );
}

.hero__orb--b {
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  left: 42%;
  top: 18%;
  background: radial-gradient(
    circle,
    rgba(186, 170, 255, 0.28) 0%,
    rgba(120, 160, 255, 0.12) 45%,
    transparent 72%
  );
  filter: blur(90px);
}

.hero__orb--c {
  width: min(36vw, 380px);
  height: min(36vw, 380px);
  left: 18%;
  top: 48%;
  background: radial-gradient(
    circle,
    rgba(210, 225, 255, 0.35) 0%,
    rgba(155, 140, 255, 0.1) 50%,
    transparent 74%
  );
  filter: blur(80px);
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb {
    will-change: auto;
  }
}

.hero__top {
  margin-bottom: 3.5rem;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__intro {
  max-width: 42rem;
}

.hero__intro .eyebrow {
  margin-bottom: 1.75rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 1.75rem;
}

.hero__brand em {
  font-style: normal;
  color: var(--accent-deep);
  display: block;
  margin-top: 0.15em;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 1.15rem;
  max-width: 22ch;
}

.hero__subtitle {
  color: var(--muted);
  margin-bottom: 2.25rem;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero__media {
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  height: 100%;
  background: var(--bg-muted);
  position: relative;
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__media-badge {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  background: rgba(15, 15, 16, 0.78);
  color: #fff;
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  max-width: 240px;
  line-height: 1.45;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  justify-content: center;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  color: var(--accent-deep);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}

.hero__mission {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
}

.hero__mission-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.hero__mission p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero__mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero__keywords {
  margin-top: 3rem;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mini-card img {
  height: 90px;
  width: 100%;
  object-fit: cover;
  background: var(--bg-muted);
}

.mini-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
}

/* ============================================
   DARK CALLOUT
   ============================================ */
.dark-band {
  position: relative;
  z-index: 2;
  background: var(--dark);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  margin-top: 2rem;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.dark-band__inner {
  text-align: center;
}

.dark-band .eyebrow {
  border-color: rgba(255, 255, 255, 0.15);
}

.dark-band .eyebrow__left {
  background: rgba(155, 123, 255, 0.25);
  color: #d6c7ff;
}

.dark-band .eyebrow__right {
  background: transparent;
  color: #fff;
}

.dark-band .section-title {
  margin: 0 auto 2.5rem;
  max-width: 18ch;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  text-align: left;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(155, 123, 255, 0.45);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2e;
  margin-bottom: 1.25rem;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
  opacity: 1;
}

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.service-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.service-card:hover .icon-btn {
  transform: rotate(45deg);
  background: var(--accent-deep);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.service-card:hover .pill-btn {
  background: var(--accent-deep);
}

/* ============================================
   PROBLEM / FEATURE DETAIL
   ============================================ */
.feature-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.feature-split__media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-muted);
  box-shadow: var(--shadow);
}

.feature-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.quote-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Why choose / accordion style */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  margin-top: 3rem;
}

.why-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.why-cols h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.why-cols p {
  color: var(--muted);
  font-size: 0.95rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.accordion__item {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 700;
}

.accordion__num {
  color: #c4c7ce;
  font-family: var(--font-display);
  font-size: 0.95rem;
  min-width: 1.6rem;
}

.accordion__divider {
  width: 1px;
  height: 16px;
  background: var(--line);
}

.accordion__title {
  flex: 1;
}

.accordion__icons {
  display: flex;
  gap: 0.4rem;
  color: var(--muted);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.35s ease;
  color: var(--muted);
  font-size: 0.92rem;
}

.accordion__item.is-open .accordion__panel {
  max-height: 160px;
  padding-top: 0.65rem;
  padding-left: 2.9rem;
}

.accordion__item.is-open .accordion__icons svg:last-child {
  transform: rotate(180deg);
}

.header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* ============================================
   BENTO
   ============================================ */
.bento-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.15rem;
  align-items: stretch;
}

.bento-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.bento-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.bento-card__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.bento-card__cta .sq {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.bento-card:hover .sq {
  transform: rotate(45deg);
  background: var(--accent-deep);
}

.bento-visual {
  grid-row: 1 / 3;
  grid-column: 2;
  border-radius: 22px;
  overflow: hidden;
  background: #c4c4c4;
  min-height: 440px;
  position: relative;
  box-shadow: var(--shadow);
}

.bento-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

.bento-visual__caption {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  background: rgba(15, 15, 16, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
}

.bento-card--top { align-self: end; }
.bento-card--mid { align-self: center; }
.bento-card--bottom { align-self: start; }

/* ============================================
   TIMELINE / HOW IT WORKS
   ============================================ */
.timeline {
  position: relative;
  margin-top: 3rem;
  max-width: 820px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), rgba(155, 123, 255, 0.15));
  border-radius: 4px;
}

.timeline__item {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 2rem;
}

.timeline__dot {
  position: absolute;
  left: 8px;
  top: 0.35rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.timeline__card:hover {
  transform: translateX(6px);
}

.timeline__card .step {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.timeline__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.timeline__card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.flow-strip span {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
}

/* ============================================
   PLATFORM GRID
   ============================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.platform-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.platform-card--wide {
  grid-column: span 3;
}

.platform-card__media {
  height: 160px;
  background: var(--bg-muted);
  overflow: hidden;
}

.platform-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.platform-card:hover .platform-card__media img {
  transform: scale(1.06);
}

.platform-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.platform-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.platform-card .tag {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

/* ============================================
   TECH INFRA / TECH STACK
   ============================================ */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.source-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.source-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.source-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
}

.source-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.source-card p,
.source-card li {
  color: var(--muted);
  font-size: 0.9rem;
}

.source-card ul {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.25rem;
}

.source-card li::before {
  content: "• ";
  color: var(--accent);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.tech-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: background 0.35s ease, transform 0.35s var(--ease);
}

.tech-item:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tech-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.tech-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================
   DIFFERENCE / QUOTE
   ============================================ */
.diff {
  background: var(--dark);
  color: #fff;
  border-radius: 28px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  overflow: hidden;
  position: relative;
}

.diff::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(155, 123, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.diff__compare {
  display: grid;
  gap: 1rem;
}

.diff__box {
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--dark-border);
  background: rgba(255, 255, 255, 0.04);
}

.diff__box--classic {
  opacity: 0.7;
}

.diff__box--ai {
  border-color: rgba(155, 123, 255, 0.45);
  background: rgba(155, 123, 255, 0.12);
}

.diff__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.diff__box p {
  font-size: 1.05rem;
  line-height: 1.5;
}

.diff__content .section-title {
  margin-bottom: 1rem;
}

.diff__content p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   AUDIENCE
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  min-height: 180px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.audience-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-deep);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.audience-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============================================
   FUTURE / DEMO / PILOT
   ============================================ */
.future {
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(155, 123, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(155, 123, 255, 0.1), transparent 40%),
    var(--bg-soft);
  border-radius: 28px;
  padding: 4.5rem 2rem;
}

.future .section-title {
  max-width: 16ch;
  margin-inline: auto;
}

.future p {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--muted);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.signal-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.demo-media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.demo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pilot-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pilot-flow span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.pilot-flow .arrow {
  color: var(--accent-deep);
  border: none;
  background: transparent;
  padding: 0;
}

/* Integration chain */
.chain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
  max-width: 420px;
  margin-inline: auto;
}

.chain__node {
  width: 100%;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  font-weight: 700;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.chain__node:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.chain__node--ai {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.chain__node--out {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: transparent;
}

.chain__arrow {
  color: var(--accent-deep);
  font-weight: 800;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 5rem 0;
}

.final-cta .section-title {
  margin-bottom: 1rem;
}

.final-cta .lines {
  display: grid;
  gap: 0.35rem;
  margin: 1.5rem auto;
  max-width: 28rem;
  color: var(--muted);
  font-weight: 600;
}

.final-cta .cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: #fff;
}

.footer-cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-form {
  display: flex;
  gap: 0.65rem;
}

.footer-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-form input:focus {
  border-color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: var(--accent-deep);
}

.footer-desc {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28ch;
  margin-bottom: 1rem;
}

.footer-tags {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.to-top:hover {
  background: var(--ink);
  color: #fff;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 88px 1rem auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 99;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 20px 50px rgba(15, 15, 16, 0.12);
}

.mobile-menu.is-open {
  display: flex;
}

.lang-switch--mobile {
  width: fit-content;
  margin: 0.5rem 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__bottom,
  .feature-split,
  .bento-head,
  .why-grid,
  .demo-grid,
  .diff,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 360px;
  }

  .hero__top {
    margin-bottom: 2.5rem;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-visual {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .platform-card,
  .platform-card--wide {
    grid-column: span 1;
  }

  .sources-grid,
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: grid;
  }

  .nav {
    padding-right: 0.45rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 2.75rem 0 2.5rem;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-cards,
  .feature-list,
  .why-cols,
  .bento,
  .sources-grid,
  .tech-grid,
  .audience-grid,
  .platform-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__mini-cards {
    grid-template-columns: 1fr;
  }

  .dark-band {
    clip-path: none;
    border-radius: 24px;
    margin: 1rem;
  }

  .diff {
    padding: 2rem 1.25rem;
  }

  .footer-form {
    flex-direction: column;
  }

  .hero__brand {
    font-size: clamp(2.6rem, 14vw, 3.5rem);
  }

  .hero__keywords {
    margin-top: 2rem;
    font-size: 0.82rem;
  }
}
