:root{
  --bg:#030915;
  --bg2:#06101f;
  --panel:#0a1627;
  --panel2:#0d1c30;
  --text:#f7fbff;
  --muted:#9badc4;
  --line:rgba(111,153,207,.18);
  --blue:#1479ff;
  --blue2:#08a6ff;
  --green:#6edb45;
  --purple:#8548ff;
  --gold:#ffc62b;
  --shadow:0 30px 80px rgba(0,0,0,.45);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#020712 0%,#050d1a 45%,#020711 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.page-glow{position:fixed;z-index:-1;border-radius:50%;filter:blur(90px);opacity:.16;pointer-events:none}
.page-glow-one{width:520px;height:520px;background:#096eff;top:-230px;right:-100px}
.page-glow-two{width:460px;height:460px;background:#5d28ff;bottom:10%;left:-260px}
.site-header{width:min(1440px,calc(100% - 48px));height:82px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:20}
.brand{display:inline-flex;gap:12px;align-items:center}.brand-mark{width:46px;height:52px;color:#2b8cff;display:grid;place-items:center;font-size:34px}.brand-mark svg{width:100%;height:100%}.brand-text{display:grid;line-height:1}.brand-text strong{font-size:18px;letter-spacing:.05em}.brand-text small{font-size:12px;letter-spacing:.28em;color:#278fff;margin-top:7px}
.primary-nav{display:flex;align-items:center;gap:34px;color:#d9e4f4}.primary-nav>a:not(.button){font-size:15px;position:relative}.primary-nav>a:not(.button):after{content:"";height:2px;width:0;background:var(--blue);position:absolute;left:0;bottom:-12px;transition:.25s}.primary-nav>a:hover:after{width:100%}.menu-toggle{display:none;background:none;border:0;color:white;font-size:24px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:10px;padding:14px 22px;background:linear-gradient(135deg,#076eff,#1889ff);font-weight:750;box-shadow:0 12px 28px rgba(12,113,255,.25);transition:.2s;cursor:pointer}.button:hover{transform:translateY(-2px);filter:brightness(1.08)}.button-small{padding:11px 20px}.button-secondary{background:rgba(7,15,29,.78);border-color:#7891b3;box-shadow:none}.button-muted{background:#354255;box-shadow:none}.green-button{background:linear-gradient(135deg,#31a52f,#72cf42)}
.section-shell{width:min(1370px,calc(100% - 56px));margin:auto}.hero{min-height:680px;padding:70px 0 45px;display:grid;grid-template-columns:.88fr 1.12fr;gap:35px;align-items:center}.hero-copy{z-index:2}.eyebrow{display:inline-block;color:#21a1ff;font-weight:800;letter-spacing:.17em;font-size:12px;margin-bottom:16px}.hero h1{font-size:clamp(48px,5.4vw,78px);line-height:1.02;letter-spacing:-.04em;margin:0 0 24px;max-width:690px}.hero h1 span{color:#1683ff}.hero-copy>p{font-size:18px;line-height:1.65;color:#c5d2e2;max-width:590px}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0 34px}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);max-width:690px;background:rgba(7,17,32,.82);border:1px solid var(--line);border-radius:15px;overflow:hidden}.trust-row>div{padding:16px;display:grid;grid-template-columns:38px 1fr;column-gap:10px;align-items:center}.trust-row>div+div{border-left:1px solid var(--line)}.trust-row b{font-size:13px}.trust-row small{color:var(--muted);font-size:11px}.trust-icon{grid-row:1/3;width:32px;height:32px;border-radius:9px;display:grid;place-items:center}.green{background:rgba(77,211,76,.16);color:#79ec65}.blue{background:rgba(20,121,255,.18);color:#4da0ff}.purple{background:rgba(132,72,255,.18);color:#9b72ff}.gold{background:rgba(255,198,43,.16);color:#ffd85c}
.hero-visual{min-height:570px;position:relative;display:flex;align-items:center;justify-content:center}.network-orbit{position:absolute;border:1px solid rgba(20,121,255,.35);border-radius:50%;right:2%;top:4%;box-shadow:0 0 80px rgba(0,119,255,.2) inset}.orbit-one{width:430px;height:430px}.orbit-two{width:340px;height:340px;right:8%;top:11%;border-style:dashed;animation:spin 40s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.laptop{width:min(780px,92%);position:relative;z-index:3;transform:perspective(1000px) rotateY(-3deg)}.laptop-screen{aspect-ratio:16/9;background:#06101b;border:10px solid #111823;border-radius:18px 18px 10px 10px;display:grid;grid-template-columns:30% 70%;overflow:hidden;box-shadow:var(--shadow),0 0 0 1px #4b596c}.laptop-base{width:112%;height:26px;background:linear-gradient(#3a4350,#111820);margin-left:-6%;border-radius:2px 2px 45px 45px;box-shadow:0 20px 40px #000}.app-sidebar{background:#07111e;padding:18px;border-right:1px solid #172538}.mini-brand{font-size:12px;font-weight:700;margin-bottom:14px}.search-pill{font-size:10px;color:#7890ad;border:1px solid #20334c;border-radius:8px;padding:8px;margin-bottom:10px}.contact{display:flex;gap:9px;align-items:center;padding:8px;border-radius:8px}.contact.active{background:#10223a}.contact b{font-size:10px;display:block}.contact small{font-size:8px;color:#8094ac}.avatar{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800}.a1{background:linear-gradient(135deg,#ff8d76,#9f42ff)}.a2{background:linear-gradient(135deg,#39c66f,#1679ff)}.a3{background:linear-gradient(135deg,#ffd14f,#ff795f)}.a4{background:linear-gradient(135deg,#68d6ff,#8647ff)}.chat-pane{display:grid;grid-template-rows:52px 1fr 48px;background:radial-gradient(circle at 70% 20%,rgba(16,86,173,.14),transparent 40%),#08121f}.chat-head{display:flex;align-items:center;gap:10px;padding:10px 18px;border-bottom:1px solid #19273a}.chat-head b{font-size:11px;display:block}.chat-head small{font-size:8px;color:#58d67b}.chat-tools{margin-left:auto;color:#50a8ff}.chat-body{padding:18px;display:flex;flex-direction:column;gap:10px;overflow:hidden}.bubble{font-size:10px;max-width:55%;padding:9px 11px;border-radius:11px}.bubble.out{background:#0b6dff;align-self:flex-end}.bubble.in{background:#162337;align-self:flex-start}.photo-card{width:44%;height:95px;border-radius:10px;overflow:hidden;align-self:flex-end;background:linear-gradient(#78bfff 0 45%,#15396a 45%);position:relative}.mountain{position:absolute;inset:34% 0 0;background:linear-gradient(135deg,transparent 0 25%,#d7e8f7 26% 40%,#537a9e 41% 60%,#bed5e4 61% 76%,transparent 77%),linear-gradient(#2c5679,#18314c)}.composer{margin:8px 14px;border:1px solid #24364d;background:#0c1726;border-radius:8px;color:#687d98;padding:10px 12px;font-size:9px}.composer span{float:right;color:#2e91ff}.phone{position:absolute;right:0;bottom:25px;width:170px;height:355px;border:7px solid #121921;border-radius:29px;background:#08111e;box-shadow:var(--shadow),0 0 0 1px #596779;z-index:5;padding:17px 10px 10px}.phone-notch{position:absolute;top:4px;left:50%;transform:translateX(-50%);width:65px;height:12px;background:#05080d;border-radius:10px}.phone-head{display:flex;gap:8px;font-size:10px;align-items:center;padding:11px 3px;border-bottom:1px solid #172638}.phone-head span{display:grid}.phone-head small{font-size:7px;color:#65db7c}.phone-chat{display:flex;flex-direction:column;gap:8px;padding:14px 2px}.phone .bubble{font-size:7px;padding:7px}.phone .photo-card.small{width:75%;height:70px}.phone-compose{position:absolute;left:10px;right:10px;bottom:12px;border:1px solid #23354d;border-radius:8px;padding:8px;color:#607590;font-size:7px}
.panel{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,rgba(8,20,36,.92),rgba(6,15,28,.82));padding:34px;margin-top:25px}.section-heading{text-align:center;margin-bottom:28px}.section-heading h2{font-size:clamp(28px,3vw,42px);margin:0}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature-card,.download-card{background:linear-gradient(145deg,#0c1a2c,#091523);border:1px solid var(--line);border-radius:17px;padding:24px}.feature-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;font-size:22px;margin-bottom:18px}.feature-card h3,.download-card h3{margin:0 0 10px}.feature-card p,.download-card p,.steps p,.security-grid p{color:var(--muted);line-height:1.6;margin:0}
.how{padding:70px 0}.steps{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:18px;align-items:center}.steps article{min-height:160px;border:1px solid var(--line);background:#0a1728;border-radius:16px;padding:22px;display:grid;grid-template-columns:52px 1fr;gap:15px;position:relative}.step-number{position:absolute;left:12px;top:12px;width:30px;height:30px;border-radius:50%;background:#1479ff;display:grid;place-items:center;font-weight:800}.step-symbol{grid-row:1/3;font-size:34px;color:#278cff;margin-top:42px}.steps h3{margin:10px 0}.step-arrow{color:#88a1bf;font-size:28px}
.security-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(90deg,rgba(4,17,33,.95),rgba(3,10,19,.82));padding:42px 0}.security-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center}.security-grid h2{font-size:42px;margin:0 0 18px;max-width:420px}.security-note{display:inline-block;margin-top:22px;border:1px solid var(--line);border-radius:10px;padding:12px 14px;color:#d8e7f8}.security-diagram{height:260px;border:1px solid var(--line);border-radius:18px;background:radial-gradient(circle at center,rgba(112,57,255,.12),transparent 50%),#06101d;display:flex;align-items:center;justify-content:space-around;position:relative}.node{width:105px;height:105px;border-radius:50%;display:grid;place-items:center;border:2px solid;position:relative;z-index:2}.node span{font-size:34px}.node b{position:absolute;bottom:-28px}.user-node{border-color:#1688ff;color:#49a3ff}.relay-node{border-color:#985bff;color:#b687ff}.contact-node{border-color:#66d848;color:#7ce15f}.connection{height:2px;width:23%;border-top:2px dashed #397cc0;position:relative}.connection.second{border-color:#4dad63}.connection span{position:absolute;left:50%;top:-20px}.encrypted-label{position:absolute;top:18px;border:1px solid var(--line);border-radius:9px;padding:7px 11px;font-size:11px;color:#bed0e6}
.download-section{padding:55px 0 65px}.download-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.download-card{text-align:center;display:flex;flex-direction:column;align-items:center}.platform-icon{font-size:48px;display:block;margin:4px 0 12px}.windows{color:#1889ff}.web{color:#69cf44}.download-card .button{margin-top:20px;width:100%;padding:12px 14px}.download-card small{color:#7690ad;margin-top:8px}.download-card.muted{opacity:.75}
.site-footer{border-top:1px solid var(--line);background:#020713}.footer-inner{width:min(1370px,calc(100% - 56px));margin:auto;padding:28px 0;display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:25px;align-items:center}.footer-center{text-align:center;color:#7f92aa;font-size:13px}.footer-center nav{display:flex;gap:22px;justify-content:center;margin-top:10px;color:#3f9cff}.status-pill{justify-self:end;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:11px 15px;background:#081525}.status-pill #status-dot{width:14px;height:14px;border-radius:50%;background:#e1a128;box-shadow:0 0 14px currentColor}.status-pill.online #status-dot{background:#42db48}.status-pill.offline #status-dot{background:#ff5555}.status-pill b,.status-pill small{display:block}.status-pill small{font-size:10px;color:var(--muted);margin-top:3px}
.reveal{opacity:0;transform:translateY(18px);transition:.7s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:1050px){.hero{grid-template-columns:1fr;padding-top:55px}.hero-copy{text-align:center}.hero h1,.hero-copy>p,.trust-row{margin-left:auto;margin-right:auto}.hero-actions{justify-content:center}.hero-visual{min-height:500px}.feature-grid,.download-grid{grid-template-columns:repeat(2,1fr)}.security-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.step-arrow{transform:rotate(90deg);justify-self:center}.footer-inner{grid-template-columns:1fr;text-align:center}.footer-inner .brand{justify-self:center}.status-pill{justify-self:center}}
@media(max-width:760px){.site-header{width:calc(100% - 28px)}.menu-toggle{display:block}.primary-nav{display:none;position:absolute;top:74px;left:0;right:0;flex-direction:column;background:#071321;border:1px solid var(--line);border-radius:14px;padding:20px}.primary-nav.open{display:flex}.section-shell{width:calc(100% - 28px)}.hero{padding-top:40px}.hero h1{font-size:46px}.trust-row{grid-template-columns:1fr}.trust-row>div+div{border-left:0;border-top:1px solid var(--line)}.hero-visual{min-height:390px}.phone{width:120px;height:250px;right:-3px}.laptop{width:96%}.app-sidebar{display:none}.laptop-screen{grid-template-columns:1fr}.feature-grid,.download-grid{grid-template-columns:1fr}.panel{padding:22px}.security-diagram{transform:scale(.85);margin-inline:-25px}.footer-inner{width:calc(100% - 28px)}.footer-center nav{flex-wrap:wrap}.brand-text strong{font-size:15px}}

/* Tav Messenger app-brand alignment */
.brand-mark{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;color:inherit}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 12px rgba(83,75,255,.25))}
.site-footer .brand-mark{width:46px;height:46px;flex-basis:46px}
.hero img[src*="logo"]{display:none!important}

@media(max-width:760px){
  .site-header{padding:16px 0}
  .brand-mark{width:54px;height:54px;flex-basis:54px}
  .brand-text strong{font-size:16px;line-height:1.05}
  .brand-text small{font-size:10px;letter-spacing:.28em;margin-top:5px}
  .hero{padding-top:70px}
  .hero h1{font-size:clamp(42px,12vw,60px);line-height:1.03}
  .hero-copy>p{font-size:20px;line-height:1.55}
  .hero-actions{display:grid;grid-template-columns:1fr;width:100%}
  .hero-actions .button{width:100%;min-height:62px;font-size:18px}
  .hero-visual{display:none}
  .trust-row{margin-top:42px}
}
