/* ==========================================================================
   Update — global styles
   Colors inspired directly from the provided mockups:
     - Deep navy/indigo primary (matches logo)
     - Mint green & sky blue accent blobs (gradients)
     - Soft neutral card/greys
   ========================================================================== */

:root {
  --primary: #1a2c8a;
  --primary-600: #22369e;
  --primary-700: #17257a;
  --primary-100: #e7ebff;
  --mint: #5fe4b6;
  --mint-soft: #a7f0d4;
  --sky: #7ec8ff;
  --sky-soft: #c7e3ff;
  --ink: #0b1030;
  --text: #1a1f3a;
  --muted: #5a6280;
  --line: #e5e7ef;
  --border: #e5e7ef;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --card: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16, 24, 64, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 24, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 64, 0.12);
  --container: 1180px;
  --ease: cubic-bezier(.4,.0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--muted); }

a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-700); }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ============================= BUTTONS ================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-700); color: #fff; box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }

/* ============================= NAVBAR =================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229,231,239,.6);
}
.navbar-transparent { background: transparent; border-bottom: 0; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  gap: 1.5rem;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  /* Negative margins let the logo visually occupy more vertical space
     without growing the navbar, since the source PNG has ~20% padding on
     every side. */
  margin: -22px 0;
}
.brand img {
  height: 120px;
  width: auto;
  display: block;
  transition: transform .25s var(--ease);
}
.brand:hover img { transform: scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: auto;
  margin-right: 1rem;
}
.nav-links a,
.dropdown-toggle {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem 0;
  font-family: inherit;
}
.nav-links a:hover,
.dropdown-toggle:hover { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .4rem;
  min-width: 180px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all .2s var(--ease);
}
.dropdown-menu a {
  display: block;
  padding: .55rem .8rem;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--ink);
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--primary); }
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-cta { display: flex; gap: .5rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 20px 1.5rem;
  gap: .25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a {
  padding: .85rem .5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.mobile-menu.open { display: flex; }
.mobile-cta { display: flex; gap: .5rem; margin-top: .6rem; }
.mobile-cta .btn { flex: 1; }

/* ============================= HERO ===================================== */
.hero {
  position: relative;
  padding: 3rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-blob {
  position: absolute;
  z-index: -1;
  filter: blur(60px);
  opacity: .55;
  border-radius: 50%;
  pointer-events: none;
  animation: blobDrift 14s ease-in-out infinite;
}
.hero-blob-blue {
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  top: -140px; left: -140px;
}
.hero-blob-green {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  top: 60px; right: -100px;
  animation-delay: -7s;
}

/* Decorative circles scattered around hero */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: floatY 6s ease-in-out infinite;
}
.deco-1 {
  width: 90px; height: 90px;
  left: 44%; top: 8%;
  background: linear-gradient(135deg, var(--mint), var(--mint-soft));
  opacity: .55;
}
.deco-2 {
  width: 36px; height: 36px;
  left: 52%; bottom: 18%;
  background: var(--primary);
  opacity: .85;
  animation-delay: -2s;
}
.deco-3 {
  width: 60px; height: 60px;
  right: 6%; bottom: 8%;
  background: linear-gradient(135deg, var(--sky), var(--sky-soft));
  opacity: .6;
  animation-delay: -4s;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { animation: fadeInUp .8s var(--ease) both; }

.hero-logo {
  display: inline-flex;
  margin: -26px 0 .2rem -22px;
  animation: fadeInDown .7s var(--ease) both;
}
.hero-logo img {
  height: 150px;
  width: auto;
  display: block;
}
@media (max-width: 760px) {
  .hero-logo { margin: -20px 0 .2rem -16px; }
  .hero-logo img { height: 110px; }
}

.hero-copy h1 { margin-bottom: .8rem; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s var(--ease) .2s both;
}

/* Glassy frosted box behind the person/phone */
.glass-box {
  position: absolute;
  inset: 30px 20px 20px 20px;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 28px;
  box-shadow:
    0 30px 60px rgba(16, 24, 64, .12),
    inset 0 1px 0 rgba(255,255,255,.8);
  z-index: 0;
}

.hero-person {
  position: absolute;
  width: 300px; height: 320px;
  left: 4%; top: 50px;
  border-radius: 50% 50% 40% 40% / 45% 45% 35% 35%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--sky-soft), var(--mint-soft));
  z-index: 2;
  animation: personFloat 5s ease-in-out infinite;
}
.hero-person img { width: 100%; height: 100%; object-fit: cover; }
@keyframes personFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-phone {
  position: absolute;
  right: 4%; top: 10px;
  z-index: 2;
}
.phone-frame {
  width: 230px; height: 460px;
  background: #1b1f35;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: rotate(-5deg);
}
.phone-notch {
  position: absolute;
  width: 90px; height: 18px;
  background: #1b1f35;
  left: 50%; top: 10px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #fff 0%, #eef3ff 100%);
  border-radius: 28px;
  padding: 28px 14px 14px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.phone-header {
  display: flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--primary); font-size: .8rem;
}
.phone-header img { height: 20px; }
.phone-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 8px;
}
.phone-card-top { display: flex; align-items: center; gap: .4rem; font-size: .75rem; }
.pill {
  background: var(--mint-soft); color: var(--primary-700);
  padding: 2px 8px; border-radius: 999px; font-size: .65rem; font-weight: 700;
}
.phone-card-img {
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, #c7e3ff, #a7f0d4);
}
.phone-card-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; font-weight: 700; color: var(--ink);
}
.phone-card-bottom button {
  background: var(--primary); color: #fff; border: 0;
  padding: 4px 10px; border-radius: 999px; font-size: .7rem; cursor: pointer;
}
.phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-mini {
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #eef3ff);
  box-shadow: var(--shadow-sm);
}

