/* ================================================================
   Voicy.in — Main CSS  (clean rewrite)
================================================================ */

/* ── Reset & Variables ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:       #08080a;
  --surface:  #111115;
  --surface2: #18181e;
  --surface3: #1e1e26;
  --border:   #26262f;
  --border2:  #38383f;
  --text:     #f4f4f6;
  --text2:    #9898a8;
  --text3:    #606070;
  --accent:   #FF4D00;
  --accent-h: #FF6B2B;
  --blue:     #0ea5e9;
  --purple:   #9333ea;
  --green:    #22c55e;
  --yellow:   #f59e0b;
  --red:      #ef4444;
  --font:     'DM Sans', system-ui, sans-serif;
  --mono:     'Space Mono', monospace;
  --radius:   10px;
  --radius-lg:16px;
  --shadow:   0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:0 12px 48px rgba(0,0,0,.6);
  --transition:.18s ease;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; letter-spacing: -2.5px; line-height: 1.04; }
h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.5px; }
h4 { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
p  { color: var(--text2); }

/* ── Layout ─────────────────────────────────────────────────── */
.page     { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section  { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-ghost, .btn-danger, .btn-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-sm   { padding: 8px 16px; font-size: 13px; }
.btn-lg   { padding: 15px 32px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-primary   { background: var(--accent); color: #fff; }
.btn-primary:hover   { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,77,0,.35); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border2); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text2); padding: 8px 14px; }
.btn-ghost:hover { background: var(--surface2); color: var(--text); }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0284c7; transform: translateY(-1px); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; }
button:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-orange { background: rgba(255,77,0,.12);  color: var(--accent);  border: 1px solid rgba(255,77,0,.25); }
.badge-blue   { background: rgba(14,165,233,.12); color: var(--blue);   border: 1px solid rgba(14,165,233,.25); }
.badge-purple { background: rgba(147,51,234,.12); color: var(--purple); border: 1px solid rgba(147,51,234,.25); }
.badge-green  { background: rgba(34,197,94,.12);  color: var(--green);  border: 1px solid rgba(34,197,94,.25); }
.badge-gray   { background: var(--surface2); color: var(--text3); border: 1px solid var(--border); }
.badge-red    { background: rgba(239,68,68,.12);  color: var(--red);    border: 1px solid rgba(239,68,68,.25); }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,10,.9); backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 200;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.logo-text .dot { color: var(--accent); }
.logo-text .tld { color: var(--text3); }
.nav-links { display: flex; align-items: center; list-style: none; gap: 2px; }
.nav-link { color: var(--text2); padding: 7px 13px; border-radius: 7px; font-size: 14px; font-weight: 500; transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface2); }
.admin-link { color: var(--yellow) !important; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-icons { display: none; align-items: center; gap: 4px; }
.nav-login-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; color: var(--text2); transition: all var(--transition); }
.nav-login-icon:hover { background: var(--surface2); color: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; }
.nav-mobile-auth { display: none; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group  { display: flex; flex-direction: column; gap: 7px; }
.form-label  { font-size: 13px; font-weight: 600; color: var(--text2); }
.form-input, .form-select, .form-textarea {
  background: var(--surface2); border: 1.5px solid var(--border);
  color: var(--text); padding: 10px 14px; border-radius: var(--radius);
  font-size: 15px; transition: border-color var(--transition); width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
input[type=range] { width: 100%; accent-color: var(--accent); cursor: pointer; height: 4px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card-pad { padding: 28px; }
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-body { padding: 24px; }
.card-footer { padding: 14px 24px; border-top: 1px solid var(--border); background: var(--surface2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); display: flex; align-items: center; justify-content: space-between; }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert { padding: 13px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 500; margin-bottom: 20px; border: 1px solid; }
.alert-success { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); color: var(--green); }
.alert-error   { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.3);  color: var(--red); }
.alert-info    { background: rgba(14,165,233,.1); border-color: rgba(14,165,233,.3); color: var(--blue); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { text-align: center; padding: 110px 24px 70px; background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255,77,0,.14) 0%, transparent 65%); }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,77,0,.1); border: 1px solid rgba(255,77,0,.22); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 24px; }
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-title { margin-bottom: 20px; }
.hero-accent { color: var(--accent); }
.hero-sub { font-size: clamp(15px, 2vw, 19px); color: var(--text2); max-width: 600px; margin: 0 auto 36px; line-height: 1.65; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hstat { text-align: center; }
.hstat-n { display: block; font-size: 28px; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.hstat-l { display: block; font-size: 12px; color: var(--text3); font-weight: 500; margin-top: 2px; }
.hstat-div { width: 1px; height: 36px; background: var(--border2); }

/* ── Section headings ───────────────────────────────────────── */
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub   { text-align: center; font-size: 17px; color: var(--text2); margin-bottom: 0; }

/* ── Language slider ─────────────────────────────────────────── */
.lang-slider-outer { position: relative; margin-top: 40px; padding: 0 32px; }
.lang-slider-mask  { overflow: hidden; }
.lang-slider-track { display: flex; gap: 16px; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.lang-slider-track .india-lang-card {
  flex: 0 0 calc((100% - 64px) / 5);
  min-width: 0;
}
.india-lang-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 14px;
  text-align: center; transition: all var(--transition);
  border-top-width: 3px;
}
.india-lang-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ilang-name   { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ilang-script { font-size: 20px; font-weight: 500; line-height: 1.4; margin-bottom: 8px; }
.ilang-voices { font-size: 11px; color: var(--text3); font-weight: 500; }
.lang-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--surface2); border: 1.5px solid var(--border2); color: var(--text); font-size: 20px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: all var(--transition); box-shadow: var(--shadow); padding: 0; line-height: 1; }
.lang-slider-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.lang-slider-prev { left: 0; }
.lang-slider-next { right: 0; }
.lang-slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.lang-slider-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border2); cursor: pointer; transition: all .3s; border: none; padding: 0; }
.lang-slider-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ── How it works ────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 0;
  max-width: 960px;
  margin: 48px auto 0;
}
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 24px; text-align: center;
  height: 100%;
}
.step-card h3 { margin-bottom: 10px; font-size: 17px; color: var(--text); }
.step-card p  { font-size: 14px; color: var(--text2); line-height: 1.7; margin: 0; }
.step-num {
  width: 54px; height: 54px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
  margin: 0 auto 20px; box-shadow: 0 6px 20px rgba(255,77,0,.4);
}
.step-arrow { display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--accent); opacity: .6; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.testi-stars { color: #f59e0b; font-size: 15px; margin-bottom: 12px; letter-spacing: 3px; }
.testi-text  { font-size: 14px; color: var(--text2); line-height: 1.75; margin-bottom: 20px; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-role { font-size: 11px; color: var(--text3); line-height: 1.5; }

/* ── Brands row ──────────────────────────────────────────────── */
.brands-row   { text-align: center; padding-top: 32px; }
.brands-label { font-size: 11px; color: var(--text3); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.brands-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brand-chip   { background: var(--surface); border: 1px solid var(--border); border-radius: 40px; padding: 9px 20px; font-size: 13px; font-weight: 500; color: var(--text2); transition: all var(--transition); }
.brand-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; margin-top: 48px; }
.pricing-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 32px; position: relative; transition: transform var(--transition); }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular { border-color: var(--accent); }
.pricing-card.popular::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 3px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.plan-name   { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.plan-price  { font-size: 56px; font-weight: 800; letter-spacing: -3px; line-height: 1; }
.plan-price sup { font-size: 20px; vertical-align: super; font-weight: 600; letter-spacing: 0; }
.plan-period { font-size: 13px; color: var(--text3); margin-top: 4px; margin-bottom: 12px; }
.plan-chars  { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 20px; }
.plan-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 14px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text3); margin-top: 14px; max-width: 220px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); text-transform: none; letter-spacing: 0; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 14px; color: var(--text3); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { color: var(--text3); font-size: 16px; transition: color var(--transition); }
.social-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text3); flex-wrap: wrap; gap: 8px; }

