:root {
  --primary: #00B4FF;
  --primary-dark: #0090CC;
  --primary-rgb: 0,180,255;
  --accent: #FF6B6B;
  --dark: #0A0E1A;
  --dark2: #111827;
  --dark3: #1A2235;
  --text: #E8EDF5;
  --muted: #8B96A8;
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --glow: 0 0 20px rgba(var(--primary-rgb),0.15);
  --nav-bg: rgba(10,14,26,0.85);
  --noise-opacity: 0.5;
  --code-text: #CDD6F4;
  --code-kw: #CBA6F7;
  --code-str: #A6E3A1;
  --code-fn: #89B4FA;
  --code-cm: #6C7086;
  --code-num: #FAB387;
  --phone-mockup-bg: #1C2333;
  --social-icon: #ffffff;
  --scroll-thumb: rgba(0,200,150,0.3);
}

[data-theme="light"] {
  --primary: #F8684C;
  --primary-dark: #E0563D;
  --primary-rgb: 248,104,76;
  --accent: #FF6B6B;
  --dark: #F4F8FC;
  --dark2: #EAF1F8;
  --dark3: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --border: rgba(15,23,42,0.14);
  --card-bg: rgba(255,255,255,0.95);
  --glow: 0 0 24px rgba(var(--primary-rgb),0.2);
  --nav-bg: rgba(244,248,252,0.85);
  --noise-opacity: 0.2;
  --code-text: #1F2937;
  --code-kw: #7C3AED;
  --code-str: #047857;
  --code-fn: #1D4ED8;
  --code-cm: #64748B;
  --code-num: #B45309;
  --phone-mockup-bg: #DDE7F3;
  --social-icon: #0F172A;
  --scroll-thumb: rgba(15,23,42,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  background: var(--dark);
}

body {
  font-family: 'Noto Serif Bengali', serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}
[data-lucide] {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2.2px;
  vertical-align: middle;
}
.theme-icon i {
  width: 1.1rem;
  height: 1.1rem;
}
.service-icon i {
  width: 22px;
  height: 22px;
}
.stat-icon i {
  width: 28px;
  height: 28px;
}
.uc-icon i {
  width: 18px;
  height: 18px;
}
.check i {
  width: 14px;
  height: 14px;
  stroke-width: 3px;
}
.testi-stars i {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.msg-icon i {
  width: 16px;
  height: 16px;
}
.btn-primary i, .btn-ghost i {
  width: 1.1em;
  height: 1.1em;
  margin-left: 4px;
}
.carousel-controls i {
  width: 1.2rem;
  height: 1.2rem;
}

/* â”€â”€ CONTAINER â”€â”€ */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* â”€â”€ NOISE TEXTURE OVERLAY â”€â”€ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: var(--noise-opacity);
}

/* â”€â”€ NAV â”€â”€ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  max-height: 40px;
  width: auto;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: 'Noto Serif Bengali', serif;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.theme-toggle {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline {
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #F8684C;
  background: transparent;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: #F8684C;
  color: #F8684C;
}

.btn-primary {
  padding: 9px 22px;
  border-radius: 6px;
  background-color: var(--primary);
  background-image: linear-gradient(90deg, var(--primary-dark), var(--primary));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  color: #fff;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease,
    color 0.35s ease,
    background-size 0.62s cubic-bezier(0.19, 1, 0.22, 1);
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--primary);
  background-size: 100% 100%;
  transform: translateY(-2px);
}

/* â”€â”€ HERO â”€â”€ */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

/* Animated gradient orbs */
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(var(--primary-rgb),0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}

.orb2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,107,0.08) 0%, transparent 70%);
  bottom: 50px; left: 10%;
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.1) translate(20px, -20px); }
}

.hero-content {
  max-width: 630px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(var(--primary-rgb),0.1);
  border: 1px solid rgba(var(--primary-rgb),0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--primary);
  font-family: 'Noto Serif Bengali', serif;
  font-weight: 600;
  margin-bottom: 16px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.8;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-ghost {
  padding: 14px 28px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: #F8684C;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: #F8684C;
  background: rgba(var(--primary-rgb),0.06);
  color: #F8684C;
}

/* â”€â”€ HERO DASHBOARD â”€â”€ */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-left: 0;
  animation: fadeUp 0.8s 0.3s ease both;
}

.dashboard-card {
  width: 100%;
  max-width: 470px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}

