/* =========================================================
   Alpha AI — Refined UI
   โครงสร้างเดิม / ปรับ typography, spacing และ responsive
   ========================================================= */

:root {
  --red: #a11b1f;
  --red-dark: #86171a;
  --red-soft: #f8eeee;
  --ink: #16181d;
  --muted: #6d727c;
  --line: #e8e9ec;
  --line-strong: #dfe1e5;
  --paper: #ffffff;
  --soft: #f7f7f8;
  --soft-2: #fbfbfc;
  --nav-height: 54px;
  --max-width: 1200px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans Thai", "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

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

::selection {
  background: rgba(161, 27, 31, .14);
}

/* =========================================================
   Header — โครง 2 ชั้นเดิม
   ========================================================= */

.site-header {
  width: 100%;
  background: var(--paper);
}

.brand-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--ink);
  font-family: "Inter", "IBM Plex Sans Thai", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-lockup > span:first-of-type {
  color: #c6c8cd;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-lockup > span:last-child {
  font-size: 13px;
  letter-spacing: .16em;
}

.nav-bar {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: var(--nav-height);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(100%, var(--max-width));
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 2.1vw, 32px);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-height);
  color: #4f535b;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  transition: color .22s var(--ease);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 36px !important;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--red);
  font-weight: 600 !important;
  transition: background .22s var(--ease), transform .22s var(--ease) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.mobile-home,
.menu-toggle {
  display: none;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  padding: 9px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  margin: 4px 0;
  border-radius: 99px;
  background: var(--ink);
}

/* =========================================================
   Hero — รักษาสัดส่วนภาพเดิม ไม่ crop
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #111;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* =========================================================
   Intro + Apple-inspired showcase
   ========================================================= */