/* ── Studio layout ───────────────────────────────────────────── */
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 24px;
  padding: 32px 0 80px;
  align-items: start;
}
.studio-main    { min-width: 0; }
.studio-sidebar { display: flex; flex-direction: column; gap: 0; }
.studio-sidebar > * { margin-bottom: 16px; }
.studio-sidebar > *:last-child { margin-bottom: 0; }

.studio-main .card-body { padding: 0; }
.form-textarea { resize: vertical; }

/* Language tabs in studio */
.lang-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--border); }
.lang-tab { background: var(--surface2); border: 1.5px solid transparent; color: var(--text2); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.lang-tab:hover { color: var(--text); border-color: var(--border2); }
.lang-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Voice grid */
.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; padding: 14px 16px; max-height: 340px; overflow-y: auto; }
.voice-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 12px; cursor: pointer; transition: all var(--transition); }
.voice-card:hover   { border-color: var(--border2); transform: translateY(-1px); }
.voice-card.selected { border-color: var(--accent); background: rgba(255,77,0,.06); }
.voice-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 10px; }
.voice-plan-badge { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-top: 5px; }
.vp-free    { background: rgba(34,197,94,.1);   color: var(--green); }
.vp-creator { background: rgba(255,77,0,.1);    color: var(--accent); }
.vp-studio  { background: rgba(147,51,234,.1);  color: var(--purple); }

