/* ============================================================
   ExecBrief — Clean Light Premium UI (Single Source of Truth)
   Works with:
   - Home page
   - Auth pages (login/signup/forgot)
   - Dashboard (overview/upload/settings)
   - Integrations UI + Modal
   - Desktop sidebar -> Mobile bottom nav
   ============================================================ */

/* ---------- Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
img, svg { max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
input, textarea, button { font: inherit; }

/* ---------- Theme ---------- */
:root{
  --bg: #ffffff;
  --bg-soft: #f6f8ff;
  --text: #0b1220;
  --muted: rgba(11,18,32,.72);
  --muted2: rgba(11,18,32,.55);
  --border: rgba(11,18,32,.10);

  --primary: #4f46e5;
  --primary2: #22c55e;

  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 18px 45px rgba(15,23,42,.10), 0 4px 14px rgba(15,23,42,.06);
  --shadow-sm: 0 10px 26px rgba(15,23,42,.08);
}

body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1000px 500px at 10% 0%, rgba(79,70,229,.14), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(34,197,94,.10), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 45%, #ffffff 100%);
}

/* ---------- Layout ---------- */
.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

/* ============================================================
   Buttons
   ============================================================ */
.nav-btn, .btn-primary{
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 40%, var(--primary2) 100%);
  color: #fff;
  padding: 11px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(37,99,235,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}

.nav-btn:hover, .btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 26px 55px rgba(37,99,235,.22);
}

.btn-text-white{
  color: rgba(11,18,32,.82);
  text-decoration: none;
  font-weight: 850;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.75);
  cursor: pointer;
}

.btn-text-white:hover{
  background: rgba(255,255,255,.95);
}

/* ============================================================
   HOME (Navbar + Hero + Features)
   ============================================================ */

