:root {
  --primary-color: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.5);
  --secondary-color: #ff7811;
  --bg-dark: #050505;
  --bg-darker: #020202;
  --text-main: #ffffff;
  --text-secondary: #94a3b8;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 10px var(--primary-glow);
  z-index: 10001;
}

/* Custom Cursor */
.cursor-dot {
  width: 8px; height: 8px;
  background: #fff;
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
}

.cursor-outline {
  width: 40px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.25s, width 0.3s, height 0.3s, border-color 0.3s;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', 'Noto Sans Bengali', sans-serif;
}

body {
  background-color: transparent;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base Styles */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Layout Utilities */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* টেমপ্লেট শোকেসের জন্য স্পেশাল ওয়াইড কন্টেইনার */
.showcase.container {
  width: 98%;
  max-width: 1800px;
}

/* নেভিগেশনের জন্য ফুল উইডথ ব্যাকগ্রাউন্ড স্টাইল */
.nav-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

section {
  padding: 100px 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
  }

  50% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  }

  100% {
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 99px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #4f46e5);
  color: white;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}


.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.6);
}


.btn-outline {
  border: 1px solid var(--glass-border);
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

/* Space Environment - Absolutely Real Mohakas */
#space-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -99;
  background: #020107;
  overflow: hidden; pointer-events: none;
}

#stars-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}

/* The Central Real Sun */
.sun-system {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  z-index: 2; display: flex; align-items: center; justify-content: center;
}

.sun-core {
  width: 140px; height: 140px;
  background: radial-gradient(circle, #fff 10%, #ffcc00 40%, #ff6600 70%, #cc3300 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 80px #ff6600, 
    0 0 160px #ff3300, 
    0 0 240px rgba(255, 51, 0, 0.4),
    inset 0 0 40px rgba(0,0,0,0.5);
  z-index: 5;
  animation: sunPulse 3s ease-in-out infinite alternate;
}

.sun-corona {
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,102,0,0.3) 0%, transparent 70%);
  border-radius: 50%; z-index: 4;
  filter: blur(25px);
  animation: sunGlow 5s infinite alternate;
}

.sun-flares {
  position: absolute; width: 350px; height: 350px;
  border: 2px dashed rgba(255, 120, 0, 0.2);
  border-radius: 50%; z-index: 3;
  animation: orbitRotate 15s linear infinite;
}

@keyframes sunPulse { 0% { transform: scale(0.95); } 100% { transform: scale(1.05); } }
@keyframes sunGlow { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 0.9; transform: scale(1.2); } }


/* Larger Planetary Orbits */
.orbit {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%); z-index: 3;
}

.track-1 { width: 650px; height: 650px; animation: orbitRotate 20s linear infinite; }
.track-2 { width: 950px; height: 950px; animation: orbitRotate 45s linear infinite; }
.track-3 { width: 1300px; height: 1300px; animation: orbitRotate 70s linear infinite reverse; }
.track-4 { width: 1700px; height: 1700px; animation: orbitRotate 100s linear infinite; }
.track-5 { width: 1900px; height: 1900px; animation: orbitRotate 60s linear infinite; border: none; }

.track-moon { width: 100px; height: 100px; top: -20px; left: 50%; transform: translate(-50%, -50%); border: none; animation: orbitRotate 8s linear infinite; z-index: 5; }

/* Real Realistic Planets */
.planet {
  position: absolute; border-radius: 50%; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.p-mercury { 
  width: 35px; height: 35px; 
  background: radial-gradient(circle at 30% 30%, #a8a8a8, #555); 
  top: 0; left: 50%;
  box-shadow: 0 0 15px rgba(168, 168, 168, 0.4);
}

/* Realistic Planets with Atmosphere */
.p-earth { 
  width: 65px; height: 65px; 
  background: radial-gradient(circle at 30% 30%, #4facfe 0%, #00f2fe 30%, #000000 100%); 
  top: 0; left: 50%; 
  box-shadow: 
    0 0 30px rgba(79, 172, 254, 0.6), 
    inset -10px -10px 20px rgba(0,0,0,0.9),
    0 0 10px rgba(255,255,255,0.3); 
}

.p-earth::after {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><filter id="f"><feTurbulence type="fractalNoise" baseFrequency=".02" numOctaves="3"/></filter><rect width="100" height="100" filter="url(%23f)" fill="white" fill-opacity=".1"/></svg>');
  border-radius: 50%;
  opacity: 0.4;
}

.p-jupiter { 
  width: 140px; height: 140px; 
  background: linear-gradient(135deg, #d39c7e, #c88b3a, #e2b192, #a86b3a);
  top: 0; left: 50%; 
  box-shadow: 
    inset -30px -30px 40px rgba(0,0,0,0.9), 
    0 0 50px rgba(200, 139, 58, 0.2);
  border-radius: 50%;
}

.p-jupiter::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, rgba(0,0,0,0.1) 10px, transparent 20px);
  border-radius: 50%;
  opacity: 0.5;
}

/* Background Nebula Layers - Optimized for Performance */
.nebula-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.3;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* Reduced blur for performance */
  animation: nebulaFloat 30s infinite alternate linear;
  pointer-events: none;
}

.nebula-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
  top: -5%; right: -5%;
}

