/* Reset & Dark Theme Vars */
.bento-tech-wrapper {
  color: #ffffff;
  padding: 60px 0px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

.bento-tech-wrapper *, .bento-tech-wrapper *::before, .bento-tech-wrapper *::after {
  box-sizing: inherit;
}

/* Background Grid & Glow Effects */
/* .bento-tech-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(147, 51, 234, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
} */

.bento-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
}

.bento-glow-purple {
  width: 400px; height: 400px;
  background: inherit;
  top: 10%; left: -5%;
}

.bento-glow-blue {
  width: 500px; height: 500px;
  background: inherit;
  bottom: 0; right: -5%;
}

.bento-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header Section */
.bento-header {
  margin-bottom: 40px;
}

.bento-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 20px;
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.bento-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0;
}

/* CSS Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Card Styling */
.bento-card {
  background: linear-gradient(135deg, rgba(18, 10, 32, 0.85) 0%, rgba(8, 4, 18, 0.75) 100%);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.25);
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #ffffff;
}

.card-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 24px 0;
}

/* Card Specific Spans */
.bento-card-ecom { grid-column: span 8; }
.bento-card-code { grid-column: span 4; }
.bento-card-ads { grid-column: span 5; }
.bento-card-social { grid-column: span 4; }
.bento-card-design { grid-column: span 3; }

/* E-Commerce Cards */
.ecom-platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ecom-box {
  background: #05030a;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #1e293b;
}

.shopify-box { border-color: rgba(150, 191, 72, 0.4); }
.woo-box { border-color: rgba(127, 84, 179, 0.5); }

.box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.icon-shopify { background: rgba(150, 191, 72, 0.2); color: #96bf48; }
.icon-woo { background: rgba(127, 84, 179, 0.2); color: #c084fc; font-size: 11px; }

.box-header h4 { margin: 0; font-size: 15px; color: #fff; }
.box-header span { font-size: 11px; color: #94a3b8; display: block; }

.progress-bar-bg {
  width: 100%; height: 6px;
  background: #1e293b;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill { height: 100%; border-radius: 3px; }
.fill-shopify { width: 80%; background: #96bf48; }
.fill-woo { width: 90%; background: #7f54b3; }

/* IDE Code Box */
.ide-window {
  background: #030206;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 14px;
}

.ide-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #121824;
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.red { background: #ef4444; } .yellow { background: #f59e0b; } .green { background: #10b981; }
.ide-filename { margin-left: auto; font-size: 10px; color: #64748b; font-family: monospace; }

.ide-code {
  margin: 0;
  font-family: monospace;
  font-size: 12px;
  line-height: 1.6;
}

.kwd { color: #c084fc; } .str { color: #3b82f6; } .var { color: #f59e0b; } .fn { color: #4ade80; }

/* Meta Ads Chart */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.roas-pill {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}

.chart-container { margin: 15px 0; }
.chart-svg { width: 100%; height: auto; }

.ads-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-box {
  background: #030206;
  padding: 10px;
  border-radius: 8px;
}

.stat-label { font-size: 9px; color: #64748b; font-weight: 700; display: block; }
.stat-val { font-size: 15px; font-weight: 700; color: #fff; }
.stat-val.highlight { color: #4ade80; }

/* Social Section */
.social-icon-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.s-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 14px;
}

.ig { background: rgba(147, 51, 234, 0.2); border: 1px solid #c084fc; color: #c084fc; }
.fb { background: rgba(59, 130, 246, 0.2); border: 1px solid #3b82f6; color: #38bdf8; }
.in { background: rgba(0, 119, 181, 0.2); border: 1px solid #0077b5; color: #38bdf8; }
.yt { background: rgba(239, 68, 68, 0.2); border: 1px solid #ef4444; color: #f87171; }

.social-feed-card {
  background: #05030a;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.feed-header { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.feed-avatar { width: 28px; height: 28px; border-radius: 50%; }
.grad-1 { background: linear-gradient(45deg, #9333ea, #3b82f6); }
.grad-2 { background: #3b82f6; }

.feed-header h5 { margin: 0; font-size: 12px; color: #fff; }
.feed-header span { font-size: 10px; color: #94a3b8; }

.feed-pill {
  background: #1e293b;
  color: #c084fc;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.feed-pill.highlight-blue { color: #38bdf8; }

/* Graphic Design Canvas */
.design-canvas {
  background: #030206;
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 12px;
  padding: 12px;
  position: relative;
}

.design-tools { display: flex; gap: 8px; margin-bottom: 10px; }
.tool-icon { background: #120a20; border: 1px solid #334155; padding: 4px 8px; border-radius: 4px; font-size: 12px; }

.vector-workspace { position: relative; height: 80px; }
.vector-svg { width: 100%; height: 100%; }

.floating-pen-tool {
  position: absolute;
  top: 30%; left: 45%;
  background: #9333ea;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px #9333ea;
  font-size: 12px;
}

.color-palette { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.c-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .bento-card-ecom, .bento-card-code,
  .bento-card-ads, .bento-card-social, .bento-card-design {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-ecom, .bento-card-code,
  .bento-card-ads, .bento-card-social, .bento-card-design {
    grid-column: span 1;
  }
  .bento-card {
      padding: 15px;
  }
  .bento-tech-wrapper {
      padding: 0px 20px 30px 20px;
  }
  .ecom-platforms-grid { grid-template-columns: 1fr; }
  .bento-header h2 { font-size: 1.2rem }
  .bento-header {
    margin-bottom: 25px;
  }

  .ads-stats-grid{
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  
}

@media (max-width: 400px) {
   .ads-stats-grid .stat-label {
      font-size: 0.58rem;
  }

  .stat-box {
      padding: 7px;
  }

  .ide-code {
      font-size:9px;
  }

  .ide-window {
      padding:5px;
  }
}

/* RENDERING Scroll Animation CSS */
.bento-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-animate.bento-in-view {
  opacity: 1;
  transform: translateY(0);
}

