/* Global & Reset */
:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --secondary: #ec4899;
  --dark: #0f172a;
  --light: #f8fafc;
  --text: #334155;
  --text-muted: #64748b;
  --font-en: 'Inter', sans-serif;
  --font-bn: 'Noto Sans Bengali', sans-serif;
  
  --bg-gradient: linear-gradient(135deg, #f0f4ff 0%, #fdf4ff 40%, #fff1f8 70%, #fffbeb 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-en);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utilities */
.bn-text {
  font-family: var(--font-bn);
  font-size: 0.95em;
  font-weight: 500;
  opacity: 0.9;
}
.bn-title {
  font-family: var(--font-bn);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  border-color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-subtext {
  font-family: var(--font-bn);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  background: var(--dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.2rem;
}
.logo-placeholder.sm {
  width: 30px; height: 30px; font-size: 1rem;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.nav-btn) {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:not(.nav-btn):hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 10;
}

.hero-bg-shapes {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
  width: 400px; height: 400px;
  background: rgba(99, 102, 241, 0.3);
  top: -100px; left: -100px;
}
.shape-2 {
  width: 300px; height: 300px;
  background: rgba(236, 72, 153, 0.2);
  bottom: 100px; right: -50px;
  animation-delay: -3s;
}
.shape-3 {
  width: 250px; height: 250px;
  background: rgba(6, 182, 212, 0.2);
  bottom: -50px; left: 20%;
  animation-delay: -6s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -50px) scale(1.1); }
}

.hero-content {
  max-width: 600px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.5);
  background: white;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-img-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 1);
  color: var(--primary);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-family: var(--font-bn);
  font-weight: 600;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

/* Services */
.services {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 2rem;
  color: white;
}

.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.bg-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.bg-emerald { background: linear-gradient(135deg, #10b981, #059669); }

.service-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.service-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features Section */
.features-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--light);
  border-radius: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.feature-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.f-icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(99,102,241,0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .f-icon-box {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* Process Section */
.process-section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(99,102,241,0.2);
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
  width: 100%;
}

.step-card h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-muted);
}

/* Target Audience Section */
.audience-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.audience-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  width: 200px;
  border: 1px solid rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.audience-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.text-blue { color: #3b82f6; }
.text-purple { color: #a855f7; }
.text-emerald { color: #10b981; }
.text-orange { color: #f97316; }
.text-rose { color: #f43f5e; }

.audience-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.audience-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Problem vs Solution (Comparison) Section */
.comparison-section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.comp-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.comp-card.bad {
  border-top: 5px solid #ef4444;
}
.comp-card.good {
  border-top: 5px solid #10b981;
}

.comp-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comp-header i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.comp-card.bad .comp-header i { color: #ef4444; }
.comp-card.good .comp-header i { color: #10b981; }

.comp-header h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

.comp-list {
  list-style: none;
}

.comp-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.comp-list li i {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.comp-card.bad .comp-list li i { color: #ef4444; }
.comp-card.good .comp-list li i { color: #10b981; }

.comp-list li strong {
  display: block;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.comp-list li p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.03);
}

.faq-item h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.faq-item h4 span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.faq-item p {
  color: var(--text);
  line-height: 1.6;
}

/* Mobile App Section */
.mobile-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.phone-mockup {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 5px solid #1e293b;
}

.mb-4 { margin-bottom: 2rem; }

.app-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-features-list li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.app-features-list .icon {
  width: 50px;
  height: 50px;
  background: rgba(99,102,241,0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.app-features-list h4 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

/* Invoice Demo Section */
.invoice-section {
  padding: 5rem 2rem;
  background: var(--light);
}

.invoice-demo-container {
  max-width: 600px;
  margin: 0 auto;
}

.printable-slip {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: 10.5px;
  line-height: 1.35;
  color: #0f172a;
  background: #fff;
  width: 320px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.slip-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.slip-content-wrapper {
  position: relative;
  z-index: 1;
}

.slip-tracking-id {
  text-align: center;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.slip-title {
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 5px;
  color: #1e293b;
}

.slip-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.slip-logo {
  height: 36px;
  object-fit: contain;
}

.slip-company {
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 4px;
}

.slip-hr {
  border-top: 1px dashed #94a3b8;
  margin: 6px 0;
}

.slip-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-size: 10.5px;
}

.slip-lbl {
  font-weight: 700;
  color: #475569;
}

.slip-val {
  font-weight: 500;
  color: #0f172a;
  text-align: right;
  max-width: 58%;
}

.slip-remarks {
  margin-bottom: 5px;
}

.slip-remark-title {
  font-weight: 800;
  font-size: 10px;
  text-decoration: underline;
  margin-bottom: 2px;
}

.slip-remark-item {
  display: flex;
  gap: 3px;
  margin-bottom: 2px;
  font-size: 9.5px;
  color: #475569;
}

.slip-remark-item span {
  font-weight: 700;
  flex-shrink: 0;
}

.slip-qr-box {
  text-align: center;
  background: #f8fafc;
  padding: 6px 5px;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
}

.slip-qr-text {
  font-size: 9.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.slip-qr-footer {
  font-size: 8.5px;
  color: #94a3b8;
  font-family: monospace;
  margin-top: 3px;
}

.slip-qr-footer strong {
  color: #334155;
}

/* CTA Banner */
.cta-banner {
  padding: 4rem 2rem;
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  border-radius: 2rem;
  border: 1px solid white;
  box-shadow: 0 20px 50px rgba(99,102,241,0.1);
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.mt-6 { margin-top: 2rem; }

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(99,102,241,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #64748b;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container, .mobile-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .mobile-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; }
}