.dash-header {
  background: var(--dark2);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #FF5F57; }
.dash-dots span:nth-child(2) { background: #FEBC2E; }
.dash-dots span:nth-child(3) { background: #28C840; }

.dash-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}

.dash-body { padding: 24px; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}

.stat-num {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

.dash-chart { margin-bottom: 20px; }

.chart-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'Noto Serif Bengali', serif;
  margin-bottom: 12px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}

.bar {
  flex: 1;
  background: rgba(var(--primary-rgb),0.15);
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(var(--primary-rgb),0.2);
  position: relative;
  transition: all 0.3s;
  animation: growBar 1s ease both;
}

.bar.active {
  background: linear-gradient(180deg, var(--primary), rgba(var(--primary-rgb),0.4));
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(var(--primary-rgb),0.3);
}

@keyframes growBar {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); }
}

.dash-messages { display: flex; flex-direction: column; gap: 8px; }

.msg-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.msg-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(var(--primary-rgb),0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.msg-info { flex: 1; }
.msg-name {
  font-size: 0.75rem;
  font-family: 'Noto Serif Bengali', serif;
  font-weight: 600;
  color: var(--text);
}

.msg-text {
  font-size: 0.68rem;
  color: var(--muted);
}

.msg-status {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 100px;
  font-family: 'Noto Serif Bengali', serif;
  font-weight: 600;
}

.status-sent {
  background: rgba(var(--primary-rgb),0.15);
  color: var(--primary);
}

.status-pending {
  background: rgba(255,107,107,0.15);
  color: var(--accent);
}

/* â”€â”€ STATS BAR â”€â”€ */
.stats-bar {
  padding: 60px 0;
  background: var(--dark);
  position: relative;
  z-index: 10;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 20px;
  background-color: rgba(255,255,255,0.02);
  background-image: linear-gradient(90deg, rgba(var(--primary-rgb),0.14), rgba(var(--primary-rgb),0.06));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease,
    background-size 0.62s cubic-bezier(0.19, 1, 0.22, 1);
}

.stat-item:hover {
  background-color: rgba(255,255,255,0.02);
  background-size: 100% 100%;
  border-color: rgba(var(--primary-rgb),0.3);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.stats-bar .num {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.stats-bar .desc {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .stats-bar .container {
    grid-template-columns: 1fr 1fr;
  }
  .hide-mobile { display: none; }
}

@media (max-width: 640px) {
  .stats-bar .container {
    grid-template-columns: 1fr 1fr;
  }
}

/* â”€â”€ SECTION STYLES â”€â”€ */
section { position: relative; z-index: 1; }

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(var(--primary-rgb),0.1);
  border: 1px solid rgba(var(--primary-rgb),0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: 'Noto Serif Bengali', serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 550px;
  line-height: 1.8;
}

/* â”€â”€ SERVICES â”€â”€ */
.services {
  padding: 100px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease,
    background-color 0.45s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
  will-change: transform;
  z-index: 0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--primary-rgb),0.11), rgba(var(--primary-rgb),0.04));
  transform: scaleX(0) translateX(-8px);
  transform-origin: left center;
  opacity: 0;
  transition:
    transform 0.62s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.45s ease;
  z-index: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:nth-child(even)::after {
  transform-origin: right center;
  background: linear-gradient(270deg, rgba(var(--primary-rgb),0.11), rgba(var(--primary-rgb),0.04));
  transform: scaleX(0) translateX(8px);
}

.service-card:hover {
  border-color: rgba(var(--primary-rgb),0.3);
  background: var(--card-bg);
  transform: translateY(-6px);
}

.service-card:hover::after {
  transform: scaleX(1) translateX(0);
  opacity: 1;
}

.service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 6px;
  background: rgba(var(--primary-rgb),0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  border: 1px solid rgba(var(--primary-rgb),0.2);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.03);
  background: rgba(var(--primary-rgb),0.16);
  border-color: rgba(var(--primary-rgb),0.32);
}

.service-card h3 {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* â”€â”€ USE CASES â”€â”€ */
.use-cases {
  padding: 80px 0 60px 0;
  background: var(--dark2);
}

.use-cases-header,
.why-us-header {
  text-align: center;
  margin-bottom: 60px;
}

.use-cases-header .section-sub,
.why-us-header .section-sub {
  margin: 0 auto;
}

.use-cases-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.use-cases-inner > div {
  display: flex;
  flex-direction: column;
}

.use-cases-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
  height: 100%;
  justify-content: space-between;
}

.use-case-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: var(--card-bg);
  background-image: linear-gradient(90deg, rgba(var(--primary-rgb),0.14), rgba(var(--primary-rgb),0.06));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease,
    background-size 0.62s cubic-bezier(0.19, 1, 0.22, 1);
}

