/* === NAV === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--fg); }

.nav-client-name {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-family: var(--font-display);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

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

.btn-primary:hover {
  background: #7c6cf0;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.06);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 2rem;
}

.btn-full { width: 100%; text-align: center; }

/* Hero CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero { padding-top: 8rem; }

/* Closing CTAs */
.closing-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Pricing CTA */
.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

/* === APP PAGES (shared) === */
.app-main {
  min-height: 100vh;
  padding: 100px 2rem 4rem;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, var(--accent-glow), transparent),
    var(--bg);
}

/* === FORM CONTAINERS === */
.form-container {
  max-width: 680px;
  margin: 0 auto;
}

.form-header {
  margin-bottom: 2.5rem;
}

.form-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(108,92,231,0.3);
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.form-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.form-lede {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.form-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--red-muted);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Form sections */
.form-section {
  margin-bottom: 2rem;
  padding: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.form-section-title {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.2rem;
}

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

.form-group {
  margin-bottom: 1.2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b8b9e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-muted); }

.form-submit {
  margin-top: 1.5rem;
}

.form-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
}

/* === AUDIT PAGE === */
.audit-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.audit-pitch h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.audit-promises {
  list-style: none;
  margin: 1.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.audit-promises li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.promise-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.audit-promises li div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.audit-promises li strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--fg);
}

.audit-promises li span {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.audit-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
}

.audit-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* === SUCCESS STATE === */
.success-state {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 210, 160, 0.12);
  border: 1px solid rgba(0, 210, 160, 0.3);
  color: var(--green);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}

.success-state h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-state p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === LOGIN === */
.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.login-header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.login-header p { font-size: 0.9rem; color: var(--fg-muted); }

.login-form .form-group { margin-bottom: 1.2rem; }

.login-footer-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.text-accent { color: var(--accent-light); text-decoration: none; }
.text-accent:hover { color: var(--fg); }

/* === DASHBOARD === */
.dashboard-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 2rem 4rem;
}

.welcome-banner {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(0, 210, 160, 0.1);
  border-bottom: 1px solid rgba(0, 210, 160, 0.2);
  padding: 0.75rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--fg);
}

.welcome-link {
  color: var(--green);
  text-decoration: none;
  margin-left: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.dashboard-plan-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.dashboard-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.25rem;
}

.dashboard-sub {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.dashboard-summary-cards {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  text-align: center;
  min-width: 80px;
}

.summary-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
}

.summary-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

/* Content breakdown */
.content-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.breakdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.breakdown-icon { font-size: 1.3rem; flex-shrink: 0; }

.breakdown-info { display: flex; flex-direction: column; }

.breakdown-count {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.breakdown-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}

/* Deliverables */
.deliverables-section { margin-bottom: 3rem; }

.deliverables-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.deliverable-group { margin-bottom: 1.5rem; }

.group-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.group-label--active { color: var(--green); }
.group-label--review { color: #f59e0b; }

.deliverables-list { display: flex; flex-direction: column; gap: 0.5rem; }

.deliverable-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}

.deliverable-card--active { border-color: rgba(0,210,160,0.2); }
.deliverable-card--review { border-color: rgba(245,158,11,0.2); }
.deliverable-card--delivered { opacity: 0.6; }

.deliverable-type-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.deliverable-info { flex: 1; min-width: 0; }

.deliverable-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deliverable-due {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}

.deliverable-status {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

.deliverable-status--in_progress {
  background: rgba(0,210,160,0.1);
  color: var(--green);
  border: 1px solid rgba(0,210,160,0.2);
}

.deliverable-status--pending {
  background: rgba(108,92,231,0.1);
  color: var(--accent-light);
  border: 1px solid rgba(108,92,231,0.2);
}

.deliverable-status--review {
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.2);
}

.deliverable-status--delivered {
  background: rgba(139,139,158,0.1);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.dashboard-support {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .audit-layout { grid-template-columns: 1fr; gap: 2rem; }
  .dashboard-header { flex-direction: column; }
  .dashboard-summary-cards { width: 100%; justify-content: space-between; }
  .nav-links .btn-sm { display: none; }
  .hero-ctas { flex-direction: column; }
  .closing-ctas { flex-direction: column; }
}

@media (max-width: 480px) {
  .content-breakdown { grid-template-columns: 1fr 1fr; }
  .deliverable-card { flex-wrap: wrap; gap: 0.6rem; }
  .deliverable-title { white-space: normal; }
}
