/* =============================================================
   CacheMash Landing Page — main.css (Figma-aligned)
   ============================================================= */

:root {
  --c-bg:          #000;
  --c-text:        #fafafa;
  --c-text-muted:  #808285;
  --c-purple:      #a16bff;
  --c-purple-2:    #8071ff;
  --c-blue:        #4a7bff;
  --c-dark-2:      #1b1a1a;

  --c-card-border: rgba(76, 122, 254, 0.30);
  --c-card-bg-a:   rgba(76, 122, 254, 0.12);
  --c-card-bg-b:   rgba(160, 107, 255, 0.12);
  --c-panel-bg-a:  rgba(76, 122, 254, 0.55);
  --c-panel-bg-b:  rgba(160, 107, 255, 0.30);

  --f-display: 'Urbanist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-body:    'Poppins',  system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --shadow-card: 0 4px 50px rgba(76, 122, 254, 0.20);
  --shadow-deep: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-step: 0 15px 8.625px rgba(0, 0, 0, 0.05);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--c-purple) #0a0a0a;
}

/* themed scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-purple) 0%, var(--c-purple-2) 50%, var(--c-blue) 100%);
  border-radius: 10px;
  border: 2px solid #0a0a0a;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--c-purple-2) 0%, var(--c-blue) 100%);
}
::-webkit-scrollbar-corner { background: #0a0a0a; }

body {
  margin: 0;
  font-family: var(--f-display);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body.page:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/images/purple-grill.png);
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 9999;
    background-position: top;
    display: block;
    pointer-events: none;
}


img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- Particles BG ---------- */
#particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#particles-bg canvas { display: block; width: 100% !important; height: 100% !important; }
main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.container {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
}
@media (min-width: 768px)  { .container { width: min(1240px, 100% - 64px); } }
@media (min-width: 1280px) { .container { width: min(1240px, 100% - 100px); } }

.text-gradient { color: var(--c-purple-2); }

