/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #2D3436;
  background: #FFF9E6;
}

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

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

/* ===== VARIABLES ===== */
:root {
  --primary: #FFB800;
  --primary-hover: #FFA000;
  --text: #2D3436;
  --text-muted: #636E72;
  --bg: #FFF9E6;
  --bg-alt: #FFFFFF;
  --border: #FFE4B3;
  --shadow: 0 2px 10px rgba(255, 184, 0, 0.1);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#examples .container {
  max-width: 1200px;
  padding: 0 40px;
}

@media (max-width: 768px) {
  #examples .container {
    padding: 0 20px;
  }
}

.section {
  padding: 60px 0;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.highlight {
  color: #FF8C00;
  background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #2D3436;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.badge {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.badge::first-letter {
  color: #10B981;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 400px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* ===== GRIDS ===== */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 60fr 40fr;
  }

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

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

/* ===== CARDS ===== */
.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pain Points Section */
.pain-points .card p {
  font-size: 1.05rem;
}

/* ===== STEPS (HORIZONTAL LAYOUT) ===== */
.steps {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
}

.step {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 48px;
  height: 32px;
  background: #F5F5F5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  background: rgba(255, 184, 0, 0.15);
  color: var(--primary);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 20px auto 20px;
  border-radius: 12px;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-icon svg {
  width: 48px;
  height: 48px;
  stroke: #3B82F6;
}

.step:hover .step-icon {
  background: rgba(255, 184, 0, 0.1);
  transform: scale(1.05);
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile: Stack vertically */
@media (max-width: 767px) {
  .steps {
    flex-direction: column;
  }
}

/* ===== GALLERY CAROUSEL ===== */
.gallery-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 60px;
  pointer-events: none;
  user-select: none;
}

/* Fade effect on edges */
.gallery-carousel::before,
.gallery-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.gallery-carousel::before {
  left: 0;
  background: linear-gradient(to right, #FFF9E6 0%, transparent 100%);
}

.gallery-carousel::after {
  right: 0;
  background: linear-gradient(to left, #FFF9E6 0%, transparent 100%);
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: fit-content;
  pointer-events: none;
  will-change: transform;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.gallery-image {
  height: 450px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
}

/* Section padding for examples */
#examples {
  padding: 100px 0;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .gallery-image {
    height: 400px;
  }

  .gallery-carousel::before,
  .gallery-carousel::after {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .gallery-image {
    height: 350px;
  }

  .gallery-track {
    gap: 15px;
  }

  .gallery-carousel::before,
  .gallery-carousel::after {
    width: 80px;
  }

  #examples {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .gallery-image {
    height: 300px;
  }

  .gallery-track {
    gap: 12px;
  }

  .gallery-carousel::before,
  .gallery-carousel::after {
    width: 60px;
  }

  #examples {
    padding: 60px 0;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #FFA000 100%);
  color: white;
  text-align: center;
  padding: 60px 40px;
  border-radius: 16px;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}

.cta-box h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.125rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-box .btn-primary {
  background: white;
  color: var(--text);
}

.cta-box .btn-primary:hover {
  background: #F5F5F5;
}

/* ===== FAQ ===== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq h3 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
}

.faq-item h4 {
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
  background: white;
  padding: 40px 0;
  border-top: 2px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer h4 {
  margin-bottom: 8px;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer a {
  color: var(--primary);
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 639px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 40px 0;
  }

  .section {
    padding: 40px 0;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

  .trust-badges {
    flex-direction: column;
    gap: 8px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
