/* ================================
   CSS VARIABLES
================================ */

:root {
  --max-width: 1200px;
  --section-padding: 100px;
  --column-gap: 64px;

  --text-body: 16px;
  --text-small: 14px;

  --h1: 56px;
  --h2: 40px;
  --h3: 28px;

  --line-body: 1.6;
  --line-tight: 1.2;

  --header-height: 88px;
}

:root {
  --section-tight: 96px;
  --section-normal: 120px;
  --section-loose: 160px;
}

/* ================================
   GLOBAL RESET / BASE
================================ */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(
    ellipse at top,
    #1a1446 0%,
    #0b0b14 45%,
    #000000 100%
  );
  color: #ffffff;
}

body {
  font-size: var(--text-body);
  line-height: var(--line-body);
  -webkit-font-smoothing: antialiased;
}

.site-main {
  overflow-x: hidden;
}

/* ===============================
   CINEMATIC OVERLAP SYSTEM
================================ */

.section-cinematic {
  position: relative;
  padding: 160px 0;
  overflow: visible;
}

.stage-full {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 620px;

  background: radial-gradient(
    ellipse at center,
    #1a1446 0%,
    #0b0b14 55%,
    #000000 100%
  );
}

.glass-card {
  position: relative;
  z-index: 2;

  max-width: 720px;
  padding: 64px;

  background: rgba(12, 12, 22, 0.75);
  backdrop-filter: blur(26px);
  border-radius: 28px;

  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255,255,255,0.045);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(124,118,255,.35),
    rgba(124,118,255,.05) 35%,
    rgba(255,255,255,.04) 60%,
    rgba(124,118,255,.25)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-left {
  margin-left: 0;
  margin-right: auto;
  transform: translateY(-120px);
}

.glass-right {
  margin-left: auto;
  margin-right: 0;
  transform: translateY(-120px);
}

.glass-center {
  margin-left: auto;
  margin-right: auto;
  transform: translateY(-140px);
}

/* ================================
   TYPOGRAPHY
================================ */

h1 {
  font-size: var(--h1);
  line-height: 1.15;
  margin-bottom: 24px;
}

h2 {
  font-size: var(--h2);
  line-height: 1.2;
  margin-bottom: 24px;
}

h3 {
  font-size: var(--h3);
  line-height: 1.3;
  margin-bottom: 16px;
}

p {
  margin-bottom: 24px;
}

/* ================================
   LAYOUT UTILITIES
================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: var(--section-normal) 0;
}

/* ================================
   HEADER FIX
================================ */

header {
  margin-bottom: 0;
}

/* ================================
   HERO (FINAL SYSTEM)
================================ */

/* Section wrapper */
.hero.section {
  padding: 0;
  margin: 0;
}

/* Hero container */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