.nebula-2 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 120, 17, 0.08), transparent 70%);
  bottom: -10%; left: -5%;
  animation-delay: -15s;
}

@keyframes nebulaFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 40px) scale(1.05); }
}


/* Atmospheric Rim Lighting for Planets */
.planet::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 10px 10px 20px rgba(255, 255, 255, 0.1), 
              0 0 15px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.p-saturn {
  width: 95px; height: 95px;
  background: radial-gradient(circle at 35% 35%, #f4e4bc, #b59b6d, #443322);
  top: 0; left: 50%;
  box-shadow: inset -15px -15px 30px rgba(0,0,0,0.9), 0 0 20px rgba(181, 155, 109, 0.2);
}

.saturn-rings {
  position: absolute; top: 50%; left: 50%;
  width: 210px; height: 50px;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(197, 171, 121, 0.2) 45%, rgba(197, 171, 121, 0.4) 55%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(75deg) rotateY(-10deg);
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.saturn-rings::before {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Satellite */
.satellite {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%) rotate(90deg);
  color: #00f2ff; font-size: 30px; filter: drop-shadow(0 0 10px #00f2ff);
  animation: satPulse 1.5s infinite alternate;
}

@keyframes orbitRotate { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes satPulse { 0% { opacity: 0.4; } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(90deg) scale(1.1); } }


/* Navigation */
.modal-body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  background: #000;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  color: var(--primary-color);
  -webkit-text-fill-color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-icon-link {
  color: #fff;
  font-size: 1.5rem; /* সাইজ বাড়ানো হয়েছে */
  transition: var(--transition);
  opacity: 0.9;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-icon-link:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.1);
}

.fa-facebook, .fa-square-facebook {
  color: #1877f2; /* রিয়েল ফেসবুক ব্লু কালার */
}

.fa-whatsapp {
  color: #25d366; /* রিয়েল হোয়াটসঅ্যাপ গ্রিন */
}

.btn-small {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  position: relative;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-color), #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.stars {
  color: var(--accent-color);
}

.mockup-float {
  width: 100%;
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.mockup-float img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5), 0 30px 60px -30px rgba(99, 102, 241, 0.3);
  border: 1px solid var(--glass-border);
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 150px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}


.section-title h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: 0px;
  line-height: 1.2;
}

.section-title h2 span {
  background: linear-gradient(135deg, var(--primary-color), #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ফিক্সড ৪ কলাম */
  gap: 1rem;
  padding: 2rem 0;
}

.template-card {
  background: rgba(10, 10, 10, 0.9);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.15); /* বর্ডার আরেকটু মোটা এবং স্পষ্ট করা হলো */
  position: relative;
  cursor: pointer;
}

.template-card:hover {
  transform: translateY(-8px);
  border-color: #ff7811; /* মাউস নিলে আপনার অরেঞ্জ থিমের উজ্জ্বল বর্ডার শো করবে */
  box-shadow: 0 15px 40px rgba(255, 120, 17, 0.3); /* অরেঞ্জ গ্লোয়িং ইফেক্ট */
}

.template-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin: 0; /* কোনো মার্জিন নেই যাতে বক্স ফুল দেখায় */
  border: none; /* ভেতরের বর্ডার রিমুভ করা হয়েছে */
}

.template-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* মাউস নিলে যে ওভারলে বা অপশন আসবে */
.template-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.template-card:hover .template-overlay {
  opacity: 1;
}

