/* Investesa — Premium Investment & Corporate Setup Brand Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  /* Brand palette: warm dark, cream, and gold */
  --primary-color: #FFFFFF;
  --primary-hover: #E8E8E8;
  --secondary-color: #C9A227;
  --secondary-hover: #D4AF37;
  --bg-color: #141414;
  --bg-soft: #1A1A1A;
  --card-bg: #1E1E1E;
  --card-bg-elevated: #242424;
  --card-border: rgba(201, 162, 39, 0.22);
  --card-border-subtle: rgba(255, 255, 255, 0.06);
  --text-color: #EDEDED;
  --text-muted: #9CA3AF;
  --white: #FFFFFF;
  --black: #000000;
  --danger-color: #F87171;
  --success-color: #4ADE80;
  --warning-color: #FBBF24;
  --info-color: #60A5FA;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-gold: 0 0 24px rgba(201, 162, 39, 0.18);
  --glow-white: 0 0 24px rgba(255, 255, 255, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

[data-theme="light"] {
  --primary-color: #2D1B00;
  --primary-hover: #4A2E0A;
  --bg-color: #FFF8F0;
  --bg-soft: #FFF3E6;
  --card-bg: #FFFCF7;
  --card-bg-elevated: #FFF9F0;
  --card-border: rgba(184, 146, 46, 0.28);
  --card-border-subtle: rgba(180, 130, 60, 0.15);
  --text-color: #2D1B00;
  --text-muted: #8B7355;
  --white: #2D1B00;
  --black: #000000;
  --glow-gold: 0 0 24px rgba(184, 146, 46, 0.15);
  --glow-white: 0 0 24px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] header {
  background: rgba(255, 248, 240, 0.92);
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.7) 0%, rgba(255, 248, 240, 0.85) 45%, rgba(255, 248, 240, 0.96) 100%);
}

[data-theme="light"] .sidebar-link.active,
[data-theme="light"] .sidebar-link:hover {
  background: rgba(201, 162, 39, 0.12);
}

[data-theme="light"] tr:hover td {
  background: rgba(0, 0, 0, 0.02);
  color: var(--white);
}

[data-theme="light"] .form-control {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.15);
  color: #1A1A1A;
}

[data-theme="light"] .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

[data-theme="light"] .selection-card {
  background: #FFFFFF;
}

[data-theme="light"] .upload-zone {
  background: #FFFFFF;
}

[data-theme="light"] .partner-row {
  background: #FFF3E6;
}

[data-theme="light"] .wizard-container {
  background: #FFFFFF;
}

[data-theme="light"] .wizard-step {
  background: #FFF3E6;
}

[data-theme="light"] .btn-primary {
  background: #2D1B00;
  color: #FFFCF7 !important;
  border-color: #2D1B00;
}

[data-theme="light"] .btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #2D1B00 !important;
}

[data-theme="light"] .btn-secondary {
  color: var(--secondary-color) !important;
}

[data-theme="light"] .btn-secondary:hover {
  color: #000000 !important;
}

[data-theme="light"] .btn-danger {
  color: var(--danger-color) !important;
}

[data-theme="light"] .btn-danger:hover {
  color: #FFFFFF !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--white);
}

p {
  color: var(--text-muted);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--white);
}

.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  color: var(--secondary-color);
}

.text-white {
  color: var(--white);
}

.text-muted {
  color: var(--text-muted);
}

/* Layout: Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border-subtle);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 42px;
  border-radius: 6px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--white);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--black) !important;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--black) !important;
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--black) !important;
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

.btn-danger {
  background: transparent;
  color: var(--danger-color) !important;
  border: 1px solid var(--danger-color);
}

.btn-danger:hover {
  background: var(--danger-color);
  color: var(--white) !important;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

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

/* Hero Section — Full-width brand banner */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/media/hero.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-brand {
  width: 100%;
  max-width: 100%;
  min-height: auto;
  display: block;
  line-height: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--card-border-subtle);
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.82) 45%,
    rgba(10, 10, 10, 0.96) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem;
}

.hero-content h1,
.value-proposition-content h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.hero-content .lead,
.value-proposition-content .lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.hero-content .sublead,
.value-proposition-content .sublead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Value Proposition section (below the brand banner) */
.value-proposition {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--bg-color);
  border-bottom: 1px solid var(--card-border-subtle);
}

.value-proposition-content {
  max-width: 820px;
  margin: 0 auto;
}

/* Trust Bar */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--card-border-subtle);
  border-bottom: 1px solid var(--card-border-subtle);
  padding: 1.75rem 2rem;
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

/* Section styling */
.section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--card-border-subtle);
  border-bottom: 1px solid var(--card-border-subtle);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  font-size: 1.05rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--card-border);
  transform: translateY(-6px);
  background: var(--card-bg-elevated);
  box-shadow: var(--glow-gold);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Pricing */
.pricing-section {
  padding: 6rem 2rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--card-border-subtle);
}

.pricing-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.premium {
  border-color: var(--secondary-color);
  box-shadow: var(--glow-gold);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border);
}

