:root {
  --cb-black: #0a0a0a;
  --cb-white: #ffffff;
  --cb-gray: #f5f5f5;
  --cb-gray-dark: #e0e0e0;
  --cb-accent: #0a0a0a;
  --cb-yellow: yellow;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cb-black);
  background: var(--cb-white);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p {
  margin: 0 0 1rem;
  color: #555;
}

a {
  color: var(--cb-black);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  min-height: 100vh;
}

section {
  padding: 5rem 0;
}

/* Navbar */
.navbar {
  background: var(--cb-black);
  border-bottom: 4px solid var(--cb-accent);
  padding: 1rem 0;
  position: relative;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--cb-white) !important;
  text-transform: uppercase;
}

.navbar-brand span {
  color: var(--cb-accent);
}

.nav-link {
  color: var(--cb-white) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-link.active {
  opacity: 1;
  color: var(--cb-white) !important;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

/* Hero — clean whitegrip style */
.hero {
  background: var(--cb-white);
  color: var(--cb-black);
  padding: 6rem 0;
  border-bottom: 1px solid var(--cb-gray-dark);
  min-height: auto;
}

.hero h1 {
  color: var(--cb-black);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--cb-accent);
}

.hero > .container > .row > .col-lg-7 > p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cb-accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  font-weight: 700;
  border-radius: 0;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--cb-accent);
  color: var(--cb-white);
  border: 2px solid var(--cb-accent);
  box-shadow: 4px 4px 0 var(--cb-white);
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
  text-decoration: none;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--cb-white);
  color: var(--cb-white);
}

.btn-outline {
  background: transparent;
  color: var(--cb-black);
  border: 2px solid var(--cb-black);
  box-shadow: 4px 4px 0 var(--cb-gray-dark);
}

.btn-outline:hover {
  background: var(--cb-black);
  color: var(--cb-white);
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--cb-gray-dark);
  transform: translate(2px, 2px);
}

.btn-dark {
  background: var(--cb-black);
  color: var(--cb-white);
  border: 2px solid var(--cb-black);
  box-shadow: 4px 4px 0 var(--cb-gray-dark);
}

.btn-dark:hover {
  background: #333;
  border-color: #333;
  text-decoration: none;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--cb-gray-dark);
  color: var(--cb-white);
}

/* Upload Section */
.upload-section {
  background: var(--cb-white);
  border-top: 1px solid var(--cb-gray-dark);
  border-bottom: 1px solid var(--cb-gray-dark);
}

.upload-card {
  background: var(--cb-white);
  border: 2px dashed var(--cb-gray-dark);
  padding: 3rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.upload-card:hover,
.upload-card.dragover {
  border-color: var(--cb-accent);
  background: #f0f0f0;
}

.upload-card input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--cb-accent);
  display: block;
}

.upload-card > p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

.upload-card .upload-hint {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Form — clean whitegrip style */
.form-section {
  background: var(--cb-gray);
  padding: 5rem 0;
  border-top: 1px solid var(--cb-gray-dark);
  border-bottom: 1px solid var(--cb-gray-dark);
}

.form-section h2 {
  margin-bottom: 0.5rem;
}

.form-section > .container > p {
  margin-bottom: 2.5rem;
}

.form-control {
  padding: 0.875rem 1rem;
  border: 1px solid var(--cb-gray-dark);
  border-radius: 0;
  font-size: 1rem;
  background: var(--cb-white);
  color: var(--cb-black);
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--cb-accent);
  box-shadow: none;
  outline: none;
}

/*.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cb-black);
  margin-bottom: 0.5rem;
  display: block;
}
*/
/* Contract Types — pillar-card style */
.contract-types {
  background: var(--cb-black);
  color: var(--cb-white);
  padding: 5rem 0;
}

.contract-types h2 {
  color: var(--cb-white);
  margin-bottom: 0.5rem;
}

.contract-types > .container > p {
  color: #aaa;
  margin-bottom: 3rem;
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.contract-type-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--cb-gray-dark);
  transition: all 0.2s ease;
  color: var(--cb-black);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contract-type-card:hover {
  background: var(--cb-gray);
  border-color: var(--cb-black);
  text-decoration: none;
  color: var(--cb-black);
}

.contract-type-card i {
  font-size: 1.75rem;
  color: var(--cb-black);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contract-type-card-content {}

.contract-type-card h3 {
  font-size: 1rem;
  color: var(--cb-black);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.contract-type-card p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Features / How it Works */
.features {
  background: var(--cb-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.feature-card {
  padding: 3rem 2rem;
  border: 1px solid var(--cb-gray-dark);
  transition: all 0.2s ease;
  position: relative;
}

.feature-card:hover {
  background: var(--cb-gray);
}

.feature-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--cb-gray-dark);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Team Cards — clean surface-card style */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--cb-white);
  border: 1px solid var(--cb-gray-dark);
  padding: 2rem;
}

.team-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cb-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--cb-black);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  text-align: center;
}

.team-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cb-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.team-card p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  text-align: center;
}

/* Outcome Page — cleaned up to match whitegrip style */
.outcome-hero {
  background: var(--cb-white);
  color: var(--cb-black);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--cb-gray-dark);
}

.outcome-hero h1 {
  color: var(--cb-black);
  margin-bottom: 0.5rem;
}