.btn-overlay {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  width: 160px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-overlay.preview-btn {
  background: #1e3a5f;
  color: #fff;
}

.btn-overlay.buy-btn {
  background: #ff7811;
  color: #fff;
}

.btn-overlay:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* নিচের টাইটেল এবং বাটন এরিয়া */
.template-footer {
  padding: 12px;
  display: flex;
  justify-content: center; /* মাঝখানে টাইটেল */
  align-items: center;
  background: #000;
  border-top: 1px solid #1a1a1a;
}

.template-title-box h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #ccc;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.price-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto; /* বাটনটিকে একদম ডানে সরিয়ে দিবে */
}

.price-tag {
  color: #ff7811; 
  font-weight: 700;
  font-size: 0.85rem;
}

/* Features Grid Styles */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 20px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 15, 0.8) !important;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(255, 120, 17, 0.1);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.order-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  background: var(--primary-color);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.order-link:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.5);
}

/* ক্লিক করলে কালার চেঞ্জ হওয়ার ইফেক্ট */
.order-link:active {
  background: #10b981; /* ক্লিক করলে সবুজ আভা দিবে */
  transform: scale(0.95);
  box-shadow: none;
}

.template-actions {
  display: flex;
  gap: 8px;
}

.btn-live, .btn-preview {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.btn-live {
  background: #1e3a5f; /* আপনার স্ক্রিনশটের ডার্ক ব্লু কালার */
  color: #fff;
}

.btn-preview {
  background: #ff7811; /* আপনার স্ক্রিনশটের অরেঞ্জ কালার */
  color: #fff;
}

.btn-live:hover, .btn-preview:hover {
  opacity: 0.9;
}
/* End of Template Card Styles */

.template-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.template-card:hover .template-overlay {
  opacity: 1;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 12px;
}

.template-info {
  padding: 2rem;
  background: rgba(2, 6, 23, 0.3);
}

.template-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.template-info .price {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
  border-radius: 99px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.template-info p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.price-card {
  padding: 3.5rem 2.5rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(15, 15, 25, 0.94), rgba(5, 5, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, rgba(99,102,241,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}


.price-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.05) 50%, transparent 55%);
  transform: rotate(45deg);
  transition: 0.8s;
  pointer-events: none;
}

.price-card:hover::after {
  left: 100%;
  top: 100%;
}

.price-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.1);
}

.price-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card.featured {
  border: 1px solid rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, rgba(20, 20, 40, 0.95), rgba(5, 5, 15, 0.98));
  box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.2);
  z-index: 5;
}

