:root {
  /* Dark (default) — Purple + Blue */
  --primary: #7c4dff;
  --secondary: #00b0ff;
  --on-primary: #ffffff;
  --surface: #090a12;
  --surface-1: #0f1122;
  --surface-2: #151733;
  --text: #e9ecff;
  --muted: #bac2e6;
  --outline: rgba(233, 236, 255, 0.14);
  --radius: 20px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.32), 0 1px 1px rgba(0, 0, 0, 0.16);
  --shadow-2: 0 8px 20px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 24px 48px rgba(0, 0, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.45);
  --grad-a: #6a11cb;
  --grad-b: #2575fc;
}

body.light {
  --primary: #5b4bff;
  --secondary: #0ea5ff;
  --on-primary: #ffffff;
  --surface: #ffffff;
  --surface-1: #f7f8ff;
  --surface-2: #eef1ff;
  --text: #1a1b2b;
  --muted: #4b5563;
  --outline: rgba(30, 41, 59, 0.16);
  --grad-a: #7c4dff;
  --grad-b: #0ea5ff;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
  line-height: 1.65;
}

/* App bar */
.appbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(1.3) blur(9px);
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--surface), black 8%),
    color-mix(in oklab, var(--surface), transparent 40%)
  );
  border-bottom: 1px solid var(--outline);
  box-shadow: var(--shadow-1);
}
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font: 800 18px/1 Montserrat, Inter;
  letter-spacing: 0.2px;
}

/* .logo{ 
  width:150px; height:50px; border-radius:12px; 
  background:linear-gradient(135deg,var(--grad-a),var(--grad-b));
       display:grid; place-items:center; color:var(--on-primary); box-shadow:var(--shadow-2); font: 800 16px/1 Montserrat, Inter }
.logo.small{ width:34px; height:34px; 
  border-radius:10px; font-size:14px }
   */
.logo img {
  height: 50px;
  width: 150px;
  display: block;
  object-fit: contain; /* keeps aspect ratio inside */
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.nav a:hover {
  background: color-mix(in oklab, var(--text), transparent 92%);
  opacity: 1;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--outline);
  background: transparent;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

.hamburger span:nth-child(1) {
  top: 12px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 28px;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: 64px 16px auto 16px;
    background: var(--surface-1);
    padding: 12px;
    border: 1px solid var(--outline);
    border-radius: 16px;
    box-shadow: var(--shadow-3);
    display: none;
    flex-direction: column;
  }
  .nav.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

/* Floating theme FAB */
.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  box-shadow: var(--shadow-3);
}
.fab::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}
.fab:active::after {
  animation: ripple 0.7s ease-out;
}
@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

/* progress bar */
.progress {
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: transparent;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
}

/* Section base */
.section {
  position: relative;
  padding: 64px 0;
}
.section.alt {
  background: color-mix(in oklab, var(--surface-1), transparent 10%);
}
.section-title {
  font: 800 36px/1.15 Montserrat;
  margin: 0 0 10px;
}
.section-desc {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 70ch;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.hero .split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero .split {
    grid-template-columns: 1fr;
  }
}
.kicker {
  display: inline-flex;
  gap: 8px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
h1 {
  font: 800 58px/1.05 Montserrat, Inter;
  margin: 14px 0;
  letter-spacing: -0.8px;
  min-height: 1.1em;
}
@media (max-width: 600px) {
  h1 {
    font-size: 44px;
  }
}
.accent {
  background: linear-gradient(90deg, var(--grad-b), var(--grad-a));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 65ch;
}
/* .cta{ display:flex; gap:12px; margin-top:20px; flex-wrap:wrap } */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in oklab, var(--text), transparent 94%);
  border: 1px solid var(--outline);
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 600;
}

