:root {
  --bg: #0A0A0F;
  --bg-alt: #111118;
  --surface: #16161E;
  --surface-2: #1E1E28;
  --fg: #F0EDE6;
  --fg-muted: #8A8697;
  --accent: #FFB800;
  --accent-dim: rgba(255,184,0,0.12);
  --amber: #FF8F00;
  --border: rgba(255,184,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* Typography */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.15; font-weight: 800; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* Hero */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(255,184,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--accent);
  position: relative;
}

.hero-body {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero right — spark orb */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spark-orb {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE566 0%, var(--accent) 50%, var(--amber) 100%);
  box-shadow: 0 0 60px rgba(255,184,0,0.5), 0 0 120px rgba(255,184,0,0.2);
  animation: core-glow 3s ease-in-out infinite alternate;
}

@keyframes core-glow {
  0% { box-shadow: 0 0 60px rgba(255,184,0,0.5), 0 0 120px rgba(255,184,0,0.2); }
  100% { box-shadow: 0 0 80px rgba(255,184,0,0.7), 0 0 160px rgba(255,184,0,0.3); }
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,184,0,0.15);
  animation: ring-spin linear infinite;
}

.orb-ring-1 { width: 220px; height: 220px; animation-duration: 12s; }
.orb-ring-2 { width: 290px; height: 290px; animation-duration: 18s; animation-direction: reverse; }
.orb-ring-3 { width: 360px; height: 360px; animation-duration: 25s; }

@keyframes ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.orb-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: spark-pulse 2s ease-in-out infinite;
}

.s1 { top: 10%; left: 50%; animation-delay: 0s; }
.s2 { top: 35%; right: 10%; animation-delay: 0.4s; }
.s3 { bottom: 35%; right: 15%; animation-delay: 0.8s; }
.s4 { bottom: 10%; left: 50%; animation-delay: 1.2s; }
.s5 { bottom: 35%; left: 15%; animation-delay: 1.6s; }
.s6 { top: 35%; left: 10%; animation-delay: 2s; }

@keyframes spark-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.4); }
}

/* Ticker */
.hero-ticker {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  display: flex;
  gap: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(255,184,0,0.03) 50%, var(--bg) 100%);
}

