/* =============================================
   Darwin NT — Base Styles
   Mobile-first, system fonts, no dependencies
   ============================================= */

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

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --charcoal: #2c3e50;
  --slate: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --amber: #e67e22;
  --amber-dark: #d35400;
  --amber-light: #fef3e2;
  --green: #27ae60;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* ---- Layout ---- */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--light-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--amber);
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
  background: var(--light-gray);
  color: var(--navy);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}

/* Mobile nav open state */
.nav-menu.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-gray);
  box-shadow: var(--shadow-md);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--amber-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--light-gray);
  color: var(--navy);
}

/* ---- Hero ---- */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

.hero .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(230, 126, 34, 0.15);
  color: var(--amber);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---- Section Headings ---- */

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--slate);
  max-width: 560px;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Problem Section ---- */

.problem {
  background: var(--light-gray);
}

.problem-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.problem-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.problem-card .icon {
  width: 44px;
  height: 44px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
}

/* ---- Services / Pricing ---- */

.services {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--amber);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-card .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 4px;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-card li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #dcfce7;
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- How It Works ---- */

.how-it-works {
  background: var(--light-gray);
}

.steps-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.step {
  text-align: center;
  padding: 24px 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto;
}

/* ---- Portfolio / Business Hub ---- */

.portfolio {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.biz-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.biz-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
}

.biz-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.biz-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.biz-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
}

.biz-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 14px;
}

.biz-card .biz-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-dark);
}

.biz-card .biz-link:hover {
  color: var(--amber);
}

.biz-link svg {
  width: 14px;
  height: 14px;
}

.portfolio-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---- About ---- */

.about {
  background: var(--light-gray);
}

.about-content {
  max-width: 680px;
}

.about-content p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 16px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-badge .badge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--amber-light);
  color: var(--amber);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ---- Contact ---- */

.contact {
  background: var(--navy);
  color: var(--white);
}

.contact .section-label {
  color: var(--amber);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.contact-grid {
  display: grid;
  gap: 40px;
  margin-top: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(230,126,34,0.15);
  color: var(--amber);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.contact-info-item a {
  color: var(--amber);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.9);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
}

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

/* ---- Footer ---- */

.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.6);
  padding: 40px 0 30px;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand span {
  color: var(--amber);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--amber);
}

/* =============================================
   Responsive
   ============================================= */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  section {
    padding: 80px 0;
  }

  .hero {
    padding: 100px 0 90px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    align-items: center;
  }

  .nav-cta {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