/* Navbar */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.logo{
  font-size: 1.15rem;
  font-weight: 950;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo::before{
  content:"";
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 45%, var(--primary2) 100%);
  box-shadow: 0 18px 40px rgba(79,70,229,.18);
  display: inline-block;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-item{
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.95rem;
}
.nav-item:hover{ color: rgba(11,18,32,.95); }

/* Hero */
.hero{
  padding: 88px 20px 64px;
  text-align: center;
}

.hero h1{
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 950;
  margin: 0 0 18px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-sub{
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 34px;
}

.cta-group{
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Features */
.features{
  padding: 70px 20px;
  text-align: center;
}

.features h2{
  font-size: clamp(26px, 3vw, 34px);
  color: var(--text);
  margin: 0 0 46px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.grid{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.08);
  padding: 26px;
  border-radius: var(--radius);
  width: min(340px, 100%);
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(15,23,42,.12), 0 6px 16px rgba(15,23,42,.07);
}

.icon{ font-size: 2.15rem; margin-bottom: 16px; }
.card h3{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.card p{ margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Footer */
footer{
  text-align: center;
  padding: 40px 20px;
  color: var(--muted2);
  font-size: 0.95rem;
}
footer a{ color: var(--primary); font-weight: 900; text-decoration: none; }
footer a:hover{ text-decoration: underline; }

/* ============================================================
   AUTH PAGES (login/signup/forgot)
   - Wrap body with class="auth-page"
   - Use .auth-card for container
   ============================================================ */
.auth-page{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.auth-card{
  width: min(460px, 100%);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 28px 70px rgba(15,23,42,.12), 0 8px 20px rgba(15,23,42,.06);
}

.auth-title{
  font-size: 28px;
  font-weight: 950;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}
.auth-subtitle{
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 14.5px;
}

.auth-card form{ display: grid; gap: 12px; }
.auth-card label{
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
}

.auth-card input, textarea{
  width: 100%;
  border: 1px solid rgba(11,18,32,.14);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,.9);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.auth-card input:focus, textarea:focus{
  border-color: rgba(79,70,229,.55);
  box-shadow: 0 0 0 6px rgba(79,70,229,.14);
}

.auth-links{
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.auth-links a{
  font-weight: 900;
  color: var(--muted);
  text-decoration: none;
}
.auth-links a:hover{ color: rgba(11,18,32,.95); }

/* ============================================================
   DASHBOARD (Desktop sidebar + Mobile bottom nav)
   ============================================================ */

.dashboard-body{
  display: flex;
  min-height: 100vh;
  background:
    radial-gradient(1000px 500px at 10% 0%, rgba(79,70,229,.10), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(34,197,94,.07), transparent 55%),
    #ffffff;
}

/* Sidebar desktop */
.sidebar{
  width: 260px;
  background: rgba(255,255,255,.90);
  border-right: 1px solid rgba(11,18,32,.08);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  height: 100%;
  padding: 12px 0;
  backdrop-filter: blur(14px);
  z-index: 20;
}

.sidebar-header{
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(11,18,32,.07);
}

.sidebar-nav{
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* links */
.nav-link{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 14px;
  color: rgba(11,18,32,.78);
  text-decoration: none;
  font-weight: 850;
  transition: background .15s ease, transform .15s ease;
}

.nav-link:hover{
  background: rgba(79,70,229,.08);
  transform: translateY(-1px);
}

.nav-link.active{
  background: rgba(79,70,229,.12);
  color: rgba(11,18,32,.95);
  border: 1px solid rgba(79,70,229,.18);
}

.nav-link.danger{
  color: #e53e3e;
  margin-top: auto;
}

/* Main content */
.main-content{
  margin-left: 260px;
  flex: 1;
  padding: 42px;
  max-width: 1280px;
  margin-right: auto;
}

.top-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.top-bar h2{
  font-size: 1.9rem;
  margin: 0;
  font-weight: 950;
}

.user-profile{
  font-weight: 900;
  color: rgba(11,18,32,.75);
}

/* Sections */
.dashboard-section{ margin-bottom: 24px; }
.dashboard-section h3{
  margin: 18px 0 14px;
  font-size: 1.15rem;
  font-weight: 950;
  color: rgba(11,18,32,.90);
}

.dashboard-card{
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,18,32,.08);
}

.summary-card{ border-left: 5px solid rgba(79,70,229,.85); }
.summary-text{ font-size: 1.06rem; color: rgba(11,18,32,.84); line-height: 1.65; }

.grid-3{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.metric-card{
  background: rgba(255,255,255,.92);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: var(--shadow-sm);
}

.metric-label{
  color: rgba(11,18,32,.58);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.metric-value{
  font-size: 2rem;
  font-weight: 950;
  color: rgba(11,18,32,.95);
  margin: 8px 0 0;
}

.trend-good{ color: #16a34a; font-weight: 900; font-size: .9rem; }
.trend-bad{ color: #dc2626; font-weight: 900; font-size: .9rem; }
.trend-stable{ color: rgba(11,18,32,.62); font-weight: 900; font-size: .9rem; }

/* actions */
.actions-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-item{
  background: rgba(255,255,255,.95);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11,18,32,.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 10px 26px rgba(15,23,42,.07);
}

.action-title{ font-weight: 950; margin-bottom: 5px; }
.action-reason{ color: rgba(11,18,32,.65); font-size: .92rem; }

.tag{
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 950;
  border: 1px solid rgba(11,18,32,.08);
}

.tag-high{ background: rgba(239,68,68,.10); color: #dc2626; }
.tag-medium{ background: rgba(245,158,11,.14); color: #b45309; }

/* ============================================================
   Alerts
   ============================================================ */
.alert{
  padding: 12px;
  border-radius: 14px;
  font-weight: 950;
  font-size: 13px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(11,18,32,.05);
  color: rgba(11,18,32,.85);
}
.alert.success{
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.18);
  color: #166534;
}
.alert.error{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.20);
  color: #991b1b;
}

/* ============================================================
   Integrations UI
   ============================================================ */
.integration-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.integration-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(11,18,32,.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.integration-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(11,18,32,.09);
}

.integration-top{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.integration-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 950;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.12);
}

.integration-title{
  font-weight: 950;
  font-size: 15px;
  color: var(--text);
}
.integration-desc{
  margin-top: 4px;
  font-weight: 850;
  font-size: 13px;
  color: rgba(11,18,32,.62);
  line-height: 1.35;
}

.integration-bottom{
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.status-pill{
  font-weight: 950;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.10);
}

.status-off{
  background: rgba(11,18,32,.04);
  color: rgba(11,18,32,.55);
}

.status-on{
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.24);
  color: rgba(6,95,70,.95);
}

/* ============================================================
   Modal
   ============================================================ */
.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 18px;
}

.modal-card{
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.modal-header{
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(11,18,32,.08);
}

.modal-title{
  font-weight: 950;
  font-size: 16px;
}

.modal-body{ padding: 18px; }

.modal-steps{
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.step{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 13px;
  background: rgba(11,18,32,.06);
  color: rgba(11,18,32,.55);
}

.step.active{
  background: rgba(79,70,229,.16);
  color: rgba(79,70,229,1);
  border: 1px solid rgba(79,70,229,.25);
}

.modal-panel{
  background: rgba(11,18,32,.02);
  border: 1px solid rgba(11,18,32,.06);
  border-radius: 16px;
  padding: 14px;
}

.modal-section-title{
  font-weight: 950;
  font-size: 14px;
}

.modal-input{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,.14);
  outline: none;
  font-weight: 850;
}

.modal-actions{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Home: hide "log in" text on tiny screens */
@media (max-width: 520px){
  .nav-item{ display: none; }
}

/* Integrations grid */
@media (max-width: 900px){
  .integration-grid{ grid-template-columns: 1fr; }
}

/* Mobile dashboard bottom navigation */
@media (max-width: 900px){
  .dashboard-body{
    flex-direction: column;
  }

  /* Sidebar becomes bottom bar */
  .sidebar{
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    top: auto;

    border-right: none;
    border-top: 1px solid rgba(0,0,0,0.08);

    flex-direction: row;
    align-items: center;
    justify-content: space-around;

    padding: 10px 10px 12px;
    z-index: 999;

    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    box-shadow: 0 -12px 30px rgba(0,0,0,0.08);

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
  }

  .sidebar-header{ display: none; }

  .sidebar-nav{
    padding: 0;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }

  .nav-link{
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    border: none;
  }

  .nav-link::before{
    content: attr(data-icon);
    font-size: 22px;
    line-height: 1;
  }

  .nav-link.active{
    background: rgba(79,70,229,0.12);
    color: #4f46e5;
    box-shadow: inset 0 0 0 1px rgba(79,70,229,.20);
  }

  .main-content{
    margin-left: 0;
    padding: 22px 16px;
    padding-bottom: 120px; /* space for bottom bar */
  }

  .grid-3{
    grid-template-columns: 1fr !important;
  }

  .top-bar h2{
    font-size: 1.35rem;
  }
}

/* --- Mobile navbar fix (compact login pill) --- */
@media (max-width: 520px){
  .nav-item{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(11,18,32,.12);
    background: rgba(255,255,255,.75);
    font-size: 0; /* hide text */
  }
  .nav-item::before{
    content: "🔐";
    font-size: 18px;
  }
}

/* =========================================================
   FIX SETTINGS MOBILE LAYOUT (NO OVERLAP / NO SQUEEZING)
   ========================================================= */

@media (max-width: 900px){

  /* Force all dashboard grids to 1 column */
  .grid-3{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Cancel desktop span rules (important!) */
  .dashboard-card[style*="grid-column"]{
    grid-column: auto !important;
  }

  /* Make cards full width */
  .dashboard-card{
    width: 100%;
    min-width: 0;
  }

  /* Profile form inputs full width */
  #profileForm input{
    width: 100% !important;
  }

  /* Fix top bar spacing */
  .top-bar{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Fix user profile block */
  .user-profile{
    width: 100%;
    justify-content: flex-start;
  }
}

/* Extra safe for very small phones */
@media (max-width: 520px){
  .dashboard-card{
    padding: 16px !important;
    border-radius: 18px !important;
  }
}

/* =========================
   PRICING SECTION — EXECBRIEF
========================= */

.pricing {
  padding: 80px 16px;
  background: #ffffff;
}

.pricing-container {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 36px;
}

.pricing-header h2 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  color: #0f172a;
}

.pricing-subtitle {
  margin: 10px auto 0;
  max-width: 620px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.pricing-controls {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
}

.billing-label {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

.save-badge {
  margin-left: 6px;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-weight: 700;
}

/* Switch style */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  border-radius: 999px;
  background: #0f172a;
  transition: 0.25s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  top: 3px;
  background: white;
  border-radius: 999px;
  transition: 0.25s;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

/* Currency */
.currency-toggle {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
}

.currency-btn {
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  color: #334155;
  transition: 0.2s ease;
}

.currency-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.currency-btn.active {
  background: #0f172a;
  color: #fff;
}

/* Pricing grid */
.pricing-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1050px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.plan-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.10);
}

.plan-top h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}

.plan-desc {
  margin: 6px 0 18px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.price-symbol {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.price-amount {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.price-currency {
  font-weight: 800;
  font-size: 13px;
  color: #0f172a;
}

.price-per {
  font-weight: 700;
  font-size: 13px;
  color: #64748b;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
}

.plan-features li {
  padding: 8px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

.plan-features li:first-child {
  border-top: none;
}

/* Buttons */
.plan-btn {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: white;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.plan-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.plan-btn.outline {
  background: transparent;
  color: #0f172a;
  border: 1px solid #0f172a;
}

.plan-btn.light {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Featured plan */
.plan-card.featured {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: scale(1.05);
}

.plan-card.featured:hover {
  transform: scale(1.06) translateY(-6px);
}

.plan-card.featured .plan-top h3,
.plan-card.featured .price-symbol,
.plan-card.featured .price-amount,
.plan-card.featured .price-currency {
  color: #ffffff;
}

.plan-card.featured .plan-desc,
.plan-card.featured .price-per {
  color: rgba(255, 255, 255, 0.72);
}

.plan-card.featured .plan-features li {
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* Most popular badge */
.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Footnote */
.pricing-footnote {
  margin-top: 18px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.pricing-footnote a {
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.35);
}

.mode-btn{
  flex:1;
  padding:10px;
  border-radius:12px;
  border:1px solid rgba(79,70,229,.35);
  background:#fff;
  font-weight:800;
  cursor:pointer;
}
.mode-btn.active{
  background:#4f46e5;
  color:#fff;
}
