:root {
  --bg: #0D1017;
  --surface: #121722;
  --surface-2: #1A2130;
  --surface-3: #202A3B;
  --primary: #9DB8FF;
  --primary-deep: #243C70;
  --text: #F5F7FF;
  --muted: #AEB9D0;
  --muted-2: #76839B;
  --cyan: #29C4FF;
  --blue: #466BFF;
  --purple: #6553FF;
  --success: #6FD3A0;
  --border: rgba(157, 184, 255, .13);
  --shadow: 0 30px 90px rgba(0, 0, 0, .33);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 50% -15%, rgba(70,107,255,.08), transparent 65%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 44px)); margin-inline: auto; }

.ambient { position: fixed; pointer-events: none; filter: blur(80px); opacity: .22; z-index: -1; border-radius: 999px; }
.ambient-one { width: 380px; height: 380px; background: var(--blue); top: 24%; right: -220px; }
.ambient-two { width: 320px; height: 320px; background: var(--purple); top: 58%; left: -240px; }

.site-header {
  width: min(var(--shell), calc(100% - 44px));
  margin: 18px auto 0;
  min-height: 62px;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(255,255,255,.055);
  background: rgba(18, 23, 34, .72);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 780; letter-spacing: -.02em; font-size: 20px; }
.brand-bloom { width: 32px; height: 32px; }
.header-actions { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.header-actions > a, .lang-toggle { padding: 10px 12px; border-radius: 10px; transition: .2s ease; }
.header-actions > a:hover, .lang-toggle:hover { color: var(--text); background: rgba(157,184,255,.08); }
.lang-toggle { border: 1px solid var(--border); color: var(--primary); background: transparent; cursor: pointer; font-weight: 700; }
.optional-link.is-hidden { display: none; }

.hero { min-height: 760px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 60px; align-items: center; padding-top: 74px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: 13px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(111,211,160,.08), 0 0 20px rgba(111,211,160,.35); }
.hero h1 { font-size: clamp(58px, 7vw, 92px); line-height: .94; letter-spacing: -.058em; margin: 0; font-weight: 820; }
.gradient-text { background: linear-gradient(110deg, #D8E3FF 2%, var(--primary) 35%, var(--cyan) 64%, #A38CFF 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 640px; margin: 28px 0 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; border-radius: 14px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 750; font-size: 15px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease; border: 1px solid transparent; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #132A5A; background: linear-gradient(135deg, #BFD0FF, var(--primary)); box-shadow: 0 16px 35px rgba(70,107,255,.20); }
.button-primary:hover { box-shadow: 0 20px 45px rgba(70,107,255,.28); }
.button-secondary { color: var(--text); border-color: var(--border); background: rgba(18,23,34,.65); }
.button.is-disabled { opacity: .64; cursor: default; pointer-events: none; }
.release-line { color: var(--muted-2); font-size: 13px; margin: 15px 0 0 2px; }

.hero-art { min-height: 610px; position: relative; display: grid; place-items: center; }
.phone { width: 300px; height: 602px; padding: 10px; border-radius: 45px; background: #080A0F; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 42px 100px rgba(0,0,0,.58), 0 0 0 7px rgba(26,33,48,.45); transform: rotate(3deg); position: relative; z-index: 3; }
.phone-speaker { width: 66px; height: 18px; position: absolute; z-index: 5; top: 17px; left: 50%; transform: translateX(-50%); background: #07090E; border-radius: 0 0 12px 12px; }
.phone-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: linear-gradient(180deg, #10151F, #0D1017); padding: 34px 13px 14px; display: flex; flex-direction: column; }
.app-topbar { height: 48px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.05); padding-bottom: 10px; }
.app-topbar img { width: 28px; height: 28px; }
.app-topbar div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.08; flex: 1; }
.app-topbar strong { font-size: 13px; }
.app-topbar span { color: var(--muted-2); font-size: 9px; margin-top: 4px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.conversation-title { display: flex; align-items: center; gap: 10px; padding: 18px 3px 15px; }
.conversation-title > div:last-child { display: flex; flex-direction: column; }
.conversation-title strong { font-size: 13px; }
.conversation-title span { color: var(--muted-2); font-size: 9px; margin-top: 3px; }
.avatar { flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.avatar-main { width: 32px; height: 32px; background: linear-gradient(135deg,var(--blue),var(--purple)); }
.avatar-one, .avatar-two { width: 25px; height: 25px; }
.avatar-one { background: linear-gradient(135deg, #244B73, #53C7F8); }
.avatar-two { background: linear-gradient(135deg, #5B377A, #A98AEF); }
.chat-preview { display: flex; flex-direction: column; gap: 16px; padding: 4px 3px; flex: 1; }
.message { display: flex; gap: 9px; align-items: flex-start; }
.bubble { padding-top: 1px; }
.name { font-size: 10px; color: var(--primary); font-weight: 700; }
.bubble p { font-size: 10px; line-height: 1.4; margin: 4px 0 0; color: #DCE3F3; }
.gif-card { height: 142px; border-radius: 16px; background: radial-gradient(circle at 25% 20%, rgba(41,196,255,.34), transparent 43%), radial-gradient(circle at 80% 85%, rgba(101,83,255,.38), transparent 48%), #182236; border: 1px solid rgba(157,184,255,.1); margin-left: 34px; display: grid; place-items: center; position: relative; overflow: hidden; }
.gif-card::before { content: ""; position: absolute; inset: 17% 21%; border: 1px solid rgba(157,184,255,.18); transform: rotate(22deg); border-radius: 45%; }
.gif-stars { color: #DDE7FF; font-size: 28px; letter-spacing: 12px; text-shadow: 0 0 28px var(--primary); transform: translateX(7px); }
.gif-card span { position: absolute; left: 10px; bottom: 9px; font-size: 9px; font-weight: 800; color: #D8E3FF; padding: 4px 7px; background: rgba(13,16,23,.65); border-radius: 7px; }
.composer { min-height: 39px; border: 1px solid rgba(157,184,255,.12); border-radius: 14px; background: #151B28; color: var(--muted-2); display: flex; align-items: center; gap: 10px; padding: 0 11px; font-size: 10px; }
.composer span:nth-child(2) { flex: 1; }
.composer span:last-child { color: var(--primary); font-weight: 750; }
.floating-bloom { position: absolute; width: 112px; height: 112px; right: 2%; bottom: 9%; z-index: 4; filter: drop-shadow(0 18px 25px rgba(41,196,255,.16)); animation: float 5s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(157,184,255,.11); }
.orbit-a { width: 480px; height: 480px; }
.orbit-b { width: 380px; height: 380px; border-style: dashed; opacity: .65; animation: spin 34s linear infinite; }
.hero-art::after { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(70,107,255,.23), rgba(101,83,255,.07) 42%, transparent 70%); filter: blur(20px); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

.trust-strip { min-height: 104px; background: rgba(18,23,34,.72); border: 1px solid var(--border); border-radius: 20px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; padding: 12px 24px; box-shadow: var(--shadow); }
.trust-strip div { display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; }
.trust-strip div + div::before { content: ""; height: 38px; width: 1px; background: rgba(157,184,255,.12); position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.trust-strip strong { font-size: 15px; }
.trust-strip span { color: var(--muted-2); font-size: 12px; }

.section { padding-top: 128px; }
.section-heading { max-width: 690px; margin-bottom: 42px; }
.section-heading.compact { margin-bottom: 28px; }
.kicker { color: var(--primary); font-size: 12px; letter-spacing: .14em; font-weight: 800; margin: 0 0 13px; }
.section-heading h2, .download-copy h2, .independent-card h2 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.045em; line-height: 1.02; margin: 0; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.65; margin-top: 18px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.feature-card {
  min-height: 255px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(26,33,48,.94), rgba(18,23,34,.92));
  border: 1px solid var(--border);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: absolute;
  right: -110px;
  bottom: -100px;
  background: rgba(70,107,255,.10);
  filter: blur(20px);
  pointer-events: none;
}
.feature-android { grid-column: span 6; }
.feature-gifs, .feature-voice { grid-column: span 3; }
.feature-community { grid-column: span 5; }
.feature-reliable {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
  gap: 22px;
  align-items: center;
}
.feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: rgba(157,184,255,.09);
  border: 1px solid rgba(157,184,255,.12);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 28px;
}
.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.025em; }
.feature-card p { color: var(--muted); line-height: 1.62; margin: 0; max-width: 560px; }
.mini-ui {
  margin-top: 24px;
  background: rgba(13,16,23,.62);
  border: 1px solid rgba(157,184,255,.08);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-row {
  height: 32px;
  border-radius: 9px;
  background: rgba(26,33,48,.75);
  display: grid;
  grid-template-columns: 24px 1fr 34px;
  align-items: center;
  gap: 9px;
  padding: 0 9px;
}
.mini-row span:nth-child(2), .mini-row span:nth-child(3) { height: 4px; background: rgba(157,184,255,.12); border-radius: 10px; }
.mini-row span:nth-child(3) { background: rgba(157,184,255,.07); }
.mini-circle { width: 17px; height: 17px !important; border-radius: 50% !important; background: linear-gradient(135deg,var(--blue),var(--purple)) !important; }
.reliable-copy { position: relative; z-index: 2; }
.connection-visual {
  height: 170px;
  min-width: 190px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.connection-visual::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,196,255,.10), rgba(70,107,255,.05) 52%, transparent 72%);
  filter: blur(3px);
}
.signal-ring {
  position: absolute;
  left: 50%;
  bottom: 34px;
  border: 2px solid var(--primary);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) rotate(-45deg);
  opacity: .88;
}
.ring-one { width: 58px; height: 58px; }
.ring-two { width: 96px; height: 96px; opacity: .55; }
.ring-three { width: 136px; height: 136px; opacity: .25; }
.signal-core {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(41,196,255,.10), 0 0 28px rgba(41,196,255,.38);
}

.screenshots-section { display: none; }
.screenshots-section.is-visible { display: block; }
.screenshots { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.screenshot-card { border-radius: 20px; border: 1px solid var(--border); background: var(--surface); padding: 8px; overflow: hidden; }
.screenshot-card img { width: 100%; height: auto; display: block; border-radius: 14px; }

.download-section { padding-bottom: 30px; }
.download-card { min-height: 440px; border-radius: 28px; border: 1px solid rgba(157,184,255,.17); background: radial-gradient(600px 280px at 20% 0%,rgba(70,107,255,.12),transparent 65%), linear-gradient(145deg,#151B29,#10151F); padding: 44px; display: grid; grid-template-columns: 120px 1fr .9fr; gap: 34px; align-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.download-card::after { content:""; position:absolute; width:330px; height:330px; border-radius:50%; right:-140px; top:-140px; background: rgba(101,83,255,.10); filter: blur(20px); }
.download-bloom-wrap { width: 112px; height: 112px; border-radius: 28px; background: #0A1325; display: grid; place-items: center; border: 1px solid rgba(157,184,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.35); align-self: start; }
.download-bloom-wrap img { width: 82px; height: 82px; }
.download-copy { position: relative; z-index: 2; }
.download-copy h2 { font-size: clamp(36px,4vw,48px); }
.download-copy > p:not(.kicker):not(.download-note) { color: var(--muted); line-height: 1.6; max-width: 540px; }
.release-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.release-meta span { padding: 7px 10px; border-radius: 9px; border: 1px solid var(--border); background: rgba(13,16,23,.55); color: var(--muted); font-size: 12px; }
.download-button { margin-top: 2px; }
.download-note { color: var(--muted-2); font-size: 11px; line-height: 1.5; margin: 14px 0 0; max-width: 520px; }
.release-details { position: relative; z-index: 2; background: rgba(13,16,23,.54); border: 1px solid rgba(157,184,255,.1); border-radius: 18px; padding: 22px; }
.release-details h3 { margin: 0 0 14px; font-size: 16px; }
.release-details ul { color: var(--muted); padding-left: 18px; margin: 0; font-size: 13px; line-height: 1.65; }
.checksum-row { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(157,184,255,.09); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 10px; color: var(--muted-2); }
.checksum-row code { overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.checksum-row button { border: 0; background: transparent; color: var(--primary); cursor: pointer; font-size: 11px; font-weight: 700; }
.checksum-row.is-hidden, .optional-meta.is-hidden { display:none; }

.independent-section { padding-bottom: 105px; }
.independent-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 38px 42px; border: 1px solid var(--border); border-radius: 22px; background: rgba(18,23,34,.62); }
.independent-card h2 { font-size: clamp(28px,3.5vw,42px); }
.independent-card > p { color: var(--muted); line-height: 1.7; margin: 0; }

.site-footer { border-top: 1px solid rgba(157,184,255,.10); min-height: 150px; padding: 30px 0 44px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 15px; }
.footer-brand span { color: var(--muted-2); font-size: 11px; margin-top: 2px; }
.footer-links { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--primary); }
.copyright { grid-column: 1 / -1; margin: 0; color: var(--muted-2); font-size: 10px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; gap: 15px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-buttons { justify-content: center; }
  .hero-art { min-height: 640px; }
  .trust-strip { grid-template-columns: repeat(2,1fr); gap: 22px 0; padding-block: 22px; }
  .trust-strip div:nth-child(3)::before { display:none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-android, .feature-reliable { grid-column: 1 / -1; }
  .feature-gifs, .feature-voice, .feature-community { grid-column: auto; }
  .feature-community { grid-column: 1 / -1; }
  .download-card { grid-template-columns: 95px 1fr; }
  .release-details { grid-column: 1 / -1; }
  .download-bloom-wrap { width: 92px; height: 92px; border-radius: 24px; }
  .download-bloom-wrap img { width: 70px; height: 70px; }
  .independent-card { grid-template-columns: 1fr; gap: 20px; }
  .screenshots { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .site-header { width: calc(100% - 24px); top: 8px; margin-top: 8px; min-height: 58px; border-radius: 17px; padding-left: 12px; }
  .header-actions > a { display: none; }
  .brand-bloom { width: 29px; height: 29px; }
  .hero { min-height: auto; padding-top: 68px; padding-bottom: 25px; }
  .hero h1 { font-size: clamp(51px, 16vw, 72px); }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-buttons { flex-direction: column; }
  .button { width: 100%; }
  .hero-art { min-height: 570px; transform: scale(.9); margin: -22px 0 -26px; }
  .phone { width: 278px; height: 558px; }
  .orbit-a { width: 420px; height: 420px; }
  .orbit-b { width: 340px; height: 340px; }
  .floating-bloom { right: -1%; }
  .trust-strip { grid-template-columns: 1fr 1fr; border-radius: 17px; }
  .trust-strip div + div::before { display:none; }
  .section { padding-top: 92px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-android, .feature-gifs, .feature-voice, .feature-community, .feature-reliable { grid-column: auto; }
  .feature-card { padding: 22px; min-height: 220px; }
  .feature-reliable { grid-template-columns: 1fr; gap: 4px; }
  .connection-visual { height: 135px; min-width: 0; margin-top: 8px; }
  .ring-one { width: 48px; height: 48px; }
  .ring-two { width: 80px; height: 80px; }
  .ring-three { width: 112px; height: 112px; }
  .download-card { grid-template-columns: 1fr; padding: 26px; border-radius: 22px; }
  .download-bloom-wrap { width: 82px; height: 82px; }
  .download-bloom-wrap img { width: 61px; height: 61px; }
  .release-details { grid-column: auto; }
  .independent-card { padding: 26px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .screenshots { grid-template-columns: 1fr; }
}

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

/* v2 cleanup: uniform feature cards + simple download area */
.button-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.feature-card {
  grid-column: auto !important;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card .feature-icon {
  margin-bottom: 24px;
}

.feature-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.feature-card h3 {
  margin-top: auto;
}

.download-card {
  min-height: 0;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.release-details {
  grid-column: 2;
  margin-top: -6px;
}

.release-details.is-hidden,
.download-state:empty {
  display: none;
}

.download-state {
  color: var(--muted-2);
  font-size: 12px;
  margin: 12px 0 0;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .download-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .release-details {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 190px;
  }
  .download-card {
    grid-template-columns: 1fr;
  }
  .release-details {
    grid-column: auto;
  }
}
