/*
 * Main stylesheet for DataPeople web site
 * This file defines colors, typography, layout and responsive behavior.
 */

/* CSS Variables for consistent theming */
:root {
  --color-primary: #1e40af; /* deep blue for headings and hero overlay */
  --color-secondary: #0f172a; /* darker blue for nav bar */
  --color-accent: #f97316; /* orange accent for calls to action */
  --color-neutral: #f8fafc; /* very light grey for section backgrounds */
  --color-gray: #e2e8f0; /* mid grey for table lines */
  --color-text: #0f172a; /* near black for body text */
  --max-width: 1200px;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --font-stack: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* Global reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-stack);
  line-height: 1.5;
  color: var(--color-text);
  background-color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* Layout helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--color-secondary);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.logo .dot {
  color: var(--color-accent);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  transition: color var(--transition-speed);
}
.nav-links a:hover,
.nav-links a:focus {
  color: #fff;
}

/* Mobile menu */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #cbd5e1;
  transition: all var(--transition-speed);
  content: '';
}
.nav-toggle-label span::before {
  top: -8px;
}
.nav-toggle-label span::after {
  top: 8px;
}

/* Toggle animation */
.nav-toggle:checked + .nav-toggle-label span {
  background: transparent;
}
.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle:checked + .nav-toggle-label span::after {
  transform: rotate(-45deg);
  top: 0;
}
.nav-toggle:checked ~ .nav-links {
  max-height: 300px;
  opacity: 1;
  padding-top: 1rem;
}

/* Hero */
.hero {
  position: relative;
  /* The hero uses an abstract network image that lives alongside this CSS file */
  background-image: url('B.png');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
/* overlay to darken background for legibility */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  z-index: -1;
}
.hero-content {
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #e2e8f0;
}
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: background var(--transition-speed), transform var(--transition-speed);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #ea580c;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section:nth-of-type(even) {
  background: var(--color-neutral);
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-primary);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.feature-item {
  width: 100%;
  text-align: center;
  padding: 1rem;
}
.feature-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.95rem;
  color: #475569;
}

/* Help list */
.help-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.help-list li {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
}
.list-icon {
  color: var(--color-accent);
  min-width: 1rem;
}

/* Steps grid */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.step-item {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  padding: 1rem;
}
.step-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.step-desc {
  font-size: 0.95rem;
  color: #475569;
}


/* Pricing */
.pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.25rem;
  color: #475569;
  font-size: 1.05rem;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-gray);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-plan {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  text-align: center;
}

.pricing-subnote {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-align: center;
}

.pricing-value {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0f172a;
  text-align: center;
}

.pricing-value strong {
  color: var(--color-primary);
}

.per {
  font-size: 0.9rem;
  color: #64748b;
}

.price-block {
  padding: 0.9rem 0;
  border-top: 1px solid var(--color-gray);
}

.price-block:first-of-type {
  border-top: none;
  padding-top: 0.2rem;
}

.retainer-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.35rem;
  font-size: 0.92rem;
}
.retainer-table td:nth-child(3),
.retainer-table td:nth-child(4) {
  font-weight: 600;
  color: var(--color-primary);
}
.retainer-table th,
.retainer-table td {
  padding: 0.65rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid var(--color-gray);
  vertical-align: top;
}

.retainer-table th {
  background: var(--color-neutral);
  color: var(--color-primary);
  font-weight: 700;
}

.pricing-note {
  margin-top: 1.75rem;
  text-align: center;
  color: #475569;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

.pricing-note strong {
  color: #0f172a;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.85rem;
}

/* About */
.about {
  position: relative;
}
.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Subtle wave texture sits behind the About section */
  background-image: url('wave-pattern.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -1;
}
.about-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #475569;
}
.about-person {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}
.person-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.person-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}
.person-bio {
  font-size: 1rem;
  color: #475569;
}

/* Contact */
.contact p {
  text-align: center;
  color: #475569;
  margin-bottom: 1rem;
}
.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #475569;
  margin-bottom: 0.5rem;
}
.contact a.btn-primary {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--color-secondary);
  color: #cbd5e1;
  padding: 1rem 0;
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-text {
  flex: 1;
}
.footer-links {
  display: flex;
  gap: 1rem;
}
.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-speed);
}
.footer-links a:hover {
  color: #fff;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Show hamburger */
  .nav-toggle-label {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--color-secondary);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed), opacity var(--transition-speed);
    opacity: 0;
  }
  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links a {
    padding: 0.75rem 1rem;
    display: block;
    color: #cbd5e1;
  }
  .hero {
    height: 70vh;
  }
  .hero-title {
    font-size: 2rem;
  }
  .features-grid,
  .steps-grid,
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    width: 100%;
  }
  .about-person {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Shit I added */
.help-list.centered {
  align-items: center;
}

.help-list.centered li {
  justify-content: center;
  text-align: center;
  max-width: 600px;
}

.who-intro {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #475569;
}

.help-list.bold li {
  font-size: 1.05rem;
  font-weight: 500;
}
.who-close {
  text-align: center;
  margin-top: 1.5rem;
  font-weight: 500;
  color: #0f172a;
}