.android-agent-landing {
  --aa-bg: #070b12;
  --aa-ink: #eef6f8;
  --aa-muted: #8b9aa6;
  --aa-line: rgba(255, 255, 255, 0.1);
  --aa-teal: #16d7b0;
  --aa-cyan: #32c5f4;
  --aa-blue: #3977ee;
  background: var(--aa-bg);
  color: var(--aa-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

.android-agent-landing *, .android-agent-landing *::before, .android-agent-landing *::after { box-sizing: border-box; letter-spacing: 0; }
.aa-container { width: min(1216px, calc(100% - 48px)); margin: 0 auto; }

.aa-hero {
  position: relative;
  min-height: min(720px, calc(100svh - 84px));
  padding: clamp(74px, 9vh, 112px) max(24px, calc((100vw - 1216px) / 2)) 112px;
  isolation: isolate;
  background:
    linear-gradient(90deg, #060a10 0%, rgba(6, 10, 16, 0.98) 32%, rgba(6, 10, 16, 0.7) 58%, rgba(6, 10, 16, 0.22) 100%),
    linear-gradient(0deg, #070b12 0%, transparent 22%);
}

.aa-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 76%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
}

.aa-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 68%);
}

.aa-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 1fr);
  align-items: center;
  gap: 48px;
  width: min(1216px, 100%);
  margin: 0 auto;
}

