/* =========================================================================
   A+ Director Commercial Engine - 100% Light Minimalist Design System
   ========================================================================= */

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-muted: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-secondary: #475569;
  
  --accent-lime: #65a30d;
  --accent-lime-bright: #84cc16;
  --accent-blue: #0284c7;
  --accent-violet: #7c3aed;
  
  --primary: #0f172a;
  --primary-color: #0f172a;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.07);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body, body.light-theme, body.dark-theme {
  font-family: var(--font-body);
  background-color: #f8fafc !important;
  color: #0f172a !important;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Layout Container */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(16px);
  padding: 16px 0;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.logo-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #65a30d;
  letter-spacing: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0f172a;
}

.nav-link.highlight {
  color: #65a30d;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-pill-neon, .btn-neon {
  background: #84cc16;
  color: #ffffff !important;
  border-radius: 9999px;
  padding: 12px 26px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(132, 204, 22, 0.3);
}

.btn-pill-neon:hover, .btn-neon:hover {
  background: #65a30d;
  box-shadow: 0 6px 22px rgba(132, 204, 22, 0.45);
  transform: translateY(-2px);
}

.btn-pill-outline, .btn-outline {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 10px 22px;
}

.btn-pill-outline:hover, .btn-outline:hover {
  border-color: #84cc16;
  color: #65a30d !important;
  background: rgba(132, 204, 22, 0.05);
}

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Hero Section */
.hero-section {
  background: #f8fafc !important;
  padding: 60px 0 80px 0;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-nav { display: none; }
}

.pill-category-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pill-badge {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.78rem;
  color: #334155;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.pill-badge.neon-border { border-color: #84cc16; color: #65a30d; }
.pill-badge.violet-border { border-color: #c084fc; color: #7c3aed; }

.hero-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a !important;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
}

.text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #65a30d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #475569 !important;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 30px;
}

.email-pill-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

@media (max-width: 576px) {
  .email-pill-bar {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
  }
}

.email-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.email-pill-input {
  background: transparent;
  border: none;
  outline: none;
  color: #0f172a;
  font-size: 0.95rem;
  width: 100%;
}

.email-pill-input::placeholder { color: #94a3b8; }

.social-proof-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack { display: flex; }

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #ffffff;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
}

.avatar-circle:first-child { margin-left: 0; }
.avatar-circle.green { background: #84cc16; color: #ffffff; }

.social-proof-text {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.3;
}

.social-proof-text strong { color: #0f172a; }

/* Dashboard Showcase Card */
.clean-dashboard-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #84cc16;
  box-shadow: 0 0 10px #84cc16;
}

.status-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a !important;
}

.badge-vtec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #65a30d;
  background: rgba(132, 204, 22, 0.12);
  padding: 4px 10px;
  border-radius: 12px;
}

.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-metric-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}

.dash-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.dash-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 800;
}

.dash-val.neon { color: #65a30d; }
.dash-val.white { color: #0f172a; }
.dash-val.blue { color: #0284c7; }

.dash-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-stack-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-stack-item:hover {
  transform: translateX(4px);
  border-color: #84cc16;
  background: rgba(132, 204, 22, 0.04);
}

.item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-icon.vtec { background: rgba(132, 204, 22, 0.12); }
.item-icon.v3c { background: rgba(168, 85, 247, 0.12); }
.item-icon.cta { background: rgba(2, 132, 199, 0.12); }

.item-text strong {
  font-size: 0.88rem;
  color: #0f172a !important;
  display: block;
  margin-bottom: 2px;
}

.item-text p {
  font-size: 0.78rem;
  color: #64748b !important;
  line-height: 1.35;
}

.dashboard-card-footer {
  text-align: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  font-size: 0.75rem;
  color: #64748b;
}

/* Frameworks Showcase Section */
.frameworks-section {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 80px 0;
}

.section-header {
  margin-bottom: 50px;
}

.section-header.center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #65a30d;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a !important;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-description {
  font-size: 1rem;
  color: #475569 !important;
  line-height: 1.6;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

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

.glass-card, .framework-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.card-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.card-badge.neon { background: rgba(132, 204, 22, 0.15); color: #65a30d; }
.card-badge.violet { background: rgba(124, 58, 237, 0.15); color: #7c3aed; }

.card-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a !important;
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.9rem;
  color: #64748b !important;
  margin-bottom: 24px;
}

.pilars-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pilar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.pilar-item:last-child { border-bottom: none; }

.pilar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0284c7;
  background: #f1f5f9;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pilar-item strong {
  font-size: 0.9rem;
  color: #0f172a !important;
  display: block;
}

.pilar-item p {
  font-size: 0.8rem;
  color: #64748b !important;
}

/* Calculator Section */
.calculator-section {
  background: #f8fafc !important;
  padding: 80px 0;
}

.category-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: #0f172a;
  border-color: #94a3b8;
}

.filter-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

.interactive-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .interactive-layout { grid-template-columns: 1fr; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

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

.service-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: #84cc16 !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card.selected {
  border-color: #84cc16 !important;
  background: rgba(132, 204, 22, 0.03) !important;
}

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

.service-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 10px;
  border-radius: 10px;
}

.service-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #65a30d;
  background: rgba(101, 163, 13, 0.08);
  padding: 4px 10px;
  border-radius: 10px;
}