/* Full-width image strip */
.hero-media {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-media img {
  width: 100%;
  height: auto;
  min-height: 72vh;
  object-fit: cover;
  display: block;
}

/* Floating content panel */
.hero-content {
  position: relative;
  max-width: 720px;
  margin: -160px auto 0;
  padding: 56px;

  background: rgba(12, 12, 22, 0.72);
  backdrop-filter: blur(24px);
  border-radius: 24px;

  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
  max-width: 18ch;
}

.hero-content .headline-break {
  display: block;
}

.hero-content {
  position: relative;
  isolation: isolate;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(124, 118, 255, 0.35),
    rgba(124, 118, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.04) 60%,
    rgba(124, 118, 255, 0.25)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.hero-subhead {
  max-width: 48ch;
  margin-top: 24px;
}

.hero--cinematic {
  min-height: calc(100vh - var(--header-height, 88px));
  display: flex;
  align-items: center;
  position: relative;
}

.hero--cinematic .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--cinematic .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--cinematic .hero-content {
  position: relative;
  z-index: 1;
}

/* ================================
   BUTTON POLISH
================================ */

.btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    #7c76ff 0%,
    #6c63ff 100%
  );
  color: #ffffff;
  border: none;

  box-shadow:
    0 8px 24px rgba(124, 118, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 32px rgba(124, 118, 255, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  border-color: rgba(124, 118, 255, 0.7);
  color: #ffffff;
  transform: translateY(-1px);
}

.business-solutions .btn-primary {
  background: linear-gradient(135deg, #6c63ff, #7c76ff);
  box-shadow: 0 12px 32px rgba(108,99,255,.45);
}

.business-solutions .button-group {
  margin-top: 32px;
}

.glass-card,
.hero-content {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
}

/* ================================
   BUTTON SYSTEM (LOCKED)
================================ */

a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 999px;

  font-size: 15px;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* Business Solutions – hero laptop emphasis */
/* =====================================
   Business Solutions – Laptop Dominance
===================================== */

.business-solutions .feature-media {
  width: 82%;
  right: -4%;
}

.business-solutions .feature-media img {
  transform: scale(1.28);
  transform-origin: center left;
}

@media (max-width: 1024px) {
  .business-solutions .feature-media {
    width: 100%;
    right: 0;
  }

  .business-solutions .feature-media img {
    transform: scale(1);
  }
}

  .glass-card {
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Emphasize Business Solutions visual */
.business-solutions .feature-media {
  width: 62%;
}

.business-solutions .feature-media img {
  transform: scale(1.05);
}

.section-cta .glass-card {
  padding: 56px;
}

/* ================================
   OVERLAP SECTION SYSTEM
================================ */

.overlap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 96px;
  position: relative;
}

.overlap-grid.reverse {
  direction: rtl;
}

.overlap-grid.reverse > * {
  direction: ltr;
}

.overlap-section {
  position: relative;
  padding: 140px 0;
  overflow: visible;
}

.overlap-media {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  z-index: 1;
}

.overlap-media img {
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: cover;
  display: block;
}

.overlap-card {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 56px;
  background: rgba(12, 12, 22, 0.72);
  backdrop-filter: blur(28px);
  border-radius: 28px;

  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Left / Right positioning helpers */
.overlap-left {
  margin-top: -220px;
  margin-left: 0;
}

.overlap-right {
  margin-top: -220px;
  margin-left: auto;
}

/* Mobile safety */
@media (max-width: 768px) {
  .overlap-card {
    margin-top: -120px;
    padding: 32px;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
}

.glass-business {
  max-width: 760px;
  transform: translateY(-160px);
}

@media (max-width: 768px) {
  .glass-card {
    transform: none;
    padding: 40px;
  }

  .section-cinematic {
    padding: 100px 0;
  }
}

/* ================================
   SPLIT SECTIONS
================================ */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--column-gap);
  align-items: center;
}

.split-grid.reverse {
  direction: rtl;
}

.split-grid.reverse > * {
  direction: ltr;
}

.feature-list,
.step-list {
  margin-top: 24px;
}

.feature-list li,
.step-list li {
  margin-bottom: 12px;
}

/* ================================
   CTA
================================ */

.section-cta {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
}

.cta-panel {
  padding: 48px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.feature-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.feature-media {
  position: relative;
  width: 100%;
  z-index: 1;
}

.feature-media img {
  width: 100%;
  height: auto;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: block;

  filter: drop-shadow(0 40px 80px rgba(0,0,0,.6));
}

.feature-card {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 56px;
  margin-left: 5%;
  border-radius: 28px;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 40px 120px rgba(0,0,0,.6);
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.overlap-left .glass-card {
  transform: translateX(-40px);
}

.overlap-right .glass-card {
  transform: translateX(40px);
}

.image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
/* ===== Visual Section System ===== */

.visual-section {
  position: relative;
  padding: 0;
  overflow: visible;
}

.visual-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.visual-stage img {
  width: 100%;
  height: 80vh;
  min-height: 640px;
  object-fit: cover;
  display: block;
}

/* Floating card */
.visual-card {
  position: relative;
  margin-top: -220px;
  padding: 56px;
  max-width: 620px;

  background: rgba(12, 12, 22, 0.72);
  backdrop-filter: blur(24px);
  border-radius: 28px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55);
}

/* Alignment variants */
.visual-card.left {
  margin-left: 0;
}

.visual-card.right {
  margin-left: auto;
}

.visual-card.wide {
  max-width: 720px;
}

/* Lists inside cards */
.visual-card ul {
  margin-top: 24px;
}

.visual-card li {
  margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .visual-card {
    margin-top: -120px;
    padding: 32px;
  }

  .visual-stage img {
    height: 60vh;
  }
}

.feature-showcase,
.how-it-works,
.business-solutions {
  padding: var(--section-loose) 0;
}

/* ================================
   VERTICAL RHYTHM POLISH
================================ */

.section + .section {
  margin-top: 40px;
}

.glass-card h2 {
  margin-bottom: 20px;
}

.glass-card p:last-of-type {
  margin-bottom: 32px;
}

.feature-list,
.steps-list {
  margin-top: 20px;
}

.feature-list li,
.steps-list li {
  line-height: 1.7;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-top: -120px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-content {
    padding: 32px;
    margin-top: -80px;
    text-align: center;
  }

  .hero-subhead {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .button-group {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* =========================================
   Business Solutions – Hero Laptop Scaling
========================================= */

.business-solutions .overlap-grid {
  align-items: center;
}

.business-solutions .feature-media {
  width: 100vw;                 /* break out of grid */
  max-width: none;
  position: absolute;
  right: -12vw;                 /* pull laptop into view */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.business-solutions .feature-media img {
  width: 1100px;                /* explicit visual size */
  max-width: none;
  transform: none;              /* no fake scaling */
}

@media (max-width: 1024px) {
  .business-solutions .feature-media {
    position: relative;
    width: 100%;
    right: 0;
    top: auto;
    transform: none;
    margin-top: 48px;
  }

  .business-solutions .feature-media img {
    width: 100%;
    max-width: 100%;
  }
}

/* ================================
   MICRO MOTION
================================ */

.glass-card {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-media img {
  transition: transform 0.6s ease;
}

.feature-media img:hover {
  transform: scale(1.02);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(124, 118, 255, 0.35),
    rgba(255, 255, 255, 0.06),
    rgba(124, 118, 255, 0.25)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* =========================================
   FINAL POLISH — SYSTEM WIDE
========================================= */

/* -----------------------------------------
   1. HEADER NAV POLISH
----------------------------------------- */

header nav a {
  position: relative;
  transition: opacity 0.25s ease;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(124,118,255,0),
    rgba(124,118,255,0.6),
    rgba(124,118,255,0)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

header nav a:hover {
  opacity: 0.85;
}

header nav a:hover::after,
header nav a.active::after {
  opacity: 1;
}

/* -----------------------------------------
   2. SECTION DIVIDER GLOW (VERY SUBTLE)
----------------------------------------- */

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(124,118,255,0.12),
    rgba(255,255,255,0)
  );
  opacity: 0.35;
}

/* Prevent first section line */
.section:first-of-type::before {
  display: none;
}

/* -----------------------------------------
   3. FOOTER POLISH
----------------------------------------- */

footer {
  background: radial-gradient(
    ellipse at top,
    rgba(124,118,255,0.08),
    rgba(0,0,0,0.9)
  );
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer a {
  transition: opacity 0.25s ease;
}

footer a:hover {
  opacity: 0.75;
}

/* -----------------------------------------
   4. MOBILE POLISH PASS
----------------------------------------- */

@media (max-width: 768px) {

  /* Section breathing */
  .section {
    padding: 96px 0;
  }

  /* Cards feel less heavy */
  .glass-card {
    padding: 32px;
    border-radius: 22px;
  }

  /* Images center and calm */
  .feature-media {
    position: relative;
    transform: none;
    width: 100%;
    margin-top: 40px;
  }

  .feature-media img {
    max-width: 92%;
    margin: 0 auto;
    display: block;
  }

  /* Buttons feel tappable */
  .btn {
    padding: 16px 26px;
    font-size: 16px;
  }

  /* Footer spacing */
  footer {
    padding-top: 64px;
  }
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: stretch;
}

/* Tablet */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.glass-card.highlight {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(124, 108, 255, 0.15);
}

/* ===== HERO LAYOUT ===== */
.product-hero {
  padding: 6rem 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

/* ===== DEVICE ===== */
.device-wrapper {
  position: relative;
  width: 420px;
}

.device-frame {
  width: 100%;
  display: block;
}

/* ===== UI OVERLAY (SCREEN CUTOUT) ===== */
.device-ui {
  position: absolute;
  top: 12%;
  left: 10%;
  width: 80%;
  height: 74%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== UI CARD ===== */
.ui-panel {
  width: 100%;
  background: rgba(12, 14, 28, 0.88);
  border-radius: 18px;
  padding: 1.6rem;
  color: #fff;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ===== UI CONTENT ===== */
.ui-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ui-dot {
  width: 8px;
  height: 8px;
  background: #7c6cff;
  border-radius: 50%;
}

.ui-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #dcdcff;
}

.ui-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
}

.ui-list li {
  font-size: 0.85rem;
  color: #cfd3ff;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ui-list li:last-child {
  border-bottom: none;
}

.ui-action {
  width: 100%;
  padding: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c6cff, #9a8cff);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* =========================
   PRODUCT HERO
========================= */

.product-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background SVG */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://244500835.fs1.hubspotusercontent-na2.net/hubfs/244500835/unclutterai-powerhouse-theme/Blank-hero.svg")
    center / cover no-repeat;
  z-index: 0;
}

/* Layout */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Copy */
.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-copy p {
  max-width: 460px;
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* =========================
   PHONE STACK
========================= */

.phone-wrap {
  position: relative;
  width: 420px;
  justify-self: center;
}

/* Phone shell */
.phone-shell {
  width: 100%;
  position: relative;
  z-index: 3;
  display: block;
}

/* UI overlay */
.phone-ui {
  position: absolute;
  top: 9%;
  left: 10%;
  width: 80%;
  height: 82%;
  z-index: 2;

  background: rgba(8, 10, 24, 0.95);
  border-radius: 28px;
  padding: 1.25rem;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 20px 40px rgba(0,0,0,0.6);
}

/* UI elements */
.ui-header {
  font-size: 0.85rem;
  color: #c7b9ff;
  font-weight: 600;
}

.ui-item {
  font-size: 0.85rem;
  color: #e5e7eb;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ui-cta {
  margin-top: auto;
  background: linear-gradient(135deg, #8b7bff, #6f5cff);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy p {
    margin: 0 auto;
  }

  .phone-wrap {
    margin-top: 3rem;
  }
}

.product-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://244500835.fs1.hubspotusercontent-na2.net/hubfs/244500835/unclutterai-powerhouse-theme/Blank-hero.svg")
    center / cover no-repeat;
  animation: bg-drift 18s ease-in-out infinite alternate;
  z-index: 0;
}

/* Layout */
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Copy */
.hero-copy h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-copy p {
  font-size: 1.15rem;
  max-width: 460px;
  color: #cbd5f5;
}

/* Visual stack */
.hero-visual {
  position: relative;
  height: 520px;
}

/* Phone = context only */
.hero-phone {
  position: absolute;
  right: -20px;
  bottom: -20px;
  height: 480px;
  opacity: 0.85;
  filter: blur(0.3px) brightness(0.9);
  transform: translateY(12px);
  z-index: 1;
}

/* UI Card = PRODUCT */
.hero-ui-card {
  position: absolute;
  top: 80px;
  left: 0;
  width: 320px;
  padding: 1.8rem;
  background: rgba(10, 12, 28, 0.75);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(140, 120, 255, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: transform 0.6s ease;
}

/* UI content */
.hero-ui-card h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #e5e7ff;
}

.hero-ui-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.hero-ui-card li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: #c7c9ff;
}

/* Primary action */
.primary-btn {
  width: 100%;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #7c6cff, #9f8cff);
  color: #0b0d1c;
  font-weight: 600;
  cursor: pointer;
}

/* Subtle motion (single effect) */
@keyframes bg-drift {
  from {
    transform: translateX(-10px);
  }
  to {
    transform: translateX(10px);
  }
}

.product-hero {
  position: relative;
  z-index: 1;
  padding-bottom: 160px; /* creates room for overlap */
}

.problem-section {
  position: relative;
  z-index: 2;
  margin-top: -120px; /* 👈 overlap amount */
}

.problem-section .card {
  background: rgba(15, 18, 32, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .problem-section {
    margin-top: -40px;
  }

  .product-hero {
    padding-bottom: 80px;
  }
}

.problem-section {
  animation: riseIn 0.8s ease-out both;
}

@keyframes riseIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.problem-section {
  background-image: url("/assets/decision-signal.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 600px;
}

.section {
  padding: 140px 0;
}

.section.tight {
  padding: 100px 0;
}

.section.overlap {
  margin-top: -120px;
}

.card {
  padding: 48px 56px;
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section.overlap {
    margin-top: -40px;
  }

  .card {
    padding: 32px;
  }
}

.hero-ui {
  position: absolute;
  right: 8%;
  bottom: 18%;
  width: 420px;
  z-index: 3;
  animation: floatSlow 14s ease-in-out infinite;
}

.hero-ui img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.product-problem {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-top: -120px; /* overlap with hero */
}

.problem-visual img {
  width: 100%;
  opacity: 0.75;
}

.how-it-works-visual {
  max-width: 680px;
  margin: 4rem auto 0;
}

.how-it-works-visual img {
  width: 100%;
}

.focus-visual {
  max-width: 520px;
  margin: 3rem auto 0;
  opacity: 0.9;
}

section {
  padding: 8rem 0;
}

section + section {
  margin-top: -2rem;
}

.product-focus {
  position: relative;
  padding: 10rem 0;
}

.focus-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.focus-visual img {
  width: 100%;
  opacity: 0.35;
  filter: blur(0.5px);
}

.focus-ui-card {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  padding: 2rem;
  z-index: 2;
}

.focus-list {
  margin: 1.5rem 0;
  line-height: 1.8;
}

.focus-ui-card {
  animation: floatSlow 16s ease-in-out infinite;
}

@keyframes ui-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.hero-ui-card {
  animation: ui-float 8s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 60px rgba(80,60,200,0.25);
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(120,100,255,0.35);
}

@media (max-width: 768px) {

  section {
    padding: 96px 0 !important;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

}

@media (max-width: 768px) {

  .product-hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.1;
  }

  .hero-ui-card {
    margin: 0 auto;
    max-width: 320px;
  }

}

@media (max-width: 768px) {

  .problem-section {
    margin-top: -40px;
    padding-top: 120px;
  }

  .glass-center {
    padding: 32px 24px;
  }

}

@media (max-width: 768px) {

  .split-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

}

@media (max-width: 768px) {

  .overlap-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-it-works-visual {
    margin-top: 0;
    padding-bottom: 96px;
  }

}

@media (max-width: 768px) {

  .product-focus .focus-inner {
    flex-direction: column;
    gap: 48px;
  }

  .focus-ui-card {
    max-width: 100%;
  }

}

@media (max-width: 768px) {

  .section-cta h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .button-group {
    flex-direction: column;
    gap: 16px;
  }

}

/* ---------- Motion Base ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- How It Works Micro Float ---------- */

.float-in {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.float-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Focus CTA Pulse ---------- */

@keyframes softPulse {
  0%   { box-shadow: 0 0 0 0 rgba(139, 124, 255, 0.35); }
  70%  { box-shadow: 0 0 0 12px rgba(139, 124, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 124, 255, 0); }
}

.pulse-once.visible {
  animation: softPulse 1.8s ease-out 1;
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .float-in,
  .pulse-once {
    transition: none;
    animation: none;
    transform: none;
  }
}

/* ==================================================
   FINAL MOBILE SPACING PASS — PRODUCT PAGE
   ================================================== */

@media (max-width: 768px) {

  /* ---------- GLOBAL SECTION RHYTHM ---------- */

  .section {
    padding: 72px 0;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ---------- PRODUCT HERO ---------- */

  .product-hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .hero-copy h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-ui-card {
    width: 100%;
    max-width: 360px;
  }

  /* ---------- PROBLEM SECTION ---------- */

  .problem-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .glass-center {
    transform: none;
    margin-top: 0;
  }

  /* ---------- WHAT UNCLUTTERAI DOES ---------- */

  .section-header {
    margin-bottom: 48px;
    text-align: center;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-card {
    padding: 32px;
  }

  /* ---------- HOW IT WORKS ---------- */

  .how-it-works .overlap-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-media {
    position: relative;
    transform: none;
    width: 100%;
  }

  .feature-media img {
    max-width: 100%;
  }

  .feature-text {
    transform: none;
  }

  /* ---------- FOCUS MODE ---------- */

  .product-focus {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .focus-inner {
    position: relative;
  }

  .focus-visual img {
    opacity: 0.25;
  }

  .focus-ui-card {
    position: relative;
    transform: none;
    margin: 0 auto;
    max-width: 360px;
    padding: 32px;
  }

  /* ---------- BUILT FOR / NOT FOR ---------- */

  .section ul {
    margin-top: 16px;
  }

  /* ---------- TRUST ---------- */

  .section .glass-center {
    padding: 40px 32px;
  }

  /* ---------- FINAL CTA ---------- */

  .section-cta {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .cta-panel {
    margin-top: 32px;
    padding: 40px 32px;
  }

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

  .button-group .btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   MOBILE HERO UI CARD FIX
========================= */

@media (max-width: 768px) {

  .product-hero {
    padding-bottom: 4rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-ui-card {
    width: 92%;
    max-width: 420px;
    padding: 1.5rem 1.75rem;
    border-radius: 20px;

    /* Prevent tall pillar effect */
    max-height: 65vh;

    /* Reset any desktop transforms */
    transform: none;
  }

  .hero-ui-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .hero-ui-card ul {
    margin: 0 0 1rem;
    padding-left: 0;
  }

  .hero-ui-card li {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .hero-ui-card .primary-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
  }
}

@media (max-width: 390px) {
  .hero-ui-card {
    padding: 1.25rem;
  }
}

/* HERO UI CARD — MOBILE FIX */
@media (max-width: 768px) {
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .hero-ui-card {
    width: 100%;
    max-width: 320px;
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    text-align: left;
  }

  .hero-ui-card h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .hero-ui-card ul {
    padding-left: 0;
    margin-bottom: 1.25rem;
  }

  .hero-ui-card li {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero-ui-card .primary-btn {
    width: 100%;
    min-width: unset;
    padding: 0.75rem 1rem;
    border-radius: 999px;
  }
}

/* FOOTER SOCIAL ALIGNMENT — MOBILE */
@media (max-width: 768px) {
  .footer-socials,
  .footer-icons,
  .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin: 1.5rem auto;
  }
}

/* ------------------------------
   HERO UI CARD – MOBILE FIX
-------------------------------- */

@media (max-width: 768px) {

  .product-hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-ui-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: auto;

    padding: 28px 24px 32px;
    border-radius: 22px;

    text-align: left;
  }

  .hero-ui-card ul {
    margin: 20px 0 28px;
  }

  .hero-ui-card li {
    line-height: 1.4;
  }

  .hero-ui-card .primary-btn {
    width: 100%;
  }
}

/* ------------------------------
   FOOTER – MOBILE ALIGNMENT
-------------------------------- */

@media (max-width: 768px) {

  footer,
  .site-footer {
    text-align: center;
  }

  .footer-socials,
  .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 24px auto;
  }
}

.pricing-hero {
  padding-top: clamp(120px, 18vw, 160px);
  padding-bottom: clamp(80px, 14vw, 120px);
}

.pricing-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pricing-hero h1 {
  margin-bottom: 32px;
}

.pricing-hero p {
  max-width: 560px;
  margin: 0 auto;
}

.pricing-plans {
  padding: clamp(96px, 14vw, 140px) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-card .price {
  font-size: 1.75rem;
  margin: 8px 0 16px;
}

.pricing-trust {
  padding: clamp(80px, 12vw, 120px) 0;
}

@media (max-width: 768px) {

  .pricing-hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 32px 24px;
    text-align: center;
  }

  .pricing-cta .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .pricing-cta .cta-panel {
    justify-content: center;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  footer .social-icons {
    justify-content: center;
    margin: 24px 0;
  }
}

/* =========================
   LEGAL PAGES
========================= */

.legal-hero {
  padding-top: clamp(120px, 18vw, 160px);
  padding-bottom: 48px;
}

.legal-content {
  padding-bottom: clamp(120px, 16vw, 160px);
}

.legal-card {
  padding: clamp(40px, 5vw, 64px);
  line-height: 1.7;
}

/* Typography inside legal text */
.legal-card h2,
.legal-card h3 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-card p,
.legal-card li {
  font-size: 0.95rem;
  opacity: 0.92;
}

.legal-card ul {
  margin-left: 20px;
  margin-bottom: 24px;
}

/* Mobile */
@media (max-width: 768px) {
  .legal-card {
    padding: 32px 24px;
  }
}

background: radial-gradient(
  ellipse at 60% 18%,
  rgba(138, 120, 255, 0.18),
  rgba(10, 10, 20, 0.92) 55%,
  rgba(5, 5, 15, 1) 100%
);

background: linear-gradient(
  180deg,
  rgba(255, 255, 255, 0.06),
  rgba(255, 255, 255, 0.03)
);

.team-card {
  max-width: 820px;
}

.team-profile {
  display: flex;
  align-items: center;
  gap: 32px;
}

.team-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.team-bio h2 {
  margin-bottom: 8px;
}

.team-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.linkedin-icon {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

.linkedin-icon:hover {
  color: #8b7cff;
}

.team-description {
  margin-bottom: 8px;
  opacity: 0.95;
}

.team-note {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
  .team-profile {
    flex-direction: column;
    text-align: center;
  }

  .team-name {
    justify-content: center;
  }
}

/* ============================
   MOBILE HERO FIX (ALL PAGES)
   ============================ */

@media (max-width: 768px) {

  /* Hero sections */
  .product-hero,
  .home-hero,
  .pricing-hero,
  .business-hero {
    min-height: 100svh; /* safer than 100vh on mobile */
    height: auto;
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow: hidden;
  }

  /* Hero background layers */
  .hero-bg,
  .hero-background,
  .hero-gradient {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    transform: none;
  }

  /* Hero containers */
  .hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }

  /* Prevent UI cards from clipping */
  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

}

@media (max-width: 768px) {

  .hero-ui-card {
    max-width: 92%;
    margin: 0 auto;
    transform: none !important;
  }

}

@supports (padding: env(safe-area-inset-top)) {
  .product-hero,
  .home-hero,
  .pricing-hero,
  .business-hero {
    padding-top: calc(6rem + env(safe-area-inset-top));
    padding-bottom: calc(4rem + env(safe-area-inset-bottom));
  }
}

img {
  max-width: 100%;
  height: auto;
}

.hero-visual img {
  aspect-ratio: 9 / 16;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-stage {
    aspect-ratio: 9 / 16;
  }

  .hero-content {
    padding-top: 3rem;
  }
}

/* REMOVE PHANTOM HEADER SPACING ON MOBILE */
@media (max-width: 768px) {
  header,
  .header,
  .site-header,
  .header-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  header::after,
  .header::after {
    display: none !important;
    content: none !important;
  }
}

/* HERO IMAGE STAGE — MOBILE SAFE */
.hero-stage {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
 hookup: none;
}

@media (max-width: 768px) {
  .hero-stage {
    min-height: 72vh;
    display: flex;
    align-items: flex-end; /* ANCHOR IMAGE DOWN */
  }
}

.hero-stage img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center bottom; /* CRITICAL */
  display: block;
}

.hero-stage {
  aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
  body {
    padding-top: 0 !important;
  }

  main,
  .page-wrapper {
    margin-top: -72px; /* match mobile header height */
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 96px; /* visually centers content under nav */
  }
}

@media (max-width: 768px) {
  header,
  .site-header,
  .global-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background: transparent;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 96px;
  }
}