/* Rетпэx landing page — Nova panel theme: black/white/graphite, red reserved for the one primary action */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root{
  --nova-bg:#1f1f1f;
  --nova-surface:#000000;
  --nova-surface-2:#141414;
  --nova-line:rgba(255,255,255,.12);
  --nova-ink:#f8fafc;
  --nova-body:#e2e8f0;
  --nova-muted:#94a3b8;
  --nova-red:#dc2626;
  --nova-red-2:#991b1b;
}

body{background:var(--nova-bg)!important;font-family:Inter,Manrope,Arial,sans-serif!important}
h1,h2,h3,.brand-name,.footer-brand-name{font-family:Poppins,Manrope,Arial,sans-serif!important}

/* Script-specific fonts, matching the root site and panel.
   Inter/Poppins have no real Bengali coverage, so without these the browser
   falls back to an ugly default face. The root site's own rule for [lang=bn]
   isn't !important, so our body/heading rules above would otherwise win. */
html[lang="bn"] body,
html[lang="bn"] body *{font-family:'Hind Siliguri',Manrope,Arial,sans-serif!important}
html[lang="hi"] body,
html[lang="hi"] body *{font-family:'Poppins',Manrope,Arial,sans-serif!important}
/* Keep slash-commands monospaced and the Cyrillic wordmark on its own face. */
html[lang="bn"] .retnex-cmd-group span,html[lang="bn"] code,
html[lang="hi"] .retnex-cmd-group span,html[lang="hi"] code{font-family:'DM Mono',monospace!important}
html[lang="bn"] .brand-name,html[lang="bn"] .footer-brand-name,
html[lang="hi"] .brand-name,html[lang="hi"] .footer-brand-name{font-family:Poppins,Manrope,Arial,sans-serif!important}

/* Neutralize the homepage's crimson ambient glow + red grid for this page only */
.ambient{opacity:.5!important;filter:blur(140px)!important}
.ambient.a{background:rgba(255,255,255,.03)!important}
.ambient.b{background:rgba(255,255,255,.025)!important}
.grid{opacity:.10!important;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px)!important}

.glass{background:rgba(0,0,0,.55)!important;border:1px solid var(--nova-line)!important;backdrop-filter:blur(18px)}