/* Gender buttons */
.gender-btn { padding: 6px 18px; border-radius: 24px; border: 1.5px solid var(--border2); background: transparent; color: var(--text2); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.gender-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.gender-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent); }

/* Controls */
.ctrl-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); margin-bottom: 8px; }
.ctrl-row   { display: flex; align-items: center; gap: 10px; }
.ctrl-val   { font-size: 13px; font-weight: 700; color: var(--accent); font-family: var(--mono); min-width: 36px; text-align: right; }

/* Waveform */
.waveform-container { height: 64px; background: var(--surface2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 3px; padding: 0 12px; overflow: hidden; }
.wave-bar { width: 3px; border-radius: 2px; background: var(--accent); opacity: .25; transition: height .1s; }
.wave-bar.active { opacity: 1; animation: waveAnim 1.1s ease-in-out infinite; }
@keyframes waveAnim { 0%,100%{height:6px;opacity:.5} 50%{height:32px;opacity:1} }

/* Player */
.audio-player-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface2); border-radius: var(--radius); }
.play-pause-btn   { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); border: none; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; color: #fff; cursor: pointer; transition: all var(--transition); }
.play-pause-btn:hover { background: var(--accent-h); transform: scale(1.08); }
.progress-track { flex: 1; height: 4px; background: var(--border2); border-radius: 4px; cursor: pointer; position: relative; }
.progress-fill  { height: 100%; background: var(--accent); border-radius: 4px; width: 0%; transition: width .15s; pointer-events: none; }
.time-label     { font-size: 11px; color: var(--text3); font-family: var(--mono); white-space: nowrap; }
.action-row     { display: flex; gap: 8px; }
.action-row .btn-secondary, .action-row .btn-blue { flex: 1; justify-content: center; padding: 9px 10px; font-size: 13px; }

/* Generate button */
.generate-btn { width: 100%; padding: 15px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 700; transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.generate-btn:hover:not(:disabled) { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,77,0,.4); }
.generate-btn .spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Usage bar */
.usage-bar-wrap { background: var(--surface2); border-radius: 4px; height: 8px; overflow: hidden; margin-top: 4px; }
.usage-bar      { height: 100%; border-radius: 4px; background: var(--accent); transition: width .5s; }
.usage-bar.full { background: var(--red); }