/* ============================= FEATURES ================================= */
.features { padding: 3rem 0 4rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.icon-blue { background: var(--primary-100); color: var(--primary); }
.icon-green { background: #dff6ea; color: #0a8a55; }

/* ============================= BUY & SELL =============================== */
.buysell {
  background: var(--bg-soft);
  padding: 4rem 0;
}
.section-title {
  text-align: center;
  margin-bottom: .4rem;
}
.section-title.left { text-align: left; }
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.section-sub.left { text-align: left; margin-left: 0; margin-right: 0; }

.buysell-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
}
.bs-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.bs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.bs-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--primary-100);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: .9rem;
  transition: transform .3s var(--ease);
}
.bs-card:hover .bs-icon { transform: scale(1.08) rotate(-4deg); }
.bs-card h4 { margin-bottom: .35rem; }
.bs-card p { font-size: .9rem; margin-bottom: 0; }
.bs-card-link { position: relative; cursor: pointer; }
.bs-card-anchor {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.bs-card-link:hover { border-color: var(--primary); }

/* Big hero card — spans the full left column, both rows */
.bs-card-hero {
  grid-column: 1 / 2;
  grid-row: 1 / span 2;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-600) 60%, #2d47c9 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.bs-card-hero::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,219,255,.35) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}
.bs-card-hero::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,228,182,.25) 0%, transparent 70%);
  bottom: -60px; left: -60px;
  pointer-events: none;
}
.bs-card-hero:hover { transform: translateY(-4px); }
.bs-card-hero h3 { color: #fff; font-size: 1.75rem; margin-bottom: .4rem; }
.bs-card-hero p { color: rgba(255,255,255,.85); margin-bottom: 0; font-size: .95rem; }

.bs-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .6rem;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

.bs-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}
.bs-hero-copy .btn { margin-top: .75rem; background: #fff; color: var(--primary); }
.bs-hero-copy .btn:hover { background: var(--mint); color: var(--primary-700); }

.bs-hero-art {
  position: relative;
  height: 200px;
  z-index: 2;
}
.tiny-phone {
  position: absolute;
  width: 110px; height: 200px;
  border-radius: 22px;
  background: #0f1530;
  padding: 7px;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.tp-left  { top: 0;   left: 10%;  transform: rotate(-10deg); }
.tp-right { top: 15px; left: 42%; transform: rotate(8deg); animation-delay: -2s; }
.tp-notch {
  width: 36px; height: 6px;
  background: #000;
  border-radius: 0 0 6px 6px;
  margin: 0 auto 6px;
}
.tp-screen {
  width: 100%; height: calc(100% - 12px);
  background: linear-gradient(180deg, var(--sky-soft) 0%, var(--mint-soft) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.tp-screen::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,.85) 0 8px,
    transparent 8px 16px
  );
  border-radius: 8px;
  opacity: .65;
}

/* ============================= STATS ==================================== */
.stats {
  padding: 4rem 0;
}
.stats-panel {
  position: relative;
  background: linear-gradient(135deg, #c7e3ff 0%, #dff0ff 60%, #eaf4ff 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  overflow: hidden;
  isolation: isolate;
}
.stats-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.stats-cloud-1 {
  width: 360px; height: 360px;
  left: -120px; top: -140px;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  opacity: .8;
  animation: blobDrift 16s ease-in-out infinite;
}
.stats-cloud-2 {
  width: 300px; height: 300px;
  right: -100px; bottom: -100px;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  opacity: .7;
  animation: blobDrift 18s ease-in-out infinite -8s;
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.stats-copy h2 { line-height: 1.1; }
.stats-copy p { max-width: 420px; color: #3a4680; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.stat {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(26, 44, 138, .08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 44, 138, .15);
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label { color: var(--muted); font-size: .92rem; }

/* ============================= TRENDING ================================= */
.trending { padding: 4rem 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head .section-sub { margin-bottom: 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-info .price .old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: .4rem;
  font-size: .85em;
}

/* Skeleton loading state for the Trending grid */
.product-card-skeleton { pointer-events: none; }
.product-card-skeleton .product-img { background: linear-gradient(90deg, #eceef3 0%, #f5f7fb 50%, #eceef3 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
.sk { border-radius: 6px; background: linear-gradient(90deg, #eceef3 0%, #f5f7fb 50%, #eceef3 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; height: 12px; }
.sk-line { width: 80%; margin-bottom: .45rem; }
.sk-line.short { width: 45%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Empty state for the Trending grid */
.trending-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}
.trending-empty p { margin: 0 0 1rem; color: var(--muted); }
.product-img {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft) center/cover no-repeat;
}
.product-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-img-el { transform: scale(1.06); }
.product-info { padding: .9rem 1rem 1rem; }
.product-info h4 { font-size: .95rem; margin-bottom: .4rem; }
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
}
.price { font-weight: 700; color: var(--ink); }
.rating {
  font-size: .8rem; color: var(--muted);
  padding: 2px 8px; background: var(--bg-soft); border-radius: 999px;
}
.rating::before { content: "★ "; color: #f5b400; }

/* ============================= STORIES ================================== */
.stories { padding: 3rem 0 4rem; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.story-card::before {
  content: "\201C";
  position: absolute; top: 10px; left: 18px;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: var(--primary-100);
  line-height: 1;
}
.story-card p {
  position: relative;
  color: var(--text);
  font-size: .98rem;
  margin-bottom: 1rem;
}
.story-card footer { display: flex; flex-direction: column; gap: 2px; }
.story-card footer strong { color: var(--ink); }
.story-card footer span { color: var(--muted); font-size: .85rem; }

/* ============================= SELL CTA ================================== */
.sell-cta { padding: 3rem 0; }
.sell-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  align-items: center;
  overflow: hidden;
}
.sell-cta-copy h2 { margin-bottom: .6rem; }
.sell-form {
  display: flex;
  gap: .5rem;
  margin-top: 1.2rem;
  max-width: 460px;
  background: #fff;
  padding: .4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.sell-form input {
  flex: 1;
  border: 0; background: transparent; outline: none;
  padding: .55rem 1rem; font-size: .95rem; font-family: inherit;
  color: var(--ink);
}
.sell-cta-art {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.sell-cta-art img { width: 100%; height: 100%; object-fit: cover; }

/* ============================= FAQ ====================================== */
.faq { padding: 3rem 0 4rem; }
.faq-list {
  display: flex; flex-direction: column; gap: .6rem;
  margin-top: 1rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .25rem 1.25rem;
  transition: box-shadow .2s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.chev {
  width: 24px; height: 24px;
  background: var(--primary-100);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all .25s var(--ease);
}
.chev::before, .chev::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  left: 50%; top: 50%;
}
.chev::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.chev::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq-item[open] .chev::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}

.help-need {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.help-need h3 { margin-bottom: .25rem; }
.help-need p { margin: 0; }

/* ============================= NEWSLETTER =============================== */
.newsletter {
  margin: 3rem 0 0;
  padding: 0;
}
.newsletter-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: linear-gradient(135deg, #f6ad55 0%, #f6c27a 60%, #fff3dd 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}
.newsletter-copy h2 { color: #2d1600; }
.newsletter-copy p { color: #5c3310; }
.news-form {
  display: flex;
  gap: .5rem;
  background: #fff;
  padding: .4rem;
  border-radius: 999px;
  max-width: 460px;
  margin-top: 1.2rem;
}
.news-form input {
  flex: 1;
  border: 0; background: transparent; outline: none;
  padding: .55rem 1rem; font-size: .95rem; font-family: inherit;
}
.newsletter-art {
  display: flex; justify-content: center; align-items: center;
  min-height: 200px;
}
.envelope {
  position: relative;
  width: 220px; height: 150px;
}
.env-body {
  position: absolute; inset: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.env-flap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(135deg, #fff, #f0ecd0);
  clip-path: polygon(0 0, 100% 0, 50% 75%);
  border-radius: 8px 8px 0 0;
  z-index: 2;
}
.env-badge {
  position: absolute;
  top: -12px; right: -12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(229, 57, 53, .4);
  z-index: 3;
}

/* ============================= FOOTER =================================== */
.footer {
  padding: 3rem 0 1.5rem;
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.footer-auth { margin-top: 0; background: transparent; border-top: 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
}
.footer-links {
  display: flex; gap: 1.6rem; flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.footer-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
}
.footer-links a:hover { color: var(--primary); }
.socials { display: flex; gap: .8rem; }
.socials a {
  color: var(--ink);
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.socials a:hover { color: var(--primary); background: var(--primary-100); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  flex-wrap: wrap;
}
.legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.legal a { color: var(--muted); text-decoration: underline; }
.legal a:hover { color: var(--primary); }

/* =====================================================================
   AUTH PAGE
   ===================================================================== */
.auth-body {
  min-height: 100vh;
  background: #fff;
  position: relative;
}
.auth-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.blob-blue {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  left: -140px; top: 60px;
  opacity: .7;
}
.blob-green {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  right: -160px; top: 40px;
  opacity: .7;
}
.blob-green-2 {
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, var(--mint) 0%, transparent 70%);
  left: 50%; bottom: -150px;
  transform: translateX(-50%);
  opacity: .55;
}

.auth-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 20px 4rem;
}

.auth-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 30px 80px rgba(16, 24, 64, .15);
}
.auth-logo {
  display: flex;
  justify-content: center;
  /* Negative margin tightens the whitespace baked into the logo PNG */
  margin: -28px 0 .4rem;
  animation: fadeInDown .6s var(--ease) both;
}
.auth-logo img { height: 170px; width: auto; display: block; }
.auth-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.auth-tabs {
  display: flex;
  gap: .25rem;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 1.2rem;
  max-width: 260px;
}
.auth-tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s var(--ease);
}
.auth-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.google-btn {
  width: 100%;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: .8rem 1rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: inherit;
  transition: all .2s var(--ease);
}
.google-btn:hover { background: var(--primary); color: #fff; }
.google-btn:hover svg path { fill: #fff !important; }

.divider {
  display: flex; align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
  margin: 1.6rem 0;
  gap: 1rem;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--primary);
  opacity: .4;
}

.auth-form {
  background: rgba(240,241,248,.65);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* HTML `hidden` attribute must win over component display rules (e.g. .btn { display: inline-flex }) */
[hidden] { display: none !important; }

.auth-form[hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  background: #e2e4ed;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: .85rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: all .2s var(--ease);
}
.field input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 44, 138, .1);
}
.field .error {
  color: #d93025;
  font-size: .82rem;
  min-height: 1em;
}
.field.has-error input { border-color: #d93025; background: #fff6f5; }

.auth-submit {
  margin-top: .5rem;
  width: 100%;
  padding: .9rem;
  font-size: 1rem;
}

.form-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem;
  margin-top: -.25rem;
}
.check {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--muted); cursor: pointer;
}
.forgot { color: var(--primary); font-weight: 600; }

.auth-switch {
  text-align: center;
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}
.auth-switch a { color: var(--primary); font-weight: 600; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .buysell-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bs-card-hero { grid-column: 1 / -1; grid-row: auto; }
  .stats-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stats-panel { padding: 2rem 1.5rem; }
  .stories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .sell-cta-inner { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 4rem; }
  .hero-visual { min-height: 440px; }
  .deco-1 { left: 60%; top: 2%; }
  .deco-2 { left: 20%; bottom: 30%; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar.open .mobile-menu { display: flex; }

  .brand { margin: -18px 0; }
  .brand img { height: 96px; }
  .auth-logo { margin: -22px 0 .3rem; }
  .auth-logo img { height: 130px; }

  .hero { padding: 2rem 0 3rem; }
  .hero-visual { min-height: 400px; transform: scale(.92); }
  .hero-person { width: 220px; height: 240px; left: 0; }
  .phone-frame { width: 190px; height: 380px; }

  .features-grid { grid-template-columns: 1fr; }
  .buysell-grid { grid-template-columns: 1fr; }
  .bs-card-hero { grid-column: 1; padding: 1.75rem; min-height: auto; }
  .bs-card-hero h3 { font-size: 1.4rem; }
  .bs-hero-art { height: 180px; }
  .tiny-phone { width: 90px; height: 170px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2rem; }

  .products-grid { grid-template-columns: 1fr 1fr; }

  .sell-cta-inner,
  .newsletter-inner { padding: 1.75rem; }
  .sell-form, .news-form { flex-direction: column; border-radius: var(--radius); padding: .6rem; }
  .sell-form .btn, .news-form .btn { width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-links { justify-content: flex-start; }

  .auth-card { padding: 1.75rem 1.25rem; }
  .auth-form { padding: 1.1rem; }
}

@media (max-width: 440px) {
  .products-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   Mobile polish pass (landing + auth pages on phones)
   ===================================================================== */
@media (max-width: 760px) {
  /* Prevent horizontal scroll on tiny screens */
  html, body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  .container { padding-left: 1rem; padding-right: 1rem; }

  .section-title { font-size: 1.6rem; }
  .section-sub   { font-size: .95rem; }

  /* Hero content tightens */
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.15; }
  .hero-lead { font-size: 1rem; }
  .hero-ctas { flex-wrap: wrap; gap: .6rem; }
  .hero-ctas .btn { flex: 1 1 calc(50% - .3rem); min-width: 140px; justify-content: center; }

  /* Mobile menu full width */
  .mobile-menu { padding: 1rem; }
  .mobile-menu a { padding: .85rem 0; border-bottom: 1px solid var(--line); }

  /* Sell form + newsletter stack fully */
  .sell-form, .news-form {
    flex-direction: column;
    align-items: stretch;
    padding: .9rem;
    gap: .6rem;
  }
  .sell-form input, .news-form input {
    width: 100%;
    padding: .9rem 1rem;
    font-size: 16px; /* stop iOS zoom on focus */
  }
  .sell-form .btn, .news-form .btn {
    width: 100%;
    justify-content: center;
    padding: .9rem 1rem;
  }

  /* Buy & Sell card heights */
  .bs-card { min-height: auto; }
  .bs-card h3 { font-size: 1.05rem; }
  .bs-card-hero h3 { font-size: 1.3rem; }

  /* Stats / stories */
  .stats-grid { gap: 1.2rem; }
  .story-card { padding: 1.5rem 1.25rem; }
  .story-quote { font-size: 1rem; line-height: 1.5; }

  /* Footer links wrap into single column */
  .footer-links { gap: 1.25rem; flex-wrap: wrap; }
  .footer-links ul { gap: .5rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Auth pages */
  .auth-main { padding: 1.5rem 0; }
  .auth-title { font-size: 1.5rem; }
  .form-row { flex-direction: column; align-items: flex-start; gap: .65rem; }
  .form-row .forgot { align-self: flex-end; }

  /* Logo sizing on very small screens */
  .brand img { height: 72px; }
  .auth-logo img { height: 110px; }
}

@media (max-width: 480px) {
  .container { padding-left: .85rem; padding-right: .85rem; }
  .section-title { font-size: 1.35rem; }
  .hero h1 { font-size: clamp(1.8rem, 9vw, 2.2rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 340px; transform: scale(.85); }
  .phone-frame { width: 170px; height: 340px; }
  .hero-person { width: 190px; height: 210px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.6rem; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .brand img { height: 64px; }
  .auth-card { padding: 1.25rem 1rem; }
  .auth-form { padding: 1rem .85rem; }
}

/* Touch / coarse-pointer polish */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; padding-top: .7rem; padding-bottom: .7rem; }
  .nav-links a { padding: .65rem 0; }
  input, select, textarea { font-size: 16px !important; } /* global iOS zoom guard */
}

/* =====================================================================
   ANIMATIONS & KEYFRAMES
   ===================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.06); }
  66%      { transform: translate(-20px, 15px) scale(.96); }
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Override floatY on elements that also rotate, so rotation is preserved */
.hero-phone,
.tp-left,
.tp-right,
.hero-person {
  will-change: transform;
}
.hero-phone { animation: phoneFloat 6s ease-in-out infinite -1.5s; }
.tp-left    { animation: tpLeftFloat 4s ease-in-out infinite; }
.tp-right   { animation: tpRightFloat 4s ease-in-out infinite -2s; }

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-12px) rotate(-5deg); }
}
@keyframes tpLeftFloat {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%      { transform: translateY(-10px) rotate(-10deg); }
}
@keyframes tpRightFloat {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50%      { transform: translateY(-10px) rotate(8deg); }
}

/* Button micro-interactions */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
}
.btn-primary:hover::after { transform: translateX(100%); }

/* Auth card entrance */
.auth-card {
  animation: fadeInUp .7s var(--ease) .1s both;
}
.auth-tabs { animation: fadeIn .6s var(--ease) .3s both; }
.google-btn { animation: fadeInUp .6s var(--ease) .35s both; }
.divider    { animation: fadeIn .6s var(--ease) .45s both; }

/* Google Identity Services slot (renders Google's own pill button inside) */
.google-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin: 0 0 .25rem;
  animation: fadeInUp .6s var(--ease) .2s both;
}
.google-slot:empty { display: none; }
.google-slot > div { max-width: 100%; }
.google-slot iframe { max-width: 100% !important; }

.auth-divider {
  display: flex; align-items: center;
  gap: .75rem;
  margin: 1rem 0 1.1rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  animation: fadeIn .6s var(--ease) .35s both;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(15, 23, 42, .18), transparent);
}
.auth-divider span { white-space: nowrap; }
[data-google-note] { font-size: .78rem; }

/* Section title underline draw */
.section-title { position: relative; }
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--mint));
  border-radius: 3px;
  margin: .6rem auto 0;
  transform-origin: left center;
  animation: drawLine .6s var(--ease) both;
}
.section-title.left::after { margin-left: 0; margin-right: 0; }
@keyframes drawLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Card hover lift with accent shadow */
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }
.feature-icon { transition: transform .3s var(--ease); }

.product-card .product-img { transition: transform .5s var(--ease); }
.product-card:hover .product-img { transform: scale(1.06); }

/* Stat number count-up look: subtle scale-in */
.stat-num {
  animation: popIn .8s var(--ease) both;
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(.7); }
  60%  { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================= ABOUT (landing) ========================== */
.about {
  padding: 4rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.about-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.about-badge {
  display: inline-block;
  background: var(--sky-soft);
  color: var(--primary);
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.about-card h3 {
  font-size: 1.05rem;
  margin: .85rem 0 .45rem;
}
.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.about-card-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.about-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, #2a3f9e 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.about-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95,228,182,.22) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  pointer-events: none;
}
.about-panel-copy {
  position: relative;
  z-index: 1;
}
.about-panel-copy h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: .6rem;
}
.about-panel-copy > p {
  color: rgba(255,255,255,.88);
  max-width: 480px;
  margin-bottom: 1.25rem;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: .55rem;
}
.about-list li {
  font-size: .95rem;
  color: rgba(255,255,255,.92);
}
.about-list strong {
  color: var(--mint);
  margin-right: .35rem;
}
.about-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.about-actions .btn-primary {
  background: #fff;
  color: var(--primary);
}
.about-actions .btn-primary:hover {
  background: var(--mint);
}
.about-actions .btn-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.about-actions .btn-outline:hover {
  background: rgba(255,255,255,.12);
}
.about-panel-visual {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 24px 48px rgba(0,0,0,.25);
}
.about-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================= CONTACT PAGE =============================== */
.contact-page {
  background: var(--bg-soft);
  min-height: 100vh;
}
.contact-hero {
  position: relative;
  padding: 5rem 0 3rem;
  overflow: hidden;
}
.contact-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.contact-hero-blob-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  top: -120px;
  left: -100px;
  opacity: .55;
}
.contact-hero-blob-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  opacity: .45;
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.contact-badge {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.contact-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: .75rem;
}
.contact-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.contact-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.75rem;
  align-items: start;
  padding-bottom: 4rem;
  max-width: 1040px;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.contact-info-card {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.contact-info-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info-card strong {
  display: block;
  font-size: .88rem;
  margin-bottom: .15rem;
}
.contact-info-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.contact-info-card a:hover { text-decoration: underline; }
.contact-aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.contact-aside-card--soft {
  background: linear-gradient(135deg, var(--sky-soft) 0%, #fff 100%);
  border-color: rgba(26,44,138,.12);
}
.contact-aside-card h3 {
  font-size: .95rem;
  margin: 0 0 .35rem;
}
.contact-aside-card p {
  margin: 0 0 .75rem;
  font-size: .88rem;
}
.contact-form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.85rem 1.85rem;
  box-shadow: var(--shadow-md);
}
.contact-form-head {
  margin-bottom: 1.25rem;
}
.contact-form-head h2 {
  font-size: 1.35rem;
  margin: 0 0 .25rem;
}
.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.contact-topic {
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
}
.contact-topic:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.contact-topic.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form-grid .wide {
  grid-column: 1 / -1;
}
.contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.contact-submit {
  margin-top: 1.25rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
}
.contact-success {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.contact-success-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint) 0%, #3dd68c 100%);
  color: #065d3a;
  font-size: 1.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}
.contact-success h2 {
  margin: 0 0 .5rem;
}
.contact-success p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.footer-compact {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-panel { grid-template-columns: 1fr; }
  .about-panel-visual { min-height: 220px; order: -1; }
  .contact-main { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
}
@media (max-width: 600px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-hero { padding: 4rem 0 2rem; }
  .contact-form-panel { padding: 1.25rem; }
}

/* Address places autocomplete */
.address-places-wrap { position: relative; }
.address-places-actions { margin-top: .45rem; }
.places-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - .35rem);
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
  max-height: 220px;
  overflow-y: auto;
}
.places-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  padding: .55rem .75rem;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.places-suggestion strong {
  display: block;
  font-weight: 600;
}
.places-suggestion .hint {
  display: block;
  margin-top: .15rem;
  font-size: .85em;
}
.places-suggestion:hover,
.places-suggestion:focus {
  background: var(--surface-2, #f8fafc);
  outline: none;
}
