/* ============================================================
   FrameVault – Brand Stylesheet (Light Theme)
   Professional video hosting for creators & teams
   Accent: Indigo #5b6cf7 · Background: White
   ============================================================ */

:root {
  --bg:             #ffffff;
  --surface:        #f8f9ff;
  --surface-2:      #f0f2fe;
  --surface-3:      #e5e8fc;
  --accent:         #5b6cf7;
  --accent-dim:     #4455e0;
  --accent-glow:    rgba(91, 108, 247, 0.14);
  --danger:         #dc2626;
  --warning:        #d97706;
  --text:           #0f0f1a;
  --text-muted:     #4b4b6a;
  --text-dim:       #9090b0;
  --text-secondary: #4b4b6a;
  --border:         #e5e7ef;
  --border-light:   #d0d3ec;
  --radius:         10px;
  --radius-lg:      18px;
  --shadow:         0 2px 16px rgba(91,108,247,.07);
  --shadow-lg:      0 8px 40px rgba(91,108,247,.12);
  --transition:     .18s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--text-muted); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 clamp(1rem,5vw,3rem); height: 62px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; flex-shrink: 0; color: var(--text); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.6rem; list-style: none; flex: 1; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.2rem; border-radius: 99px;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--transition); white-space: nowrap;
  font-family: inherit;
}
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-light); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: .75rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: .3rem .75rem; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,5vw,3rem); }

/* ── Section ── */
.section { padding: 4rem clamp(1rem,5vw,3rem); }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }

