:root {
  --bg: #f4f6fa; /* Daraz Official Light Gray Background */
  --bg-2: #ffffff;
  --card: #ffffff;
  --card-border: rgba(255, 90, 0, 0.18); /* Soft Daraz Orange Border */
  --text: #0f172a; /* Sharp Typography for 35+ Readability */
  --muted: #475569;
  --accent: #ff5a00; /* Daraz Official Orange Accent */
  --accent-green: #10b981; /* High-Converting Green Action Button */
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 90, 0, 0.08), transparent 40%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.06), transparent 40%),
    linear-gradient(145deg, var(--bg), #e2e8f0);
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.hero-card {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(24px, 4vw, 44px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: cardIn 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lang-switch {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  border: 1px solid #cbd5e1; /* পরিষ্কার বর্ডার */
  background: #f1f5f9; /* হালকা গ্রে ব্যাকগ্রাউন্ড */
  color: #0f172a; /* ডার্ক টেক্সট কালার */
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 180ms ease;
}

.lang-switch:hover {
  transform: translateY(-1px);
  background: #e2e8f0;
  border-color: var(--accent);
}

.hero-copy {
  padding: 10px 0;
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 90, 0, 0.08);
  border: 1px solid rgba(255, 90, 0, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0f172a;
}

.subtext {
  margin: 20px 0 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-green), #059669);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  transition: all 200ms ease;
  width: auto;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.45);
}

.cta-arrow {
  transition: transform 180ms ease;
}

.cta-button:hover .cta-arrow {
  transform: translate(2px, -2px);
}

.hero-visual {
  align-self: center;
  min-height: 480px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.visual-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1));
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  animation: rise 600ms ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   ⚡ MOBILE VIEW PERFECT POLISH (Text & Button Center Alignment Fix)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 35px 20px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cta-row {
    width: 100%;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 360px;
  }

  .hero-visual {
    width: 100%;
    min-height: 300px;
    margin-top: 15px;
  }
}