.aa-hero-copy { max-width: 670px; }
.aa-kicker { color: var(--aa-teal); font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.aa-kicker-light { display: flex; align-items: center; gap: 10px; color: #b6c4cd; }
.aa-kicker-light > span { width: 7px; height: 7px; border-radius: 50%; background: var(--aa-teal); box-shadow: 0 0 16px rgba(22,215,176,.9); animation: aaPulse 2.2s ease-in-out infinite; }
.aa-hero h1 { max-width: 650px; margin: 24px 0 22px; color: #f7fbff; font-size: 70px; line-height: 1.02; font-weight: 900; }
.aa-lang-zh .aa-hero h1 { font-size: 60px; line-height: 1.1; }
.aa-hero-copy > p { max-width: 620px; margin: 0; color: #a5b4bf; font-size: 20px; line-height: 1.65; }

.aa-actions, .aa-final-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.aa-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 0 22px; background: rgba(5,10,16,.62); color: #f8fbfd; font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.aa-button:hover { transform: translateY(-2px); border-color: rgba(50,197,244,.62); }
.aa-button.primary { border-color: var(--aa-teal); background: var(--aa-teal); color: #04110e; }
.aa-button.primary:hover { border-color: #42e3c1; background: #42e3c1; }

.aa-live-panel { position: relative; align-self: end; justify-self: end; width: 280px; margin-bottom: 72px; border: 1px solid rgba(129,214,239,.28); border-radius: 8px; padding: 14px; background: rgba(6,14,20,.78); box-shadow: 0 22px 70px rgba(0,0,0,.34); backdrop-filter: blur(14px); }
.aa-live-title, .aa-live-meta { display: flex; align-items: center; gap: 8px; color: #ccdae0; font-size: 11px; font-weight: 750; }
.aa-live-title > span { width: 7px; height: 7px; border-radius: 50%; background: var(--aa-teal); box-shadow: 0 0 12px rgba(22,215,176,.8); }
.aa-live-title b { margin-left: auto; color: var(--aa-teal); font-size: 10px; }
.aa-live-target { position: relative; width: 104px; height: 104px; display: grid; place-items: center; margin: 18px auto; }
.aa-live-target::before, .aa-live-target::after { position: absolute; inset: 13px; border: 1px solid rgba(50,197,244,.42); border-radius: 50%; content: ""; animation: aaTargetScan 3s linear infinite; }
.aa-live-target::after { inset: 28px; border-color: rgba(22,215,176,.5); animation-direction: reverse; animation-duration: 2.1s; }
.aa-live-target i { position: absolute; width: 20px; height: 20px; border-color: var(--aa-cyan); border-style: solid; }
.aa-live-target i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.aa-live-target i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.aa-live-target i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.aa-live-target i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.aa-live-target span { color: #fff; font-size: 17px; font-weight: 900; }
.aa-live-meta { justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--aa-line); }
.aa-live-meta strong { color: var(--aa-cyan); }
.aa-mode-cycle { position: relative; height: 24px; margin-top: 8px; overflow: hidden; color: #6e7f8a; font-size: 10px; }
.aa-mode-cycle span { position: absolute; inset: 4px 0 auto; opacity: 0; transform: translateY(8px); animation: aaModeCycle 7.5s ease-in-out infinite; animation-delay: calc(var(--mode) * 2.5s); }

.aa-pipeline { position: absolute; right: max(24px, calc((100vw - 1216px) / 2)); bottom: 24px; left: max(24px, calc((100vw - 1216px) / 2)); z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.aa-pipeline-step { position: relative; min-height: 60px; display: flex; align-items: center; gap: 10px; color: #657580; font-size: 11px; animation: aaPipelineText 7.5s ease-in-out infinite; animation-delay: calc(var(--step) * 1.5s); }
.aa-pipeline-step::before { position: absolute; top: -2px; left: 0; width: 22%; height: 3px; background: var(--aa-teal); box-shadow: 0 0 15px rgba(22,215,176,.75); content: ""; opacity: 0; animation: aaPipelineLine 7.5s ease-in-out infinite; animation-delay: calc(var(--step) * 1.5s); }
.aa-pipeline-step span { color: #40505b; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.aa-proof-band { min-height: 74px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 1px; border-block: 1px solid var(--aa-line); background: #0a1018; padding-inline: max(24px, calc((100vw - 1216px) / 2)); }
.aa-proof-band span { min-height: 42px; display: flex; align-items: center; gap: 8px; border-left: 1px solid var(--aa-line); padding: 0 14px; color: #8899a6; font-size: 11px; font-weight: 750; white-space: nowrap; }
.aa-proof-band span:last-child { border-right: 1px solid var(--aa-line); }
.aa-proof-band b { color: var(--aa-teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.aa-section { padding: 96px 0; border-top: 1px solid rgba(255,255,255,.055); }
.aa-section-head { max-width: 850px; }
.aa-section-head h2, .aa-final h2 { margin: 16px 0 0; color: #f1f7fa; font-size: 54px; line-height: 1.06; font-weight: 900; }
.aa-section-head p, .aa-final p { max-width: 760px; margin: 20px 0 0; color: var(--aa-muted); font-size: 17px; line-height: 1.72; }

.aa-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 54px; }
.aa-feature-item { min-width: 0; border-top: 2px solid #26343f; padding-top: 18px; }
.aa-feature-item > span { color: var(--aa-teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.aa-feature-item h3, .aa-mode-card h3, .aa-deploy-grid h3 { margin: 20px 0 10px; color: #eff5f7; font-size: 20px; line-height: 1.2; }
.aa-feature-item p, .aa-mode-card p, .aa-deploy-grid p { margin: 0; color: var(--aa-muted); font-size: 14px; line-height: 1.65; }

.aa-modes-section, .aa-skills-section, .aa-scenes-section { background: #0a1018; }
.aa-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.aa-mode-card { position: relative; min-height: 248px; border: 1px solid var(--aa-line); border-radius: 8px; padding: 24px; background: #0d151f; overflow: hidden; }
.aa-mode-card::after { position: absolute; right: -38px; bottom: -54px; width: 120px; height: 120px; border: 1px solid rgba(50,197,244,.18); border-radius: 50%; content: ""; }
.aa-mode-code { min-width: 48px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(50,197,244,.35); border-radius: 5px; padding: 0 8px; color: var(--aa-cyan); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 850; }
.aa-mode-card > span { float: right; color: #637580; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.aa-note { margin: 22px 0 0; color: #657782; font-size: 12px; }

.aa-vision-section { background: linear-gradient(90deg, rgba(50,197,244,.04) 1px, transparent 1px), linear-gradient(rgba(50,197,244,.04) 1px, transparent 1px), #070b12; background-size: 72px 72px; }
.aa-two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .82fr); align-items: center; gap: 76px; }
.aa-vision-flow { position: relative; display: grid; gap: 8px; padding-left: 24px; }
.aa-vision-flow::before { position: absolute; top: 32px; bottom: 32px; left: 42px; width: 1px; background: linear-gradient(var(--aa-cyan), var(--aa-teal)); content: ""; }
.aa-vision-step { position: relative; z-index: 1; min-height: 72px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 18px; opacity: .58; animation: aaVisionStep 8s ease-in-out infinite; animation-delay: calc(var(--vision-step) * 1.6s); }
.aa-vision-step > b { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #32444f; border-radius: 50%; background: #091019; color: #8fa0aa; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.aa-vision-step span { display: grid; gap: 5px; }
.aa-vision-step strong { color: #e3edf0; font-size: 15px; }
.aa-vision-step small { color: #71818b; font-size: 12px; }

.aa-chip-wall { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.aa-chip-wall span { border: 1px solid var(--aa-line); border-radius: 4px; padding: 8px 10px; background: rgba(255,255,255,.025); color: #90a1ac; font-size: 12px; }
.aa-stack { display: grid; justify-items: center; }
.aa-stack > div { width: min(420px, 100%); min-height: 82px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: 1fr 1fr; align-items: center; border: 1px solid var(--aa-line); border-radius: 7px; padding: 14px 18px; background: #0d151f; }
.aa-stack span { grid-row: 1 / 3; color: var(--aa-teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.aa-stack b { align-self: end; color: #edf4f6; font-size: 14px; }
.aa-stack small { align-self: start; margin-top: 4px; color: #677985; font-size: 11px; }
.aa-stack > i { width: 1px; height: 34px; background: linear-gradient(var(--aa-teal), var(--aa-blue)); }

.aa-deploy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 50px; }
.aa-deploy-grid article { min-height: 286px; border: 1px solid var(--aa-line); border-radius: 8px; padding: 30px; background: #0b121b; }
.aa-deploy-grid article > span { color: var(--aa-cyan); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 850; }
.aa-route { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: #91a2ad; font-size: 11px; }
.aa-route i { width: 8px; height: 8px; border-radius: 50%; background: var(--aa-teal); box-shadow: 0 0 12px rgba(22,215,176,.55); }
.aa-route b { font-weight: 750; }
.aa-privacy { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; margin-top: 18px; border-left: 3px solid var(--aa-teal); padding: 16px 20px; background: rgba(22,215,176,.06); }
.aa-privacy b { color: var(--aa-teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.aa-privacy p { margin: 0; color: #83959f; font-size: 13px; line-height: 1.55; }

.aa-scene-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 50px; border-top: 1px solid var(--aa-line); border-left: 1px solid var(--aa-line); }
.aa-scene-list span { min-height: 82px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--aa-line); border-bottom: 1px solid var(--aa-line); padding: 16px; color: #bac8cf; font-size: 13px; }
.aa-scene-list b { color: var(--aa-teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }

.aa-final { padding: 86px 0; background: linear-gradient(90deg, rgba(4,10,14,.94), rgba(4,10,14,.62)), url("/portal/assets/android-agent-device-fleet.webp") center 44% / cover no-repeat; }
.aa-final-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.aa-final h2 { max-width: 760px; font-size: 52px; }
.aa-final-actions { flex-direction: column; align-items: stretch; margin: 0; }

@keyframes aaPulse { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@keyframes aaTargetScan { to { transform: rotate(360deg); } }
@keyframes aaModeCycle { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 27% { opacity: 1; transform: translateY(0); } 34%, 100% { opacity: 0; transform: translateY(-7px); } }
@keyframes aaPipelineText { 0%, 12%, 100% { color: #657580; } 17%, 31% { color: #e5f5f2; } }
@keyframes aaPipelineLine { 0%, 12%, 100% { opacity: 0; transform: translateX(0); } 17%, 31% { opacity: 1; transform: translateX(280%); } }
@keyframes aaVisionStep { 0%, 12%, 100% { transform: translateX(0); opacity: .58; } 18%, 34% { transform: translateX(5px); opacity: 1; } }

@media (max-width: 1060px) {
  .aa-hero h1 { font-size: 58px; }
  .aa-lang-zh .aa-hero h1 { font-size: 52px; }
  .aa-section-head h2, .aa-final h2 { font-size: 46px; }
  .aa-hero-inner { grid-template-columns: minmax(0, 1fr) 250px; }
  .aa-live-panel { width: 250px; }
  .aa-proof-band { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 10px; }
  .aa-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa-two-column { grid-template-columns: 1fr; gap: 48px; }
  .aa-vision-flow, .aa-stack { max-width: 620px; }
  .aa-scene-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .android-agent-site .site-header { grid-template-columns: auto 1fr; gap: 8px 12px; height: auto; padding: 10px 14px; }
  .android-agent-site .brand { align-self: center; }
  .android-agent-site .site-actions { grid-column: 2; justify-content: flex-end; gap: 8px; padding: 0; }
  .android-agent-site .site-actions .button.secondary { display: none; }
  .android-agent-site .site-actions .button { min-height: 34px; padding: 0 14px; }
  .android-agent-site .language-select { min-width: 70px; }
  .android-agent-site .site-nav { grid-column: 1 / -1; order: 3; width: 100%; display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 22px; overflow-x: auto; padding: 3px 2px 5px; scrollbar-width: none; }
  .android-agent-site .site-nav::-webkit-scrollbar { display: none; }
  .android-agent-site .site-nav button { flex: 0 0 auto; white-space: nowrap; }
  .aa-container { width: min(100% - 32px, 1216px); }
  .aa-hero { min-height: 650px; padding: 58px 18px 116px; background-position: 65% center; }
  .aa-hero-media { width: 100%; object-position: 64% center; opacity: .56; }
  .aa-hero::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,9,14,.94), rgba(5,9,14,.72)); content: ""; }
  .aa-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .aa-hero h1 { font-size: 44px; }
  .aa-lang-zh .aa-hero h1 { font-size: 32px; line-height: 1.18; }
  .aa-hero-copy > p { font-size: 16px; line-height: 1.58; }
  .aa-live-panel { justify-self: start; width: min(280px, 82vw); margin: 0; }
  .aa-live-target { display: none; }
  .aa-pipeline { right: 18px; left: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; }
  .aa-pipeline-step { min-width: 0; min-height: 54px; justify-content: center; gap: 4px; font-size: 9px; }
  .aa-pipeline-step span { display: none; }
  .aa-proof-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa-proof-band span { border-right: 1px solid var(--aa-line); }
  .aa-section { padding: 70px 0; }
  .aa-section-head h2, .aa-final h2 { font-size: 36px; }
  .aa-section-head p, .aa-final p { font-size: 15px; }
  .aa-mode-grid, .aa-deploy-grid { grid-template-columns: 1fr; }
  .aa-mode-card { min-height: 218px; }
  .aa-vision-flow { padding-left: 0; }
  .aa-vision-flow::before { left: 18px; }
  .aa-scene-list { grid-template-columns: 1fr; }
  .aa-final-inner { grid-template-columns: 1fr; }
  .aa-final-actions { align-items: flex-start; }
  .aa-privacy { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 520px) {
  .aa-actions, .aa-final-actions { align-items: stretch; flex-direction: column; }
  .aa-button { width: 100%; }
  .aa-feature-grid { grid-template-columns: 1fr; }
  .aa-proof-band { display: flex; overflow-x: auto; }
  .aa-proof-band span { min-width: max-content; }
  .aa-route { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .android-agent-landing *, .android-agent-landing *::before, .android-agent-landing *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
