/* ── Design tokens ── */
:root{
  --color-bg:#14151b;
  --color-bg-elevated:#191920;
  --color-surface:rgba(255,255,255,.06);
  --color-surface-hover:rgba(255,255,255,.1);
  --color-border:rgba(255,255,255,.06);
  --color-text:#fff;
  --color-text-secondary:rgba(255,255,255,.7);
  --color-text-muted:rgba(255,255,255,.5);
  --color-text-faint:rgba(255,255,255,.25);
  --color-primary:#4e56ff;
  --color-primary-hover:#4349e0;
  --color-accent:#ACAFFF;
  --font-family:var(--font-family);
  --radius-sm:8px;
  --radius-md:10px;
  --radius-lg:12px;
  --radius-xl:16px;
  --header-height:64px;
}

.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:var(--header-height);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 32px;
  background:transparent;
  z-index:100;
}

.header-left{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.header-logo{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  flex-shrink:0;
  line-height:0;
}

.header-logo img{
  height:30px;
  width:auto;
}

.header-tagline-wrap{
  display:flex;
  align-items:center;
  gap:0;
  margin-left:14px;
  overflow:hidden;
}

.header-tagline-sep{
  width:1px;
  height:18px;
  background:rgba(255,255,255,.15);
  flex-shrink:0;
  margin-right:12px;
}

.header-tagline{
  font-size:13px;
  font-weight:400;
  color:rgba(255,255,255,.35);
  white-space:nowrap;
}

.header-tagline-cursor{
  font-size:13px;
  font-weight:300;
  color:rgba(255,255,255,.4);
  animation:blink 1s step-end infinite;
  margin-left:-2px;
}

.header-nav{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  background:var(--color-surface);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-radius:12px;
  padding:4px;
  gap:0;
}

.header-nav-item{
  display:flex;
  align-items:center;
  gap:3px;
  color:var(--color-text-muted);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  padding:8px 14px;
  border-radius:9px;
  transition:color .15s,background .15s;
  white-space:nowrap;
  cursor:pointer;
  position:relative;
}

.header-nav-item:hover,
.header-nav-item.active{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.header-nav-item svg{
  width:12px;
  height:12px;
  opacity:.45;
  transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .15s;
  flex-shrink:0;
}

.header-nav-item:hover svg{
  opacity:.7;
}

.header-nav-sep{
  width:1px;
  height:16px;
  background:var(--color-surface-hover);
  margin:0 2px;
  flex-shrink:0;
}

.nav-dropdown{
  position:static;
}

.nav-dropdown.active .header-nav-item svg{
  transform:rotate(180deg);
  opacity:.7;
}

.nav-dropdown.active .header-nav-item{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.mega-dropdown{
  position:absolute;
  left:50%;
  top:calc(100% + 8px);
  transform:translateX(-50%) translateY(-6px);
  opacity:0;
  pointer-events:none;
  transition:width .28s cubic-bezier(.4,0,.2,1),height .28s cubic-bezier(.4,0,.2,1),opacity .18s,transform .18s;
  z-index:200;
  background:var(--color-surface);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid var(--color-border);
  border-radius:12px;
  box-shadow:0 16px 40px rgba(0,0,0,.3);
}

.mega-dropdown::before{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:-20px;
  height:20px;
}

.mega-dropdown::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-20px;
  height:20px;
}

.mega-dropdown.visible{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.mega-panel{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}

.mega-panel.active{
  opacity:1;
  pointer-events:auto;
}

.nav-dropdown-inner{
  min-width:220px;
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.nav-dropdown-link{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:10px 12px;
  border-radius:9px;
  text-decoration:none;
  color:var(--color-text-muted);
  transition:all .15s;
}

.nav-dropdown-link:hover{
  background:var(--color-surface);
  color:#fff;
}

.nav-dropdown-icon{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:rgba(78,86,255,.1);
  color:#7c83ff;
  flex-shrink:0;
  margin-top:1px;
}

.nav-dropdown-icon svg{
  width:15px;
  height:15px;
}

.nav-dropdown-text{
  display:flex;
  flex-direction:column;
  gap:1px;
}

.nav-dropdown-title{
  font-size:14px;
  font-weight:600;
  color:#fff;
}

.nav-dropdown-link:hover .nav-dropdown-title{
  color:#fff;
}

.nav-dropdown-desc{
  font-size:12px;
  color:rgba(255,255,255,.35);
  white-space:nowrap;
}

.nav-dropdown-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:0;
  min-width:auto;
  padding:8px;
}

.mega-cta{
  position:absolute;
  left:50%;
  transform:translateX(-50%) translateY(0);
  opacity:0;
  pointer-events:none;
  transition:top .3s cubic-bezier(.4,0,.2,1),opacity .2s,width .28s cubic-bezier(.4,0,.2,1);
  z-index:201;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:10px;
  background:rgba(78,86,255,.1);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(78,86,255,.15);
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
}

.mega-cta.visible{
  opacity:1;
  pointer-events:auto;
}

.mega-cta svg{
  color:#7c83ff;
  flex-shrink:0;
}

.mega-cta:hover{
  background:rgba(78,86,255,.2);
}

.nav-dropdown-cta-text{
  font-size:14px;
  font-weight:600;
  color:#7c83ff;
}

.nav-dropdown-cta-desc{
  font-size:12px;
  color:rgba(255,255,255,.35);
  flex:1;
}

.nav-dropdown-icon-ai{
  background:
    radial-gradient(circle at 28% 30%, rgba(255,255,255,.95), rgba(255,255,255,0) 35%),
    linear-gradient(135deg, #a78bfa 0%, #7c83ff 68%, rgba(255,255,255,.26) 100%);
  background-size:150% 150%;
  box-shadow:0 0 18px rgba(124,131,255,.3);
  animation:aiOrbShift 4.5s linear infinite;
  color:#fff;
}

.nav-dropdown-inner.nav-dropdown-about-layout{
  flex-direction:row;
  gap:6px;
  padding:6px;
  min-width:auto;
  justify-content:space-between;
}

.nav-dropdown-about-links{
  display:flex;
  flex-direction:column;
  gap:2px;
  flex:1;
}

.nav-dropdown-about-cards{
  display:flex;
  flex-direction:row;
  gap:6px;
  flex-shrink:0;
}

.nav-dropdown-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:16px 12px;
  border-radius:10px;
  text-decoration:none;
  text-align:center;
  width:140px;
  transition:all .2s;
}

.nav-dropdown-card svg{
  opacity:.8;
}

.nav-dropdown-card-title{
  font-size:13px;
  font-weight:600;
  color:#fff;
}

.nav-dropdown-card-desc{
  font-size:11px;
  color:rgba(255,255,255,.4);
}

.nav-dropdown-card-guide{
  background:linear-gradient(135deg,rgba(78,86,255,.15),rgba(124,131,255,.08));
  color:#7c83ff;
}

.nav-dropdown-card-guide:hover{
  background:linear-gradient(135deg,rgba(78,86,255,.25),rgba(124,131,255,.15));
}

.nav-dropdown-card-guide svg{
  color:#7c83ff;
}

.nav-dropdown-card-updates{
  background:linear-gradient(135deg,rgba(167,139,250,.12),rgba(78,86,255,.08));
  color:#a78bfa;
}

.nav-dropdown-card-updates:hover{
  background:linear-gradient(135deg,rgba(167,139,250,.22),rgba(78,86,255,.15));
}

.nav-dropdown-card-updates svg{
  color:#a78bfa;
}

.nav-dropdown-col{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:0 4px;
}

.nav-dropdown-forwho{
  min-width:auto;
  padding:6px;
  width:0;
  min-width:min-content;
}

.nav-dropdown-forwho-grid{
  display:grid;
  grid-template-columns:max-content max-content;
  gap:0;
}

.nav-dropdown-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:8px 8px 4px;
  border-top:1px solid var(--color-border);
  margin-top:6px;
  max-width:100%;
}

.nav-dropdown-tag{
  font-size:12px;
  font-weight:500;
  color:rgba(255,255,255,.35);
  padding:4px 10px;
  border-radius:6px;
  background:rgba(255,255,255,.04);
  transition:all .15s;
  cursor:pointer;
}

.nav-dropdown-tag:hover{
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.6);
}

.nav-dropdown-col-title{
  font-size:11px;
  font-weight:600;
  color:rgba(255,255,255,.3);
  text-transform:uppercase;
  letter-spacing:.05em;
  padding:6px 12px 8px;
}

.header-right-group{
  display:flex;
  align-items:center;
  gap:5px;
  flex-shrink:0;
}

.header-right{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.header-download-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  line-height:0;
}

.header-download-btn svg{
  width:16px;
  height:16px;
  flex-shrink:0;
}

.header-login{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  padding:8px 14px;
  border-radius:9px;
  transition:color .15s,background .15s;
}

.header-login:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.header-cta{
  background:var(--color-primary);
  border:none;
  border-radius:9px;
  color:#fff;
  font-family:var(--font-family);
  font-size:14px;
  font-weight:600;
  padding:8px 18px;
  cursor:pointer;
  transition:background .15s;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
}

.header-cta:hover{
  background:var(--color-primary-hover);
}

.header-user-wrap{
  display:none;
  background:var(--color-surface);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-radius:12px;
  padding:4px;
}

.header-user-wrap.visible{
  display:block;
}

.header-user{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 14px;
  border-radius:9px;
  text-decoration:none;
  color:var(--color-text-muted);
  cursor:pointer;
  transition:color .15s,background .15s;
}

.header-user:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.header-avatar{
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--color-primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:700;
  color:#fff;
  overflow:hidden;
  flex-shrink:0;
}

.header-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.header-username{
  font-size:14px;
  font-weight:500;
  max-width:200px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.header-search-wrap{
  background:var(--color-surface);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-radius:12px;
  padding:4px;
}

.header-search-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  line-height:0;
  border-radius:9px;
  border:none;
  background:transparent;
  color:var(--color-text-muted);
  cursor:pointer;
  transition:color .15s,background .15s;
}

.header-search-btn:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.header-search-btn svg{
  width:16px;
  height:16px;
  flex-shrink:0;
}

.header-auth{
  display:flex;
  align-items:center;
  background:var(--color-surface);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-radius:12px;
  padding:4px;
  gap:0;
}

.header-extras{
  position:relative;
  display:flex;
  align-items:center;
  border-radius:12px;
  padding:4px;
  gap:0;
  margin-left:8px;
}

.header-extras::before{
  content:'';
  position:absolute;
  inset:0;
  background:var(--color-surface);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-radius:12px;
  z-index:-1;
}

.header-extras-btn{
  display:flex;
  align-items:center;
  gap:3px;
  color:var(--color-text-muted);
  font-size:14px;
  font-weight:500;
  font-family:var(--font-family);
  padding:8px 14px;
  border-radius:9px;
  border:none;
  background:transparent;
  cursor:pointer;
  transition:color .15s,background .15s;
  white-space:nowrap;
}

.header-extras-btn:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.header-extras-btn svg{
  width:12px;
  height:12px;
  opacity:.45;
  flex-shrink:0;
  transition:opacity .15s,transform .2s;
}

.header-extras-btn:hover svg{
  opacity:.7;
}

.header-theme-btn{
  padding:9px 10px;
  line-height:0;
}

.header-theme-btn svg{
  width:16px;
  height:16px;
}

.theme-icon{
  display:none;
}

.theme-icon.active{
  display:block;
}

.header-lang-dropdown{
  position:relative;
}

.header-lang-dropdown:hover #lang-trigger svg,
.header-lang-dropdown.open #lang-trigger svg{
  transform:rotate(180deg);
  opacity:.7;
}

