/* ==========================================================================
   DCalculator — Variant 3 Design System (Deep Navy + Purple + Subtle 3D Glass)
   ========================================================================== */

:root {
  --bg-primary: #090B17;
  --bg-secondary: #11162A;
  --bg-card: #1A2039;
  --bg-card-glass: rgba(26, 32, 57, 0.75);
  
  --purple-primary: #895CFF;
  --purple-deep: #6136D8;
  --purple-soft: #B59AFF;
  --purple-glow: rgba(137, 92, 255, 0.25);
  
  --green-security: #34D69A;
  --amber-accent: #FFB84D;
  --red-destructive: #FF5369;
  --cyan-accent: #45D6E8;
  
  --text-primary: #F6F7FF;
  --text-secondary: #A4ACC0;
  --text-muted: #6B7286;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-purple: rgba(137, 92, 255, 0.35);
  
  --font-family: "Oxanium", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-purple: 0 8px 24px rgba(137, 92, 255, 0.3);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 10%, rgba(137, 92, 255, 0.12), transparent 45%),
              radial-gradient(circle at 85% 85%, rgba(97, 54, 216, 0.10), transparent 50%),
              var(--bg-primary);
}

a {
  color: var(--purple-soft);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(137, 92, 255, 0.18);
  color: var(--purple-soft);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-purple);
  margin-left: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-pill);
  padding: 3px;
  border: 1px solid var(--border-light);
}

.lang-btn {
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--purple-primary);
  color: #FFFFFF;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
  color: #FFFFFF;
  box-shadow: var(--shadow-purple);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(137, 92, 255, 0.45);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(35, 43, 76, 0.9);
  border-color: var(--border-purple);
  transform: translateY(-2px);
}

.btn-disabled {
  opacity: 0.85;
  cursor: default;
}

.btn-disabled:hover {
  transform: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 70px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-soft);
  background: rgba(137, 92, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-purple);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #DFE3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--green-security);
  font-weight: 600;
}

/* Phone Mockup Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 310px;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #2A3358, #0E1222);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(137, 92, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg-primary);
  display: block;
}

/* Features Grid */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-purple);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(137, 92, 255, 0.18);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Security Grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sec-card-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.sec-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sec-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* App Screens Carousel / Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.showcase-item {
  text-align: center;
}

.showcase-item .phone-mockup {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 16px;
}

.showcase-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.showcase-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* Free Banner */
.free-banner {
  background: linear-gradient(135deg, rgba(26, 32, 57, 0.9), rgba(17, 22, 42, 0.9));
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.free-banner h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.free-banner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Content Pages (Privacy, Terms, Support, Contact) */
.page-container {
  padding: 60px 0 100px;
  max-width: 860px;
}

.page-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.page-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.prose {
  color: #DDE2F0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 14px;
  border-left: 3px solid var(--purple-primary);
  padding-left: 12px;
}

.prose h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 10px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  margin: 0 0 20px 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: #FFFFFF;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box.alert-security {
  border-left: 4px solid var(--green-security);
}