.cta {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  background: linear-gradient(135deg, purple, #6a1b9a);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(106, 27, 154, 0.3);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(106, 27, 154, 0.4);
}

.store-btn span {
  font-size: 28px;
}

.store-btn .text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn .text small {
  font-size: 10px;
  opacity: 0.8;
}

.store-btn .text strong {
  font-size: 14px;
}

/* Animated background for hero */
.bg-anim {
  position: absolute;
  inset: -20% -10% -20% -10%;
  background: radial-gradient(
      40% 30% at 20% 10%,
      color-mix(in oklab, var(--grad-a), transparent 60%),
      transparent
    ),
    radial-gradient(
      35% 40% at 80% 15%,
      color-mix(in oklab, var(--grad-b), transparent 65%),
      transparent
    ),
    radial-gradient(
      45% 45% at 50% 0%,
      color-mix(in oklab, #ffffff, transparent 96%),
      transparent
    );
  filter: saturate(1.1) blur(0px);
  animation: bgMove 18s ease-in-out infinite alternate;
  z-index: -1;
}
@keyframes bgMove {
  from {
    transform: translateX(-2%);
  }
  to {
    transform: translateX(2%);
  }
}
.blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
.blob.b1 {
  left: -120px;
  top: -160px;
  background: radial-gradient(
    circle at 30% 30%,
    color-mix(in oklab, var(--grad-a), transparent 20%),
    transparent 60%
  );
  animation: float 12s ease-in-out infinite;
}
.blob.b2 {
  right: -140px;
  top: -80px;
  background: radial-gradient(
    circle at 70% 30%,
    color-mix(in oklab, var(--grad-b), transparent 20%),
    transparent 60%
  );
  animation: float 10s ease-in-out -2s infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Phone mock */
.phone-wrap {
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center; /* vertical center */
  width: 100%;
  min-height: 100vh; /* fill the viewport height */
  position: relative;
}

/* Phone mock */
.phone {
  width: 300px;
  height: 600px;
  border-radius: 40px; /* smoother rounded corners */
  background: #111; /* phone body */
  border: 4px solid #333; /* thicker visible border */
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 20px; /* 👈 bezel around screen */
  box-sizing: border-box; /* include padding in dimensions */
}

.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: #000;
  border-radius: 12px;
  z-index: 5;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 28px; /* inner screen corners */
  overflow: hidden;
  background: #000; /* screen background */
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen-grad {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      500px 240px at 50% -10%,
      color-mix(in oklab, var(--grad-a), transparent 55%),
      transparent 60%
    ),
    radial-gradient(
      300px 200px at 20% 40%,
      color-mix(in oklab, var(--grad-b), transparent 55%),
      transparent 60%
    );
  animation: shift 14s ease-in-out infinite alternate;
}
@keyframes shift {
  from {
    transform: translateX(-2%);
  }
  to {
    transform: translateX(2%);
  }
}
.badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: color-mix(in oklab, var(--primary), transparent 78%);
  border: 1px solid var(--outline);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}
.badge.b2 {
  left: auto;
  right: 18px;
}
.badge.b3 {
  bottom: 56px;
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 16px;
}
.grid.cols-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid.two-col {
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.card {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, white, transparent 98%),
    color-mix(in oklab, white, transparent 99%)
  );
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  background: linear-gradient(
    180deg,
    color-mix(in oklab, white, transparent 94%),
    color-mix(in oklab, white, transparent 98%)
  );
}
.icn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--primary), transparent 84%);
  border: 1px solid var(--outline);
  margin-bottom: 10px;
}
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 24;
}

/* Floating shapes for sections */
.float {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 32px;
  filter: blur(18px);
  opacity: 0.25;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  box-shadow: 0 0 80px color-mix(in oklab, var(--grad-b), transparent 50%);
  animation: drift 16s ease-in-out infinite alternate;
}
.float.f1 {
  left: -60px;
  top: 30%;
}
.float.f2 {
  right: 60px;
  top: 10%;
}
.float.f3 {
  left: 10%;
  top: -40px;
}
.float.f4 {
  right: 8%;
  bottom: -30px;
}
@keyframes drift {
  from {
    transform: translateY(0) rotate(0);
  }
  to {
    transform: translateY(-16px) rotate(3deg);
  }
}

/* Slider */
/* Slider fixed size */
/* Slider inside phone */
.slider {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--surface-1);
  box-shadow: var(--shadow-2);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Slides */
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
  width: calc(100% * 4); /* if 4 images, adjust dynamically in JS if needed */
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* full image, no crop */
  background: #000; /* fill gaps */
  flex: 0 0 100%; /* each takes full screen width */
}

