/* ============================================================
   Data Accepted LLC — Main Stylesheet
   Color Palette:
     Navy (primary):  #0A1628
     Blue (accent):   #1D4ED8
     Green (brand):   #10B981
     Light BG:        #F8FAFC
     Text dark:       #1E293B
     Text muted:      #64748B
   ============================================================ */

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

:root {
  --navy:    #0A1628;
  --blue:    #1D4ED8;
  --blue-lt: #3B82F6;
  --green:   #10B981;
  --bg:      #F8FAFC;
  --card-bg: #FFFFFF;
  --text:    #1E293B;
  --muted:   #64748B;
  --border:  #E2E8F0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Navbar ── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.navbar-brand .check {
  color: var(--green);
  font-size: 1.4rem;
  line-height: 1;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: #CBD5E1;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active { color: #fff; }

.navbar-cta {
  background: var(--green);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.navbar-cta:hover { background: #059669; transform: translateY(-1px); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-lt); }

.btn-green  { background: var(--green); color: #fff; }
.btn-green:hover { background: #059669; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #112240 60%, #0F3460 100%);
  color: #fff;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(29,78,216,0.25) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(16,185,129,0.15);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.35);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

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

.hero p {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

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

/* ── Section headings ── */
section { padding: 5rem 1.5rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── Pain Points ── */
.pain-section { background: var(--navy); color: #fff; }
.pain-section .section-label { color: var(--green); }
.pain-section .section-title { color: #fff; }
.pain-section .section-sub { color: #94A3B8; }

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

.pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem;
}

.pain-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pain-card p { color: #94A3B8; font-size: 0.9rem; }

/* ── Services Grid ── */
.services-section { background: var(--bg); }

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }

.service-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(29,78,216,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-card p { font-size: 0.9rem; color: var(--muted); }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-band p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Contact Form ── */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p { color: var(--muted); margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-detail .icon {
  width: 36px;
  height: 36px;
  background: rgba(29,78,216,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-submit { width: 100%; padding: 0.85rem; font-size: 1rem; }

/* ── Messages (Django flash) ── */
.messages-list { list-style: none; margin-bottom: 1.5rem; }

.messages-list li {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.messages-list li.success { background: #D1FAE5; color: #065F46; }
.messages-list li.error   { background: #FEE2E2; color: #991B1B; }

/* ── Services Detail Page ── */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.services-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.services-detail-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-detail-card ul {
  list-style: none;
  margin-top: 0.75rem;
}

.services-detail-card ul li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-detail-card ul li:last-child { border-bottom: none; }
.services-detail-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: #94A3B8;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
}

.footer a { color: var(--green); }
.footer a:hover { text-decoration: underline; }

/* ── Responsive Navbar ── */
@media (max-width: 640px) {
  .navbar-links { display: none; }
}