.intro {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(76px, 9vw, 124px) 24px 48px;
  background: var(--paper);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-family: "Inter", "IBM Plex Sans Thai", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(44px, 6.25vw, 92px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.intro .lead {
  max-width: 680px;
  margin: 25px auto 0;
}

.lead {
  max-width: 760px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 400;
  line-height: 1.72;
}

.showcase {
  position: relative;
  min-height: 112vh;
  padding: 7vh 0 18vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(circle at 50% 44%, rgba(161, 27, 31, .035), transparent 38%),
    var(--paper);
}

.stage {
  position: sticky;
  top: 70px;
  width: min(1440px, 100vw);
  height: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.device {
  position: relative;
  z-index: 10;
  width: min(53vw, 740px);
  transform-origin: center center;
  will-change: transform;
}

.device-lid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 10px;
  background: #151515;
  border: 1px solid #292929;
  border-radius: 25px 25px 13px 13px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .16);
}

.camera {
  position: absolute;
  top: 1px;
  left: 50%;
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #444;
  transform: translateX(-50%);
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 17px 17px 8px 8px;
  background: linear-gradient(145deg, #fff 0%, #faeeee 48%, #f5f5f7 100%);
}

.screen-kicker{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.screen-kicker::before{
  content: "";
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
  flex-shrink: 0;
}

.screen-kicker::before{
  content: "";
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
  flex-shrink: 0;
  animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse{
  0%, 100%{
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
  }
  50%{
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.screen-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .72;
}

.glow-a {
  width: 46%;
  aspect-ratio: 1;
  right: -5%;
  top: -14%;
  background: rgba(161, 27, 31, .2);
}

.glow-b {
  width: 42%;
  aspect-ratio: 1;
  left: -8%;
  bottom: -18%;
  background: rgba(240, 185, 188, .42);
}

.screen-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7%;
  text-align: center;
}

.alpha-orb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .98);
  box-shadow: 0 10px 26px rgba(161, 27, 31, .12);
}

.alpha-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.screen-kicker {
  margin: 13px 0 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

.feature-icon {
  width: 256px;
  height: 256px;
  object-fit: contain;
  display: block;
  margin: 0 0 -2px 0;
}

.card h3 {
  margin: 0 0 6px 0;
}

.screen-ui h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.prompt-box {
  width: min(510px, 90%);
  margin-top: 26px;
  padding: 8px 9px 8px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #92969f;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 17px;
  box-shadow: 0 9px 24px rgba(17, 24, 39, .065);
  font-size: 13px;
}

.prompt-box button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--red);
  font-size: 18px;
  line-height: 1;
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.chips span {
  padding: 7px 10px;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: 999px;
  color: #555a63;
  background: rgba(255, 255, 255, .72);
  font-size: 10.5px;
}

.device-base {
  position: relative;
  width: 114%;
  height: 23px;
  margin-left: -7%;
  background: linear-gradient(#d9d9d9, #aaa);
  border-radius: 3px 3px 28px 28px;
  clip-path: polygon(4% 0, 96% 0, 100% 65%, 94% 100%, 6% 100%, 0 65%);
  box-shadow: 0 17px 27px rgba(0, 0, 0, .10);
}

.trackpad {
  position: absolute;
  top: 0;
  left: 50%;
  width: 18%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: #bdbdbd;
  transform: translateX(-50%);
}

.mobile-card-viewport,
.mobile-card-strip {
  display: contents;
}

.float-card {
  position: absolute;
  z-index: 5;
  width: clamp(188px, 18.5vw, 270px);
  min-height: 218px;
  padding: 23px;
  border: 1px solid rgba(17, 24, 39, .065);
  border-radius: 27px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(17, 24, 39, .11);
  backdrop-filter: blur(18px);
  will-change: transform;
}

.float-card h3 {
  margin: 27px 0 8px;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.float-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.card-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 24px;
  font-weight: 700;
}

.creative-icon {
  font-size: 21px;
  line-height: 1;
}

.moon-icon {
  font-size: 23px;
  line-height: 1;
}

.shield-icon {
  font-size: 20px;
  line-height: 1;
}

.card-left-back { left: 3%; top: 96px; transform: rotate(-8deg); }
.card-left-front { left: 10.5%; bottom: 68px; transform: rotate(6deg); }
.card-right-front { right: 10.5%; top: 74px; transform: rotate(7deg); }
.card-right-back { right: 3%; bottom: 72px; transform: rotate(-7deg); }

.mini-chat {
  width: 62px;
  height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  background: var(--red);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: .9;
}

.spark-grid {
  width: max-content;
  padding: 11px;
  display: grid;
  grid-template-columns: repeat(3, 17px);
  gap: 7px;
  border-radius: 14px;
  background: #f8e9ea;
}

.spark-grid i {
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--red);
  opacity: .42;
}

.spark-grid i:nth-child(2),
.spark-grid i:nth-child(5) {
  opacity: 1;
}

/* =========================================================
   Content sections — โครงเดิม, visual rhythm ใหม่
   ========================================================= */

.section {
  padding: clamp(78px, 9vw, 112px) 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
  background: var(--paper);
}

.section:nth-of-type(even) {
  background: var(--soft-2);
}

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

.narrow {
  max-width: 820px;
}

.section h2 {
  max-width: 900px;
  margin: 0 0 38px;
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.section h3 {
  margin: 16px 0 7px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card,
.video-card {
  min-height: 180px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .82);
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.card:hover,
.video-card:hover {
  transform: translateY(-3px);
  border-color: #d9dce1;
  background: #fff;
}

.card > span {
  color: var(--red);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
}

.card p,
.video-card p,
.section > p,
.container > p:not(.eyebrow):not(.lead) {
  color: var(--muted);
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.card.tall {
  min-height: 380px;
}

.placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed #c9ccd2;
  border-radius: 17px;
  color: #9a9ea6;
  background: #fafafa;
  text-align: center;
  font-family: "Inter", "IBM Plex Sans Thai", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
}

.placeholder.large {
  min-height: 420px;
  margin-top: 40px;
}

.placeholder.media {
  min-height: 220px;
}

.placeholder.portrait {
  min-height: 440px;
}

.placeholder.video {
  min-height: auto;
  aspect-ratio: 16 / 9;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 76px);
  align-items: center;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--red);
  font-weight: 600;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red-dark);
}

/* FAQ */

details {
  padding: 22px 2px;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* CTA */

.cta {
  text-align: center;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: transform .22s var(--ease), background .22s var(--ease);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: #2b2e34;
  transform: translateY(-2px);
}

.footer {
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: "Inter", "IBM Plex Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .stage {
    height: 630px;
  }

  .device {
    width: min(66vw, 680px);
  }

  .float-card {
    width: 218px;
    min-height: 198px;
    padding: 20px;
  }

  .card-left-back { left: -4%; }
  .card-right-back { right: -4%; }
  .card-left-front { left: 3%; }
  .card-right-front { right: 3%; }
}

@media (max-width: 900px) {
  .brand-header {
    min-height: 82px;
    padding: 14px 20px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-lockup > span:last-child {
    font-size: 11px;
  }

  .nav-bar {
    position: relative;
  }

  .nav-inner {
    min-height: 54px;
    padding: 0 20px;
    justify-content: space-between;
  }

  .mobile-home {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, .985);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(17, 24, 39, .08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    min-height: auto;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }

  .nav-links a:first-child {
    border-top: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin: 10px 20px 16px;
    width: auto;
    justify-content: center;
    border-top: 0;
  }

  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }

  .card.tall {
    min-height: auto;
  }

  .placeholder.portrait {
    min-height: 360px;
  }
}

@media (min-width: 761px) {
  .showcase {
    min-height: auto;
    padding: 22px 0 72px;
    background:
      radial-gradient(circle at 50% 50%, rgba(161, 27, 31, .05), transparent 36%),
      linear-gradient(to bottom, #ffffff 0%, #fbfbfc 100%);
  }

  .stage {
    position: relative;
    top: auto;
    width: min(1200px, calc(100% - 48px));
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    perspective: none;
  }

  .mobile-card-viewport {
    display: block;
    width: min(920px, 100%);
    overflow: hidden;
    padding: 8px 20px 22px;
    margin: 0 auto 14px;
    position: relative;
  }

  .mobile-card-viewport::before,
  .mobile-card-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 2;
    pointer-events: none;
  }

  .mobile-card-viewport::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
  }

  .mobile-card-viewport::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
  }

  .mobile-card-strip {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: 18px;
    will-change: transform;
  }

  .float-card {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 202px;
    width: 202px;
    height: 188px;
    min-height: 188px;
    padding: 18px;
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(17, 24, 39, .09);
    opacity: 1;
    transform: none !important;
    rotate: 0deg !important;
    z-index: 1;
    backdrop-filter: blur(14px);
  }

  .float-card h3 {
    margin: 18px 0 6px;
    font-size: 20px;
    line-height: 1.18;
  }

  .float-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 19px;
  }

  .mini-chat {
    width: 58px;
    height: 34px;
    padding: 0 11px;
    gap: 4px;
    transform: none;
  }

  .spark-grid {
    padding: 8px;
    grid-template-columns: repeat(3, 13px);
    gap: 5px;
    transform: none;
  }

  .spark-grid i {
    width: 13px;
    height: 13px;
    border-radius: 4px;
  }

  .card-left-back,
  .card-left-front,
  .card-right-front,
  .card-right-back {
    display: block;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .device {
    position: relative;
    width: min(62vw, 760px);
    max-width: 760px;
    margin: 0 auto;
    transform: none !important;
    z-index: 5;
  }

  .device::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 82%;
    height: 38px;
    background: rgba(0, 0, 0, .08);
    filter: blur(20px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  .intro {
    min-height: auto;
    padding: 20px 20px 8px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .intro h1 {
    max-width: 620px;
    font-size: clamp(34px, 10vw, 50px);
    line-height: 1.1;
    letter-spacing: -.025em;
  }

  .intro .lead {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
  }

  .showcase {
    min-height: auto;
    padding: 8px 0 36px;
    background:
      radial-gradient(circle at 50% 55%, rgba(161, 27, 31, 0.07), transparent 36%),
      linear-gradient(to bottom, #ffffff 0%, #fbfbfc 100%);
  }

  .stage {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    perspective: none;
  }

  .mobile-card-viewport {
    display: block;
    align-self: stretch;
    overflow: hidden;
    padding: 8px 20px 18px;
    margin: 0 0 8px;
    position: relative;
    min-height: 150px;
  }

  .mobile-card-viewport::before,
  .mobile-card-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 2;
    pointer-events: none;
  }

  .mobile-card-viewport::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
  }

  .mobile-card-viewport::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
  }

  .mobile-card-strip {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: 12px;
    will-change: transform;
  }

  .float-card {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 132px;
    width: 132px;
    height: 132px;
    min-height: 132px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(17, 24, 39, .09);
    opacity: 1;
    transform: none !important;
    rotate: 0deg !important;
    z-index: 1;
  }

  .float-card h3 {
    margin: 12px 0 4px;
    font-size: 14px;
    line-height: 1.22;
  }

  .float-card p {
    margin: 0;
    font-size: 10px;
    line-height: 1.42;
  }

  .card-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 17px;
  }

  .mini-chat {
    width: 52px;
    height: 32px;
    padding: 0 10px;
    gap: 4px;
    transform: none;
  }

  .dot {
    width: 5px;
    height: 5px;
  }

  .spark-grid {
    padding: 7px;
    grid-template-columns: repeat(3, 12px);
    gap: 4px;
    transform: none;
  }

  .spark-grid i {
    width: 12px;
    height: 12px;
    border-radius: 4px;
  }

  .card-left-back,
  .card-left-front,
  .card-right-front,
  .card-right-back {
    display: block;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .device {
    position: relative;
    width: 88vw;
    max-width: 430px;
    margin: 4px auto 0;
    transform: none !important;
    z-index: 5;
  }

  .device::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 82%;
    height: 30px;
    background: rgba(0, 0, 0, .08);
    filter: blur(16px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
  }

  .device-lid {
    padding: 7px;
    border-radius: 18px 18px 10px 10px;
  }

  .screen {
    border-radius: 12px 12px 6px 6px;
  }

  .screen-ui {
    padding: 5%;
  }

  .alpha-orb {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .98);
    box-shadow: 0 8px 20px rgba(161, 27, 31, .10);
  }
  
  .screen-kicker {
    margin: 10px 0 4px;
    font-size: 11px;
  }

  .screen-ui h2 {
    font-size: clamp(22px, 6.8vw, 32px);
  }

  .prompt-box {
    width: min(320px, 88%);
    margin-top: 14px;
    padding: 7px 8px 7px 14px;
    border-radius: 15px;
    font-size: 12px;
  }

  .prompt-box button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 16px;
  }

  .chips {
    display: none;
  }

  .device-base {
    height: 14px;
  }
}