.faq-item {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #060810;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-guarantee {
    justify-content: center;
  }
  
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 18px;
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .security-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive polish: safe areas, crisp screenshots and comfortable touch targets. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
body { min-height: 100svh; }
button, input, select, textarea { font: inherit; }
input, select, textarea { font-size: 16px; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan-accent); outline-offset: 5px; }
.container > *, .hero-grid > *, .showcase-grid > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
.hero-title { font-size: clamp(2.25rem, 4.3vw, 3.5rem); }
.hero-visual::before { content: ""; position: absolute; inset: 12% -5%; border-radius: 50%; background: radial-gradient(ellipse, rgba(137,92,255,.2), transparent 68%); pointer-events: none; }
.phone-mockup { width: min(310px, 100%); padding: 7px; border-radius: 46px; background: linear-gradient(120deg,#778096 0%,#252939 12%,#080a10 48%,#545c70 90%,#141722); border: 1px solid #73798c; box-shadow: 0 30px 65px #0008, 0 0 45px #895cff24, inset 0 0 0 2px #11131e; }
.phone-mockup::before { content: ""; position: absolute; left: -3px; top: 19%; height: 12%; width: 3px; border-radius: 3px 0 0 3px; background: #73798c; }
.phone-mockup::after { content: ""; position: absolute; right: -3px; top: 26%; height: 10%; width: 3px; border-radius: 0 3px 3px 0; background: #73798c; }
.phone-screen { border-radius: 38px; border: 2px solid #05060b; }
.phone-screen img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; }
.showcase-item { padding: 24px 18px; border: 1px solid var(--border-light); border-radius: 28px; background: linear-gradient(155deg,#1a203970,#090b1740); }
.showcase-item .phone-mockup { max-width: 260px; margin-bottom: 26px; }
.showcase-item p { font-size: .95rem; }
.sec-card p { font-size: .95rem; }
.support-widget { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.support-link { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 11px 17px; border: 1px solid #ffffff26; border-radius: 999px; color: white; font-size: .875rem; font-weight: 600; box-shadow: 0 6px 24px #0005; }
.support-link svg { width: 24px; height: 24px; flex-shrink: 0; }
.support-whatsapp { background: #126b48; }
.support-telegram { background: #165d89; }
.support-link:hover { color: white; filter: brightness(1.15); transform: translateY(-2px); }
.site-footer { padding-bottom: calc(155px + env(safe-area-inset-bottom)); }
@media (min-width: 769px) and (max-width: 1150px) { .nav-wrap { flex-wrap: wrap; gap: 18px; } .main-nav { order: 3; width: 100%; justify-content: center; } }
@media (min-width: 769px) and (max-width: 992px) { .showcase-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; } .showcase-item { padding: 20px 12px; } }
@media (max-width: 768px) {
  .container { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .site-header { padding: 12px 0; }
  .nav-wrap { gap: 12px; }
  .brand-link { gap: 8px; }
  .brand-icon { width: 34px; height: 34px; }
  .brand-name { font-size: 1.05rem; }
  .brand-badge, .header-actions > .btn { display: none; }
  .header-actions { gap: 8px; }
  .lang-btn { min-height: 36px; display: grid; place-items: center; padding: 4px 9px; font-size: .875rem; }
  .mobile-toggle { width: 44px; height: 44px; border: 1px solid var(--border-light); border-radius: 12px; }
  .main-nav { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .nav-link { width: 100%; text-align: center; padding: 8px; }
  .hero-section { padding: 44px 0 40px; }
  .hero-grid { gap: 40px; }
  .hero-title { font-size: clamp(2rem,8.8vw,3rem); letter-spacing: -.8px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { min-height: 48px; }
  .hero-badge { font-size: .875rem; }
  .hero-guarantee { font-size: .875rem; }
  .hero-visual .phone-mockup { width: min(290px,90%); }
  .section { padding: 52px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title, .page-title { font-size: clamp(1.7rem,7vw,2.2rem); line-height: 1.25; }
  .feature-card, .sec-card, .faq-item { padding: 24px; }
  .showcase-grid { gap: 24px; }
  .showcase-item { padding: 28px 20px; }
  .free-banner { padding: 30px 22px; }
  .free-banner h3 { font-size: 1.6rem; }
  .footer-links { gap: 14px 22px; }
  .support-widget { right: max(12px,env(safe-area-inset-right)); bottom: max(12px,env(safe-area-inset-bottom)); gap: 8px; }
  .support-link { min-height: 44px; padding: 9px 13px; font-size: .8125rem; gap: 8px; }
}
@media (max-width: 359px) { .container { padding-inline: 14px; } .brand-name { font-size: .9rem; } .header-actions { gap: 4px; } .lang-btn { padding-inline: 7px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Compact support launcher, shared by mobile and desktop. */
.support-options { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-bottom: 4px; }
.support-options[hidden] { display: none; }
.support-toggle { width: 58px; height: 58px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; border: 1px solid #ffffff40; color: #fff; background: linear-gradient(140deg,#986aff,#6136d8); box-shadow: 0 8px 28px #0006,0 0 24px #895cff40; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.support-toggle:hover { transform: translateY(-2px); box-shadow: 0 10px 30px #0007,0 0 28px #895cff60; }
.support-toggle svg { width: 26px; height: 26px; grid-area: 1 / 1; }
.support-close-icon { display: none; }
.support-toggle[aria-expanded="true"] .support-chat-icon { display: none; }
.support-toggle[aria-expanded="true"] .support-close-icon { display: block; }
.site-footer { padding-bottom: calc(95px + env(safe-area-inset-bottom)); }
@media (max-width: 768px) { .support-toggle { width: 54px; height: 54px; } }
/* Dimensional product presentation */
:root { --text-secondary: #b3b9cd; --text-muted: #969eb6; }
body { background: radial-gradient(ellipse at 10% 4%,#38205d40,transparent 35%),radial-gradient(ellipse at 95% 35%,#18386026,transparent 40%),#090b17; }
main { width: 100%; }
.line-icon { width: 26px; height: 26px; display: block; }
.hero-badge .line-icon { width: 16px; height: 16px; }
.hero-section { padding: 90px 0 32px; overflow: clip; }
.hero-grid { gap: 68px; }
.hero-title { font-size: clamp(2.4rem,4.6vw,4rem); letter-spacing: -1.8px; line-height: 1.08; }
.hero-title { background: linear-gradient(120deg,#fff 25%,#e5dcff 65%,#9f7ceb); background-clip: text; }
.hero-subtitle { margin-top: 26px; }
.hero-visual { perspective: 1100px; padding: 12px 0 72px; isolation: isolate; }
.hero-phone { transform: translate3d(0,var(--scene-y,0px),0) rotateX(var(--tilt-x,4deg)) rotateY(var(--tilt-y,-12deg)) rotateZ(-3deg); transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2,.7,.3,1); width: 285px; box-shadow: 20px 30px 65px #0009,-10px 0 70px #895cff18; z-index: 2; }
.scene-orbit { position: absolute; width: 470px; height: 470px; top: 90px; border: 1px solid #a57aff20; border-radius: 50%; transform: rotateX(65deg) rotateZ(-25deg); z-index: -1; pointer-events: none; }
.orbit-two { width: 620px; height: 620px; top: 10px; transform: rotateX(65deg) rotateZ(25deg); border-color: #45d6e814; }
.scene-grid { position: absolute; inset: 30% -15% 0; z-index: -2; background-image: linear-gradient(#b59aff0a 1px,transparent 1px),linear-gradient(90deg,#b59aff0a 1px,transparent 1px); background-size: 40px 40px; transform: rotateX(60deg); mask-image: radial-gradient(ellipse,#000,transparent 68%); }
.floating-label { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: linear-gradient(140deg,#2b2944e8,#111526e8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid #c9b4ff2b; border-radius: 18px; box-shadow: 0 20px 40px #0005,inset 0 1px #ffffff0d; z-index: 3; animation: label-float 7s ease-in-out infinite; }
.floating-label strong { font-size: .875rem; font-weight: 600; display: block; }
.floating-label small { font-size: .75rem; color: var(--text-secondary); display: block; margin-top: 3px; }
.floating-label > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #bda0ff; background: #895cff25; font-size: 22px; }
.label-security { top: 17%; right: -40px; }
.label-private { bottom: 20%; left: -48px; animation-delay: -3.5s; }
.label-private > span { color: #5ce7b1; background: #34d69a15; }
.preview-switch { position: absolute; bottom: 0; display: flex; padding: 5px; border: 1px solid #ffffff14; border-radius: 999px; background: #111526e8; box-shadow: 0 8px 25px #0004; z-index: 4; }
.preview-tab { border: 0; color: var(--text-secondary); background: transparent; border-radius: 999px; padding: 10px 17px; font-size: .875rem; cursor: pointer; transition: background .25s,color .25s; }
.preview-tab.active { color: #fff; background: #7950da; box-shadow: inset 0 1px #ffffff30; }
.hero-phone img { transition: opacity .2s; }
.scroll-cue { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .75rem; letter-spacing: .08em; color: #a5acc2; margin-top: 40px; }
.scroll-cue > span { width: 20px; height: 30px; border: 1px solid #b59aff70; border-radius: 12px; position: relative; }
.scroll-cue > span::before { content:""; position: absolute; width: 3px; height: 6px; border-radius: 3px; left: 7px; top: 6px; background: #c3acff; animation: scroll-dot 2s ease-in-out infinite; }
.trust-strip { border-block: 1px solid #ffffff0a; background: #11152460; margin-top: 20px; }
.trust-strip .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 24px; }
.trust-strip span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: #a4acc3; }
.eyebrow { display: block; color: #b99cff; font-size: .75rem; font-weight: 600; letter-spacing: .18em; margin-bottom: 16px; }
.section { padding-block: 100px; }
.section-title { font-size: clamp(1.9rem,3.5vw,2.8rem); line-height: 1.2; }
.feature-card { background: linear-gradient(135deg,#20243c9c,#111526a8); border-color: #a49bc41c; padding: 36px; box-shadow: 0 16px 40px #0002,inset 0 1px #ffffff06; }
.feature-card::before { opacity: .55; height: 1px; }
.feature-card:hover { box-shadow: 0 22px 50px #0005,0 0 35px #895cff0c; }
.feature-icon-box { box-shadow: inset 0 1px #ffffff20,0 8px 18px #0003; }
.showcase-section { position: relative; background: radial-gradient(ellipse at 50% 45%,#3a236129,transparent 65%),#0d1020; border-block: 1px solid #ffffff08; overflow: clip; }
.showcase-grid { align-items: start; perspective: 1400px; gap: 32px; }
.showcase-item { background: linear-gradient(155deg,#272b443b,#11152619); border: 1px solid #ffffff0e; padding: 32px 20px; transition: border-color .3s,background .3s; }
.showcase-item:nth-child(2) { margin-top: 64px; }
.showcase-item:nth-child(3) { margin-top: 128px; }
.showcase-item .phone-mockup { transform: rotateY(-7deg) rotateX(3deg); transition: transform .6s; }
.showcase-item:hover .phone-mockup { transform: rotateY(0) rotateX(0) translateY(-8px); }
.showcase-item:hover { border-color: #b59aff35; background: #272b443b; }
.showcase-item h4 { margin-bottom: 10px; }
.sec-card { background: linear-gradient(150deg,#1b2034,#101424); border-top-color: #b59aff30; }
.sec-card-icon { color: #b59aff; margin-bottom: 24px; }
.free-banner { background: radial-gradient(ellipse at 50% 0,#895cff20,transparent 70%),linear-gradient(135deg,#171d33,#0e1222); padding: 64px 40px; isolation: isolate; }
.free-banner h3 { position: relative; font-size: clamp(1.8rem,3.5vw,2.8rem); }
.banner-orb { position: absolute; width: 300px; height: 300px; border: 1px solid #b59aff1a; border-radius: 50%; left: calc(50% - 150px); top: -210px; box-shadow: 0 0 0 45px #895cff05,0 0 0 90px #895cff04; z-index: -1; }
.reveal-ready { opacity: 0; transform: translate3d(0,28px,0); transition: opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay,0ms); }
.reveal-ready.is-visible { opacity: 1; transform: none; }
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg,#895cff,#69d7e5); transform: scaleX(var(--reading-progress,0)); transform-origin: left; z-index: 200; pointer-events: none; }
@keyframes label-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes scroll-dot { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(8px); opacity: 1; } }
@media (max-width: 1150px) { .label-security { right: -12px; } .label-private { left: -12px; } }
@media (max-width: 992px) { .hero-section { padding-top: 60px; } .hero-content { max-width: 680px; margin-inline: auto; } .hero-visual { width: min(490px,100%); margin-inline: auto; } .hero-title { font-size: clamp(2.3rem,6vw,3.8rem); } .hero-subtitle { max-width: 580px; } .showcase-item { padding-inline: 12px; } .showcase-item:nth-child(2) { margin-top: 32px; } .showcase-item:nth-child(3) { margin-top: 64px; } }
@media (max-width: 768px) {
 .hero-section { padding-top: 42px; }
 .hero-grid { gap: 42px; }
 .hero-title { font-size: clamp(2rem,8.5vw,3rem); letter-spacing: -1px; }
 .hero-subtitle { margin-top: 22px; }
 .hero-visual { padding-top: 10px; padding-bottom: 66px; }
 .hero-visual .hero-phone { width: min(260px,78%); transform: translateY(var(--scene-y,0px)) rotateY(-7deg) rotateZ(-2deg); }
 .floating-label { padding: 10px 12px; gap: 8px; border-radius: 14px; }
 .floating-label strong { font-size: .75rem; }
 .floating-label small { font-size: .6875rem; }
 .floating-label > span { width: 28px; height: 28px; font-size: 18px; }
 .label-security { top: 17%; right: -4px; }
 .label-private { left: -3px; bottom: 20%; }
 .scene-orbit { width: 340px; height: 340px; top: 110px; }
 .orbit-two { width: 450px; height: 450px; top: 50px; }
 .scroll-cue { margin-top: 30px; font-size: .6875rem; }
 .trust-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; text-align: center; padding-block: 22px; }
 .trust-strip span { font-size: .625rem; letter-spacing: .08em; }
 .section { padding-block: 64px; }
 .feature-card { padding: 28px; }
 .showcase-item, .showcase-item:nth-child(2), .showcase-item:nth-child(3) { margin-top: 0; padding: 32px 22px; }
 .showcase-item .phone-mockup { max-width: 245px; }
 .free-banner { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) { .floating-label,.scroll-cue > span::before { animation: none; } .reveal-ready { opacity: 1; transform: none; } .hero-phone,.hero-visual .hero-phone { transform: none; } }

/* Icon-only support controls. Accessible names stay available to screen readers. */
.support-options { gap: 10px; align-items: center; }
.support-link, .support-toggle { width: 54px; height: 54px; min-height: 54px; padding: 0; border-radius: 18px; display: grid; place-items: center; }
.support-link { box-shadow: 0 8px 24px #0005, inset 0 1px #ffffff18; }
.support-link svg { width: 27px; height: 27px; }
.support-toggle svg { width: 26px; height: 26px; }
.support-widget { gap: 10px; align-items: center; }
.support-options:not([hidden]) { animation: support-reveal .2s ease-out; transform-origin: bottom center; }
@keyframes support-reveal { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 768px) { .support-link, .support-toggle { width: 50px; height: 50px; min-height: 50px; border-radius: 16px; padding: 0; } }

/* Opt-in splash study: rendered only for ?splash=demo. */
.splash-demo { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #090b17; overflow: hidden; transition: opacity .55s ease, visibility .55s; animation: splash-failsafe 0s 8s forwards; }
.splash-demo.is-finished { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-ambient { position: absolute; width: min(800px,150vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,#895cff21,transparent 65%); pointer-events: none; }
.splash-content { position: relative; text-align: center; padding: 24px; animation: splash-arrive .65s ease-out both; }
.splash-logo-wrap { width: 128px; height: 128px; margin: 0 auto 32px; display: grid; place-items: center; position: relative; }
.splash-logo { width: 88px; height: 88px; border-radius: 23px; box-shadow: 0 18px 45px #0008,0 0 40px #895cff20; animation: splash-breathe 1.8s ease-in-out infinite; }
.splash-orbit { position: absolute; inset: 0; border: 1px solid #b59aff18; border-top-color: #b59affc0; border-right-color: #895cff55; border-radius: 50%; animation: splash-spin 2s linear infinite; }
.splash-wordmark { color: #f6f3ff; font-size: clamp(1.9rem,7vw,2.5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.2; }
.splash-wordmark span { display: block; color: #b59aff; font-size: .75rem; font-weight: 500; letter-spacing: .32em; margin-top: 14px; }
.splash-track { width: 150px; height: 2px; margin: 36px auto 20px; overflow: hidden; border-radius: 5px; background: #b59aff1a; }
.splash-track span { display: block; width: 55%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,transparent,#b59aff,#65d5e1); animation: splash-loading 1.2s ease-in-out infinite; }
.splash-caption { color: #a4acc0; font-size: .8125rem; }
.splash-demo-controls { position: fixed; left: max(14px,env(safe-area-inset-left)); bottom: max(14px,env(safe-area-inset-bottom)); z-index: 95; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #b59aff30; border-radius: 14px; background: #111526ed; box-shadow: 0 8px 24px #0005; font-size: .75rem; }
.splash-demo-controls > span { color: #a4acc0; }
.splash-demo-controls button { cursor: pointer; color: #fff; background: #7950da; border: 0; border-radius: 8px; padding: 8px 12px; }
.splash-demo-controls a { padding-block: 8px; }
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-breathe { 50% { transform: translateY(-3px); box-shadow: 0 20px 50px #0008,0 0 50px #895cff35; } }
@keyframes splash-loading { from { transform: translateX(-110%); } to { transform: translateX(210%); } }
@keyframes splash-arrive { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .splash-demo { transition: none; } .splash-logo,.splash-orbit,.splash-track span,.splash-content { animation: none; } }
.splash-demo { transition: none; }
.splash-demo.is-finished { transition: opacity .55s ease, visibility .55s; }
@media (prefers-reduced-motion: reduce) { .splash-demo.is-finished { transition: none; } }
