/* =========================================
   SMARTSEARCH AI — Home Page Styles
   ========================================= */

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 6% 5rem;
  position: relative;
  overflow: hidden;
}

.hero .glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 840px;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-badge {
  margin-bottom: 2rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.hero-brand .hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.hero-brand .hero-brand-text {
  display: inline-block;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 1.5rem;
    line-height: 1.25;
    max-width: 100%;
  }
  .hero-headline .accent {
    display: block;
    margin-top: 0.25rem;
  }
  .hero-brand {
    font-size: 22px;
  }
  .hero-brand .hero-logo {
    width: 48px;
    height: 48px;
  }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-top: 1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 300;
  position: relative;
}

.hero .email-form {
  position: relative;
}

.hero .form-note {
  position: relative;
}

/* ---------- HERO STATS ---------- */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  position: relative;
  align-items: center;
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- SERVICES SECTION ---------- */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* ---------- WHY PILLARS ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  padding: 2rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s, border-color 0.2s;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(26, 43, 255, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: 6rem 6%;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: rgba(26, 43, 255, 0.08);
  border: 1px solid rgba(26, 43, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-box .glow {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  position: relative;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .email-form {
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

.cta-box .form-note {
  text-align: center;
  position: relative;
}

/* ---------- RESPONSIVE HOME ---------- */
@media (max-width: 900px) {
  .services-split { grid-template-columns: 1fr; gap: 3rem; }
  .pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 7rem 5% 4rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .cta-box { padding: 2.5rem 1.5rem; }
}
