/* ===================================================
   Handy — Premium UI
   =================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --text: #0a0a0a;
  --text-2: #555;
  --text-3: #999;
  --border: #e5e5e5;
  --border-light: #f0f0f0;
  --accent: #0a0a0a;
  --soft: #f5f5f5;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 100px;
  --sh-xs: 0 1px 2px rgba(0,0,0,.03);
  --sh-sm: 0 2px 8px rgba(0,0,0,.04);
  --sh-md: 0 8px 30px rgba(0,0,0,.06);
  --sh-lg: 0 20px 60px rgba(0,0,0,.08);
  --sh-xl: 0 32px 80px rgba(0,0,0,.1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.175,.885,.32,1.275);
  --ease-out: cubic-bezier(0,0,.2,1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hide-mobile { display: inline; }

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #667eea, #764ba2, #f97316);
  z-index: 1001;
  transition: width .1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,250,250,.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
  max-width: 100vw;
}

.header--scrolled {
  background: rgba(255,255,255,.85);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--text);
  color: #fff;
  border-radius: 10px;
  transition: transform .3s var(--ease-spring);
}

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }

.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all .2s var(--ease);
}

.nav-link:hover { color: var(--text); background: var(--soft); }

.nav-link--cta {
  background: var(--text);
  color: #fff !important;
  margin-left: 4px;
}

.nav-link--cta:hover {
  background: #333;
  box-shadow: var(--sh-sm);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-lg { padding: 14px 32px; font-size: .9rem; }

.btn-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn-primary:hover {
  background: #222;
  border-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-store { padding: 11px 22px; font-size: .85rem; }
.btn-store svg { flex-shrink: 0; }

/* ---------- Animation Primitives ---------- */
.anim-fade {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .7s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

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

.reveal-el {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * .06s);
}

.reveal-el.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 80px;
  max-width: 100vw;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  transition: transform .3s ease-out;
  will-change: transform;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102,126,234,.22), transparent 70%);
  top: -10%;
  left: 10%;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(118,75,162,.18), transparent 70%);
  bottom: -10%;
  right: 5%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249,115,22,.12), transparent 70%);
  top: 30%;
  right: 25%;
  animation: orbFloat 10s ease-in-out 2s infinite;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(.95); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 20px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.04;
  margin-bottom: 24px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f97316 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Marquee ---------- */
.marquee-bar {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

.marquee-item {
  font-size: .85rem;
  color: var(--text-2);
  white-space: nowrap;
  font-weight: 400;
}

.marquee-item strong {
  font-weight: 800;
  color: var(--text);
}

.marquee-sep {
  color: var(--border);
  font-size: .7rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ---------- Section Shared ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}

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

/* ---------- Product Cards ---------- */
.products-section {
  padding: 120px 0 20px;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl);
}

.product-card-glow {
  position: absolute;
  inset: 0;
  opacity: .04;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.product-card:hover .product-card-glow { opacity: .08; }

.product-card-inner {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}

.product-card:hover .product-card-inner { border-color: transparent; }

.product-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
  background: var(--soft);
  gap: 28px;
  position: relative;
}

.product-icon {
  width: 110px;
  height: 110px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  transition: transform .5s var(--ease-spring);
  line-height: 1;
  overflow: hidden;
}

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

.product-card:hover .product-icon { transform: scale(1.08) rotate(-3deg); }

.product-pills {
  display: flex;
  gap: 8px;
}

.pill {
  padding: 6px 14px;
  font-size: .72rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  color: var(--text);
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.pill--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-2);
}

.product-card-right {
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-category {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--app-color);
}

.product-platform {
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-3);
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.product-name {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: .95rem;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 12px;
}

.product-desc {
  font-size: .88rem;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  transition: gap .3s var(--ease);
}

.product-card:hover .product-link { gap: 14px; }

/* ---------- Detail Hero ---------- */
.detail-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.detail-hero-gradient {
  position: absolute;
  inset: 0;
  opacity: .06;
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 40px;
  transition: all .25s var(--ease);
}

.back-link:hover { color: var(--text); gap: 12px; }

.detail-hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.detail-hero-content {
  max-width: 560px;
}

.detail-category {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--app-color);
  display: block;
  margin-bottom: 12px;
}

.detail-name {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.04;
  margin-bottom: 16px;
}

.detail-tagline {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Visual column */
.detail-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.detail-icon-float {
  width: 140px;
  height: 140px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  line-height: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  animation: iconFloat 4s ease-in-out infinite;
  overflow: hidden;
}

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

.detail-stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  gap: 2px;
  min-width: 100px;
}

.stat-pill-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.stat-pill-label {
  font-size: .65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
}

/* ---------- Detail Sections ---------- */
.detail-section {
  padding: 88px 0;
}

.detail-narrow {
  max-width: 720px;
}

.detail-description {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-2);
}

/* Features Bento */
.detail-features-bg {
  background: var(--soft);
}

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

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--app-color);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.bento-card:hover::before { opacity: 1; }

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.bento-card.revealed:hover {
  transform: translateY(-4px);
}

/* First card spans 2 columns */
.bento-card:first-child {
  grid-column: span 2;
}

.bento-index {
  font-size: 2rem;
  font-weight: 900;
  color: var(--app-color);
  opacity: .25;
  margin-bottom: 12px;
  letter-spacing: -.04em;
}

.bento-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  font-weight: 450;
}

/* More Products */
.more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.more-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .3s var(--ease);
}

.more-card:hover {
  box-shadow: var(--sh-md);
  border-color: transparent;
  transform: translateY(-3px);
}