/* ── Dashboard ───────────────────────────────────────────────── */
.dash-layout    { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 40px 0 80px; }
.dash-sidebar   { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 12px; height: fit-content; position: sticky; top: 80px; }
.dash-nav-item  { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--text2); font-size: 14px; font-weight: 500; cursor: pointer; transition: all var(--transition); border: none; background: none; width: 100%; text-align: left; }
.dash-nav-item:hover, .dash-nav-item.active { background: var(--surface2); color: var(--accent); }
.gen-table th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.gen-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text2); vertical-align: middle; }
.gen-table { width: 100%; border-collapse: collapse; }
.truncate { max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ── Auth ────────────────────────────────────────────────────── */
.auth-page  { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255,77,0,.1) 0%, transparent 65%); }
.auth-card  { width: 100%; max-width: 440px; }
.auth-card .card-body { padding: 40px; }
.auth-title { font-size: 28px; font-weight: 800; letter-spacing: -1px; margin-bottom: 4px; }
.auth-sub   { font-size: 14px; color: var(--text2); margin-bottom: 32px; }
.auth-footer-text { text-align: center; font-size: 14px; color: var(--text3); margin-top: 20px; }
.auth-footer-text a { color: var(--accent); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text3); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Admin ───────────────────────────────────────────────────── */
.admin-layout   { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar  { background: var(--surface); border-right: 1px solid var(--border); padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-nav-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 7px; color: var(--text2); font-size: 14px; font-weight: 500; transition: all var(--transition); border: none; background: none; cursor: pointer; width: 100%; text-align: left; text-decoration: none; }
.admin-nav-link:hover, .admin-nav-link.active { background: var(--surface2); color: var(--accent); }
.admin-content  { background: var(--bg); padding: 36px; overflow-y: auto; }
.admin-header   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.stat-cards     { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.stat-card      { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.stat-card h3   { font-size: 30px; font-weight: 800; letter-spacing: -1.5px; }
.data-table     { width: 100%; border-collapse: collapse; }
.data-table th  { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table td  { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text2); vertical-align: middle; }
.data-table tr:hover td { background: var(--surface2); }

/* ── Toast ───────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 8px; z-index: 9999; }
.toast { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; font-size: 14px; font-weight: 500; max-width: 320px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); animation: slideIn .3s ease; }
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--blue); }
@keyframes slideIn { from { transform: translateX(100%); opacity:0; } to { transform: translateX(0); opacity:1; } }

/* ── Go to top ───────────────────────────────────────────────── */
#goTopBtn { position: fixed; bottom: 28px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; border: none; font-size: 20px; cursor: pointer; box-shadow: 0 4px 20px rgba(255,77,0,.5); opacity: 0; transform: translateY(12px); transition: all .3s; z-index: 998; display: flex; align-items: center; justify-content: center; }
#goTopBtn.show { opacity: 1; transform: translateY(0); }
#goTopBtn:hover { background: #e03d00; transform: translateY(-2px); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .studio-layout   { grid-template-columns: 1fr; }
  .studio-sidebar  { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .generate-btn-wrap { grid-column: 1/-1; }
  .pricing-grid    { grid-template-columns: 1fr; max-width: 400px; margin: 48px auto 0; }
  .stat-cards      { grid-template-columns: repeat(2,1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .dash-layout     { grid-template-columns: 1fr; }
  .admin-layout    { grid-template-columns: 1fr; }
  .lang-slider-track .india-lang-card { flex: 0 0 calc((100% - 32px) / 3); }
}
@media (max-width: 768px) {
  .nav-inner { padding: 12px 16px; }
  .nav-links  { display: none; }
  .nav-actions { display: none; }
  .nav-mobile-icons { display: flex; }
  .hamburger  { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 61px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; z-index: 190; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .nav-links.open .nav-link { padding: 12px 14px; font-size: 15px; }
  .nav-mobile-auth { display: block; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
  .nav-mobile-auth .nav-link { padding: 12px 14px; font-size: 15px; }
  .nav-mobile-cta { display: block; width: 100%; text-align: center; margin-top: 8px; padding: 13px; font-size: 15px; }
  .hero { padding: 70px 16px 50px; }
  .section { padding: 56px 0; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 32px auto 0; }
  .step-arrow { transform: rotate(90deg); margin: 4px auto; display: flex; width: 100%; justify-content: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang-slider-track .india-lang-card { flex: 0 0 calc((100% - 16px) / 2); }
  .studio-layout { padding: 16px 0 40px; }
  .studio-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .lang-slider-track .india-lang-card { flex: 0 0 100%; }
  .hero-stats { gap: 16px; }
  .hstat-div  { display: none; }
}

/* ── Studio lang tabs (no visible scrollbar) ─────────────────── */
.studio-lang-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--border);
  scrollbar-width: none;
}
.studio-lang-tabs::-webkit-scrollbar { display: none; }

/* ── Force correct slider display ───────────────────────────── */
.lang-slider-mask { overflow: hidden; width: 100%; }
.lang-slider-track { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; }

/* ── Studio tabs inside voice grid ──────────────────────────── */
.studio-lang-tabs { display:flex; flex-wrap:wrap; gap:6px; padding:12px 4px 14px; grid-column:1/-1; }
#voiceGrid > .studio-lang-tabs { grid-column: 1 / -1; }