.price-card.featured::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 34px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.popular {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(90deg, var(--primary-color), #818cf8);
  color: white;
  padding: 0.5rem 3rem;
  font-size: 0.75rem;
  font-weight: 800;
  transform: rotate(45deg);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-val {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 1.5rem 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.price-val span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-card ul {
  list-style: none;
  margin: 2.5rem 0;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.price-card ul li {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.price-card ul li i {
  color: #10b981;
  font-size: 0.9rem;
  background: rgba(16, 185, 129, 0.1);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.btn-full {
  width: 100%;
}

/* Contact */
.contact {
  padding: 100px 0;
  text-align: center;
}

.contact-header {
  margin-bottom: 5rem;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 200px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-icon i {
  font-size: 4rem;
  transition: transform 0.4s ease;
}

.contact-icon span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.contact-icon:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-icon.fb i { color: #1877F2; }
.contact-icon.wa i { color: #25D366; }
.contact-icon.mail i { color: #EA4335; }

.contact-icon:hover i {
  transform: scale(1.1);
}

/* Branch specific glows */
.contact-icon.fb:hover { box-shadow: 0 15px 30px rgba(24, 119, 242, 0.2); border-color: rgba(24, 119, 242, 0.4); }
.contact-icon.wa:hover { box-shadow: 0 15px 30px rgba(37, 211, 102, 0.2); border-color: rgba(37, 211, 102, 0.4); }
.contact-icon.mail:hover { box-shadow: 0 15px 30px rgba(234, 67, 53, 0.2); border-color: rgba(234, 67, 53, 0.4); }

@media (max-width: 768px) {
  .contact-icons {
    gap: 1.5rem;
  }
  .contact-icon {
    width: 100%;
    max-width: 300px;
    padding: 2rem;
  }
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.logo-col p {
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

/* Preview Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.device-toggles {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 8px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  z-index: 2001;
}

.device-toggles button {
  padding: 0.75rem 1.75rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.device-toggles button.active {
  background: var(--primary-color);
  color: white;
}

.close-modal {
  margin-left: 0.5rem;
  color: #ef4444 !important;
  border-left: 1px solid var(--glass-border) !important;
  border-radius: 0 14px 14px 0 !important;
}

#preview-frame-container {
  width: 100%;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

#preview-iframe {
  background: white;
  border: none;
  display: block;
}

#preview-frame-container.desktop-view iframe {
  width: 100% !important;
  height: 100% !important;
}

#preview-frame-container.mobile-view {
  width: 416px;
  height: 868px;
  background: #000;
  border: 12px solid #1a1a1a;
  border-radius: 55px;
  position: relative;
  box-shadow: 0 0 0 2px #333, 0 50px 100px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.iframe-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: white;
  position: relative;
}

#preview-frame-container.mobile-view .iframe-wrapper {
  border-radius: 40px;
}


#preview-frame-container.mobile-view iframe {
  width: 100% !important;
  height: 100% !important;
}

/* Brand Excellence section */
.brand-excellence {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 100px 0;
  border-top: 1px solid var(--glass-border);
}

.brand-image {
  flex: 1.2;
}

.brand-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--primary-glow);
}

.brand-content {
  flex: 1;
}

.brand-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.brand-content h2 span {
  color: var(--primary-color);
}

.brand-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: #fff;
}

.feature-item i {
  color: #10b981;
  font-size: 1.2rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Mobile Menu Toggle Styling */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

/* Responsive */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 140px;
    gap: 2rem;
  }

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

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    margin: 0 auto 2.5rem;
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
    width: 100%;
  }

  .trust-icons {
    justify-content: center;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin: 0 auto;
  }

  .showcase.container {
    width: 98%;
  }

  .sun-system {
    width: 300px;
    height: 300px;
  }

  .sun-core {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 992px) {
  .brand-excellence {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .feature-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-header .container {
    padding: 0 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    padding: 4rem 2rem;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    font-size: 1.25rem;
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-actions {
    display: none;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .section-title h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .showcase.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 8px !important;
  }

  .template-card {
    border-radius: 6px;
    border-color: rgba(255, 120, 17, 0.3); /* Orange tint from the theme */
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    gap: 10px;
    padding: 10px 0;
  }

  .template-title-box h3 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    font-size: 0.75rem;
  }

  .price-info {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .price-tag {
    font-size: 0.75rem;
  }

  .order-link {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .btn-overlay {
    width: 90%;
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .template-overlay {
    display: none !important;
  }

  .template-img::after {
    content: "প্রিভিউ দেখুন";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(5, 5, 10, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;
    white-space: nowrap;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .logo-col p {
    margin: 1.5rem auto 0;
  }

  .footer-contact li {
    justify-content: center;
  }

  .contact-box {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  /* Planetary Background Mobile Scaling */
  .orbit {
    border-color: rgba(255, 255, 255, 0.03);
  }

  .track-1 { width: 300px; height: 300px; }
  .track-2 { width: 500px; height: 500px; }
  .track-3 { width: 700px; height: 700px; }
  .track-4 { width: 900px; height: 900px; }
  .track-5 { width: 1100px; height: 1100px; }

  .p-jupiter { width: 50px; height: 50px; }
  .p-saturn { width: 40px; height: 40px; }
  .saturn-rings { width: 80px; height: 20px; }

  .sun-system {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem !important;
    line-height: 1.4 !important;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section-title h2 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .showcase.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 5px !important;
    margin: 0 !important;
  }
  
  .showcase-grid {
    width: 100% !important;
    gap: 6px;
    padding: 0;
  }

  .template-card {
    border-radius: 4px;
    border-color: rgba(255, 120, 17, 0.4);
    border-width: 1px;
  }

  .template-footer {
    padding: 8px;
  }

  .btn-overlay {
    font-size: 0.65rem;
    padding: 5px;
    gap: 4px;
  }

  .price-val {
    font-size: 2.5rem;
  }
}

@media (max-width: 1200px) {
  .showcase.container {
    width: 92%;
  }
}

.pricing-grid .price-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-grid .price-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-grid .price-card:nth-child(3) { transition-delay: 0.3s; }
.pricing-grid .price-card:nth-child(4) { transition-delay: 0.4s; }
.pricing-grid .price-card:nth-child(5) { transition-delay: 0.5s; }