/* Nav */
.nav{background:rgba(0,0,0,.6)!important;border:1px solid var(--nova-line)!important}
.brand-name,.footer-brand-name{color:var(--nova-ink)!important}
.tm-mark{color:var(--nova-red)!important;text-shadow:none!important}
.logo-wrap{border-color:rgba(255,255,255,.18)!important;box-shadow:0 0 0 3px rgba(255,255,255,.05),inset 0 0 10px rgba(255,255,255,.05)!important}
.logo-wrap:hover{box-shadow:0 0 0 3px rgba(255,255,255,.08),inset 0 0 14px rgba(255,255,255,.08)!important}
.nav-link{position:relative;z-index:1;color:var(--nova-muted)!important;text-decoration:none;font-size:14px;padding:10px 18px;border-radius:10px;transition:color .3s ease;border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;display:inline-block}
.nav-link:hover{color:var(--nova-ink)!important}
.links a.active,.nav-link.active{color:#0a0a0a!important;font-weight:700;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;transform:none!important}
.links a.active:hover,.nav-link.active:hover{color:#0a0a0a!important}
/* This is the ONLY white element in the nav — the active link itself has no
   background of its own, so there's never a second white shape appearing
   underneath/behind the one that's actually sliding. */
.nav-pill-ghost{position:absolute;background:#ffffff;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.35);z-index:0;pointer-events:none}
.nav-cta{background:var(--nova-red)!important;border:none!important;border-radius:10px!important;box-shadow:none!important;color:#fff!important}
.nav-cta:hover{background:#b91c1c!important}

/* Eyebrow / kickers — monochrome, small red dot only */
.eyebrow{color:var(--nova-muted)!important;border:1px solid var(--nova-line)!important;background:rgba(255,255,255,.04)!important}
.eyebrow i{background:var(--nova-red)!important;box-shadow:0 0 0 4px rgba(220,38,38,.15),0 0 10px rgba(220,38,38,.6)!important}
.kicker{color:var(--nova-muted)!important}

/* Hero */
.hero h1{color:var(--nova-ink);letter-spacing:-3px}
.hero h1 em{font-style:normal;background:none!important;-webkit-text-fill-color:initial!important;color:var(--nova-red)!important}
.hero p{color:var(--nova-muted)!important}
.hero-stats strong{color:var(--nova-ink)}
.hero-stats span{color:var(--nova-muted)}

.retnex-hero{padding-top:24px}
.retnex-subhero{padding:28px 0 40px;text-align:center;max-width:760px;margin:auto}
.retnex-subhero h1{color:var(--nova-ink);letter-spacing:-3px}
.retnex-subhero h1 em{font-style:normal;color:var(--nova-red)}
.retnex-subhero p{color:var(--nova-muted)}
.retnex-subpage{padding:20px 0 100px}
.retnex-commands-standalone{margin-top:20px;display:block!important;padding:44px 6%!important}
.retnex-commands-standalone .retnex-cmd-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.retnex-commands-standalone .retnex-cmd-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.retnex-commands-standalone .retnex-cmd-grid{grid-template-columns:1fr}}
.retnex-avatar-wrap{position:relative;width:140px;height:140px;margin:30px auto 6px;display:grid;place-items:center}
.retnex-avatar-glow{position:absolute;inset:-24px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);filter:blur(14px)}
.retnex-avatar-img{position:relative;width:140px;height:140px;border-radius:50%;display:block;object-fit:cover;background:#000;border:1px solid var(--nova-line);box-shadow:0 20px 50px rgba(0,0,0,.5)}

/* Buttons — solid red primary rectangle (matches Sign in), pill outline secondary (matches Connect Google) */
.primary{color:#fff!important;background:var(--nova-red)!important;border-radius:10px!important;box-shadow:none!important;transition:background .2s}
.primary:hover{background:#b91c1c!important}
.secondary{color:var(--nova-body)!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(0,0,0,.35)!important;border-radius:999px!important}
.secondary:hover{border-color:rgba(255,255,255,.4)!important;background:rgba(0,0,0,.55)!important}

/* Cards — flat graphite, no red gradients */
.card{background:var(--nova-surface-2)!important;border:1px solid var(--nova-line)!important}
.card:hover{border-color:rgba(255,255,255,.28)!important;transform:translateY(-4px)}
.card.featured{background:var(--nova-surface-2)!important}
.card-icon{color:var(--nova-ink)!important}
.tag{color:var(--nova-muted)!important}
.card h3{color:var(--nova-ink)}
.card p{color:var(--nova-muted)!important}
.card b{color:var(--nova-ink)!important}
.card b span{color:var(--nova-red)!important}
.shine{display:none!important}

.retnex-cards{grid-template-columns:repeat(3,1fr)}
.retnex-cards .card{min-height:220px}
.retnex-cards .card p{max-width:none}
@media(max-width:900px){.retnex-cards{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.retnex-cards{grid-template-columns:1fr}}

/* Commands panel */
.retnex-commands{padding:56px 6%;border-radius:20px;margin:30px 0 110px;display:grid;grid-template-columns:1fr 1.6fr;gap:48px;align-items:start}
.retnex-commands-head h2{color:var(--nova-ink)}
.retnex-commands-head p{color:var(--nova-muted);line-height:1.7}
.retnex-cmd-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 30px}
.retnex-cmd-group h4{font:600 11px 'DM Mono',monospace;letter-spacing:1.4px;text-transform:uppercase;color:var(--nova-muted);margin:0 0 14px}
.retnex-cmd-group{display:flex;flex-direction:column;gap:0}
.retnex-cmd-group span{font:500 14px 'DM Mono',monospace;color:var(--nova-body);padding:8px 0;border-bottom:1px solid var(--nova-line)}
@media(max-width:760px){.retnex-commands{grid-template-columns:1fr;padding:36px 24px}.retnex-cmd-grid{grid-template-columns:1fr 1fr;gap:18px 20px}}

/* FAQ */
.retnex-faq{max-width:780px;display:flex;flex-direction:column;gap:12px;margin:34px auto 0}
.retnex-faq-item{border:1px solid var(--nova-line);border-radius:12px;background:var(--nova-surface-2);padding:4px 22px;overflow:hidden}
.retnex-faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:18px 0;font-weight:600;font-size:15px;color:var(--nova-ink)}
.retnex-faq-item summary::-webkit-details-marker{display:none}
.retnex-faq-item summary i{font-style:normal;color:var(--nova-muted);font-size:20px;transition:transform .25s}
.retnex-faq-item[open] summary i{transform:rotate(45deg);color:var(--nova-red)}
.retnex-faq-item p{margin:0 0 20px;color:var(--nova-muted);line-height:1.7;font-size:14px}
.retnex-faq-item code{font-family:'DM Mono',monospace;color:var(--nova-ink);background:rgba(255,255,255,.08);padding:2px 7px;border-radius:5px;font-size:13px}

/* Terms & Privacy */
.retnex-tos{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;margin-top:40px}
.retnex-tos-item{padding:24px;border:1px solid var(--nova-line);border-radius:14px;background:var(--nova-surface-2)}
.retnex-tos-item h4{margin:0 0 10px;font-size:15px;font-weight:600;color:var(--nova-ink)}
.retnex-tos-item p{margin:0;color:var(--nova-muted);font-size:13.5px;line-height:1.7}
@media(max-width:760px){.retnex-tos{grid-template-columns:1fr}}

/* Support cards (anchor-based card variant) */
.retnex-support-cards .card{text-decoration:none;color:inherit;display:flex;flex-direction:column}
.retnex-support-cards .card b{position:static;margin-top:auto;padding-top:18px;color:var(--nova-ink)!important;font-size:14px}
.retnex-support-cards .card code{font-family:'DM Mono',monospace;color:var(--nova-ink);background:rgba(255,255,255,.08);padding:1px 6px;border-radius:5px;font-size:12.5px}

/* CTA band */
.retnex-cta{padding:70px 6%;border-radius:20px;background:var(--nova-surface-2);border:1px solid var(--nova-line);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;margin-bottom:60px}
.retnex-cta h2{margin:8px 0 0;color:var(--nova-ink)}
.retnex-cta .kicker{color:var(--nova-muted)!important}
@media(max-width:760px){.retnex-cta{flex-direction:column;align-items:flex-start;text-align:left;padding:40px 26px}}

/* Footer */
.footer-premium{background:rgba(0,0,0,.7)!important;box-shadow:none!important}
.footer-premium::before{display:none!important}
.footer-tagline{color:var(--nova-muted)!important}
.footer-badge{border:1px solid var(--nova-line)!important;background:rgba(255,255,255,.04)!important;color:var(--nova-ink)!important;box-shadow:none!important}
.footer-col h4{color:var(--nova-muted)!important;text-shadow:none!important}
.footer-col a{color:var(--nova-muted)!important}
.footer-col a:hover{color:var(--nova-ink)!important;text-shadow:none!important}
.footer-bottom{border-top:1px solid var(--nova-line)!important;color:#5c5c66!important}
.footer-tm{color:#6b6b76!important}

/* Custom scrollbar — monochrome */
#custom-scrollbar-thumb{background:linear-gradient(180deg,#fff,#aaa 50%,#666)!important;box-shadow:0 0 8px rgba(255,255,255,.3)!important}

/* Language switcher — detached from the nav bar, pinned to the page's own
   top-right corner. Reuses the main site's flag/menu classes so all 9
   languages and their flag icons already work with no extra CSS needed. */
.retnex-lang-switcher{position:fixed;top:28px;right:28px;z-index:50;margin:0!important}
.retnex-lang-switcher .language-trigger{background:var(--nova-surface-2)!important;border:1px solid var(--nova-line)!important;box-shadow:0 8px 20px rgba(0,0,0,.45)!important;color:var(--nova-ink)!important}
.retnex-lang-switcher .language-trigger:hover,.retnex-lang-switcher.open .language-trigger{background:#242424!important;border-color:rgba(255,255,255,.28)!important}
.retnex-lang-switcher .language-menu{background:var(--nova-surface-2)!important;border:1px solid var(--nova-line)!important;box-shadow:0 20px 50px rgba(0,0,0,.55)!important}
.retnex-lang-switcher .language-menu button{color:var(--nova-body)!important}
.retnex-lang-switcher .language-menu button:hover,.retnex-lang-switcher .language-menu button.selected{background:rgba(255,255,255,.08)!important;color:var(--nova-ink)!important}
.retnex-lang-switcher .language-chevron{color:var(--nova-muted)!important}
@media(max-width:900px){.retnex-lang-switcher{top:16px;right:16px}}

/* ============================================================
   Responsive — tablet & mobile
   site.css hides .links entirely below 760px, and this page has no
   nav CTA, so without a mobile menu the nav would be logo-only.
   Below 900px the links collapse into a hamburger dropdown instead.
   ============================================================ */
.retnex-nav-toggle{display:none}

@media(max-width:900px){
  /* Keep the bar centred and only as wide as its contents, so the fixed
     language pill in the top-right can never collide with it. */
  .nav{width:fit-content!important;justify-content:flex-start!important;gap:12px!important;padding:9px 10px 9px 14px!important}

  .retnex-nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:42px;height:42px;flex:0 0 42px;padding:0;border-radius:11px;border:1px solid var(--nova-line);background:rgba(255,255,255,.05);cursor:pointer;transition:background .2s,border-color .2s}
  .retnex-nav-toggle:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.24)}
  .retnex-nav-toggle span{display:block;width:17px;height:2px;border-radius:2px;background:var(--nova-ink);transition:transform .28s cubic-bezier(.4,0,.2,1),opacity .18s}
  .retnex-nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .retnex-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .retnex-nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

  /* Dropdown panel. .nav is position:sticky, which is a positioned element,
     so it already acts as the containing block for this absolute panel. */
  .links{display:none!important;position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:min(300px,calc(100vw - 40px));flex-direction:column;gap:4px;padding:10px;border-radius:16px;border:1px solid var(--nova-line);background:rgba(8,8,8,.98);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 26px 60px rgba(0,0,0,.65);z-index:30}
  .nav.menu-open .links{display:flex!important}
  .nav-link{width:100%;text-align:center;padding:12px 14px!important;font-size:15px!important;border-radius:10px}

  /* The JS sliding pill is horizontal-only; in a vertical menu the active
     state is drawn with plain CSS instead. */
  .nav-pill-ghost{display:none!important}
  .links a.active,.nav-link.active{background:#ffffff!important;color:#0a0a0a!important;border-color:#ffffff!important;transform:none!important;box-shadow:none!important}

  /* The switcher is moved into the nav by JS at this breakpoint; drop the
     fixed positioning so it lays out as a normal item in the bar. */
  .nav .retnex-lang-switcher{position:static!important;top:auto!important;right:auto!important;margin:0!important;flex:0 0 auto}
  .nav .retnex-lang-switcher .language-menu{position:absolute;right:0!important;left:auto!important;top:calc(100% + 12px)!important}
  .nav .retnex-lang-switcher .language-trigger{height:42px!important}

  /* Content scaling */
  .retnex-avatar-wrap,.retnex-avatar-img{width:112px;height:112px}
  .retnex-hero{padding-top:18px}
  .retnex-subhero{padding:22px 0 30px}
  .retnex-commands-standalone{padding:30px 20px!important}
  .retnex-cta{padding:38px 24px}
  .retnex-tos-item{padding:20px}
  .retnex-faq-item{padding:2px 16px}
  .retnex-faq-item summary{font-size:14.5px}
}

@media(max-width:560px){
  /* Shrink the language pill to a flag-only chip so it never crowds the bar. */
  .retnex-lang-switcher{top:14px;right:12px}
  .retnex-lang-switcher .language-code{display:none!important}
  .retnex-lang-switcher .language-trigger{min-width:46px!important;width:46px!important;padding:0!important;height:42px!important;justify-content:center!important}
  .retnex-lang-switcher .language-menu{min-width:176px!important}
  .nav{padding:8px 8px 8px 12px!important;gap:10px!important}
  .brand-name{font-size:20px}
  .logo-wrap{width:36px;height:36px}
  .retnex-cta{padding:32px 20px}
}

/* Indic scripts should not inherit the tight negative tracking used for Latin. */
html[lang="bn"] h1,html[lang="hi"] h1,
html[lang="bn"] h2,html[lang="hi"] h2{letter-spacing:-.5px!important;line-height:1.25!important}
