.and-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.and-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.and-hero-blob--a {
  top: -60px; right: -40px;
  width: 440px; height: 400px;
  filter: blur(64px);
  background: radial-gradient(circle, rgba(61,220,132,.14), transparent 65%);
  animation: svc-drift 20s ease-in-out infinite;
}
.and-hero-blob--b {
  bottom: 0; left: -40px;
  width: 360px; height: 300px;
  filter: blur(60px);
  background: radial-gradient(circle, rgba(109,93,252,.1), transparent 65%);
  animation: svc-drift 26s ease-in-out infinite reverse;
}
.and-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
}
.and-hero-copy h1 {
  font-size: clamp(30px, 3.6vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.06;
  margin-bottom: 18px;
}
.and-hero-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 10px;
}
.and-hero-local {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 440px;
  margin-bottom: 24px;
  font-style: italic;
}
.and-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.and-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hero visual: phone + code card */
.and-hero-visual { position: relative; }
.and-visual-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  justify-content: center;
}
.and-phone { flex-shrink: 0; }
.and-phone-svg {
  width: 150px;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.3));
  animation: svc-float 5s ease-in-out infinite;
}

/* Code editor card */
.and-code-card {
  flex: 1;
  max-width: 240px;
  background: #1a1a2e;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2a2a3e;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.4);
  animation: svc-float 5s ease-in-out infinite;
  animation-delay: -2.5s;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.and-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #14141f;
  border-bottom: 1px solid #2a2a3e;
}
.and-code-dots { display: flex; gap: 5px; }
.and-code-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.and-code-dots span:nth-child(1) { background: #ff5f56; }
.and-code-dots span:nth-child(2) { background: #ffbd2e; }
.and-code-dots span:nth-child(3) { background: #27c93f; }
.and-code-filename {
  font-family: var(--font-body);
  font-size: 11px;
  color: #6a6a8a;
  margin-left: 2px;
}
.and-code-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.and-code-line {
  font-size: 11.5px;
  line-height: 1.6;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
}
.and-code-indent  { padding-left: 14px; }
.and-code-indent2 { padding-left: 28px; }
.and-code-indent3 { padding-left: 42px; }
.and-kw  { color: #c792ea; }
.and-cls { color: #82aaff; }
.and-fn  { color: #82aaff; }
.and-var { color: #f78c6c; }
.and-txt { color: #a6accd; }

/* Android badge */
.and-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid rgba(61,220,132,.3);
  border-radius: 10px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.12);
  white-space: nowrap;
}
.and-badge span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Kotlin advantages */
.and-kotlin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.and-kotlin-copy p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.and-kotlin-advantages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.and-adv-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.and-adv-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(61,220,132,.09);
  border: 1px solid rgba(61,220,132,.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.and-adv-icon svg {
  width: 18px; height: 18px;
  stroke: #3DDC84;
  stroke-width: 1.5;
  fill: none;
}
.and-adv-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.015em; }
.and-adv-item p  { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Architecture diagram */
.and-arch-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.and-arch-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.and-arch-layer {
  border-radius: 14px;
  padding: 18px;
  border: 1px solid;
}
.and-arch-layer--presentation { border-color: rgba(109,93,252,.25); background: rgba(109,93,252,.04); }
.and-arch-layer--domain       { border-color: rgba(61,220,132,.25); background: rgba(61,220,132,.04); }
.and-arch-layer--data         { border-color: rgba(91,141,239,.25); background: rgba(91,141,239,.04); }
.and-arch-layer-label {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.and-arch-layer-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.and-arch-node {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.and-arch-node svg {
  width: 16px; height: 16px;
  stroke: var(--v1);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.and-arch-node--accent { background: rgba(109,93,252,.08); border-color: rgba(109,93,252,.2); }
.and-arch-node--sm { padding: 8px 14px; font-size: 12px; }
.and-arch-node-row { display: flex; gap: 8px; width: 100%; }
.and-arch-node-row .and-arch-node { flex: 1; }
.and-arch-arrow {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
}
.and-arch-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.and-arch-divider::before,
.and-arch-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  border-style: dashed;
  border-width: 0 0 1px;
}
.and-arch-divider span {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  padding: 2px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.and-arch-benefits h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.and-arch-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.and-arch-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.and-arch-benefit-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(109,93,252,.07);
  border: 1px solid rgba(109,93,252,.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.and-arch-benefit-icon svg {
  width: 16px; height: 16px;
  stroke: var(--v1);
  stroke-width: 1.5;
  fill: none;
}
.and-arch-benefit h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; letter-spacing: -.015em; }
.and-arch-benefit p  { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Proof card */
.and-proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.and-proof-copy p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.and-proof-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.and-proof-stack span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--v1);
  background: rgba(109,93,252,.07);
  border: 1px solid rgba(109,93,252,.15);
  padding: 4px 12px;
  border-radius: 999px;
}
.and-proof-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.and-proof-thumb {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef4ff, #e8e6ff);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.and-proof-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.02em; }
.and-proof-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.and-proof-stats {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.and-proof-stat { flex: 1; text-align: center; }
.and-proof-stat b { display: block; font-family: var(--font-heading); font-size: 17px; font-weight: 800; color: var(--v1); line-height: 1; margin-bottom: 3px; }
.and-proof-stat span { font-family: var(--font-body); font-size: 11px; color: var(--muted); }

/* Native vs Flutter */
.and-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.and-vs-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: .35s cubic-bezier(.2,.7,.2,1);
}
.and-vs-card--native { border-color: rgba(61,220,132,.3); background: rgba(61,220,132,.02); }
.and-vs-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(60,40,120,.16); }
.and-vs-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.and-vs-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(61,220,132,.1);
  border: 1px solid rgba(61,220,132,.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.and-vs-card--flutter .and-vs-icon { background: rgba(71,197,251,.1); border-color: rgba(71,197,251,.2); }
.and-vs-head h3 { font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.and-vs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.and-vs-list li {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.and-vs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3DDC84;
  font-size: 10px;
  font-weight: 700;
  top: 2px;
}
.and-vs-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--v1);
  text-decoration: none;
  transition: gap .2s;
}
.and-vs-link:hover { gap: 9px; }
.and-vs-link svg { width: 13px; height: 13px; }
.and-vs-link--active { color: #059669; cursor: default; }
.and-vs-link--active:hover { gap: 5px; }

/* ============================================
   ANDROID TRIO — Watch + Phone + Tablet
   ============================================ */
/* Android trio: three devices bottom-aligned, ascending height */
.and-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
 
.and-devices-trio {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  animation: svc-float 6s ease-in-out infinite;
}
.and-trio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
/* Explicit heights — enforces Watch < Phone < Tablet staircase */
.and-dev-watch  { height: 168px; width: auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,.35)); display: block; }
.and-dev-phone  { height: 300px; width: auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,.35)); display: block; }
.and-dev-tablet { height: 390px; width: auto; filter: drop-shadow(0 20px 44px rgba(0,0,0,.35)); display: block; }
.and-trio-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.and-trio-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .and-hero-visual {
    --and-hero-visual-scale: clamp(.64, calc((100vw - 96px) / 1044px), .95);
    min-width: 0;
    width: 100%;
    height: calc(420px * var(--and-hero-visual-scale));
  }
  .and-devices-trio {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    scale: var(--and-hero-visual-scale);
    transform-origin: center;
  }
  .and-kotlin-grid    { grid-template-columns: 1fr; gap: 36px; }
  .and-arch-grid      { grid-template-columns: 1fr; }
  .and-proof-grid     { grid-template-columns: 1fr; gap: 36px; }
  .and-vs-grid        { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .and-hero-in        { grid-template-columns: 1fr; padding-top: 116px; }
  .and-hero-visual    { display: none; }
}
@media (max-width: 640px) {
  .and-hero-in { padding-top: 104px; padding-bottom: 56px; }
}

/* ============================================
   FLUTTER APP DEVELOPMENT PAGE
   (base CSS first — responsive at end of section)
   ============================================ */

/* Hero */