.more-card.revealed:hover {
  transform: translateY(-3px);
}

.more-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  overflow: hidden;
}

.more-card-body { flex: 1; }

.more-card-body h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.more-card-body p {
  font-size: .8rem;
  color: var(--text-3);
  line-height: 1.5;
}

.more-card-arrow {
  color: var(--text-3);
  flex-shrink: 0;
  transition: all .3s var(--ease);
}

.more-card:hover .more-card-arrow {
  color: var(--text);
  transform: translateX(4px);
}

/* ---------- Policy Page ---------- */
.policy-page {
  padding: 140px 0 80px;
}

.policy-narrow {
  max-width: 720px;
}

.policy-header {
  margin-bottom: 48px;
}

.policy-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-top: 8px;
  margin-bottom: 12px;
}

.policy-updated {
  font-size: .85rem;
  color: var(--text-3);
}

.policy-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}

.policy-content p {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-content li {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 6px;
}

.policy-content a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .2s var(--ease);
}

.policy-content a:hover {
  opacity: .7;
}

/* ---------- Contact Modal ---------- */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  opacity: 0;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), opacity .35s var(--ease);
}

.contact-modal-overlay.active {
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  opacity: 1;
}

.contact-modal {
  position: relative;
  width: 94%;
  max-width: 560px;
  max-height: 90vh;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(.92) translateY(24px);
  opacity: 0;
  transition: transform .4s var(--ease-spring), opacity .35s var(--ease);
}

.contact-modal-overlay.active .contact-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--soft);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-2);
  transition: all .2s var(--ease);
}

.contact-modal-close:hover {
  background: var(--border);
  color: var(--text);
  transform: rotate(90deg);
}

.contact-modal-header {
  padding: 32px 32px 0;
  text-align: center;
}

.contact-modal-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.contact-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.contact-modal-body {
  flex: 1;
  overflow: hidden;
  padding: 16px 16px 24px;
}

.contact-modal-iframe {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: var(--r-md);
}

@media (max-width: 768px) {
  .contact-modal {
    max-width: 100%;
    width: 100%;
    max-height: 95vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    margin-top: auto;
  }

  .contact-modal-overlay {
    align-items: flex-end;
  }

  .contact-modal-overlay.active .contact-modal {
    transform: scale(1) translateY(0);
  }

  .contact-modal {
    transform: scale(1) translateY(100%);
  }

  .contact-modal-iframe {
    height: 420px;
  }
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  padding: 40px 0 100px;
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .3s var(--ease);
}

.testimonial-card:hover {
  border-color: var(--border);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  font-size: 1rem;
  color: #F59E0B;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-app {
  font-size: .72rem;
  color: var(--text-3);
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
}

.not-found-inner { text-align: center; }

.not-found-code {
  font-size: 10rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--border), var(--border-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -.06em;
}

.not-found-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.not-found-text {
  color: var(--text-2);
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 0 0 40px;
  margin-top: 40px;
}

.footer-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  background: var(--text);
  border-radius: var(--r-xl);
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.footer-cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(102,126,234,.15);
  filter: blur(60px);
  pointer-events: none;
}

.footer-cta-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.footer-cta-text p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}

.footer-cta-band .btn-primary {
  background: #fff;
  color: var(--text);
  border-color: #fff;
  flex-shrink: 0;
}

.footer-cta-band .btn-primary:hover {
  background: var(--soft);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-tagline {
  font-size: .88rem;
  color: var(--text-3);
  max-width: 300px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-3);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: .88rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color .2s var(--ease);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: .78rem;
  color: var(--text-3);
}

.footer-made {
  font-size: .78rem;
  color: var(--text-3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-card-inner { grid-template-columns: 280px 1fr; }
  .product-card-left { padding: 48px 32px; }
  .product-card-right { padding: 40px 36px; }
}

@media (max-width: 900px) {
  .product-card-inner { grid-template-columns: 1fr; }
  .product-card-left { padding: 48px 32px; }
  .product-card-right { padding: 36px 32px; }
  .product-name { font-size: 1.6rem; }

  .detail-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-hero-visual { align-items: flex-start; }

  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card:first-child { grid-column: span 2; }

  .more-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .footer-cta-band {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hide-mobile { display: none; }

  .mobile-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all .3s var(--ease);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link--cta {
    text-align: center;
    margin-left: 0;
    margin-top: 4px;
  }

  .header-inner {
    max-width: 100%;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3.2rem); }
  .hero-orb { opacity: .3; }

  .products-section { padding: 80px 0 20px; }
  .section-header { margin-bottom: 40px; }
  .testimonials-section { padding: 20px 0 60px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .detail-hero { padding: 110px 0 60px; }
  .detail-name { font-size: 2rem; }

  .detail-icon-float {
    width: 100px;
    height: 100px;
    font-size: 3rem;
    border-radius: 28px;
  }

  .detail-stat-pills { gap: 6px; }
  .stat-pill { padding: 10px 16px; min-width: auto; }

  .detail-actions { width: 100%; }
  .detail-actions .btn { flex: 1; justify-content: center; }

  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card:first-child { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .logo { font-size: .95rem; }
  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: .65rem; padding: 6px 14px; }
  .product-icon { width: 88px; height: 88px; font-size: 2.6rem; }
  .product-card-left { padding: 36px 24px; }
  .product-card-right { padding: 28px 24px; }
  .product-name { font-size: 1.4rem; }
  .footer-cta-band { padding: 32px 24px; }
  .footer-cta-text h3 { font-size: 1.2rem; }
}
