/* ============================================================
   SECTION 4 — whyus.css
   "Why Choose Us" — two-column comparison card
   Exact replica of reference screenshot
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   SECTION WRAPPER
══════════════════════════════════════════════════════════ */
.whyus-section {
  position  : relative;
  background: #05050e;
  padding   : 100px 0 120px;
  overflow  : hidden;
}

/* Purple glow — bottom left, matches reference */
.whyus-section::before {
  content      : '';
  position     : absolute;
  bottom       : -8%;
  left         : -6%;
  width        : 560px;
  height       : 480px;
  background   : radial-gradient(
    ellipse at center,
    rgba(60, 18, 160, 0.42) 0%,
    rgba(35, 10, 100, 0.20) 45%,
    transparent 75%
  );
  border-radius: 50%;
  filter       : blur(70px);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   CONTAINER
══════════════════════════════════════════════════════════ */
.whyus-container {
  max-width: 1000px;
  margin   : 0 auto;
  padding  : 0 40px;
}

/* ══════════════════════════════════════════════════════════
   HEADER — centered, exactly as reference
══════════════════════════════════════════════════════════ */
.whyus-header {
  text-align   : center;
  margin-bottom: 52px;

  opacity  : 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.whyus-header.visible { opacity: 1; transform: translateY(0); }

.whyus-title {
  font-family   : 'Inter', sans-serif;
  font-size     : clamp(2.4rem, 6vw, 4.4rem);
  font-weight   : 800;
  letter-spacing: -0.03em;
  line-height   : 1.06;
  color         : #ffffff;
  margin        : 0 0 16px;
}

.whyus-subtitle {
  font-family  : 'Inter', sans-serif;
  font-size    : 0.95rem;
  font-weight  : 400;
  color        : rgba(255,255,255,0.40);
  line-height  : 1.6;
  max-width    : 480px;
  margin       : 0 auto;
  letter-spacing: 0.005em;
}

/* ══════════════════════════════════════════════════════════
   COMPARISON CARD — the big two-column container
══════════════════════════════════════════════════════════ */
.whyus-card {
  display       : flex;
  align-items   : stretch;
  background    : rgba(255,255,255,0.030);
  border        : 1px solid rgba(255,255,255,0.07);
  border-radius : 18px;
  overflow      : hidden;

  opacity  : 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1) 0.12s,
              transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.12s;
}
.whyus-card.visible { opacity: 1; transform: translateY(0); }

/* ── Vertical divider between columns ── */
.whyus-divider {
  width     : 1px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
  align-self: stretch;
}

/* ══════════════════════════════════════════════════════════
   COLUMN — shared styles
══════════════════════════════════════════════════════════ */
.whyus-col {
  flex     : 1;
  padding  : 44px 40px 48px;
  min-width: 0;
}

/* Column heading */
.col-title {
  font-family   : 'Inter', sans-serif;
  font-size     : 1.05rem;
  font-weight   : 700;
  letter-spacing: -0.01em;
  color         : #ffffff;
  margin        : 0 0 32px;
  line-height   : 1;
}

/* Item list */
.col-list {
  list-style: none;
  margin    : 0;
  padding   : 0;
  display   : flex;
  flex-direction: column;
  gap       : 24px;
}

.col-item {
  display    : flex;
  align-items: flex-start;
  gap        : 14px;
  font-family: 'Inter', sans-serif;
  font-size  : 0.88rem;
  font-weight: 400;
  line-height: 1.5;
}

/* ── Icon badge ── */
.col-icon {
  width       : 22px;
  height      : 22px;
  border-radius: 50%;
  display     : flex;
  align-items : center;
  justify-content: center;
  flex-shrink : 0;
  margin-top  : 1px;
  font-size   : 0.7rem;
  font-weight : 700;
}

/* ── LEFT column — "bad" items ── */
.col-bad .col-title {
  color: rgba(255,255,255,0.65);
}
.col-bad .col-item {
  color: rgba(255,255,255,0.38);
}
.col-bad .col-icon {
  background: rgba(255,255,255,0.06);
  border    : 1px solid rgba(255,255,255,0.10);
  color     : rgba(255,255,255,0.35);
}

/* ── RIGHT column — "good" items ── */
.col-good .col-title {
  color: #ffffff;
}
.col-good .col-item {
  color: rgba(255,255,255,0.88);
}
.col-good .col-icon {
  background: rgba(124,58,237,0.18);
  border    : 1px solid rgba(124,58,237,0.35);
  color     : rgba(167,139,250,0.95);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 860px) {
  .whyus-container { padding: 0 24px; }
  .whyus-col       { padding: 36px 28px 40px; }
  .whyus-title     { font-size: clamp(2rem, 7vw, 3.2rem); }
}

/* Mobile — stack columns vertically */
@media (max-width: 640px) {
  .whyus-section    { padding: 72px 0 88px; }
  .whyus-header     { margin-bottom: 36px; }
  .whyus-card       { flex-direction: column; }
  .whyus-divider    { width: auto; height: 1px; align-self: auto; }
  .whyus-col        { padding: 32px 24px 36px; }
  .col-list         { gap: 20px; }
}

/* Extra small */
@media (max-width: 400px) {
  .whyus-section    { padding: 56px 0 72px; }
  .whyus-container  { padding: 0 16px; }
  .whyus-col        { padding: 28px 18px 32px; }
  .whyus-title      { font-size: 2rem; }
  .col-item         { font-size: 0.83rem; gap: 12px; }
}