/* ===== Section title ===== */
.section-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-text);
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-size: clamp(28px, 5.5vw, 55px);
}
.section-title--md { font-size: clamp(28px, 4vw, 45px); text-align: left; line-height: 1.2; }
.section-title--lg { font-size: clamp(32px, 5.5vw, 55px); }
.section-title--xl { font-size: clamp(36px, 6.5vw, 65px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  z-index: 111;
}
.nav__inner {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__logo-mark { width: 134px; height: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 50px;
}
.nav__link {
  position: relative;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 8px 0;
  color: var(--c-text);
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover::after,
.nav__link--active::after { transform: scaleX(1); }
.nav__link--active { color: #fff; }

.nav__cta {
  padding: 13px 32px !important;
  height: 50px;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
}

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20,20,30,0.95), rgba(0,0,0,0.95));
    border: 1px solid var(--c-card-border);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav__menu.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav__cta { width: 100%; justify-content: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 8px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn--primary {
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
  color: #fff;
  box-shadow: 0 6px 18px rgba(76, 122, 254, 0.30);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(160, 107, 255, 0.45);
  filter: brightness(1.05);
}

/* Store buttons — Figma: 207.25 × 64.2 */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  height: 64px;
  width: 207px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--c-card-border);
  background: linear-gradient(11.78deg, var(--c-card-bg-a) 5.46%, var(--c-card-bg-b) 91.58%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.store-btn:hover {
    background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
    color: #fff;
}
.store-btn img { height: 36px; width: auto; object-fit: contain; flex-shrink: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  padding: 80px 0 0;
  text-align: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__halo {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 150%);
  opacity: .8;
  filter: blur(2px);
}
.hero__icons {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}
@media (min-width: 1024px) { .hero__icons { display: block; } }

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 0 16px;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(38px, 6.5vw, 75px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  max-width: 920px;
  animation: fadeUp .8s ease both;
}
.hero__sub {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--c-text-muted);
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.55;
  max-width: 820px;
  animation: fadeUp .8s .15s ease both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 17.5px;
  justify-content: center;
  animation: fadeUp .8s .3s ease both;
}

.hero__phones {
    position: relative;
    z-index: 1;
    margin: 100px auto -60px auto;
    max-width: 760px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    animation: fadeUp .9s .35s ease both;
}
.hero__phone {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
}
.hero__phone--front {  z-index: 2; }
.hero__phone--back  {   z-index: 1; }

/* Floating overlays on hero phone — fade in/out (Figma spec) */
.hero__phones { position: relative; }

.hero__phone-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  width: 200px;
  border-radius: 16px;
  background: #1b1a1a;
  border: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
  animation: tagFade 7s ease-in-out infinite;
}
.hero__phone-tag--purple {
  border-color: #c47aff;
  filter: drop-shadow(0 0 6px rgba(196,122,255,0.25));
}
.hero__phone-tag--blue {
  border-color: #4da3ff;
  filter: drop-shadow(0 0 6px rgba(77,163,255,0.25));
}

/* Position: Summer Fashion top-left, Brain Notes bottom-left of phone */
.hero__phone-tag--a { top: 3%;  left: -2%; animation-delay: 0s; }
.hero__phone-tag--b { top: 62%; left: -2%; animation-delay: 3.5s; }

.hero__phone-tag__head { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; }
.hero__phone-tag__icon {
  width: 40px; height: 40px;
  border-radius: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px;
  flex: 0 0 auto;
}
.hero__phone-tag__icon--purple { background: rgba(196,122,255,0.10); }
.hero__phone-tag__icon--blue   { background: rgba(77,163,255,0.10); }
.hero__phone-tag__icon img { width: 100%; height: 100%; object-fit: contain; }

.hero__phone-tag__body { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.hero__phone-tag__title {
  margin: 0;
  font-family: 'Poppins', var(--f-body);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  text-align: left;
}
.hero__phone-tag__divider {
  width: 100%; height: 0;
  border-top: 1px solid #2f2f2f;
  padding-top: 2px;
}
.hero__phone-tag__meta {
  margin: 0;
  display: flex;
  gap: 5px;
  align-items: center;
  font-family: 'Poppins', var(--f-body);
  font-weight: 400;
  font-size: 12px;
  color: #9a9a9a;
  text-transform: capitalize;
  white-space: nowrap;
}

/* Sparkle button — gradient circle */
.hero__phone-star {
  position: absolute;
  top: 8%;
  right: 8%;
  z-index: 3;
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, #4a7bff 0%, #a16bff 100%);
  box-shadow:
    0 0 55px rgba(160,107,255,0.4),
    0 11px 33px rgba(0,0,0,0.4);
  opacity: 0;
  animation: starFade 7s ease-in-out infinite;
  animation-delay: 1.5s;
}
.hero__phone-star img { width: 50%; height: 50%; object-fit: contain; }

@keyframes tagFade {
  0%, 100% { opacity: 0; transform: translateY(6px) scale(0.96); }
  8%, 45%  { opacity: 1; transform: translateY(0) scale(1); }
  55%      { opacity: 0; transform: translateY(-4px) scale(0.98); }
}
@keyframes starFade {
  0%, 100% { opacity: 0; transform: scale(0.85); }
  10%, 75% { opacity: 1; transform: scale(1); }
  90%      { opacity: 0; transform: scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__phone-tag, .hero__phone-star { animation: none; opacity: 1; }
}

@media (max-width: 640px) {
  .hero__phone-tag { width: 160px; padding: 12px; gap: 10px; }
  .hero__phone-tag__icon { width: 32px; height: 32px; padding: 8px; }
  .hero__phone-tag__title { font-size: 12px; }
  .hero__phone-tag__meta { font-size: 10px; }
  .hero__phone-tag--a { top: 2%; left: -4%; }
  .hero__phone-tag--b { top: 64%; left: -4%; }
  .hero__phone-star { width: 50px; height: 50px; top: 6%; right: 2%; }
}

.hero__wave {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  margin-top: -60px;
  pointer-events: none;
}

/* Floating social icons (desktop only) */
.float-icon {
  position: absolute;
  width: 65px; height: 65px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}
.float-icon img { width: 56px; height: 56px; object-fit: contain; }

/* ============================================================
   OVERLOAD — vertical autoplay slider
   ============================================================ */
.overload {
  position: relative;
  padding: 80px 0 80px 0;
  isolation: isolate;
}

.overload::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 800px;
    height: 800px;
    background-image: url('../assets/images/purple-left.png');
    background-repeat: no-repeat;
    background-size: 100% ;
    z-index: 9999;
    background-position: left;
}

.overload__blob {
  position: absolute;
  left: -200px;
  top: 0;
  width: 700px;
  height: auto;
  opacity: .55;
  pointer-events: none;
  z-index: -1;
}

.painpoints {
  margin-top: 56px;
  max-width: 1024px;
  margin-inline: auto;
  padding: 0 16px;
}
.painpoints__viewport {
  position: relative;
  height: 280px;
  overflow: hidden;

}
.painpoints__track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: transform .8s cubic-bezier(.7, 0, .3, 1);
  will-change: transform;
}
.painpoint {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--c-card-border);
  background: linear-gradient(10.43deg, var(--c-card-bg-a) 5.46%, var(--c-card-bg-b) 91.58%);
  box-shadow: var(--shadow-card);
  border-radius: 20px;
}
.painpoint__icon {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2.104px solid rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
}
.painpoint__icon img { width: 50px; height: 50px; object-fit: contain; }
.painpoint__text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1.25;
  max-width: 800px;
  color: var(--c-text);
}

