/* ============================================
   eBuilderz Landing Page Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_184908/98c2a97d-69f6-414c-b446-631cb1abb99f.jpg') center/cover no-repeat;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: #4ade80;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Pain Points Section
   ============================================ */
.pain-points {
  background: #fafafa;
  padding: 100px 0;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain-point-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pain-point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.pain-point-icon {
  width: 48px;
  height: 48px;
  background: #fee2e2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pain-point-icon svg {
  width: 24px;
  height: 24px;
  color: #dc2626;
}

.pain-point-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.pain-point-description {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  background: #ffffff;
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 40px 32px;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: #d1d5db;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.service-description {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================
   Proof/Credibility Section
   ============================================ */
.proof {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding: 100px 0;
  color: #ffffff;
}

.proof-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #4ade80;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.proof-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.proof-text p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-study-teaser {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px;
}

.case-study-teaser-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ade80;
  margin-bottom: 8px;
  font-weight: 600;
}

.case-study-teaser-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  background: #fafafa;
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(90deg, #e5e5e5 0%, #0a0a0a 50%, #e5e5e5 100%);
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.step-description {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   Final CTA Section
   ============================================ */
.final-cta {
  background: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-cta p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-button {
  background: #0a0a0a;
  color: #ffffff;
}

.final-cta .cta-button:hover {
  background: #1a1a2e;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0a0a0a;
  color: #ffffff;
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

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

.footer-contact-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-contact a {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #4ade80;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.social-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .pain-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .proof-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

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

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

  .pain-points-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  .proof-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .final-cta h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .service-card, .pain-point-card {
    padding: 24px 20px;
  }
}
