/* ============================================================
   ThinkRadikal Technologies — Sections & Page Styles
   css/sections.css
   ============================================================ */

/* ── HERO SECTION ── */
.section-hero {
  position: relative;
}

.section-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.section-hero__right {
  position: relative;
  display: flex;
  justify-content: flex-end;
  animation: fadeLeft 0.9s 0.4s ease both;
}

.section-hero__visual {
  position: relative;
}

.section-hero__visual::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(0,85,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── ABOUT SECTION ── */
.section-about {
  background: var(--color-bg);
}

.section-about .container {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-10);
  align-items: center;
}

.section-about__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ── PRODUCTS SECTION ── */
.section-products {
  background: var(--color-bg-2);
}

.section-products__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-9);
}

.section-products__header .section-lead {
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

/* ── WHY SECTION ── */
.section-why {
  background: var(--color-bg);
}

.section-why__header {
  margin-bottom: var(--space-9);
}

/* ── CONTACT SECTION ── */
.section-contact {
  background: linear-gradient(160deg, var(--color-bg-2) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.section-contact .section-label {
  text-align: center;
}

.section-contact__header {
  max-width: 520px;
  margin: 0 auto var(--space-8);
}

/* ── SECTION LEAD TEXT ── */
.section-lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 560px;
}

/* ── BACKGROUND EFFECTS ── */
.bg-gradient-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 10% 40%, rgba(0,85,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 60%, rgba(255,0,34,0.04) 0%, transparent 55%);
  pointer-events: none;
}

/* ── TECH STACK BAR ── */
.tech-bar {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}

.tech-bar__track {
  display: flex;
  gap: var(--space-9);
  width: max-content;
  animation: marquee 25s linear infinite;
}

.tech-bar__item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-grey);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.tech-bar__item::before {
  content: '//';
  color: var(--color-blue);
  font-weight: 600;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION GRADIENT DIVIDER ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border) 30%, var(--color-border-2) 50%, var(--color-border) 70%, transparent);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .section-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .section-hero__right { display: none; }

  .hero__body { margin: 0 auto var(--space-7); }

  .hero__actions { justify-content: center; }

  .section-about .container { grid-template-columns: 1fr; }

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

  .product-card--featured { grid-column: auto; }
}

@media (max-width: 640px) {
  .section-products__header { text-align: left; }
}
