/* ====== Reset & base ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
  background: #07071a;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
:lang(bn), .bn { font-family: 'Hind Siliguri', 'Inter', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ====== Container ====== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ====== Animated background ====== */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15), transparent 50%),
    radial-gradient(ellipse at bottom, rgba(6, 182, 212, 0.10), transparent 50%),
    #07071a;
}
.bg-grid::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}
.blob-1 { width: 500px; height: 500px; background: #7c3aed; top: -100px; left: -150px; }
.blob-2 { width: 400px; height: 400px; background: #06b6d4; top: 30%; right: -100px; animation-delay: -5s; animation-duration: 25s; }
.blob-3 { width: 450px; height: 450px; background: #ec4899; bottom: -150px; left: 30%; animation-delay: -10s; animation-duration: 30s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.1); }
  66%      { transform: translate(-40px, 50px) scale(0.95); }
}

/* ====== Typography ====== */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; color: #f1f5f9; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: 1.4rem; font-weight: 700; }
p { color: #94a3b8; font-size: 1.05rem; }

.grad-text {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 40%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
}

/* ====== Nav ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 26, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.15rem; color: white; }
.logo-icon { width: 36px; height: 36px; }
.logo-accent {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.95rem; }
.nav-links a { color: #cbd5e1; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
  position: relative;
  border: 1px solid transparent;
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: white;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 58, 237, 0.6); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* ====== Hero ====== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 0 6rem;
  position: relative;
}
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  color: #86efac;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 2rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hero-title { margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.15rem; max-width: 720px; margin: 0 auto 2.5rem; color: #cbd5e1; }
.hero-sub strong { color: white; font-weight: 600; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 5rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}
.stat-num {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }

/* ====== Sections ====== */
.section { padding: 6rem 0; position: relative; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.1rem; }

/* ====== Grid ====== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ====== Card / Service ====== */
.card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7c3aed, #22d3ee, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, 0.4); background: rgba(255,255,255,0.05); }
.card:hover::before { opacity: 1; }

.service .ico {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}
.service h3 { margin-bottom: 0.7rem; color: white; }
.service > p { margin-bottom: 1rem; font-size: 0.95rem; }
.service ul { list-style: none; }
.service ul li {
  padding: 0.35rem 0; font-size: 0.88rem; color: #94a3b8;
  padding-left: 1.2rem; position: relative;
}
.service ul li::before {
  content: '✓'; position: absolute; left: 0; color: #22d3ee; font-weight: 700;
}

/* ====== Timeline ====== */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 35px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #7c3aed, #06b6d4, transparent);
  opacity: 0.4;
}
.timeline-item {
  display: flex; gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  position: relative;
}
.timeline-num {
  flex-shrink: 0;
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem; color: white;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
  position: relative;
  z-index: 1;
}
.timeline-content {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  transition: all 0.3s;
}
.timeline-content:hover { border-color: rgba(124, 58, 237, 0.4); transform: translateX(6px); }
.timeline-content h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.timeline-content p { font-size: 0.95rem; }

/* ====== Work cards ====== */
.work-card { display: flex; flex-direction: column; min-height: 280px; }
.work-card.featured {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.06));
  border-color: rgba(124, 58, 237, 0.25);
}
.work-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.work-tags span {
  font-size: 0.75rem; padding: 0.25rem 0.7rem;
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  border-radius: 999px;
  font-weight: 500;
}
.work-card h3 { margin-bottom: 0.8rem; }
.work-card > p { margin-bottom: 1rem; flex: 1; }
.work-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.check { font-size: 0.85rem; color: #86efac; }
.work-link {
  display: inline-block; margin-top: auto;
  color: #22d3ee; font-weight: 600; font-size: 0.95rem;
  transition: gap 0.2s;
}
.work-card:hover .work-link { color: #67e8f9; }
.coming { opacity: 0.7; border-style: dashed; }
.coming-badge {
  display: inline-block; padding: 0.3rem 0.8rem;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  font-size: 0.75rem; font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ====== Tools grid ====== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}
.tool {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  font-weight: 500; font-size: 0.95rem;
  transition: all 0.2s;
}
.tool:hover { border-color: rgba(124, 58, 237, 0.4); transform: translateY(-2px); background: rgba(255,255,255,0.05); }
.tool span { font-size: 1.3rem; }

/* ====== CTA ====== */
.section-cta { padding-bottom: 8rem; }
.cta-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 28px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
  top: -300px; left: 50%; transform: translateX(-50%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { margin-bottom: 1rem; }
.cta-card > p { font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-tile {
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: all 0.3s;
}
.contact-tile:hover { background: rgba(255,255,255,0.07); border-color: rgba(124, 58, 237, 0.4); transform: translateY(-3px); }
.contact-ico { font-size: 2rem; margin-bottom: 0.6rem; }
.contact-label { font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.contact-val { font-weight: 600; color: white; font-size: 0.95rem; word-break: break-word; }

/* ====== Footer ====== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 4rem;
  margin-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; max-width: 360px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-links h4 {
  color: #f1f5f9; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1rem; font-weight: 700;
}
.footer-links a { display: block; padding: 0.3rem 0; color: #94a3b8; font-size: 0.95rem; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  font-size: 0.88rem; color: #64748b; text-align: center;
}

/* ====== Scroll reveal ====== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .timeline::before { left: 25px; }
  .timeline-num { width: 50px; height: 50px; font-size: 1.1rem; }
  .section { padding: 4rem 0; }
  .hero { padding-top: 6rem; }
}