.header-lang-menu{
  position:absolute;
  right:0;
  top:100%;
  padding-top:8px;
  min-width:180px;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transform:translateY(-6px);
  transition:all .18s;
}

.header-lang-menu-inner{
  padding:3px;
  background:var(--color-surface);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid var(--color-border);
  border-radius:12px;
  box-shadow:0 16px 40px rgba(0,0,0,.3);
  display:flex;
  flex-direction:column;
  gap:2px;
  max-height:380px;
  overflow-y:auto;
}

.header-lang-dropdown:hover .header-lang-menu,
.header-lang-dropdown.open .header-lang-menu{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.header-lang-item{
  width:100%;
  display:flex;
  align-items:center;
  padding:8px 10px;
  border:none;
  background:transparent;
  border-radius:8px;
  color:var(--color-text-muted);
  font-size:13px;
  font-weight:500;
  font-family:var(--font-family);
  cursor:pointer;
  transition:all .15s;
}

.header-lang-item:hover{
  background:rgba(255,255,255,.05);
  color:#fff;
}

.header-lang-item.active{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.header-lang-sep{
  height:1px;
  background:var(--color-surface-hover);
  margin:3px 10px;
  flex-shrink:0;
}

.faq{
  max-width:1440px;
  margin:0 auto;
  padding:80px 0;
}

.faq-label{
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.35);
  margin-bottom:12px;
}

.faq-title{
  font-size:40px;
  font-weight:600;
  color:#fff;
  line-height:1.2;
  margin-bottom:16px;
}

.faq-desc{
  font-size:16px;
  line-height:1.6;
  color:var(--color-text-muted);
  margin-bottom:48px;
  max-width:500px;
}

.faq-list{
  width:100%;
}

.faq-item{
  border-bottom:1px solid rgba(255,255,255,.08);
}

.faq-question{
  display:flex;
  align-items:center;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap:16px;
  padding:24px 0;
  cursor:pointer;
  background:none;
  border:none;
  width:100%;
  text-align:left;
  font-family:var(--font-family);
  font-size:17px;
  font-weight:500;
  color:#fff;
  transition:color .2s;
}

.faq-question:hover{
  color:var(--color-text-secondary);
}

.faq-icon{
  width:16px;
  height:16px;
  flex-shrink:0;
  color:#4e56ff;
  transition:transform .3s;
}

.faq-item.open .faq-icon{
  transform:rotate(180deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease,padding .3s ease;
}

.faq-item.open .faq-answer{
  max-height:200px;
}

.faq-answer-inner{
  padding-bottom:24px;
  font-size:15px;
  line-height:1.7;
  color:var(--color-text-muted);
}

.cta-block{
  max-width:1440px;
  margin:80px auto;
  padding:80px 60px;
  border-radius:10px;
  background:var(--color-bg-elevated);
  text-align:center;
  position:relative;
  overflow:hidden;
}

.cta-noise{
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.1;
  mix-blend-mode:soft-light;
}

.cta-vector{
  position:absolute;
  width:300%;
  height:300%;
  left:-100%;
  top:-80%;
  pointer-events:none;
  transform:rotate(-15deg);
}

.cta-vector-path{
  stroke-dasharray:5000;
  stroke-dashoffset:5000;
  animation:ctaDrawLine 8s ease infinite;
}

.cta-content{
  position:relative;
  z-index:1;
  max-width:600px;
  margin:0 auto;
}

.cta-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:20px;
  font-weight:600;
  color:#fff;
  margin-bottom:28px;
}

.cta-logo img{
  width:34px;
  height:34px;
}

.cta-title{
  font-size:48px;
  font-weight:600;
  color:#fff;
  line-height:1.15;
  margin-bottom:20px;
}

.cta-desc{
  font-size:16px;
  color:rgba(255,255,255,.75);
  line-height:1.6;
  margin-bottom:36px;
  max-width:480px;
  margin-left:auto;
  margin-right:auto;
}

.cta-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 32px;
  border-radius:10px;
  font-size:15px;
  font-weight:600;
  font-family:var(--font-family);
  text-decoration:none;
  transition:all .2s;
  cursor:pointer;
  border:none;
}