/* ── Hero ── */
.hero {
  min-height: 82vh; display: flex; align-items: center;
  padding: clamp(2rem,6vw,5rem) clamp(1rem,5vw,3rem);
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 70% 10%, rgba(91,108,247,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 90%, rgba(91,108,247,.04) 0%, transparent 55%),
              var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235b6cf7' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(91,108,247,.08); border: 1px solid rgba(91,108,247,.25);
  color: var(--accent); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 99px; padding: .25rem .75rem; margin-bottom: 1.2rem;
}
.hero-title  { margin-bottom: .75rem; }
.hero-sub, .hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-meta, .hero-social-proof {
  display: flex; align-items: center; gap: 1.5rem;
  font-size: .82rem; color: var(--text-dim); flex-wrap: wrap;
}
.hero-social-proof .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }
.hero-social-proof strong, .hero-meta strong { color: var(--text-muted); }
.gradient-text {
  background: linear-gradient(120deg, var(--accent) 0%, #a855f7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Trusted bar ── */
.trusted-bar { padding: 2.5rem clamp(1rem,5vw,3rem); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trusted-label { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.25rem; }
.trusted-logos { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trusted-logo { font-size: .95rem; font-weight: 700; color: var(--text-dim); letter-spacing: -.01em; }

/* ── Feature Grid ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.feature-card { background: var(--bg); padding: 2rem; transition: background var(--transition); }
.feature-card:hover { background: var(--surface); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(91,108,247,.08); border: 1px solid rgba(91,108,247,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.feature-card p  { font-size: .875rem; }

/* ── Video Card ── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.video-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.video-thumb-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.video-thumb:hover .play-overlay { opacity: 1; }
.play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); }
.play-btn-round { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255,255,255,.4); }
.video-duration { position: absolute; bottom: .5rem; right: .5rem; background: rgba(0,0,0,.72); color: #fff; font-size: .72rem; font-weight: 600; padding: .15rem .4rem; border-radius: 4px; }
.video-body { padding: .75rem; }
.video-title { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; color: var(--text); }
.video-meta { font-size: .78rem; color: var(--text-dim); display: flex; gap: .5rem; align-items: center; }

/* ── Stats (bar variant) ── */
.stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stats-bar .stat-item { background: var(--bg); padding: 1.5rem; text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); letter-spacing: -.04em; }

/* ── Stats (row variant) ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 2rem; padding: 3rem clamp(1rem,5vw,3rem); }
.stat-item { text-align: center; }
.stat-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; color: var(--accent); }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: .3rem; }

/* ── Pricing (landing preview) ── */
.pricing-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.pricing-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; transition: border-color var(--transition), box-shadow var(--transition); }
.pricing-card:hover { border-color: var(--border-light); box-shadow: var(--shadow); }
.pricing-card-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .9rem; border-radius: 99px; white-space: nowrap; }
.pricing-name { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.pricing-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: 1.25rem; }
.pricing-price span { font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.pricing-list li { font-size: .875rem; color: var(--text-muted); }

/* ── Plans (pricing page) ── */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.plan-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; transition: border-color var(--transition), box-shadow var(--transition); }
.plan-card:hover { border-color: var(--border-light); box-shadow: var(--shadow); }
.plan-card-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .9rem; border-radius: 99px; white-space: nowrap; }
.plan-name { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.plan-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: .25rem; }
.plan-price span { font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.plan-desc { font-size: .875rem; color: var(--text-dim); margin-bottom: 1.5rem; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.plan-features li { font-size: .875rem; color: var(--text-muted); }

/* ── Billing toggle ── */
.billing-toggle { display: flex; gap: .5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: .25rem; width: fit-content; margin: 0 auto 2.5rem; }
.toggle-btn { padding: .35rem 1rem; border-radius: 99px; border: none; background: transparent; font-size: .875rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.toggle-btn.active { background: var(--bg); color: var(--accent); box-shadow: 0 1px 6px rgba(0,0,0,.1); }
.save-tag { display: inline-block; background: rgba(16,185,129,.12); color: #059669; font-size: .7rem; font-weight: 700; border-radius: 4px; padding: .1rem .35rem; margin-left: .3rem; }

/* ── Pricing table ── */
.pricing-table { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.pricing-table table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.pricing-table th { background: var(--surface); padding: .9rem 1.2rem; text-align: left; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--border); }
.pricing-table td { padding: .8rem 1.2rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--surface); }

/* ── CTA block ── */
.cta-block { text-align: center; padding: 4rem 2rem; }
.cta-block h2 { margin-bottom: .75rem; }
.cta-block p  { max-width: 500px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1.5rem; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.team-avatar { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.team-name  { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; color: var(--text); }
.team-role  { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: .6rem; }
.team-bio   { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }

/* ── FAQ ── */
.faq-section { }
.faq-list    { }
.faq-category { }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; color: var(--text); font-family: inherit; font-size: 1rem; font-weight: 600; text-align: left; padding: 1.2rem 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: .92rem; color: var(--text-muted); max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.2rem; }
.faq-answer p { margin: 0; }
code { font-family: 'JetBrains Mono', monospace; font-size: .85em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }

/* ── Auth ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; background: radial-gradient(ellipse at 30% 10%, rgba(91,108,247,.05) 0%, transparent 55%), var(--bg); }
.auth-card { width: 100%; max-width: 420px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.auth-logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: 1.8rem; text-align: center; color: var(--text); }
.auth-logo span { color: var(--accent); }
.auth-title { font-size: 1.4rem; margin-bottom: .4rem; text-align: center; color: var(--text); }
.auth-sub, .auth-subtitle { font-size: .875rem; color: var(--text-muted); text-align: center; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; font-weight: 500; color: var(--text-muted); margin-bottom: .4rem; }
.form-input { width: 100%; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: .7rem 1rem; color: var(--text); font-size: .95rem; outline: none; transition: border-color var(--transition), box-shadow var(--transition); font-family: inherit; }
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.input-wrap { position: relative; }
.toggle-pw { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-dim); display: flex; transition: color var(--transition); }
.toggle-pw:hover { color: var(--text-muted); }
.forgot-link { color: var(--accent); font-size: .82rem; font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }
.social-buttons, .auth-social { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .65rem 1.2rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); font-size: .875rem; font-weight: 500; cursor: pointer; transition: all var(--transition); font-family: inherit; }
.btn-social:hover { border-color: var(--border-light); background: var(--surface); }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--text-dim); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-alert { display: none; background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.2); border-radius: var(--radius); padding: .75rem 1rem; font-size: .85rem; color: #991b1b; margin-bottom: 1.2rem; line-height: 1.5; align-items: flex-start; gap: .5rem; }
.btn-auth { width: 100%; justify-content: center; padding: .8rem; font-size: .95rem; border-radius: var(--radius); }
.btn-auth .spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.btn-spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.btn-auth.loading .spinner { display: inline-block; }
.btn-auth.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-footer-text { text-align: center; margin-top: 1.2rem; font-size: .85rem; color: var(--text-muted); }
/* alias for old password toggle pattern */
.password-wrap { position: relative; }
.password-toggle { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-dim); display: flex; }
.password-toggle:hover { color: var(--text-muted); }
.auth-alert.visible { display: flex; }
.form-error-msg { font-size: .8rem; color: var(--danger); margin-top: .35rem; display: none; }
.form-error-msg.visible { display: block; }

/* ── Cookie banner ── */
.cookie-banner { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(120px); width: min(640px, calc(100vw - 2rem)); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; z-index: 200; box-shadow: var(--shadow-lg); transition: transform .35s cubic-bezier(.4,0,.2,1); flex-wrap: wrap; }
.cookie-banner.visible { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: .82rem; color: var(--text-muted); flex: 1; min-width: 200px; margin: 0; }
.cookie-actions { display: flex; gap: .6rem; }
/* old cookie-bar kept for compat */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg); border-top: 1px solid var(--border); padding: 1rem clamp(1rem,5vw,3rem); display: flex; align-items: center; gap: 1.5rem; z-index: 200; flex-wrap: wrap; transform: translateY(100%); transition: transform .3s ease; }
.cookie-bar:not(.hidden) { transform: translateY(0); }
.cookie-bar.hidden { transform: translateY(100%); }
.cookie-bar p { font-size: .82rem; color: var(--text-muted); flex: 1; min-width: 200px; margin: 0; }
.cookie-bar a { color: var(--accent); }
.cookie-buttons { display: flex; gap: .6rem; }

/* ── Page loader ── */
.page-loader { position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: flex; align-items: flex-start; justify-content: center; transition: opacity .4s ease, visibility .4s ease; }
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-bar { height: 3px; background: linear-gradient(90deg, var(--accent), #a855f7); width: 0; animation: loadBar 1.2s ease forwards; }
@keyframes loadBar { 0%{width:0} 80%{width:90%} 100%{width:100%} }
.loader-logo { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; animation: pulse 1.5s ease-in-out infinite; color: var(--text); }
.loader-logo span { color: var(--accent); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 3rem clamp(1rem,5vw,3rem) 1.5rem; margin-top: 2rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .875rem; margin-top: .75rem; max-width: 260px; }
.footer-col-title,
.footer-col h4 { font-size: .85rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); letter-spacing: .04em; }
.footer-col { display: flex; flex-direction: column; }
.footer-col a { font-size: .85rem; color: var(--text-muted); transition: color var(--transition); margin-bottom: .5rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { font-size: .85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--text-dim); flex-wrap: wrap; gap: .5rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-dim); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ── Promo ── */
.promo-banner { background: linear-gradient(110deg, rgba(91,108,247,.06) 0%, var(--surface) 60%); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 3rem; text-align: center; }
.promo-banner h2 { margin-bottom: .75rem; }
.promo-banner p  { max-width: 500px; margin: 0 auto 1.8rem; }

/* ── Content pages ── */
.content-page { max-width: 820px; margin: 0 auto; padding: 0 clamp(1rem,5vw,3rem); }
.content-page h2 { margin: 2.5rem 0 1rem; }
.content-page p  { margin-bottom: 1rem; }
.content-page ul { padding-left: 1.5rem; color: var(--text-muted); }
.content-page li { margin-bottom: .5rem; font-size: .95rem; }

/* ── Pills ── */
.pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pill { padding: .4rem 1rem; border-radius: 99px; font-size: .82rem; font-weight: 500; border: 1.5px solid var(--border); color: var(--text-muted); cursor: pointer; transition: all var(--transition); background: none; }
.pill:hover { border-color: var(--accent-dim); color: var(--accent); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Toast ── */
.toast-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.toast { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1.2rem; font-size: .875rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow-lg); animation: slideIn .25s ease; pointer-events: all; color: var(--text); }
@keyframes slideIn { from{transform:translateX(100%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ── Gradient thumbs ── */
.g1 { background: linear-gradient(135deg, #3730a3 0%, #1e1b4b 100%); }
.g2 { background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%); }
.g3 { background: linear-gradient(135deg, #6d28d9 0%, #2d1b69 100%); }
.g4 { background: linear-gradient(135deg, #0891b2 0%, #164e63 100%); }
.g5 { background: linear-gradient(135deg, #be185d 0%, #831843 100%); }
.g6 { background: linear-gradient(135deg, #059669 0%, #064e3b 100%); }

/* ── Responsive ── */
@media(max-width:768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .pricing-preview { grid-template-columns: 1fr; }
  .social-buttons, .auth-social { flex-direction: column; }
}
@media(max-width:480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