.use-case-item:hover, .use-case-item.active {
  border-color: rgba(var(--primary-rgb),0.35);
  background-color: var(--card-bg);
  background-size: 100% 100%;
  transform: translateY(-2px);
}

.uc-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.uc-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.uc-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.use-case-visual {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
  overflow: hidden;
}

.use-case-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.5s ease;
}

.use-case-visual:hover .use-case-img {
  transform: scale(1.02);
}

.phone-mockup {
  width: 200px;
  margin: 0 auto;
  background: var(--phone-mockup-bg);
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.08);
  padding: 16px 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.phone-screen {
  background: var(--dark);
  border-radius: 10px;
  padding: 16px;
  min-height: 220px;
}

.sms-bubble {
  background: rgba(var(--primary-rgb),0.15);
  border: 1px solid rgba(var(--primary-rgb),0.25);
  border-radius: 8px 8px 8px 2px;
  padding: 10px 12px;
  font-size: 0.72rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
  animation: slideIn 0.5s ease;
}

.sms-time {
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

/* â”€â”€ PRICING â”€â”€ */
.pricing {
  padding: 100px 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-header .section-sub { margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.3s;
  position: relative;
}

.price-card.featured {
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.12), rgba(var(--primary-rgb),0.04));
  border-color: rgba(var(--primary-rgb),0.4);
  transform: scale(1.04);
  box-shadow: var(--glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.plan-price {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
}

.plan-price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 8px;
}

.plan-period {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan-features li .check {
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  padding: 13px;
  border-radius: 6px;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease,
    color 0.35s ease;
}

.btn-plan-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: #F8684C;
}

.btn-plan-outline:hover {
  border-color: #F8684C;
  color: #F8684C;
}

.btn-plan-solid {
  background-color: var(--primary);
  background-image: linear-gradient(90deg, var(--primary-dark), var(--primary));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  color: #fff;
}

.btn-plan-solid:hover {
  background-color: var(--primary);
  background-size: 100% 100%;
  transform: translateY(-2px);
}

/* â”€â”€ WHY US â”€â”€ */
.why-us {
  padding: 60px 0 100px 0;
  background: var(--dark2);
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.why-us-inner > div {
  display: flex;
  flex-direction: column;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 100%;
}

.why-feat {
  padding: 22px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease;
  will-change: transform;
}

.why-feat::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--primary-rgb),0.18), rgba(var(--primary-rgb),0.08));
  transform: scaleX(0) translateX(-8px);
  transform-origin: left center;
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
  z-index: 0;
  pointer-events: none;
}

.why-feat > * {
  position: relative;
  z-index: 1;
}

.why-feat:hover {
  border-color: rgba(var(--primary-rgb),0.3);
  transform: translateY(-3px);
}

.why-feat:hover::after {
  transform: scaleX(1) translateX(0);
  opacity: 1;
}

.why-feat .icon { font-size: 1.6rem; margin-bottom: 12px; }

