:root {
  --bg: #0b0b12;
  --text: #e9eef7;
  --muted: #a8b3c7;
  --primary: #7c4dff;
  --primary-600: #6a3cff;
  --secondary: #0ea5e9;
  --accent: #22c55e;
  --surface: #151724;
  --card: #ffffff;
  --shadow: 0 10px 25px rgba(18, 19, 34, 0.15);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1250px 650px at 20% 0%, #3b82f6 0%, rgba(59,130,246,0) 60%),
             radial-gradient(1200px 650px at 80% 0%, #a855f7 0%, rgba(168,85,247,0) 60%),
             linear-gradient(180deg, #1f2440 0%, #171a2e 60%, #13162b 100%);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.narrow { width: min(760px, 92%); }

/* Ensure content takes remaining height so footer sits at bottom */
main { flex: 1; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(10, 12, 24, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { color: #fff; font-weight: 800; text-decoration: none; letter-spacing: 0.2px; }
.site-header nav { display: flex; gap: 18px; align-items: center; }
.site-header nav a { color: var(--text); text-decoration: none; opacity: 0.9; }
.site-header nav a.active { font-weight: 700; }

/* Avatar button in header */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.25);
}
.avatar svg { width: 22px; height: 22px; }
.avatar:hover { filter: brightness(1.05); }
.avatar { cursor: pointer; }

/* Avatar dropdown menu */
.menu-wrap { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: 46px; min-width: 240px;
  background: #fff; color: #0b1220; border-radius: 10px;
  box-shadow: 0 8px 20px rgba(2,6,23,0.16);
  border: 1px solid #e5e7eb; overflow: hidden; display: none;
  z-index: 1000;
}
.dropdown-menu.is-open { display: block; }
.menu-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #0b1220; text-decoration: none;
}
.menu-item + .menu-item { border-top: 1px solid #f1f5f9; }
.menu-item:hover { background: #f8fafc; }
.menu-item svg { width: 18px; height: 18px; color: #111827; }

/* Override header nav link styles inside dropdown to ensure proper contrast */
.site-header nav .dropdown-menu a { color: #0b1220 !important; opacity: 1 !important; }
.dropdown-menu .menu-item span { font-weight: 600; font-size: 16px; color: #0f172a; }

/* Workout page styling */
body.workout-page {
  background: #13162b;
}
.workout-page .site-footer {
  /* Use the same colorful footer as the home/dashboard */
  background: linear-gradient(90deg, #3b82f6 0%, #a855f7 100%);
  border-top: none; /* avoid bright edge line above footer */
}
.workout-page .site-footer::before { content: none !important; height: 0; }
.workout-page .site-footer .container { color: #ffffff; }
.workout-page .site-header {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 60%, rgba(0,0,0,0) 100%);
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: var(--shadow); }
.btn-secondary { background: #0ea5e9; color: #fff; }
.btn-outline { border: 1px solid rgba(255,255,255,0.2); color: #fff; background: transparent; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); }

.hero { padding: 84px 0 36px; text-align: center; }
.hero-inner h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; margin: 0 0 12px; }
.subtitle { color: var(--muted); margin: 0 auto 26px; max-width: 720px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.plans-section { padding: 36px 0 72px; }
.plans-section .container { width: min(1280px, 96%); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 26px; } }

/* Dashboard layout tuned for 3 + 2 cards centered (works well at ~90% zoom) */
.dashboard-page .page-header { padding: 56px 0 16px; }
/* Use 6-column grid, make each card span 2 columns for precise centering */
.dashboard-cards { grid-template-columns: repeat(6, 1fr); }
.dashboard-cards .card { grid-column: span 2; min-width: 0; }
/* Row 1: columns 1-2, 3-4, 5-6 */
.dashboard-cards > .card:nth-child(1) { grid-column: 1 / span 2; }
.dashboard-cards > .card:nth-child(2) { grid-column: 3 / span 2; }
.dashboard-cards > .card:nth-child(3) { grid-column: 5 / span 2; }
/* Row 2: center the two cards in columns 2-3 and 4-5 */
.dashboard-cards > .card:nth-child(4) { grid-column: 2 / span 2; }
.dashboard-cards > .card:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 1100px) {
  .dashboard-cards { grid-template-columns: repeat(3, 1fr); }
  .dashboard-cards .card { grid-column: auto; }
}
/* Ensure clean single-column layout on phones */
@media (max-width: 900px) {
  .dashboard-cards { grid-template-columns: 1fr; gap: 18px; }
  .dashboard-cards > .card { grid-column: auto !important; }
  /* Add extra breathing room above the footer on phones */
  .dashboard-page section.container { padding: 8px 0 140px !important; }
}

/* Dashboard page: use dark background; keep color only in footer */
body.dashboard-page {
  background: linear-gradient(180deg, #161a31 0%, #13182d 58%, #0f1426 100%) !important;
}
.dashboard-page .site-footer {
  background: linear-gradient(90deg, #3b82f6 0%, #a855f7 100%);
  border-top: none;
}
.dashboard-page .site-footer .container { color: #ffffff; }

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f7f8fb);
  color: #0b1220;
  border-radius: 18px;
  padding: 20px 20px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); }

/* Gradient ring border (metallic sheen) */
.card::before {
  content: "";
  position: absolute; inset: -1px; border-radius: inherit;
  padding: 2px;
  background: var(--ring-gradient, conic-gradient(from 0deg, #e5e7eb, #d1d5db, #cbd5e1, #e5e7eb));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

/* Soft gloss */
.card::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.18) 22%, rgba(255,255,255,0) 40%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Metallic variants */
.card--silver {
  --ring-gradient: conic-gradient(from 160deg, #f8fbff, #e5edf5, #cdd7e3, #b8c6d5, #e3eaf2, #f8fbff);
  background: linear-gradient(160deg, #f7f9fc, #eef2f7);
  box-shadow: var(--shadow), 0 18px 45px rgba(101, 117, 133, 0.18);
}

.card--gold {
  --ring-gradient: conic-gradient(from 120deg, #fff7cc, #ffe38a, #ffd34d, #ffb300, #ffd34d, #ffe38a, #fff7cc);
  background: linear-gradient(160deg, #fffaf0, #fff3d4);
  box-shadow: var(--shadow), 0 18px 48px rgba(245, 158, 11, 0.22);
}

.card--platinum {
  --ring-gradient: conic-gradient(from 90deg, #eef0ff, #d7ccff, #c6b8ff, #c0e2ff, #e7f0ff, #eef0ff);
  background: linear-gradient(160deg, #f7f5ff, #f0f7ff);
  box-shadow: var(--shadow), 0 18px 48px rgba(139, 92, 246, 0.25);
}

.card.highlight { outline: 3px solid #a855f7; }
.card h3 { margin: 10px 0 8px; font-size: 20px; }
.card .price { margin: 0 0 8px; font-weight: 800; }
.card .price .per { font-weight: 600; color: #475569; margin-left: 4px; font-size: 14px; }
.badge { background: #fce7f3; color: #be185d; padding: 3px 8px; border-radius: 999px; font-size: 12px; margin-left: 6px; }
.card-icon { font-size: 28px; }
.features { margin: 12px 0 18px; padding-left: 18px; }
.features li { margin: 6px 0; }

/* Prevent horizontal overflow on tiny screens */
@media (max-width: 400px) {
  .container { width: 94%; }
  .card { padding: 16px; border-radius: 14px; }
}

/* Lock badge for gated content */
.card.is-locked {
  position: relative;
  filter: grayscale(0.35) saturate(0.85);
}
.card.is-locked::after {
  content: "🔒 Locked";
  position: absolute; top: 10px; right: 10px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  font-weight: 800;
  padding: 6px 10px; border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.35);
}
.card.is-locked .btn { cursor: not-allowed; }

/* Simple modal for upgrade prompt */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(2,6,23,0.6);
  display: none; align-items: center; justify-content: center;
  z-index: 50;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #ffffff; color: #0b1220; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.35);
  width: min(480px, 92%);
  padding: 18px 18px 14px;
  border: 1px solid #e5e7eb;
}
.modal h3 { margin: 4px 0 8px; font-size: 20px; }
.modal p { margin: 0 0 16px; color: #475569; }
.modal .row { display: flex; gap: 10px; justify-content: flex-end; }

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(90deg, #3b82f6 0%, #a855f7 100%);
}
.site-footer::before { content: none; }
.site-footer .container { position: relative; z-index: 2; padding: 26px 0 40px; text-align: center; color: #ffffff; }

.page-header { padding: 72px 0 10px; text-align: center; }
.copy { padding: 12px 0 64px; }
.list { line-height: 1.9; }

.auth { padding: 72px 0 64px; text-align: center; }
.form { display: grid; gap: 14px; text-align: left; padding: 24px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: #0b1220; }
.form input { padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 16px; }
.muted { color: #6b7280; font-size: 14px; }


/* --- Shooting page: section cards, callouts, and accordion --- */
.section-card {
  background: #ffffff;
  color: #0b1220;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 0 0 22px;
}
.section-title {
  margin: 0;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}
.section-body { padding: 18px; }

.callout {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  padding: 12px 14px;
  border-radius: 10px;
}

.subheading {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #1e40af;
}

.link-tile {
  display: inline-flex; align-items: center; gap: 10px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}
.link-tile .icon { opacity: 0.9; }

details.accordion {
  background: #ffffff;
  color: #0b1220;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: block;
  margin: 0 0 28px;
}
details.accordion > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
}
details.accordion > summary::-webkit-details-marker { display: none; }
details.accordion .content {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
}
details.accordion .chev { transition: transform .2s ease; }
details.accordion[open] .chev { transform: rotate(180deg); }

/* Ensure cards/accordion fit their container width */
.section-card, details.accordion { width: 100%; }

/* Extra bottom spacing for last section on page to avoid footer overlap */
.copy:last-of-type { padding-bottom: 180px; }

/* Shooting page layout tweaks */
.shooting-page main { padding-top: 16px; }
.shooting-page .copy { padding-top: 18px; }




/* Shooting page: dark background for the whole page,
   colorful gradient moved to footer only */
body.shooting-page {
  /* Single unified dark gradient used across the page and footer base */
  background: linear-gradient(180deg, #161a31 0%, #13182d 58%, #0f1426 100%);
}
.shooting-page .site-footer {
  /* Match the exact page gradient flow: dark to light (top to bottom) + add color glow */
  background:
    radial-gradient(1100px 420px at 25% 80%, rgba(59,130,246,0.4) 0%, rgba(59,130,246,0) 70%),
    radial-gradient(1100px 420px at 75% 80%, rgba(168,85,247,0.4) 0%, rgba(168,85,247,0) 70%),
    linear-gradient(180deg, #161a31 0%, #13182d 58%, #0f1426 100%);
  border-top: none;
}
.shooting-page .site-footer .container { color: #ffffff; }

/* Subtle header fade so the top looks like a single surface */
.shooting-page .site-header {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 60%, rgba(0,0,0,0) 100%);
}

/* Home page: dark background, gradient only in footer */
body.home-page {
  background: linear-gradient(180deg, #161a31 0%, #13182d 58%, #0f1426 100%) !important;
}
.home-page .site-footer {
  background: linear-gradient(90deg, #3b82f6 0%, #a855f7 100%);
  border-top: none;
}
.home-page .site-footer .container { color: #ffffff; }

/* --- Professional tabs for shooting page --- */
.tabs-card {
  background: #ffffff;
  color: #0b1220;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tab-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 6px;
  gap: 6px;
}
.tab {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.tab:is(:hover,:focus-visible) { background: rgba(255,255,255,0.22); }
.tab.is-active {
  background: #ffffff;
  color: #0b1220;
  box-shadow: 0 6px 16px rgba(2,6,23,0.12);
}

.tab-panels { padding: 14px 16px 18px; }
.tab-panel { display: block; }
.tab-panel[hidden] { display: none !important; }
.tab-panel .panel-inner { padding: 6px 2px; }
.tab-panel.is-active { animation: fadeIn .18s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; transform: none; } }

/* Account Page Styles */
.account-section {
  padding: 40px 0 60px;
}

/* Account page: ensure solid dark background and clean footer transition */
body.account-page { background: #13162b; }
.account-page .site-footer { background: linear-gradient(90deg, #3b82f6 0%, #a855f7 100%); border-top: none; }
.account-page .account-section { padding-bottom: 160px; }

.account-header {
  text-align: center;
  margin-bottom: 48px;
}

.account-avatar {
  margin-bottom: 24px;
}

.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

#avatar-initials {
  color: white;
  font-size: 2rem;
  font-weight: 700;
}

.account-header h1 {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.account-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 400;
}

.account-tabs {
  max-width: 800px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.tab-button {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-button:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
  position: relative;
}

.account-page .tab-panel {
  display: none;
}

.account-page .tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.account-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.card-section {
  margin-bottom: 32px;
}

.card-section:last-child {
  margin-bottom: 0;
}

.section-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.section-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-description {
  margin: 0;
  color: #666;
  font-size: 1rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-header h3 {
  margin: 0 0 4px 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
}

.card-description {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Subscription Card */
.subscription-status {
  margin-bottom: 24px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.status-label {
  font-weight: 500;
  color: #333;
}

.status-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-name {
  font-weight: 600;
  color: #1a1a1a;
  text-transform: capitalize;
}

.plan-badge {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Enhanced Form Styles */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.form-label {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-icon {
  font-size: 1rem;
}

.form-input.enhanced {
  padding: 16px 20px;
  border: 2px solid #e8ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-input.enhanced:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.form-input.enhanced:disabled {
  background: #f8f9fa;
  color: #666;
  cursor: not-allowed;
  opacity: 0.7;
}

.form-help {
  color: #666;
  font-size: 0.9rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-group {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.input-group .form-input {
  flex: 1;
}

.form-actions.enhanced {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}

/* Enhanced Button Styles */
.btn.enhanced {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn.enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  font-size: 1rem;
}

/* Billing Tab Styles */
.subscription-overview {
  margin-top: 24px;
}

.plan-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  padding: 24px;
  border: 2px solid rgba(102, 126, 234, 0.1);
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.plan-info {
  flex: 1;
}

.plan-title {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 4px;
}

.plan-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: capitalize;
}

.plan-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.plan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Enhanced Alert Styles */
.alert.enhanced {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1rem;
  margin-top: 20px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alert-success.enhanced {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 2px solid #28a745;
}

.alert-error.enhanced {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 2px solid #dc3545;
}

/* Button Variants */
.btn-danger {
  background: #dc3545;
  border-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
  border-color: #bd2130;
}

/* Responsive Design */
@media (max-width: 768px) {
  .account-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .account-card {
    padding: 24px;
  }
  
  .account-header h1 {
    font-size: 2rem;
  }
  
  .form-actions, .security-actions {
    flex-direction: column;
  }
  
  .input-group {
    flex-direction: column;
  }
}

/* Vercel deployment trigger */