@media (max-width: 639px) {
  .painpoints__viewport { height: 240px; }
  .painpoint { flex-basis: 240px; padding: 20px 16px; gap: 20px; }
  .painpoint__icon { width: 88px; height: 88px; }
  .painpoint__icon img { width: 38px; height: 38px; }
}

/* ============================================================
   CONTROL
   ============================================================ */
.control {
  position: relative;
  padding: 60px 0 60px 0;
}
.control__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .control__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.control__copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: var(--f-body);
  color: var(--c-text-muted);
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.55;
  max-width: 533px;
}
.control__copy .control__lead { font-family: var(--f-body); font-weight: 400; }
.control__copy p:not(.control__lead) { font-family: var(--f-display); font-weight: 500; }
.control__art {
  display: grid;
  place-items: center;
  height: 100%;
}
.control__art img {
  width: 400px;
  height: 400px;
  object-fit: contain;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  position: relative;
  padding: 80px 0 100px 0;
}
.how__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .how__grid { grid-template-columns: 508px 1fr; gap: 53px; }
}

.how__copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: var(--c-text-muted);
  font-family: var(--f-display);
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.6;
}
.how__tagline {
  color: var(--c-purple);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

.how__panel {
  position: relative;
  margin-left: 47px;
  padding: 60px 50px 80px 65px;
  border-radius: 40px;
  border: 1px solid rgba(76, 122, 254, 0.30);
  background: linear-gradient(37.85deg, rgba(76, 122, 254, 0.60) 5.53%, rgba(160, 107, 255, 0.30) 93.95%);
  box-shadow: 0 4px 50px rgba(76, 122, 254, 0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  min-height: 560px;
  isolation: isolate;
}

.steps {
  position: absolute;
  left: -47px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 22.5px;
  align-items: center;
  z-index: 2;
}
.steps li { display: flex; }
.steps__btn {
  width: 70px;
  height: 70px;
  border-radius: 47.625px;
  background: #fafafa;
  color: #1b1a1a;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 45px;
  letter-spacing: -1.5px;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
  transition: transform .25s ease, background .35s ease, color .35s ease, width .35s ease, height .35s ease, font-size .35s ease, filter .35s ease;
  cursor: pointer;
}
.steps__btn:hover { transform: scale(1.06); }
.steps__btn--active {
  width: 95.25px;
  height: 95.25px;
  font-size: 36px;
  letter-spacing: -1.8px;
  color: #fff;
  background: linear-gradient(90deg, #4a7bff 0%, #a16bff 100%);
  filter: drop-shadow(0 15px 8.625px rgba(0, 0, 0, 0.05));
}

.how__phone {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.how__phone:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 85%;
    width: 100%;
    background-image: url('../assets/images/how-phone-circle.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.how__phone-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(69, 67, 130, 0.85) 0%, rgba(69, 67, 130, 0.45) 35%, rgba(69, 67, 130, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.how__phone img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 235px;
  height: auto;
  object-fit: contain;
  transition: opacity .28s ease, transform .35s ease;
  will-change: opacity, transform;
}
.how__phone.is-fading img { opacity: 0; transform: translateY(8px) scale(0.985); }
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5));
}

.how__caption {
  text-align: center;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: opacity .28s ease, transform .35s ease;
  will-change: opacity, transform;
  max-width: 460px;
  margin-inline: auto;
}
.how__caption.is-fading { opacity: 0; transform: translateY(6px); }
.how__caption-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 33px;
  text-transform: capitalize;
  color: #fafafa;
  margin: 0;
}