.why-feat h4 {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-feat p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.api-code-block {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.why-us .why-feat,
.why-us .why-feat:hover,
.why-us .api-code-block,
.why-us .api-code-block:hover {
  box-shadow: none !important;
}

.code-header {
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-tabs {
  display: flex;
  gap: 4px;
}

.code-tab {
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  border: none;
  background: transparent;
  transition: all 0.2s;
}

.code-tab.active {
  background: rgba(var(--primary-rgb),0.15);
  color: var(--primary);
}

.code-copy {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.7rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.code-copy:hover { color: var(--text); border-color: var(--border); }

pre {
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  overflow-x: auto;
  color: var(--code-text);
}

.kw { color: var(--code-kw); }
.str { color: var(--code-str); }
.fn { color: var(--code-fn); }
.cm { color: var(--code-cm); font-style: italic; }
.num { color: var(--code-num); }

/* â”€â”€ TESTIMONIALS â”€â”€ */
.testimonials {
  padding: 100px 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-sub { margin: 0 auto; }

.testimonials-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.carousel-viewport {
  overflow: hidden;
  position: relative;
}
.testi-grid {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
  .testi-grid { gap: 15px; }
}
.testi-card {
  width: calc(33.333% - 20px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: all 0.25s;
  flex-shrink: 0;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
@media (max-width: 1024px) {
  .testi-card { width: calc(50% - 15px); }
}
@media (max-width: 768px) {
  .testi-card { width: 100%; padding: 20px; }
}
.testi-card:hover {
  border-color: rgba(var(--primary-rgb),0.25);
  transform: translateY(-3px);
}

.testi-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 16px; }

.testi-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  display: block;
  width: 100%;
  white-space: normal;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Noto Serif Bengali', serif;
  flex-shrink: 0;
}

.avatar-g { background: rgba(var(--primary-rgb),0.2); color: var(--primary); }
.avatar-b { background: rgba(255,107,107,0.2); color: var(--accent); }
.avatar-p { background: rgba(180,100,255,0.2); color: #C084FC; }

.author-name {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.author-role {
  font-size: 0.75rem;
  color: var(--muted);
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.carousel-prev, .carousel-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--dark3);
  background-image: linear-gradient(90deg, var(--primary), var(--primary-dark));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease,
    color 0.35s ease,
    background-size 0.62s cubic-bezier(0.19, 1, 0.22, 1);
}
@media (max-width: 768px) {
  .carousel-prev, .carousel-next {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .carousel-controls { gap: 10px; margin-top: 20px; }
}
.carousel-prev:hover, .carousel-next:hover {
  background-color: var(--dark3);
  background-size: 100% 100%;
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* â”€â”€ CTA SECTION â”€â”€ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(var(--primary-rgb),0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section .section-title { font-size: clamp(2rem, 4vw, 3.2rem); }

.cta-section .section-sub {
  font-size: 1.05rem;
  margin: 16px auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* â”€â”€ FOOTER â”€â”€ */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { font-size: 1.3rem; display: block; margin-bottom: 14px; }

.footer-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 10px; }

.social-btn {
  width: 36px; height: 36px;
  border-radius: 4px;
  background-color: var(--card-bg);
  background-image: linear-gradient(90deg, var(--primary), var(--primary-dark));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--social-icon);
  transition:
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.45s ease,
    color 0.35s ease,
    background-size 0.62s cubic-bezier(0.19, 1, 0.22, 1);
}

.social-btn:hover {
  border-color: var(--primary);
  background-color: var(--card-bg);
  background-size: 100% 100%;
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--primary); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark2);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 5px;
  border: 2px solid var(--dark2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 1024px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { padding-left: 0; margin-top: 60px; justify-content: center; width: 100%; }
  .dashboard-card { width: 100%; max-width: 520px; margin: 0 auto; }
  .use-cases-inner, .why-us-inner { grid-template-columns: 1fr; gap: 40px; }
  .use-cases-inner > div, .why-us-inner > div { min-width: 0; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 40px; }
  .stats-bar { padding: 30px 0; }
  .services, .use-cases, .why-us, .pricing, .testimonials, .cta-section { padding: 40px 0; }
  .services-header, .use-cases-header, .why-us-header, .pricing-header, .testimonials-header { margin-bottom: 30px; }
}


@media (max-width: 768px) {
  .nav-links { display: none; }
  .theme-label { display: none; }
  .theme-toggle { padding: 8px 10px; }
  .hero h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .why-feat { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
}

/* ── VIEW TRANSITIONS FOR THEME SWITCH ── */
html {
  view-transition-name: root;
}
body {
  view-transition-name: none;
}

/* Disable CSS transitions and animations during theme snapshot capture */
html.theme-transitioning body,
html.theme-transitioning body *,
html.theme-transitioning body *::before,
html.theme-transitioning body *::after {
  transition: none !important;
  animation: none !important;
}

/* Hide scrollbar track & thumb during transition to avoid flashes */
html.theme-transitioning ::-webkit-scrollbar-thumb {
  background: transparent !important;
  border-color: transparent !important;
}
html.theme-transitioning ::-webkit-scrollbar-track {
  background: transparent !important;
}

::view-transition-image-pair(root) {
  mix-blend-mode: normal !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

@keyframes reveal-to-dark {
  from {
    clip-path: circle(0px at 100% 100%);
  }
  to {
    clip-path: circle(150vmax at 100% 100%);
  }
}

@keyframes reveal-to-light {
  from {
    clip-path: circle(150vmax at 100% 100%);
  }
  to {
    clip-path: circle(0px at 100% 100%);
  }
}

html[data-theme="light"]::view-transition-old(root) {
  clip-path: circle(0px at 100% 100%);
  animation: 1000ms cubic-bezier(0.4, 0, 0.2, 1) both reveal-to-light !important;
  z-index: 9999;
}
html[data-theme="light"]::view-transition-new(root) {
  z-index: 1;
}

html[data-theme="dark"]::view-transition-new(root) {
  clip-path: circle(0px at 100% 100%);
  animation: 1000ms cubic-bezier(0.4, 0, 0.2, 1) both reveal-to-dark !important;
  z-index: 9999;
}
html[data-theme="dark"]::view-transition-old(root) {
  z-index: 1;
}

