/* EXCAR Mobile-first homepage. All selectors are homepage-scoped. */
.hero-copy { max-width: min(31vw, 450px); right: 7.5vw; }
.home-v3-hero-context { margin-top: 22px; }
.home-v3-hero-context p { max-width: 34ch; color: #d4dce8; font-size: clamp(14px, 1.13vw, 16px); line-height: 1.55; }
.home-v3-hero-context small { display: block; margin-top: 11px; color: #94a9bb; font-size: 11px; letter-spacing: .025em; }
.home-v3-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 20px; margin-top: 24px; }
.home-v3-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border-radius: 999px; font-size: 13px; font-weight: 650; text-align: center; transition: background .2s, transform .2s; }
.home-v3-button--primary { color: #04111c; background: #239ff4; box-shadow: 0 9px 28px rgba(20, 125, 219, .2); }
.home-v3-button--primary:hover { background: #67c1ff; transform: translateY(-2px); }
.home-v3-text-link { color: #d9e9f6; font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-v3-text-link span { color: #1e97f4; margin-left: 4px; }
.home-v3-text-link:hover { color: #67c1ff; }
.home-v3-button:focus-visible, .home-v3-text-link:focus-visible, .home-v3-trips__tabs button:focus-visible { outline: 2px solid #8fd5ff; outline-offset: 4px; }

.home-v3-section { scroll-margin-top: 80px; padding: clamp(105px, 12vw, 175px) 0; }
.home-v3-section .container { max-width: 1240px; }
.home-v3-kicker { color: #3caffb; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; margin-bottom: 26px; }
.home-v3-section h2 { text-wrap: balance; color: #f1f5fb; font-family: var(--font-display); font-size: clamp(42px, 5.4vw, 75px); font-weight: 700; letter-spacing: -.065em; line-height: 1.04; }
.home-v3-section h2 span { color: #8fcaff; }
.home-v3-lead { color: #a9b7c6; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 570px; }

.home-v3-mobile { padding-top: clamp(125px, 13vw, 185px); overflow: hidden; }
.home-v3-mobile__grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(30px, 5vw, 85px); }
.home-v3-copy { position: relative; z-index: 2; }
.home-v3-copy .home-v3-lead { margin-top: 28px; }
.home-v3-moments { margin-top: 40px; border-top: 1px solid rgba(160, 196, 226, .18); }
.home-v3-moments div { display: flex; align-items: baseline; gap: 26px; padding: 14px 0; border-bottom: 1px solid rgba(160, 196, 226, .13); }
.home-v3-moments span { width: 54px; flex: 0 0 54px; color: #52b8fc; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.home-v3-moments p { color: #e0e9f4; font-size: 15px; }
.home-v3-proof-note { max-width: 460px; margin-top: 23px; color: #788ba0; font-size: 11px; line-height: 1.6; }
.home-v3-phones { display: flex; align-items: flex-start; justify-content: center; gap: 5%; min-width: 0; position: relative; }
.home-v3-phones::before { content: ''; position: absolute; top: 17%; left: 15%; width: 77%; height: 62%; border-radius: 50%; background: radial-gradient(ellipse, rgba(19, 119, 236, .23), transparent 67%); filter: blur(35px); pointer-events: none; }
.home-v3-phone { position: relative; margin: 0; min-width: 0; }
.home-v3-phone--main { width: 47%; transform: rotate(-4deg); }
.home-v3-phone--side { width: 38%; margin-top: 20%; transform: rotate(5deg); }
.home-v3-phone img { display: block; width: 100%; height: auto; border: 2px solid rgba(111, 154, 199, .32); border-radius: 31px; background: #05090f; box-shadow: 0 30px 65px rgba(0, 0, 0, .55), 0 0 35px rgba(21, 111, 213, .13); }
.home-v3-phone figcaption { margin-top: 17px; color: #a6bdcf; font-size: 12px; text-align: center; }

.home-v3-trips { padding-top: 120px; }
.home-v3-trips__intro { display: grid; grid-template-columns: 1.15fr .75fr; align-items: end; gap: 45px; margin-bottom: 47px; }
.home-v3-trips__intro .home-v3-lead { font-size: 18px; }
.home-v3-trips__stage { overflow: hidden; border: 1px solid rgba(119, 169, 215, .2); border-radius: 26px; background: linear-gradient(140deg, rgba(10, 23, 38, .98), rgba(3, 8, 16, .99)); box-shadow: 0 35px 110px rgba(0, 0, 0, .32), 0 0 90px rgba(22, 118, 221, .07); }
.home-v3-trips__tabs { display: flex; gap: 8px; padding: 21px 26px 0; border-bottom: 1px solid rgba(144, 182, 218, .14); }
.home-v3-trips__tabs button { position: relative; min-height: 43px; padding: 0 17px 14px; color: #839aae; font: 600 14px var(--font-body); background: transparent; border: 0; cursor: pointer; }
.home-v3-trips__tabs button[aria-selected="true"] { color: #f0f8ff; }
.home-v3-trips__tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 17px; right: 17px; bottom: -1px; height: 2px; background: #299df4; box-shadow: 0 0 13px rgba(41, 157, 244, .75); }
.home-v3-trips__panel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .75fr); align-items: stretch; min-height: 450px; }
.home-v3-trips__panel[hidden] { display: none; }
.home-v3-trips__panel:not([hidden]) { animation: home-v3-panel-enter .24s ease-out; }
@keyframes home-v3-panel-enter { from { opacity: .65; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.home-v3-map, .home-v3-history, .home-v3-detail { position: relative; min-height: 450px; background: #081420; overflow: hidden; }
.home-v3-map svg { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.home-v3-map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, rgba(4, 10, 17, .4)), radial-gradient(70% 75% at 52% 50%, transparent 40%, rgba(3, 8, 15, .5)); }
.home-v3-map__label { position: absolute; z-index: 1; padding: 5px 8px; color: #c8e7fb; background: rgba(6, 22, 37, .85); border: 1px solid rgba(84, 155, 207, .3); border-radius: 4px; font: 10px var(--font-mono); letter-spacing: .09em; }
.home-v3-map__label--start { left: 10%; bottom: 18%; }
.home-v3-map__label--end { right: 11%; top: 14%; }
.home-v3-trips__panel-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(25px, 3.4vw, 52px); border-left: 1px solid rgba(144, 182, 218, .14); }
.home-v3-trips__panel-copy > span { color: #4bb8ff; font: 11px var(--font-mono); letter-spacing: .1em; }
.home-v3-trips__panel-copy h3 { margin-top: 20px; color: #f3f8ff; font: 700 clamp(28px, 2.5vw, 38px)/1.1 var(--font-display); letter-spacing: -.04em; }
.home-v3-trips__panel-copy p { margin-top: 16px; color: #9aafc0; font-size: 15px; line-height: 1.55; }
.home-v3-history { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 37px 12%; background: radial-gradient(ellipse at 10% 0%, rgba(30, 113, 207, .15), transparent 52%), #081420; }
.home-v3-history__line { position: absolute; top: 15%; bottom: 15%; left: 10%; width: 2px; background: linear-gradient(transparent, #299df4, transparent); }
.home-v3-history__card { display: grid; grid-template-columns: 12px 1fr 92px; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(113, 167, 217, .22); border-radius: 16px; background: rgba(16, 29, 43, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.home-v3-history__card i { width: 9px; height: 9px; border-radius: 50%; background: #39bbff; box-shadow: 0 0 14px #39bbff; }
.home-v3-history__card strong { display: block; color: #e8f5ff; font-size: 15px; }
.home-v3-history__card span { display: block; margin-top: 2px; color: #87a7bd; font-size: 12px; }
.home-v3-history__card svg { width: 90px; height: 52px; padding: 6px; border: 1px solid rgba(60, 135, 196, .18); border-radius: 7px; background: #0a1b2a; }
.home-v3-history__card svg path { fill: none; stroke: #29a7f9; stroke-width: 3; stroke-linecap: round; }
.home-v3-detail { display: grid; grid-template-columns: 1fr .8fr; align-items: center; padding: 25px; background: radial-gradient(ellipse at 30% 45%, rgba(27, 107, 200, .17), transparent 65%), #081420; }
.home-v3-detail__route { aspect-ratio: 1.22; border-radius: 16px; border: 1px solid rgba(84, 147, 201, .22); background: linear-gradient(40deg, rgba(25, 48, 68, .6) 1px, transparent 1px) 0 0 / 42px 42px, #0b1c2b; }
.home-v3-detail__route svg { width: 100%; height: 100%; }
.home-v3-detail__rows { padding: 18px; }
.home-v3-detail__rows div { display: flex; flex-direction: column; padding: 17px 0; border-bottom: 1px solid rgba(129, 180, 220, .18); }
.home-v3-detail__rows span { color: #59aee8; font: 10px var(--font-mono); text-transform: uppercase; }
.home-v3-detail__rows strong { color: #edf6fd; font-size: 15px; font-weight: 500; }
.home-v3-score { display: flex; align-items: center; gap: 31px; width: min(700px, 100%); margin: 30px 0 0 auto; padding: 18px 24px; border: 1px solid rgba(166, 143, 87, .24); border-radius: 18px; background: rgba(17, 23, 31, .82); }
.home-v3-score img { display: block; flex: 0 0 auto; width: 86px; height: 104px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid rgba(158, 167, 177, .22); }
.home-v3-score span { color: #edc477; font: 10px var(--font-mono); letter-spacing: .1em; }
.home-v3-score p { margin-top: 7px; color: #e5e7e9; font-size: 16px; line-height: 1.4; }
.home-v3-score small { display: block; margin-top: 8px; color: #8b9aa9; font-size: 10px; }
.home-v3-demo-note { margin-top: 16px; color: #768b9e; font-size: 11px; }

.home-v3-connect { padding-top: 145px; }
.home-v3-connect__heading { max-width: 790px; }
.home-v3-connect__heading .home-v3-lead { margin-top: 26px; }
.home-v3-connect__diagram { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 28px); min-height: 255px; margin-top: 56px; padding: 28px; border: 1px solid rgba(81, 154, 219, .18); border-radius: 20px; background: radial-gradient(ellipse at center, rgba(23, 102, 183, .14), transparent 55%), rgba(6, 16, 28, .75); }
.home-v3-connect__diagram-label { color: #7c9cb5; font: 10px var(--font-mono); letter-spacing: .1em; white-space: nowrap; }
.home-v3-connect__port { display: flex; align-items: center; justify-content: center; width: clamp(115px, 15vw, 190px); height: 100px; border: 4px solid #5e768a; border-top-width: 7px; border-radius: 14px 14px 25px 25px; background: linear-gradient(145deg, #1f3447, #07121d); box-shadow: inset 0 0 0 8px #0a1825, 0 18px 35px rgba(0, 0, 0, .3); transform: perspective(250px) rotateX(8deg); }
.home-v3-connect__pins { color: #7fbde3; font-size: clamp(7px, 1vw, 11px); letter-spacing: .2em; line-height: 2.1; text-align: center; white-space: nowrap; }
.home-v3-connect__signal { display: flex; align-items: center; flex: 1 1 120px; max-width: 220px; }
.home-v3-connect__signal span { flex: 1; height: 2px; background: linear-gradient(90deg, rgba(37, 162, 249, .15), #37b3ff); box-shadow: 0 0 14px rgba(36, 159, 249, .5); }
.home-v3-connect__signal span:last-child { transform: scaleX(-1); }
.home-v3-connect__signal i { width: 11px; height: 11px; border: 2px solid #6ac7ff; border-radius: 50%; box-shadow: 0 0 18px #2baafa; }
.home-v3-connect__phone { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 95px; height: 160px; border: 3px solid #576b80; border-radius: 18px; background: radial-gradient(circle at 50% 55%, rgba(20, 91, 173, .17), transparent 65%), #070c15; box-shadow: 0 16px 35px rgba(0, 0, 0, .3); }
.home-v3-connect__phone img { width: 45px; height: 45px; object-fit: contain; }
.home-v3-connect__phone span { margin-top: 12px; color: #79aed2; font: 7px var(--font-mono); letter-spacing: .07em; }
.home-v3-connect__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; margin-top: 65px; }
.home-v3-connect__steps::before { content: ''; position: absolute; top: 26px; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, rgba(40, 152, 240, .6), transparent); }
.home-v3-connect__steps > div { position: relative; }
.home-v3-connect__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(62, 170, 248, .58); border-radius: 50%; color: #67c6ff; font: 12px var(--font-mono); background: #091a29; box-shadow: 0 0 27px rgba(23, 131, 233, .15); }
.home-v3-connect__steps h3 { margin-top: 24px; color: #edf4fb; font: 600 23px var(--font-display); }
.home-v3-connect__steps p { margin-top: 8px; max-width: 270px; color: #9aaebe; font-size: 15px; line-height: 1.5; }
.home-v3-connect__note { margin-top: 55px; color: #8197a9; font-size: 12px; }

.home-v3-shell #waitlist { background: transparent; }
.home-v3-shell #waitlist .waitlist { background: rgba(12, 20, 31, .9); border-color: rgba(107, 173, 228, .22); box-shadow: 0 30px 90px rgba(0, 0, 0, .28), 0 0 90px rgba(13, 104, 213, .075); }
.home-v3-future { padding-top: 45px; padding-bottom: 140px; }
.home-v3-future__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.home-v3-future h2 { max-width: 650px; }
.home-v3-future .home-v3-lead { margin-top: 25px; }
.home-v3-future .home-v3-text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; }
.home-v3-future__art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 390px; background: radial-gradient(circle, rgba(26, 103, 193, .14), transparent 60%); }
.home-v3-future__art img { display: block; max-width: min(370px, 85%); height: auto; filter: drop-shadow(0 20px 35px rgba(0, 0, 0, .5)); }
.home-v3-future__art span { position: absolute; bottom: 0; color: #8196a9; font: 10px var(--font-mono); letter-spacing: .07em; text-align: center; }

@media (max-width: 880px) {
  .hero-copy { top: clamp(130px, 18svh, 154px); right: 22px; left: 22px; bottom: 0; max-width: none; }
  .home-v3-hero-context { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 55px); margin-top: 0; }
  .home-v3-hero-context p { max-width: 29ch; font-size: 14px; }
  .home-v3-hero-context small { margin-top: 6px; font-size: 10px; }
  .home-v3-hero-actions { margin-top: 14px; }
  .home-v3-button { min-height: 43px; padding: 0 17px; font-size: 12px; }
  .home-v3-mobile__grid { grid-template-columns: 1fr; gap: 48px; }
  .home-v3-copy { max-width: 620px; }
  .home-v3-phones { max-width: 610px; margin: 0 auto; }
  .home-v3-trips__intro { grid-template-columns: 1fr; gap: 20px; }
  .home-v3-trips__panel { grid-template-columns: 1fr; }
  .home-v3-map, .home-v3-history, .home-v3-detail { min-height: 400px; }
  .home-v3-trips__panel-copy { border-left: 0; border-top: 1px solid rgba(144, 182, 218, .14); padding: 30px; }
  .home-v3-future__grid { gap: 28px; }
}
@media (max-width: 600px) {
  .home-v3-section { padding: 64px 0; scroll-margin-top: 68px; }
  .home-v3-section h2 { font-size: clamp(37px, 10vw, 52px); }
  .home-v3-lead { font-size: 16px; }
  .home-v3-hero-context p { font-size: 13px; }
  .home-v3-hero-actions { gap: 12px 18px; }
  .home-v3-phones { width: 100%; margin-left: 0; }
  .home-v3-phone--main { width: 55%; }
  .home-v3-phone--side { width: 39%; margin-top: 25%; }
  .home-v3-phone img { border-radius: 22px; }
  .home-v3-phone figcaption { font-size: 10px; }
  .home-v3-trips { padding-top: 85px; }
  .home-v3-trips__tabs { padding: 14px 12px 0; }
  .home-v3-trips__tabs button { flex: 1; }
  .home-v3-map, .home-v3-history, .home-v3-detail { min-height: 305px; }
  .home-v3-trips__panel-copy { padding: 25px; }
  .home-v3-trips__panel-copy h3 { margin-top: 12px; font-size: 28px; }
  .home-v3-trips__panel-copy p { margin-top: 8px; }
  .home-v3-history { padding: 21px 13%; gap: 8px; }
  .home-v3-history__card { grid-template-columns: 9px 1fr 67px; gap: 8px; padding: 10px; }
  .home-v3-history__card svg { width: 67px; height: 46px; }
  .home-v3-history__card strong { font-size: 12px; }
  .home-v3-history__card span { font-size: 10px; }
  .home-v3-detail { padding: 13px; }
  .home-v3-detail__rows { padding: 10px; }
  .home-v3-connect__diagram { flex-wrap: wrap; justify-content: space-between; gap: 12px; min-height: 205px; margin-top: 38px; padding: 18px; }
  .home-v3-connect__diagram-label { flex: 0 0 40%; text-align: center; order: 2; font-size: 8px; }
  .home-v3-connect__port { width: 115px; height: 68px; order: 0; }
  .home-v3-connect__pins { font-size: 6px; }
  .home-v3-connect__signal { flex: 1 1 30px; order: 0; }
  .home-v3-connect__phone { width: 65px; height: 112px; border-radius: 13px; order: 0; }
  .home-v3-connect__phone img { width: 34px; height: 34px; }
  .home-v3-connect__phone span { font-size: 8px; }
  .home-v3-score { gap: 16px; padding: 13px; }
  .home-v3-score img { flex: 0 0 64px; width: 64px; height: 84px; }
  .home-v3-score p { font-size: 13px; }
  .home-v3-connect__steps { grid-template-columns: 1fr; gap: 30px; margin-top: 48px; }
  .home-v3-connect__steps::before { top: 12px; bottom: 12px; left: 26px; right: auto; width: 1px; height: auto; background: linear-gradient(transparent, rgba(40, 152, 240, .6), transparent); }
  .home-v3-connect__steps > div { display: grid; grid-template-columns: 52px 1fr; column-gap: 17px; }
  .home-v3-connect__steps h3 { margin-top: 0; align-self: end; font-size: 19px; }
  .home-v3-connect__steps p { grid-column: 2; margin-top: 2px; font-size: 13px; }
  .home-v3-connect__note { margin-top: 40px; }
  .home-v3-future__grid { grid-template-columns: 1fr; }
  .home-v3-future__art { min-height: 280px; }
  .home-v3-future__art img { max-width: 255px; }
}
@media (prefers-reduced-motion: reduce) { .home-v3-button { transition: none; } .home-v3-button--primary:hover { transform: none; } .home-v3-trips__panel:not([hidden]) { animation: none; } }
@media (min-width: 601px) and (max-width: 899px) {
  .home-v3-section { padding: 84px 0; }
}
/* The connection visual (owner artwork, EXCAR Intelligente). */
.home-v3-connect__visual { margin: 56px 0 0; overflow: hidden; border: 1px solid rgba(81, 154, 219, .18); border-radius: 20px; background: #03060c; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.home-v3-connect__visual img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .home-v3-connect__visual { margin-top: 36px; border-radius: 16px; } }