.how__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}
.how__caption p {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: #fafafa;
  margin: 0;
  text-align: center;
}

@media (max-width: 639px) {
  .how__panel {
    margin-left: 0;
    padding: 80px 18px 32px;
    min-height: 0;
    gap: 24px;
  }
  .steps {
    position: static;
    transform: none;
    flex-direction: row;
    margin-bottom: 4px;
  }
  .steps__btn { width: 56px; height: 56px; font-size: 22px; line-height: 28px; }
  .steps__btn--active { width: 70px; height: 70px; font-size: 28px; }
  .how__phone-bg { width: 240px; height: 240px; }
  .how__caption-title { font-size: 24px; line-height: 28px; }
  .how__caption p { font-size: 16px; line-height: 22px; }
}

/* ============================================================
   MAKE SENSE
   ============================================================ */
.makesense {
  padding: 60px 0 60px 0;
  text-align: center;
}

/* ============================================================
   TURN / CTA + MARQUEE
   ============================================================ */
.turn {
  padding: 60px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.turn .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.turn .section-title {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.marquee {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(56px, 16vw, 233px);
  line-height: 1.5;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
  color: transparent;
}
.marquee__track span { display: inline-block; padding-right: 0.4em; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============================================================
   USE CASES
   ============================================================ */
.usecases {
  position: relative;
  padding: 10px 0 80px 0;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}
.tab {
  min-width: 140px;
  width: 176px;
  height: 45px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid var(--c-text);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--c-text);
  background: transparent;
  transition: background .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.tab:hover { transform: translateY(-2px); border-color: var(--c-purple); }
.tab--active {
  background: var(--c-purple);
  border-color: var(--c-purple);
  color: #fff;
  box-shadow: 0 10px 25px rgba(160, 107, 255, 0.35);
}

.usecase-card {
  position: relative;
  border-radius: 40px;
  border: 1px solid var(--c-card-border);
  background: linear-gradient(17.53deg, var(--c-panel-bg-a) 5.53%, var(--c-panel-bg-b) 93.95%);
  box-shadow: var(--shadow-card);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .usecase-card {
    grid-template-columns: 1fr 1fr;
    padding: 48px 60px;
    min-height: 500px;
  }
}

.usecase-card__phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.usecase-card__tag {
  position: absolute;
  top: 10.34%;
  left: 0%;
  z-index: 2;
  width: 268.196px;
  height: 57.314px;
  display: flex;
  align-items: center;
  padding-left: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Poppins', var(--f-body);
  font-weight: 600;
  font-size: 17.831px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  isolation: isolate;
  transition: opacity .55s ease;
  will-change: opacity;
}
.usecase-card__tag::before {
  content: '';
  position: absolute;
  left: -15.284px;
  top: -15.284px;
  width: 298.917px;
  height: 98.1435px;
  background: url('../assets/images/usecase-tag-bg.svg') no-repeat;
  background-size: 100% 100%;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 767px) {
  .usecase-card__tag {
    transform: scale(0.78);
    transform-origin: top left;
  }
}

.usecase-card__phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 280 / 560;
  overflow: hidden;
  border-radius: 32px;
}
.usecase-card__phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5));
  transition: opacity .55s ease;
  will-change: opacity;
}