@media (max-width: 420px) {
  .intro {
    padding-top: 14px;
  }

  .intro h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .intro .lead {
    font-size: 13.5px;
  }

  .mobile-card-viewport {
    padding-inline: 16px;
    min-height: 142px;
  }

  .mobile-card-viewport::before,
  .mobile-card-viewport::after {
    width: 16px;
  }

  .mobile-card-strip {
    gap: 10px;
  }

  .float-card {
    flex-basis: 124px;
    width: 124px;
    height: 124px;
    min-height: 124px;
    padding: 11px;
  }

  .float-card h3 {
    font-size: 12px;
  }

  .float-card p {
    font-size: 9px;
  }

  .device {
    width: 90vw;
  }
}

@media (max-width: 600px) {
  .brand-header {
    min-height: 72px;
    padding: 12px 18px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-lockup {
    gap: 11px;
  }

  .brand-lockup > span:first-of-type {
    font-size: 17px;
  }

  .brand-lockup > span:last-child {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .nav-inner {
    padding: 0 18px;
  }

  .section {
    padding: 52px 20px;
  }

  .section h2 {
    margin-bottom: 28px;
    font-size: clamp(32px, 10vw, 46px);
  }
  

  .grid {
    gap: 14px;
  }

  .card,
  .video-card {
    padding: 21px;
    border-radius: 19px;
  }

  .placeholder.media {
    min-height: 190px;
  }

  .placeholder.portrait {
    min-height: 300px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
  border-radius: 12px;
}

.dara-text {
  color: #a11b1f;
  font-weight: 800;
}

.dara-text {
  color: #a11b1f;
  font-weight: 800;
}

h1 .dara-text {
  color: #a11b1f !important;
  -webkit-text-fill-color: #a11b1f !important;
  font-weight: 900 !important;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

}

@media (max-width: 430px) {
  .brand-lockup > span:first-of-type {
    display: none;
  }

  /* Mobile showcase is controlled by the 760px/420px track rules above.
     Keep this breakpoint free of legacy card positioning. */
  .stage {
    height: auto;
  }

  .device {
    width: 91vw;
  }

  .mobile-card-strip > .float-card,
  .mobile-card-strip > .card-left-back,
  .mobile-card-strip > .card-left-front,
  .mobile-card-strip > .card-right-front,
  .mobile-card-strip > .card-right-back {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none !important;
    rotate: 0deg !important;
  }
}


/* =========================================================
   Mobile header — single clean row (desktop untouched)
   ========================================================= */
@media (max-width: 900px) {
  .site-header {
    position: relative;
    z-index: 2000;
  }

  .brand-header {
    min-height: 68px;
    padding: 10px 64px 10px 18px;
    justify-content: center;
    border-bottom: 1px solid var(--line);
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-lockup > span:first-of-type {
    display: inline;
    font-size: 17px;
  }

  .brand-lockup > span:last-child {
    font-size: 10.5px;
    letter-spacing: .13em;
  }

  .nav-bar {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2100;
    min-height: 68px;
    height: 68px;
    background: transparent;
    border: 0;
    pointer-events: none;
  }

  .nav-inner {
    width: 100%;
    min-height: 68px;
    height: 68px;
    padding: 0 14px;
    justify-content: flex-end;
    pointer-events: none;
  }

  .mobile-home {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-content: center;
    width: 40px;
    height: 40px;
    padding: 9px 10px;
    border: 0;
    border-radius: 13px;
    background: rgba(247, 247, 248, .96);
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .07);
    pointer-events: auto;
    transition: background .2s var(--ease), transform .2s var(--ease);
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: #f1f1f3;
  }

  .menu-toggle span {
    width: 19px;
    height: 1.5px;
    margin: 2.5px 0;
    transition: transform .22s var(--ease), opacity .18s var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .nav-links {
    top: 68px;
    left: 12px;
    right: 12px;
    width: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 18px 44px rgba(17, 24, 39, .12);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 16px;
  }

  .nav-links .nav-cta {
    margin: 8px 12px 12px;
  }
}

@media (max-width: 430px) {
  .brand-header {
    min-height: 64px;
    padding: 9px 58px 9px 14px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-lockup > span:last-child {
    font-size: 10px;
    letter-spacing: .11em;
  }

  .nav-bar,
  .nav-inner {
    min-height: 64px;
    height: 64px;
  }

  .nav-inner {
    padding-right: 12px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .nav-links {
    top: 64px;
    left: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-depth] {
    transform: none !important;
  }
}


/* =========================================================
   Mobile header V20 — logo only, no mobile navigation
   Desktop remains unchanged
   ========================================================= */
@media (max-width: 900px) {
  .brand-header {
    min-height: 68px;
    padding: 10px 18px;
    justify-content: center;
  }

  .nav-bar {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .brand-header {
    min-height: 64px;
    padding: 9px 14px;
  }
}