.card-tag {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: var(--secondary-color);
  color: var(--black);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pricing-header h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 2.75rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-body);
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.features-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C9A227' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* Wizard / Forms */
.wizard-container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-lg);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-border-subtle);
  z-index: 1;
  transform: translateY(-50%);
}

.wizard-step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--card-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.wizard-step.active {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: var(--black);
  box-shadow: var(--glow-gold);
}

.wizard-step.completed {
  border-color: var(--secondary-color);
  background: transparent;
  color: var(--secondary-color);
}

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

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

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-color);
  border: 1px solid var(--card-border-subtle);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-control:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

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

/* Selection cards used in wizard */
.selection-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-color);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.selection-card:hover {
  border-color: var(--card-border);
  background: var(--card-bg-elevated);
}

.selection-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary-color);
  margin-top: 2px;
  flex-shrink: 0;
}

.selection-card h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.selection-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Upload dropzones */
.upload-zone {
  background: var(--bg-color);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.upload-zone:hover {
  border-color: var(--secondary-color);
  background: rgba(201, 162, 39, 0.03);
}

.upload-zone h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.upload-zone p {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

/* Dashboard Layout */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 73px);
}

.sidebar {
  background: var(--card-bg);
  border-right: 1px solid var(--card-border-subtle);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-eyebrow {
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-item {
  margin-bottom: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-link svg {
  width: 18px;
  height: 18px;
}

.sidebar-link.active,
.sidebar-link:hover {
  background: rgba(201, 162, 39, 0.08);
  color: var(--white);
  border-left-color: var(--secondary-color);
}

.sidebar-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border-subtle);
}

.dashboard-main {
  padding: 3rem;
  background-color: var(--bg-color);
  overflow-y: auto;
}

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

.dashboard-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
}

.dashboard-header p {
  color: var(--text-muted);
}

/* Stats Widgets */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--card-border);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--white);
  font-family: var(--font-heading);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: var(--card-border-subtle);
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--card-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.timeline-item.active .timeline-marker {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  box-shadow: var(--glow-gold);
}

.timeline-item.completed .timeline-marker {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
}

.timeline-content h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Tables */
.table-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1rem 1.5rem;
}

th {
  background: var(--bg-color);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--card-border-subtle);
}

td {
  border-bottom: 1px solid var(--card-border-subtle);
  color: var(--text-muted);
  font-size: 0.95rem;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-draft { background: rgba(138, 138, 138, 0.12); color: var(--text-muted); }
.badge-payment_pending { background: rgba(245, 158, 11, 0.12); color: var(--warning-color); }
.badge-submitted { background: rgba(59, 130, 246, 0.12); color: var(--info-color); }
.badge-under_review { background: rgba(236, 72, 153, 0.12); color: #EC4899; }
.badge-approved { background: rgba(34, 197, 94, 0.12); color: var(--success-color); }
.badge-completed { background: rgba(201, 162, 39, 0.15); color: var(--secondary-color); }

/* Document Vault */
.doc-vault-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.doc-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.doc-card:hover {
  border-color: var(--card-border);
  transform: translateY(-2px);
}

.doc-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.doc-info p {
  font-size: 0.8rem;
}

/* Notification banner */
.alert-banner {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--success-color);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-banner.alert-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: var(--danger-color);
}

/* Form steps layout */
.partner-row {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border-subtle);
  margin-bottom: 1.5rem;
  position: relative;
}

.partner-row h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.remove-partner-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--danger-color);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Empty state */
.empty-state {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  text-align: center;
  margin: 4rem auto;
  max-width: 600px;
}

.empty-state h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--card-border-subtle);
  margin-top: 5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-soft);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  text-align: left;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  background: rgba(201, 162, 39, 0.05);
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--card-border-subtle);
  padding-top: 2rem;
}

/* About Page */
.about-hero {
  padding: 5rem 2rem 3rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--card-border-subtle);
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--secondary-color);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--card-border);
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.about-hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
}

.about-nav {
  background: var(--bg-color);
  border-bottom: 1px solid var(--card-border-subtle);
  padding: 1rem 2rem;
  position: sticky;
  top: 73px;
  z-index: 90;
}

.about-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.about-nav-link:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.about-section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--card-border-subtle);
  border-bottom: 1px solid var(--card-border-subtle);
  max-width: 100%;
}

.about-section-alt .about-section-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.about-section p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.about-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.about-card p {
  font-size: 0.9rem;
  margin: 0;
}

.about-contact {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-style: normal;
}

.about-contact p {
  margin-bottom: 0.75rem;
}

.about-contact p:last-child {
  margin-bottom: 0;
}

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* FAQ */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 300;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Utility */
.divider {
  height: 1px;
  background: var(--card-border-subtle);
  margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

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

  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--card-border-subtle);
  }

  .dashboard-main {
    padding: 2rem 1.5rem;
  }

  .dashboard-header {
    flex-direction: column;
  }

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

  .wizard-container {
    margin: 2rem 1rem;
    padding: 1.75rem;
  }
}

/* AI Chat Widget */
#ai-chat-panel {
  animation: slideUp 0.25s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
#ai-chat-messages::-webkit-scrollbar {
  width: 4px;
}
#ai-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
#ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
#ai-toggle-btn:hover {
  transform: scale(1.08);
}
