/* ==========================================================================
   dil.route Brand Landing Page — index.css
   Clean, Minimal, Premium Brand Identity Page
   ========================================================================== */

/* ── Hero Section ── */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-accent-soft);
  color: var(--brand-cyan);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero h1 .dot {
  color: var(--brand-cyan);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
}

/* Trust strip */
.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.trust-value span {
  color: var(--brand-cyan);
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Section Commons ── */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .section-tag {
  margin: 0 auto 0.75rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ── What is dil.route (About) ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img-frame {
  max-width: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border-subtle);
  transition: transform 0.35s ease;
}

.about-img-frame:hover {
  transform: translateY(-4px);
}

.about-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-content p strong {
  color: var(--brand-navy);
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.15rem;
  transition: all 0.25s ease;
}

.feature-card:hover .feature-icon {
  background: var(--brand-navy);
  color: #ffffff;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.45rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Series / Books Overview ── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.series-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.series-card:hover {
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.series-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
}

.series-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.3rem;
}

.series-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.series-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.series-badge--active {
  background: #dcfce7;
  color: #15803d;
}

.series-badge--soon {
  background: var(--bg-muted);
  color: var(--text-muted);
}

/* ── CTA Banner ── */
.cta {
  padding: 4rem 0 2rem;
  background: var(--bg-body);
}

.cta-box {
  background: var(--brand-navy);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.cta-box p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-box .btn-primary {
  background: #ffffff;
  color: var(--brand-navy);
  font-size: 1rem;
  padding: 0.9rem 2rem;
}

.cta-box .btn-primary:hover {
  background: #f1f5f9;
  color: var(--brand-navy);
}

/* ── Responsive Improvements ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .about-visual {
    order: -1;
  }

  .about-img-frame {
    max-width: 320px;
  }

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

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 2.25rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.7rem);
    line-height: 1.18;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .feature-card {
    padding: 1.35rem 1.15rem;
  }

  .series-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .series-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 1.15rem;
  }

  .cta-box {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: 1.55rem;
  }

  .cta-box p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    width: 100%;
    max-width: 380px;
  }

  .trust-value {
    font-size: 1.35rem;
  }

  .trust-label {
    font-size: 0.7rem;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
  }
}
