/* ============================================================
   Abir Molla — compiled theme styles (Tailwind-style utilities
   + custom design system). All values are themeable via CSS
   variables which are bound to Redux Framework options.
   ============================================================ */

:root {
  --brand: #1D70EF;
  --brand-dark: #1863DC;
  --brand-darker: #1558c0;
  --brand-light: #F0F6FF;
  --brand-tint: #DAF0FF;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

/* ===== Container ===== */
.container-x { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; width: 100%; }

/* ===== Text gradient ===== */
.text-gradient {
  background: linear-gradient(120deg, var(--brand) 0%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: .6rem;
  font-weight: 600; font-size: 1rem;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
  text-decoration: none; cursor: pointer;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 25px -10px rgba(29,112,239,.7);
}
.btn-primary:hover { background: var(--brand-darker); transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--brand); border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-light); color: var(--brand); }
.btn-ghost {
  background: transparent; color: var(--brand); padding: .75rem 1rem;
}
.btn-ghost:hover { background: var(--brand-light); }

/* ===== Section spacing ===== */
.section { padding: 4.5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* ===== Eyebrow ===== */
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--brand); display: inline-block;
}

/* ===== Cards ===== */
.card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15,23,42,.2); border-color: #c7d7f5; }

/* ===== Availability pulse ===== */
.availability {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
  font-weight: 600; font-size: .85rem; padding: .4rem .9rem; border-radius: 999px;
}
.pulse-dot {
  width: .55rem; height: .55rem; border-radius: 999px; background: #10b981;
  box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ===== Logo chip ===== */
.logo-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .9rem; border-radius: .6rem;
  background: #f8fafc; border: 1px solid #e2e8f0; color: #64748b;
  font-weight: 700; letter-spacing: .02em;
}
.logo-chip svg { width: 1.1rem; height: 1.1rem; color: var(--brand); }

/* ===== FAQ accordion ===== */
.faq-item { border: 1px solid #e2e8f0; border-radius: .8rem; overflow: hidden; background: #fff; margin-bottom: 1rem; }
.faq-q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 600; color: var(--ink); background: #fff;
}
.faq-q:hover { background: #f8fafc; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a > div { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-chevron { transition: transform .3s ease; flex: none; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ===== Form controls ===== */
.field {
  width: 100%; border: 1px solid #cbd5e1; border-radius: .6rem;
  padding: .8rem 1rem; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s; font-family: inherit;
}
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,112,239,.15); }
.field-error { border-color: #ef4444 !important; }
.error-msg { color: #ef4444; font-size: .8rem; margin-top: .25rem; display: none; }
.error-msg.show { display: block; }
.success-panel {
  display: none; align-items: center; gap: .75rem;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  padding: 1rem 1.25rem; border-radius: .8rem; font-weight: 600;
}
.success-panel.show { display: flex; }

/* ===== Toast ===== */
.abir-toast-wrap {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  display: flex; flex-direction: column; gap: .6rem;
}
.abir-toast {
  background: #0f172a; color: #fff; padding: .85rem 1.1rem; border-radius: .6rem;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); font-size: .9rem; max-width: 320px;
  transform: translateY(20px); opacity: 0; transition: all .3s ease;
}
.abir-toast.show { transform: translateY(0); opacity: 1; }
.abir-toast.ok { border-left: 4px solid #10b981; }
.abir-toast.err { border-left: 4px solid #ef4444; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 999px; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Back to top ===== */
#abir-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 89;
  width: 44px; height: 44px; border-radius: 999px; background: var(--brand); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(29,112,239,.7); transition: transform .2s ease;
}
#abir-to-top.show { display: flex; }
#abir-to-top:hover { transform: translateY(-2px); }

/* ===== Hero glow ===== */
.hero-glow {
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(29,112,239,.18) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 80%, rgba(168,85,247,.12) 0%, transparent 60%);
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Step line (process) ===== */
.step-line { background: linear-gradient(90deg, var(--brand) 0%, #c7d7f5 100%); }

/* ===== Utility grid classes ===== */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
@media (min-width: 768px) {
  .md\:grid { display: grid; }
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}
@media (min-width: 1024px) {
  .lg\:grid { display: grid; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:gap-12 { gap: 3rem; }
}

/* ===== Helpers ===== */
.text-center { text-align: center; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-50  { color: #f8fafc; }
.text-white     { color: #fff; }
.text-brand     { color: var(--brand); }
.text-green-600 { color: #16a34a; }
.text-xs   { font-size: .75rem; }
.text-sm   { font-size: .875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.2; }
.tracking-tight { letter-spacing: -.025em; }
.tracking-widest { letter-spacing: .15em; }
.max-w-xs   { max-width: 20rem; }
.max-w-sm   { max-width: 24rem; }
.max-w-md   { max-width: 28rem; }
.max-w-xl   { max-width: 36rem; }
.max-w-2xl  { max-width: 42rem; }
.max-w-3xl  { max-width: 48rem; }
.max-w-4xl  { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-y-4 > * + * { margin-top: 1rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-900 { background-color: #0f172a; color: #fff; }
.bg-brand-light { background-color: var(--brand-light); }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid #e2e8f0; }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,.1); }
@media (max-width: 767px) {
  .hidden-mobile { display: none; }
}
@media (min-width: 768px) {
  .md\:hidden { display: none; }
}

/* ===== Process step grid helper ===== */
.abir-process-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .abir-process-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}