/* ============================================================
   VidaDigital — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07080F;
  --surface:   #0F1120;
  --card:      #13162B;
  --border:    rgba(255,255,255,0.08);
  --accent:    #6C6BFF;
  --accent2:   #B06CFF;
  --gold:      #FFD166;
  --text:      #F0EFFF;
  --muted:     rgba(240,239,255,0.5);
  --pill:      rgba(108,107,255,0.15);
  --success:   #1D9E75;
  --danger:    #E24B4A;
  --r:         14px;
  --r-sm:      8px;
  --r-lg:      20px;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(108,107,255,0.4); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.grad { background: linear-gradient(135deg,#6C6BFF 20%,#B06CFF 60%,#FF6CB0 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.grad-purple { background: linear-gradient(135deg,#6C6BFF,#B06CFF); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; transition: all 0.2s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg,#6C6BFF,#B06CFF);
  color: #fff; box-shadow: 0 4px 24px rgba(108,107,255,0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(108,107,255,0.5); }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: rgba(108,107,255,0.4); background: var(--pill); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Tags / Badges ── */
.tag {
  display: inline-flex; padding: 5px 14px; border-radius: 100px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  background: var(--pill); color: #a09fff;
  border: 1px solid rgba(108,107,255,0.2);
}
.badge {
  display: inline-flex; padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.badge-green { background: rgba(29,158,117,0.15); color: #4ECBA0; border: 1px solid rgba(29,158,117,0.2); }
.badge-purple { background: var(--pill); color: #a09fff; border: 1px solid rgba(108,107,255,0.2); }
.badge-red { background: rgba(226,75,74,0.15); color: #F08080; border: 1px solid rgba(226,75,74,0.2); }
.badge-gold { background: rgba(255,209,102,0.15); color: #FFD166; border: 1px solid rgba(255,209,102,0.2); }

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; color: var(--muted); font-weight: 400; }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(240,239,255,0.25); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 12px; color: #F08080; margin-top: 4px; }
.form-hint { font-size: 12px; color: var(--muted); opacity: 0.6; margin-top: 4px; }

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card-hover { transition: border-color 0.25s, transform 0.25s; cursor: pointer; }
.card-hover:hover { border-color: rgba(108,107,255,0.3); transform: translateY(-3px); }

/* ── Navigation ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  background: rgba(7,8,15,0.9);
  backdrop-filter: blur(16px);
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px;
  letter-spacing: -0.5px; display: flex; align-items: center; gap: 2px;
}
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; cursor: pointer;
}
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; font-size: 22px; }

/* ── Hero ── */
.hero {
  text-align: center; padding: 90px 48px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108,107,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pill); border: 1px solid rgba(108,107,255,0.3);
  padding: 6px 16px; border-radius: 100px; font-size: 13px;
  color: #a09fff; margin-bottom: 28px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(44px,6vw,76px); font-weight: 800; letter-spacing: -2px; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; font-weight: 300; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: var(--muted); opacity: 0.6; }

/* ── Section ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }
.section-title { font-size: clamp(32px,4vw,48px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.1; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 480px; font-weight: 300; line-height: 1.7; }

/* ── Stats Ticker ── */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 80px; animation: tickerMove 25s linear infinite; width: max-content; }
@keyframes tickerMove { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.ticker-num { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; }
.ticker-label { font-size: 13px; color: var(--muted); }
.ticker-sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; opacity: 0.5; }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feat-icon { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--pill); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 20px; }
.feat-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-desc { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; position: relative; transition: transform 0.2s; }
.price-card:hover { transform: translateY(-4px); }
.price-card.popular { border-color: rgba(108,107,255,0.5); background: linear-gradient(160deg,#0F1120,#15153A); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,#6C6BFF,#B06CFF); color: #fff; font-size: 11px; font-weight: 600; font-family: 'Syne', sans-serif; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 16px; }
.plan-price { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 6px; }
.plan-price sup { font-size: 22px; font-weight: 600; vertical-align: top; margin-top: 8px; display: inline-block; }
.plan-cycle { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan-divider { height: 1px; background: var(--border); margin: 20px 0; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan-features li { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; font-weight: 300; }
.plan-check { width: 16px; height: 16px; border-radius: 50%; background: rgba(108,107,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; color: #a09fff; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testi-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); font-size: 14px; }
.testi-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; font-weight: 300; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.t-name { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.t-role { font-size: 12px; color: var(--muted); }

/* ── Dashboard Layout ── */
.dashboard { display: flex; min-height: calc(100vh - var(--nav-h)); }
.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 24px 0; position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.sidebar-section { padding: 0 16px; margin-bottom: 24px; }
.sidebar-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); opacity: 0.5; margin-bottom: 8px; padding: 0 8px; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--muted); transition: all 0.15s; cursor: pointer;
}
.sidebar-link:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.sidebar-link.active { background: var(--pill); color: var(--accent); }
.sidebar-link .icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-link .count { margin-left: auto; background: var(--pill); color: #a09fff; font-size: 11px; padding: 2px 7px; border-radius: 100px; }
.main-content { flex: 1; padding: 32px; overflow-y: auto; }

/* ── Dashboard Cards ── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.stat-value { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -1px; margin-bottom: 6px; }
.stat-change { font-size: 12px; display: flex; align-items: center; gap: 4px; }
.stat-up { color: #4ECBA0; }
.stat-down { color: #F08080; }

/* ── Video Grid ── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: transform 0.2s, border-color 0.2s; }
.video-card:hover { transform: translateY(-3px); border-color: rgba(108,107,255,0.3); }
.video-thumb { aspect-ratio: 16/9; background: var(--surface); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.video-thumb-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.play-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(108,107,255,0.8); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; transition: transform 0.2s; }
.video-card:hover .play-btn { transform: scale(1.1); }
.video-status { position: absolute; top: 10px; right: 10px; }
.video-info { padding: 16px; }
.video-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.video-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
.video-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px); z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px; width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto; position: relative;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── Toast ── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 18px; font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.4); animation: toastIn 0.3s ease; min-width: 280px; }
.toast.success { border-color: rgba(29,158,117,0.4); }
.toast.error { border-color: rgba(226,75,74,0.4); }
.toast-icon { font-size: 16px; }
.toast-msg { flex: 1; }
@keyframes toastIn { from{transform:translateX(40px);opacity:0} to{transform:translateX(0);opacity:1} }
@keyframes toastOut { from{transform:translateX(0);opacity:1} to{transform:translateX(40px);opacity:0} }

/* ── Loading / Spinner ── */
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; }
.spinner-sm { width: 18px; height: 18px; border-width: 2px; }
@keyframes spin { to{transform:rotate(360deg)} }

.loading-overlay { position: absolute; inset: 0; background: rgba(7,8,15,0.8); display: flex; align-items: center; justify-content: center; border-radius: var(--r-lg); z-index: 10; }

/* ── Progress ── */
.progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg,var(--accent),var(--accent2)); border-radius: 3px; transition: width 0.4s ease; }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab-btn { padding: 10px 18px; font-size: 14px; color: var(--muted); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.15s; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Avatar Styles ── */
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.avatar-item { border: 2px solid var(--border); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: all 0.2s; aspect-ratio: 3/4; position: relative; }
.avatar-item:hover { border-color: rgba(108,107,255,0.4); transform: scale(1.02); }
.avatar-item.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,107,255,0.2); }
.avatar-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; position: relative; }
.av-head { width: 50px; height: 50px; border-radius: 50%; position: relative; z-index: 1; }
.av-body { width: 70px; height: 46px; border-radius: 35px 35px 0 0; position: absolute; bottom: 0; }
.avatar-name-tag { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 12px; font-family: 'Syne', sans-serif; font-weight: 600; color: rgba(255,255,255,0.9); text-shadow: 0 1px 6px rgba(0,0,0,0.5); }

/* ── Speaking animation ── */
.speaking { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.sp-bar { width: 3px; background: var(--accent); border-radius: 2px; animation: speakAnim 1s ease-in-out infinite; }
.sp-bar:nth-child(1){height:8px;animation-delay:0s}
.sp-bar:nth-child(2){height:16px;animation-delay:.15s}
.sp-bar:nth-child(3){height:12px;animation-delay:.3s}
.sp-bar:nth-child(4){height:18px;animation-delay:.45s}
.sp-bar:nth-child(5){height:10px;animation-delay:.6s}
@keyframes speakAnim { 0%,100%{transform:scaleY(.4);opacity:.5} 50%{transform:scaleY(1);opacity:1} }

/* ── CTA Section ── */
.cta-section { padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:600px; height:400px; background:radial-gradient(ellipse,rgba(108,107,255,0.1) 0%,transparent 70%); pointer-events:none; }
.cta-section h2 { font-size: clamp(36px,5vw,60px); font-weight: 800; letter-spacing: -2px; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--muted); margin-bottom: 36px; font-weight: 300; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 12px; max-width: 260px; font-weight: 300; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); opacity: 0.6; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 13px; color: var(--muted); opacity: 0.4; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 13px; color: var(--muted); opacity: 0.5; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; }

/* ── Logos ── */
.logos-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logo-pill { padding: 8px 22px; border: 1px solid var(--border); border-radius: 100px; font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600; color: rgba(240,239,255,0.22); letter-spacing: 0.5px; }

/* ── Auth pages ── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.auth-wrap::before { content:''; position:absolute; top:-200px; left:50%; transform:translateX(-50%); width:800px; height:800px; background:radial-gradient(circle,rgba(108,107,255,0.08) 0%,transparent 60%); pointer-events:none; }
.auth-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; width: 100%; max-width: 440px; position: relative; z-index: 1; }
.auth-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 28px; text-align: center; }
.auth-title { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; font-weight: 300; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.auth-divider::before, .auth-divider::after { content:''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-footer a { color: var(--accent); }
.auth-footer a:hover { text-decoration: underline; }

/* ── Page-specific ── */
.page-header { padding: 40px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.page-title { font-size: 28px; font-weight: 800; letter-spacing: -1px; margin-bottom: 6px; }
.page-sub { font-size: 14px; color: var(--muted); font-weight: 300; }

/* ── Table ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; }
thead th { background: rgba(255,255,255,0.03); padding: 12px 16px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); border-bottom: 1px solid var(--border); font-weight: 500; white-space: nowrap; }
tbody td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 14px; color: var(--muted); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Alerts ── */
.alert { padding: 14px 16px; border-radius: var(--r-sm); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid; }
.alert-info { background: rgba(108,107,255,0.08); border-color: rgba(108,107,255,0.2); color: #a09fff; }
.alert-success { background: rgba(29,158,117,0.08); border-color: rgba(29,158,117,0.2); color: #4ECBA0; }
.alert-danger { background: rgba(226,75,74,0.08); border-color: rgba(226,75,74,0.2); color: #F08080; }

/* ── Animations ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
@keyframes fadeIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.fade-in { animation: fadeIn 0.4s ease forwards; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .hero { padding: 60px 20px 40px; }
  .section { padding: 56px 0; }
  .features-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dashboard { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; top: 0; border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .form-row { grid-template-columns: 1fr; }
  .logos-row { gap: 20px; }
}
@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-box { padding: 28px 20px; }
  .modal { padding: 24px 20px; }
  .main-content { padding: 20px 16px; }
}