/* Arrows outside phone */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: color-mix(in oklab, var(--surface), white 12%);
  color: var(--text);
  box-shadow: var(--shadow-2);
  z-index: 10;
}

.slide-btn.prev {
  left: -60px; /* left arrow outside phone */
}

.slide-btn.next {
  right: -60px; /* right arrow outside phone */
}

.slide-btn:hover {
  filter: brightness(1.08);
}

/* Dots below phone */
.dots {
  position: absolute;
  bottom: -36px; /* move below phone */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: color-mix(in oklab, var(--surface), white 10%);
}

.dot.active {
  background: linear-gradient(90deg, var(--grad-b), var(--grad-a));
}

/* FAQ */
.faq-card {
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, white, transparent 98%),
    color-mix(in oklab, white, transparent 99%)
  );
  box-shadow: var(--shadow-1);
}
.faq-card + .faq-card {
  margin-top: 12px;
}
.faq-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.faq-card summary::-webkit-details-marker {
  display: none;
}
.faq-card summary .chev {
  margin-left: auto;
  transition: transform 0.2s ease;
}
.faq-card[open] summary .chev {
  transform: rotate(180deg);
}
.faq-card p {
  color: var(--muted);
  margin: 10px 2px 0 34px;
}

/* Center contact form */
#contact .container {
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontal center */
  justify-content: center; /* vertical center */
  text-align: center;
}

#contact form {
  max-width: 600px; /* optional: control width */
  width: 100%;
}

/* Form */
.form {
  display: grid;
  gap: 14px;
  max-width: 780px;
}
.form.big input,
.form.big textarea {
  font-size: 1.04rem;
  padding: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
label {
  font-weight: 700;
  color: color-mix(in oklab, var(--text), white 10%);
}
input,
textarea {
  appearance: none;
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--outline);
  background: color-mix(in oklab, var(--surface), white 6%);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus {
  border-color: color-mix(in oklab, var(--secondary), white 30%);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--secondary), transparent 85%);
}
textarea {
  min-height: 160px;
  resize: vertical;
}
.err {
  color: #ff8b8b;
  min-height: 1.1em;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  transition: transform 0.18s ease, filter 0.18s ease;
  overflow: hidden;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn.primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: var(--on-primary);
  box-shadow: var(--shadow-2);
}
.btn.tonal {
  background: color-mix(in oklab, var(--primary), transparent 82%);
  color: var(--text);
  border: 1px solid var(--outline);
}
.btn .material-symbols-outlined {
  font-size: 20px;
}
.btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}
.btn:active::after {
  animation: ripple 0.7s ease-out;
}

/* Footer */
.footer-gradient {
  border-top: 1px solid var(--outline);
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  text-align: center;
  padding: 22px 0;
}
.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.foot-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.foot-social a{ color:#fff; opacity:.9; margin-left:0px }
.foot-social img{width: 30px; }
.foot-social{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem 1.2rem;
    text-align: center;
    grid-column: 1 / -1;
}
.foot-social a:hover{ opacity:1 }
.foot-copy {
  margin-top: 10px;
  opacity: 0.9;
}

/* Center the footer link groups and make them wrap nicely */
.footer-gradient .foot-links,
.footer-gradient .foot-legal {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
  text-align: center;
  /* If your .foot-grid is a CSS grid, this makes the nav span full width */
  grid-column: 1 / -1;
}

/* Optional: style for the links */
.footer-gradient .foot-links a,
.footer-gradient .foot-legal a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.footer-gradient .foot-links a:hover,
.footer-gradient .foot-legal a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08); /* tweak to match your theme */
}

/* Center the logo row */
.footer-gradient .foot-brand {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1; /* if .foot-grid uses CSS Grid */
  margin-bottom: 0.6rem;
  text-align: center;
}

/* Tidy logo sizing */
.footer-gradient .foot-brand .logo img {
  height: 48px; /* adjust as you like */
  width: auto;
  display: block;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Utility */
.muted {
  color: var(--muted);
}
.split {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