.usecase-card__phone-wrap.is-fading .usecase-card__tag {
  opacity: 0;
}
.usecase-card__phone-wrap.is-fading .usecase-card__phone img {
  opacity: 0;
}

.usecase-card__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--c-text);
  transition: opacity .35s ease;
  max-width: 387px;
}
.usecase-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
}
.usecase-card__desc {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
}
.usecase-card__icons {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.dot {
  width: 47px; height: 47px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot a { line-height: 1; }
.dot--insta { background: #e4405f; }
.dot--tiktok  { background: #000; }
.dot img { width: 19px; height: 19px; object-fit: contain; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding: 30px 0 30px 0;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer__blob {
  position: absolute;
  right: -200px; bottom: 0;
  width: 700px;
  height: auto;
  opacity: .55;
  z-index: -1;
  pointer-events: none;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.footer__brand img { width: 220px; height: auto; }

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}
.footer__nav a {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--c-text);
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--c-purple-2); }

.footer__email {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--c-text);
}
.footer__email a:hover { color: var(--c-purple-2); }

.footer__bottom {
  width: 100%;
  margin-top: 24px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-display);
  font-size: 16px;
  color: var(--c-text);
  letter-spacing: 0.06em;
}
.footer__bottom p { font-size: 18px; letter-spacing: 0.06em; font-weight: 400; }
.footer__bottom strong { font-weight: 700; }
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; padding: 0 32px 0 32px; }
}
.footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  letter-spacing: 0;
}
.footer__legal a { font-size: 14px; }
.footer__legal a:hover { color: var(--c-purple-2); }
.footer__sep {
  display: inline-block;
  width: 1px; height: 20px;
  background: rgba(255, 255, 255, 0.30);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(28px, -34px); }
  50%      { transform: translate(-22px, -52px); }
  75%      { transform: translate(-32px, -16px); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero phones float (preserves rotation) */
.hero__phone--front { }
.hero__phone--back  {  }
@keyframes floatFront {
  0%, 100% { transform: translate(20%, 10px) rotate(-6deg); }
  50%      { transform: translate(20%, 0px)  rotate(-6deg); }
}
@keyframes floatBack {
  0%, 100% { transform: translate(-20%, -20px) rotate(4deg); }
  50%      { transform: translate(-20%, -30px) rotate(4deg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


 /* MEDIA QUERY START */



@media screen and (min-width: 1600px) {
} 


@media (min-width: 1281px) and (max-width: 1599px) {
} 


@media (min-width: 1025px) and (max-width: 1280px) {
} 


@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
} 


@media (min-width: 768px) and (max-width: 1024px) {

} 


@media (min-width: 481px) and (max-width: 767px) {

} 


@media (min-width: 280px) and (max-width: 480px) {

  .hero__phones {width: 90%; }
  .hero__phone-star { right: 8%; }
  .overload {padding: 40px 0 40px 0;}
  .control__copy {text-align: center;}
  .control__art img { width: 150px;height: 150px;}
  .how { padding: 40px 0 40px 0; }
  .how__copy { gap: 16px;}
  .section-title {text-align: center;}
  .how__copy p {text-align: center;}
  .makesense { padding: 20px 0 20px 0;}
  .usecases { padding: 40px 0 40px 0; }
  .usecase-card__title, .usecase-card__desc {text-align: center;}
  .usecase-card__icons {justify-content: center;}
  .footer__inner, .turn { gap: 20px; }

} 