.cta-btn-primary{
  background:#fff;
  color:#111;
}

.cta-btn-primary:hover{
  background:rgba(255,255,255,.85);
}

.cta-btn-secondary{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.cta-btn-secondary:hover{
  background:rgba(255,255,255,.18);
}

.footer{
  padding:0 32px;
  border-top:1px solid var(--color-border);
}

.footer-main{
  padding:64px 0 48px;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
  gap:40px;
}

.footer-brand{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.footer-logo{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
}

.footer-logo img{
  height:26px;
  width:auto;
}

.footer-logo span{
  font-size:18px;
  font-weight:700;
  color:#fff;
  letter-spacing:-.02em;
}

.footer-brand-desc{
  font-size:13px;
  line-height:1.6;
  color:rgba(255,255,255,.35);
  max-width:260px;
}

.footer-brand-email{
  font-size:13px;
  color:rgba(255,255,255,.3);
  text-decoration:none;
  transition:color .15s;
}

.footer-brand-email:hover{
  color:rgba(255,255,255,.6);
}

.footer-socials{
  display:flex;
  gap:8px;
  margin-top:4px;
}

.footer-social{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.35);
  transition:all .15s;
  text-decoration:none;
}

.footer-social:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.footer-col-title{
  font-size:12px;
  font-weight:600;
  color:rgba(255,255,255,.3);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:16px;
}

.footer-col-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-col-link{
  font-size:13px;
  color:rgba(255,255,255,.45);
  text-decoration:none;
  transition:color .15s;
}

.footer-col-link:hover{
  color:#fff;
}

.footer-col-badge{
  display:inline-block;
  font-size:10px;
  font-weight:600;
  padding:1px 5px;
  border-radius:4px;
  background:rgba(78,86,255,.15);
  color:#7c83ff;
  margin-left:6px;
  vertical-align:middle;
}

.footer-legal-block{
  padding:40px 0;
  border-top:1px solid rgba(255,255,255,.04);
}

.footer-legal-title{
  font-size:16px;
  font-weight:700;
  color:#fff;
  margin-bottom:6px;
}

.footer-legal-desc{
  font-size:13px;
  color:rgba(255,255,255,.3);
  margin-bottom:20px;
}

.footer-legal-grid{
  display:flex;
  gap:32px;
  flex-wrap:wrap;
}

.footer-legal-item{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.footer-legal-label{
  font-size:11px;
  color:rgba(255,255,255,.2);
  text-transform:lowercase;
}

.footer-legal-value{
  font-size:13px;
  color:var(--color-text-muted);
}

.footer-legal-value a{
  color:var(--color-text-muted);
  text-decoration:underline;
  text-underline-offset:2px;
  transition:color .15s;
}

.footer-legal-value a:hover{
  color:#fff;
}

.footer-bottom{
  padding:20px 0 28px;
  border-top:1px solid rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-bottom-left{
  display:flex;
  align-items:center;
  gap:20px;
}

.footer-bottom-link{
  font-size:12px;
  color:var(--color-text-faint);
  text-decoration:none;
  transition:color .15s;
}

.footer-bottom-link:hover{
  color:var(--color-text-muted);
}

.footer-copyright{
  font-size:12px;
  color:rgba(255,255,255,.15);
}

@keyframes blink{
  0%,100%{opacity:1}
  50%{opacity:0}
}

@keyframes aiOrbShift{
  0%{background-position:0% 50%;transform:scale(1)}
  50%{background-position:100% 50%;transform:scale(1.08)}
  100%{background-position:0% 50%;transform:scale(1)}
}

@keyframes ctaDrawLine{
  0%{stroke-dashoffset:5000}
  40%{stroke-dashoffset:0}
  50%{stroke-dashoffset:0}
  90%{stroke-dashoffset:-5000}
  100%{stroke-dashoffset:-5000}
}

/* ── Burger button (hidden on desktop) ── */
.header-burger-wrap{
  display:none;
}

/* ── Mobile menu (hidden by default) ── */
.mobile-menu{
  display:none;
}

@media(max-width:900px){
  .header{
    padding:0 16px;
  }

  .header-tagline-wrap{
    display:none;
  }

  .header-nav{
    display:none;
  }

  .header-extras{
    display:none;
  }

  .header-username{
    display:none;
  }

  /* Hide "Войти", keep only CTA */
  .header-login{
    display:none;
  }

  .header-search-wrap{
    display:none;
  }

  /* Burger button */
  .header-burger-wrap{
    display:flex;
    background:var(--color-surface);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-radius:12px;
    padding:4px;
    margin-left:8px;
  }

  .header-burger-btn{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    width:34px;
    height:34px;
    border:none;
    background:transparent;
    border-radius:9px;
    cursor:pointer;
    transition:background .15s;
    padding:0;
  }

  .header-burger-btn:hover{
    background:rgba(255,255,255,.08);
  }

  .burger-line{
    display:block;
    width:16px;
    height:1.5px;
    background:rgba(255,255,255,.5);
    border-radius:1px;
    transition:all .3s cubic-bezier(.4,0,.2,1);
    transform-origin:center;
  }

  .header-burger-btn.open .burger-line:nth-child(1){
    transform:translateY(5.5px) rotate(45deg);
  }
  .header-burger-btn.open .burger-line:nth-child(2){
    opacity:0;
    transform:scaleX(0);
  }
  .header-burger-btn.open .burger-line:nth-child(3){
    transform:translateY(-5.5px) rotate(-45deg);
  }

  /* Header solid bg when menu is open */
  .header.menu-open{
    background:var(--color-bg) !important;
  }

  /* Mobile menu panel */
  .mobile-menu{
    display:flex;
    flex-direction:column;
    position:fixed;
    top:var(--header-height);
    left:0;
    right:0;
    bottom:0;
    background:var(--color-bg);
    z-index:99;
    opacity:0;
    pointer-events:none;
    clip-path:inset(0 0 100% 0);
    transition:opacity .35s cubic-bezier(.4,0,.2,1), clip-path .4s cubic-bezier(.25,.46,.45,.94);
  }

  .mobile-menu:not(.open){
    visibility:hidden;
  }

  .mobile-menu.open{
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    clip-path:inset(0 0 0 0) !important;
  }

  @keyframes mmSlideIn{
    from{ opacity:0; transform:translateY(-12px); }
    to{ opacity:1; transform:translateY(0); }
  }

  .mobile-menu.open .mobile-menu-nav > *{
    animation:mmSlideIn .3s cubic-bezier(.25,.46,.45,.94) both;
  }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(1){ animation-delay:.04s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(2){ animation-delay:.07s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(3){ animation-delay:.10s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(4){ animation-delay:.13s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(5){ animation-delay:.16s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(6){ animation-delay:.19s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(7){ animation-delay:.22s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(8){ animation-delay:.25s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(9){ animation-delay:.28s }
  .mobile-menu.open .mobile-menu-nav > *:nth-child(10){ animation-delay:.31s }

  .mobile-menu.open .mobile-menu-extras{
    animation:mmSlideIn .3s .28s cubic-bezier(.25,.46,.45,.94) both;
  }

  .mobile-menu.open .mobile-menu-bottom{
    animation:mmSlideIn .3s .1s cubic-bezier(.25,.46,.45,.94) both;
  }

  .mobile-menu-scroll{
    flex:1;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:16px 16px;
    overscroll-behavior:contain;
  }

  .mobile-menu-nav{
    display:flex;
    flex-direction:column;
    gap:2px;
  }

  .mobile-menu-link{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 0;
    border-radius:0;
    font-size:15px;
    font-weight:500;
    color:var(--color-text-secondary);
    text-decoration:none;
    transition:background .15s, color .15s;
  }

  .mobile-menu-link svg{
    opacity:.45;
    flex-shrink:0;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link:active{
    color:#fff;
  }

  .mobile-menu-link:hover svg,
  .mobile-menu-link:active svg{
    opacity:.7;
  }

  /* ── Collapsible groups ── */
  .mobile-menu-group{
    border-radius:12px;
  }

  .mobile-menu-group-btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding:14px 0;
    margin:0;
    border:none;
    background:transparent;
    border-radius:0;
    cursor:pointer;
    transition:all .15s;
    font-family:var(--font-family);
    -webkit-appearance:none;
    appearance:none;
  }

  .mobile-menu-group-left{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:15px;
    font-weight:500;
    color:var(--color-text-secondary);
  }

  .mobile-menu-group-left svg{
    opacity:.45;
    flex-shrink:0;
  }

  .mobile-menu-group-btn:hover,
  .mobile-menu-group-btn:active{
    /* no bg */
  }

  .mobile-menu-group-btn:hover .mobile-menu-group-left,
  .mobile-menu-group-btn:active .mobile-menu-group-left{
    color:#fff;
  }

  .mobile-menu-group-btn:hover .mobile-menu-group-left svg,
  .mobile-menu-group-btn:active .mobile-menu-group-left svg{
    opacity:.7;
  }

  .mobile-menu-chevron{
    color:rgba(255,255,255,.3);
    transition:transform .25s cubic-bezier(.4,0,.2,1);
    flex-shrink:0;
  }

  .mobile-menu-group.open .mobile-menu-chevron{
    transform:rotate(180deg);
  }

  .mobile-menu-group-content{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s cubic-bezier(.4,0,.2,1);
    padding-left:16px;
  }

  .mobile-menu-sub-label{
    font-size:11px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--color-text-faint);
    padding:12px 0 6px;
  }

  .mobile-menu-sub-label:first-child{
    padding-top:8px;
  }

  .mobile-menu-sub-link{
    display:block;
    padding:10px 0;
    border-radius:0;
    font-size:14px;
    font-weight:500;
    color:rgba(255,255,255,.55);
    text-decoration:none;
    transition:color .12s;
  }

  .mobile-menu-sub-link:hover,
  .mobile-menu-sub-link:active{
    color:#fff;
  }

  .mobile-menu-divider{
    display:none;
  }

  /* ── Bottom fixed area ── */
  .mobile-menu-bottom{
    padding:16px 16px;
    padding-bottom:max(16px, env(safe-area-inset-bottom));
    display:flex;
    gap:10px;
    background:var(--color-bg);
    flex-shrink:0;
  }

  .mobile-menu-login{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    padding:14px;
    border-radius:12px;
    background:var(--color-surface);
    color:rgba(255,255,255,.8);
    font-size:15px;
    font-weight:600;
    font-family:var(--font-family);
    text-decoration:none;
    transition:all .15s;
    border:none;
  }

  .mobile-menu-login:hover{
    background:var(--color-surface-hover);
    color:#fff;
  }

  .mobile-menu-cta{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1.5;
    padding:14px;
    border-radius:12px;
    background:var(--color-primary);
    color:#fff;
    font-size:15px;
    font-weight:600;
    font-family:var(--font-family);
    text-decoration:none;
    transition:background .15s;
  }

  .mobile-menu-cta:hover{
    background:var(--color-primary-hover);
  }

  /* ── Mobile menu: language & theme ── */
  .mobile-menu-extras{
    display:flex;
    align-items:stretch;
    gap:5px;
    padding:16px 0 8px;
    margin-top:8px;
  }

  .mobile-extras-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex:1;
    color:var(--color-text-muted);
    font-size:14px;
    font-weight:500;
    font-family:var(--font-family);
    padding:12px 14px;
    border-radius:10px;
    border:none;
    background:var(--color-surface);
    cursor:pointer;
    transition:color .15s,background .15s;
    white-space:nowrap;
    box-sizing:border-box;
  }

  .mobile-extras-btn:hover,
  .mobile-extras-btn:active{
    color:#fff;
    background:var(--color-surface-hover);
  }

  .mobile-extras-btn svg{
    width:14px;
    height:14px;
    opacity:.45;
    flex-shrink:0;
    transition:opacity .15s,transform .2s;
  }

  .mobile-theme-btn{
    line-height:0;
  }

  .mobile-theme-btn svg{
    width:16px;
    height:16px;
    opacity:.6;
  }

  .mobile-lang-dropdown{
    position:relative;
  }

  .mobile-lang-menu{
    display:none;
    position:absolute;
    bottom:100%;
    left:0;
    margin-bottom:6px;
    background:rgba(20,21,30,.96);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    padding:6px;
    min-width:180px;
    max-height:260px;
    overflow-y:auto;
    z-index:100;
  }

  .mobile-lang-dropdown.open .mobile-lang-menu{
    display:block;
  }

  .mobile-lang-dropdown.open .mobile-extras-btn svg{
    transform:rotate(180deg);
  }

  .mobile-lang-item{
    display:block;
    width:100%;
    padding:9px 12px;
    border:none;
    background:transparent;
    color:rgba(255,255,255,.6);
    font-size:14px;
    font-weight:500;
    font-family:var(--font-family);
    border-radius:8px;
    cursor:pointer;
    text-align:left;
    transition:background .12s,color .12s;
  }

  .mobile-lang-item:hover,
  .mobile-lang-item:active{
    background:rgba(255,255,255,.08);
    color:#fff;
  }

  .mobile-lang-item.active{
    color:#fff;
    background:rgba(78,86,255,.25);
  }

  .mobile-lang-sep{
    height:1px;
    background:var(--color-surface);
    margin:4px 6px;
  }

  .faq{
    padding:60px 0;
  }

  .faq-title{
    font-size:28px;
  }

  .faq-question{
    font-size:15px;
  }

  .cta-block{
    margin:60px auto;
    padding:56px 24px;
  }

  .cta-title{
    font-size:32px;
  }

  .footer-main{
    grid-template-columns:1fr 1fr;
    gap:32px;
  }

  .footer-brand{
    grid-column:1/-1;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
}