.outcome-hero .ticket-number {
  display: inline-block;
  background: var(--cb-black);
  color: var(--cb-white);
  padding: 0.5rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.outcome-result {
  background: var(--cb-white);
  padding: 4rem 0;
}

.outcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #d4edda;
  border: 1px solid #28a745;
  border-left: 4px solid #28a745;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #155724;
  margin-bottom: 2rem;
}

.outcome-badge i {
  font-size: 1.25rem;
}

.outcome-analysis {
  background: var(--cb-gray);
  border: 1px solid var(--cb-gray-dark);
  padding: 1.5rem;
  margin: 2rem 0;
}

.outcome-analysis h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.outcome-analysis p {
  margin-bottom: 0;
}

/* Pricing Card — clean surface-card style */
.pricing-card {
  background: var(--cb-white);
  border: 1px solid var(--cb-gray-dark);
  padding: 2rem;
  text-align: center;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--cb-black);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cb-gray-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #444;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--cb-accent);
  font-size: 1.1rem;
}

/* FAQs */
.faqs {
  background: var(--cb-white);
}

.faq-item {
  border-bottom: 2px solid var(--cb-gray-dark);
  padding: 2rem 0;
}

.faq-item:first-child {
  border-top: 2px solid var(--cb-gray-dark);
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cb-black);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.faq-answer {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

.faq-answer p {
  color: #555;
}

/* CTA Section — clean, understated */
.cta-section {
  background: var(--cb-black);
  color: var(--cb-white);
  padding: 4rem 0;
}

.cta-section h2 {
  color: var(--cb-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--cb-white);
  color: var(--cb-black);
  border: 2px solid var(--cb-white);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.15);
}

.cta-section .btn:hover {
  background: var(--cb-gray);
  border-color: var(--cb-gray);
  color: var(--cb-black);
  text-decoration: none;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(255,255,255,0.1);
}

/* Footer */
.footer {
  background: var(--cb-black);
  border-top: 4px solid var(--cb-accent);
  padding: 4rem 0 2rem;
  color: var(--cb-white);
}

.footer h3 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cb-white);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--cb-white);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #555;
}

.footer-bottom a {
  color: #555;
  font-size: 0.8rem;
}

/* Page Header */
.page-header {
  background: var(--cb-black);
  color: var(--cb-white);
  padding: 8rem 0 4rem;
  border-bottom: 4px solid var(--cb-accent);
}

.page-header h1 {
  color: var(--cb-white);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: #aaa;
  max-width: 600px;
}

/* Alert / Success */
.alert-success {
  background: #dbeafe;
  border: 2px solid #28a745;
  border-left: 6px solid #28a745;
  padding: 1.5rem;
  margin: 2rem 0;
}

.alert-success h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #155724;
}

.alert-success p {
  margin: 0;
  color: #155724;
}

/* File Preview */
.file-preview {
  display: none;
  background: var(--cb-gray);
  border: 2px solid var(--cb-black);
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.file-preview.show {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.file-preview i {
  font-size: 2rem;
  color: var(--cb-accent);
}

.file-preview-info {
  flex: 1;
  min-width: 0; /* Allow text to shrink */
}

.file-preview-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cb-black);
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview-size {
  font-size: 0.8rem;
  color: #666;
}

.file-preview-remove {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

.file-preview-remove:hover {
  color: var(--cb-accent);
}

/* Utility */
.container {
  max-width: 1200px;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--cb-accent) !important; }
.bg-gray { background: var(--cb-gray) !important; }
.bg-black { background: var(--cb-black) !important; }
.text-white { color: var(--cb-white) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.g-4 { gap: 1.5rem; }
.row { display: flex; flex-wrap: wrap; margin: 0 -1rem; }
.col, .col-12, .col-6, .col-4, .col-3,
.col-lg, .col-lg-12, .col-lg-8, .col-lg-6, .col-lg-4, .col-lg-3,
.col-md, .col-md-6, .col-md-4, .col-md-3 { padding: 0 1rem; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

@media (min-width: 992px) {
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
}

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
}

.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.w-100 { width: 100% !important; }

.list-unstyled { list-style: none; padding: 0; margin: 0; }
.small { font-size: 0.875rem !important; }
.fw-bold { font-weight: 700 !important; }
.fw-black { font-weight: 900 !important; }
.border-bottom { border-bottom: 1px solid var(--cb-gray-dark) !important; }
.shadow { box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important; }
.shadow-lg { box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.hero h1 { animation: fadeIn 0.6s ease-out; }
.hero p { animation: fadeIn 0.6s ease-out 0.1s both; }
.hero-buttons { animation: fadeIn 0.6s ease-out 0.2s both; }
.hero-tagline { animation: fadeIn 0.6s ease-out 0.15s both; }

.outcome-badge {
  animation: fadeIn 0.5s ease-out 0.3s both;
}

/* Responsive */
@media (max-width: 767.98px) {
  section { padding: 3rem 0; }
  .hero { min-height: auto; padding: 5rem 0 4rem; }
  .outcome-hero { padding: 4rem 0 3rem; }
  .pricing-amount { font-size: 3rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contract-grid { grid-template-columns: 1fr; }
  
  /* Stack form fields vertically on mobile */
  .form-section .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  /* Upload card on mobile */
  .upload-card {
    min-height: 200px !important;
  }
}