.service-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a !important;
  margin-bottom: 8px;
}

.service-description {
  font-size: 0.85rem;
  color: #64748b !important;
  margin-bottom: 20px;
  line-height: 1.45;
}

.service-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.service-pricing {
  display: flex;
  flex-direction: column;
}

.service-hours {
  font-size: 0.75rem;
  color: #64748b;
}

.service-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #65a30d !important;
}

.btn-add {
  background: #0f172a;
  color: #ffffff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
}

.btn-add:hover { background: #1e293b; }

.btn-selected {
  background: #84cc16;
  color: #ffffff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
}

/* Sticky Backlog Panel */
.backlog-sticky-panel {
  position: sticky;
  top: 90px;
}

.backlog-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.backlog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.backlog-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.backlog-title-group h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a !important;
}

.cart-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #65a30d;
  background: rgba(132, 204, 22, 0.12);
  padding: 4px 10px;
  border-radius: 12px;
}

.empty-feed {
  text-align: center;
  padding: 40px 10px;
  color: #94a3b8;
  font-size: 0.85rem;
}

.backlog-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.item-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #65a30d;
}

.item-title {
  font-size: 0.9rem;
  color: #0f172a !important;
  flex: 1;
}

.remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
}

.item-hours-tag {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 8px;
}

.item-actions-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.framework-tag {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
}

.framework-tag.vtec {
  background: rgba(132, 204, 22, 0.08);
  border-left: 3px solid #84cc16;
}

.framework-tag.vtec .fw-label { color: #65a30d; font-weight: 700; }

.framework-tag.v3c {
  background: rgba(2, 132, 199, 0.08);
  border-left: 3px solid #0284c7;
}

.framework-tag.v3c .fw-label { color: #0284c7; font-weight: 700; }

.framework-tag p { color: #475569 !important; margin: 0; }

.backlog-summary {
  margin-top: 20px;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 8px;
}

.summary-row.total {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a !important;
}

.text-neon-big {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  color: #65a30d !important;
}

.efemera-notice {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  font-size: 0.75rem;
  color: #475569;
  margin: 16px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* About Section */
.about-section {
  background: #ffffff !important;
  padding: 80px 0;
  border-top: 1px solid #e2e8f0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bullet-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.15);
  color: #65a30d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.bullet-item strong {
  font-size: 0.95rem;
  color: #0f172a !important;
  display: block;
}

.bullet-item p {
  font-size: 0.85rem;
  color: #64748b !important;
}

.about-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

.director-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.director-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.director-profile h3 { color: #0f172a !important; font-size: 1.1rem; }
.director-profile p { color: #64748b; font-size: 0.8rem; }

.director-quote {
  font-style: italic;
  color: #334155 !important;
  border-left: 3px solid #84cc16;
  padding-left: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0;
  padding: 60px 0 30px 0;
  color: #64748b;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; }
}

.footer-brand p { color: #64748b !important; font-size: 0.85rem; margin-top: 12px; }
.footer-links h4, .footer-contact h4 { font-family: var(--font-title); font-size: 0.9rem; color: #0f172a !important; margin-bottom: 16px; }
.footer-links a { display: block; color: #64748b !important; text-decoration: none; font-size: 0.85rem; margin-bottom: 8px; }
.footer-links a:hover { color: #65a30d !important; }
.footer-contact p { color: #475569 !important; font-size: 0.85rem; margin-bottom: 6px; }

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #64748b;
}

.bottom-badge {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 12px;
  color: #475569;
}

/* Data Table (Admin) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.data-table th {
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid #cbd5e1;
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  font-size: 0.88rem;
}