.ticker-item {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
  padding: 0 24px;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-sep {
  color: var(--accent);
  font-size: 10px;
  opacity: 0.6;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Proof strip */
.proof {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 40px;
}

.proof-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-text {
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

.proof-text strong { color: var(--fg); }

.proof-numbers {
  display: flex;
  gap: 40px;
  align-items: center;
}

.proof-num { text-align: center; }

.proof-big {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.proof-sub {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Section shared */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 56px;
  max-width: 640px;
}

/* How it works */
.how { padding: 100px 40px; }

.how-inner { max-width: 1280px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
}

.step:hover { border-color: rgba(255,184,0,0.3); }

.step-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Features */
.features {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}

.features-inner { max-width: 1280px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255,184,0,0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 8px;
}

.feature-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Pricing */
.pricing { padding: 100px 40px; }

.pricing-inner { max-width: 1280px; margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.pricing-card-featured {
  border-color: rgba(255,184,0,0.4);
  background: linear-gradient(180deg, rgba(255,184,0,0.08) 0%, var(--surface) 100%);
}

.pricing-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-tier {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 44px;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.pricing-period {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-tag {
  font-size: 12px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-style: italic;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Manifesto */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 40px;
}

.manifesto-inner { max-width: 900px; margin: 0 auto; }

.manifesto-quote {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.manifesto-attribution {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manifesto-body p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* Closing */
.closing { padding: 120px 40px; }

.closing-inner { max-width: 1280px; margin: 0 auto; }

.closing-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 820px;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px 40px;
    gap: 40px;
  }

  .hero-right { display: none; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; }

  .proof-inner { flex-direction: column; }

  .proof-numbers { gap: 24px; }

  .navbar { padding: 0 24px; }

  .how, .features, .pricing, .manifesto, .closing {
    padding: 60px 24px;
  }
}

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

  .features-grid { grid-template-columns: 1fr; }

  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }

  .stat-divider { display: none; }

  .proof-numbers { flex-wrap: wrap; gap: 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Dashboard */
.dashboard-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.client-table-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.client-table {
  width: 100%;
  border-collapse: collapse;
}

.client-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.client-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.client-table tbody tr:last-child td {
  border-bottom: none;
}

.client-table tbody tr:hover {
  background: var(--surface-2);
}

.client-name {
  font-weight: 600;
  color: var(--fg);
}

.client-email {
  font-size: 12px;
  color: var(--fg-muted);
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-active {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}

.status-onboarding {
  background: rgba(255, 184, 0, 0.15);
  color: var(--accent);
}

.status-completed {
  background: rgba(33, 150, 243, 0.15);
  color: #2196F3;
}

/* Tier badges */
.tier-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.tier-essentials {
  background: var(--surface-2);
  color: var(--fg-muted);
}

.tier-growth {
  background: rgba(255, 184, 0, 0.15);
  color: var(--accent);
}

.tier-scale {
  background: rgba(255, 143, 0, 0.15);
  color: var(--amber);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.empty-state p {
  color: var(--fg-muted);
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* Form styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.form-header {
  margin-bottom: 40px;
}

.form-subtitle {
  color: var(--fg-muted);
  margin-top: 8px;
}

.client-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--fg);
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 14px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.platform-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.pricing-tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-tier-card {
  position: relative;
  cursor: pointer;
}

.pricing-tier-card input {
  position: absolute;
  opacity: 0;
}

.pricing-tier-card .tier-content {
  padding: 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.pricing-tier-card input:checked + .tier-content {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.pricing-tier-card:hover .tier-content {
  border-color: rgba(255, 184, 0, 0.4);
}

.tier-content .tier-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.tier-content .tier-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--fg);
  margin-bottom: 16px;
}

.tier-content .tier-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
}

.tier-content .tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-content .tier-features li {
  font-size: 12px;
  color: var(--fg-muted);
  padding-left: 14px;
  position: relative;
}

.tier-content .tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
}

.error-banner {
  background: rgba(244, 67, 54, 0.15);
  color: #F44336;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
}

.error-title {
  font-size: 48px;
  margin-bottom: 16px;
}

.error-message {
  color: var(--fg-muted);
  margin-bottom: 24px;
}

/* Client detail */
.detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.back-link {
  display: inline-block;
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
}

.back-link:hover {
  color: var(--accent);
}

.client-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.client-meta {
  display: flex;
  gap: 8px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--fg);
}

.card-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
}

.info-row dt {
  font-size: 13px;
  color: var(--fg-muted);
}

.info-row dd {
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}

.detail-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
}

.mini-calendar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-post {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
}

.post-date {
  font-size: 13px;
  color: var(--fg-muted);
  min-width: 100px;
}

.post-platform {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.post-text {
  font-size: 13px;
  color: var(--fg);
  flex: 1;
}

.platform-instagram { background: rgba(225, 48, 108, 0.15); color: #E1306C; }
.platform-facebook { background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.platform-tiktok { background: rgba(0, 0, 0, 0.15); color: #fff; }
.platform-google { background: rgba(234, 67, 53, 0.15); color: #EA4335; }

.empty-text {
  color: var(--fg-muted);
  font-size: 14px;
}

.reports-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
}

.report-month {
  font-weight: 600;
}

.report-date {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Calendar */
.calendar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
}

.calendar-header {
  margin-bottom: 40px;
}

.calendar-subtitle {
  color: var(--fg-muted);
}

.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

.calendar-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-header {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 8px;
}

.calendar-day {
  min-height: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
}

.calendar-day.today {
  border-color: var(--accent);
}

.calendar-day.empty {
  background: transparent;
  border: none;
}

.day-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.day-posts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.post-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upcoming-posts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upcoming-post {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--bg);
  border-radius: var(--radius);
}

.upcoming-date {
  font-size: 12px;
  color: var(--fg-muted);
}

.upcoming-platform {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.delete-form {
  margin-left: auto;
}

.btn-delete {
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
}

.btn-delete:hover {
  color: #F44336;
}

/* Proposal */
.proposal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.proposal-header {
  margin-bottom: 32px;
}

.proposal-title {
  font-size: 32px;
  margin-top: 12px;
}

.proposal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.proposal-section:last-of-type {
  margin-bottom: 0;
}

.proposal-client .client-name {
  font-size: 28px;
  margin-bottom: 8px;
}

.client-info {
  color: var(--fg-muted);
  font-size: 14px;
}

.separator {
  margin: 0 8px;
}

.proposal-tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.tier-header .tier-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  text-transform: uppercase;
}

.tier-header .tier-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--fg);
}

.price-period {
  font-size: 16px;
  color: var(--fg-muted);
}

.tier-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tier-features-list li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
}

.tier-features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.scope-content p {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scope-list li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
}

.scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.terms-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.term-item {
  font-size: 14px;
  color: var(--fg-muted);
}

.term-item strong {
  color: var(--fg);
}

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-tag {
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.proposal-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Report */
.report-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
}

.report-header {
  margin-bottom: 40px;
}

.report-subtitle {
  color: var(--fg-muted);
}

.report-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

.report-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.metric-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
}

.platform-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.platform-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
}

.platform-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.platform-instagram { background: rgba(225, 48, 108, 0.15); color: #E1306C; }
.platform-facebook { background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.platform-tiktok { background: rgba(0, 0, 0, 0.15); color: #fff; }
.platform-google { background: rgba(234, 67, 53, 0.15); color: #EA4335; }

.platform-stats {
  flex: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.stat-value {
  font-size: 12px;
  color: var(--fg-muted);
}

.goals-table {
  width: 100%;
  border-collapse: collapse;
}

.goals-table th {
  text-align: left;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.goals-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.status-pending {
  color: var(--accent);
}

.past-reports {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.past-report {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 13px;
}

.placeholder-text {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

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

  .calendar-layout { grid-template-columns: 1fr; }

  .report-layout { grid-template-columns: 1fr; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-tier-cards { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .tier-features-list { grid-template-columns: 1fr; }

  .terms-content { grid-template-columns: 1fr; }
}