/* ═══════════════════════════════════════════════════════════════
   دموی کارت‌های بنتو (هماهنگ با تم اصلی: سرمه‌ای + فیروزه‌ای + طلایی)
   ═══════════════════════════════════════════════════════════════ */

   :root {
    --primary: #0b2447;
    --primary-2: #19376d;
    --teal: #2ec4b6;
    --teal-deep: #0d9487;
    --teal-bright: #5eead4;
    --gold: #f2b84b;
    --gold-soft: #ffe09a;
  }
  
  /* ═══ دکمه‌ها ═══ */
  .btn-primary {
    background: linear-gradient(135deg, var(--teal-deep), var(--teal));
    box-shadow: 0 12px 30px rgba(46, 196, 182, .3);
  }
  html[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-bright));
    color: #052925;
  }
  
  /* ═══ Hero Section با کارت‌های بنتو ═══ */
  .dc-hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
  }
  
  .dc-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  
  .dc-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  
  .dc-hero-content h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.45;
    margin-top: 20px;
  }
  
  .dc-hero-content h1 .hl {
    color: var(--teal-deep);
  }
  
  html[data-theme="dark"] .dc-hero-content h1 .hl {
    color: var(--teal-bright);
  }
  
  .dc-hero-content .lead {
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 2.1;
    color: var(--muted);
    max-width: 520px;
  }
  
  .dc-cta {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  /* Bento Preview */
  .bento-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    position: relative;
    min-height: 380px;
  }
  
  .bento-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .bento-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border: none;
  }
  
  .bento-large .bento-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }
  
  .bento-small {
    padding: 20px;
  }
  
  .bento-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    color: #fff;
    border: none;
  }
  
  .bento-bottom {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background: linear-gradient(135deg, var(--gold), #e8930c);
    color: #fff;
    border: none;
  }
  
  .bento-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(46, 196, 182, 0.1);
    color: var(--teal);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
  }
  
  .bento-card:hover .bento-icon {
    transform: rotate(-6deg) scale(1.1);
  }
  
  .bento-large h3,
  .bento-small strong {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
  }
  
  .bento-large p,
  .bento-small small {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
  }
  
  /* ═══ نوار آمار شناور ═══ */
  .dc-stats-float {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 0 0 40px;
  }
  
  .dc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .dc-stat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
  }
  
  .dc-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 36, 71, 0.15);
  }
  
  .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.05));
    color: var(--teal);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  
  .stat-content {
    display: flex;
    flex-direction: column;
  }
  
  .stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--teal-deep);
    line-height: 1;
    margin-bottom: 4px;
  }
  
  html[data-theme="dark"] .stat-number {
    color: var(--teal-bright);
  }
  
  .stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
  }
  
  /* ═══ خدمات با کارت‌های بنتو ═══ */
  .dc-bento-services {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
  }
  
  .dc-bento-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
  }
  
  .dc-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .dc-bento-main {
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
  }
  
  .bento-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  
  .bento-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
  }
  
  .dc-bento-main:hover .bento-media img {
    transform: scale(1.08);
  }
  
  .bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 36, 71, 0.9) 0%, rgba(11, 36, 71, 0.4) 50%, transparent 100%);
  }
  
  .bento-content {
    position: relative;
    z-index: 2;
    padding: 280px 32px 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .bento-content .bento-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
  }
  
  .bento-content h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
  }
  
  .bento-content p {
    font-size: 14.5px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
  }
  
  .bento-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  
  .bento-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--teal-bright);
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
  }
  
  .bento-link:hover {
    gap: 12px;
  }
  
  /* کارت‌های کناری */
  .dc-bento-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .dc-bento-side-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .dc-bento-side-card .bento-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.05));
    color: var(--teal);
    display: grid;
    place-items: center;
  }
  
  .dc-bento-side-card h4 {
    font-size: 19px;
    font-weight: 900;
    color: var(--ink);
  }
  
  .dc-bento-side-card p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    flex-grow: 1;
  }
  
  /* ═══ مراحل با کارت‌های چرخان ═══ */
  .dc-steps-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .dc-step-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
  }
  
  .dc-step-card:hover {
    transform: translateY(-12px) rotate(2deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
  }
  
  .step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(46, 196, 182, 0.08);
    line-height: 1;
  }
  
  .step-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    box-shadow: 0 12px 28px rgba(46, 196, 182, 0.3);
    transition: all 0.3s ease;
  }
  
  .dc-step-card:hover .step-icon {
    transform: rotate(-6deg) scale(1.1);
    box-shadow: 0 16px 36px rgba(46, 196, 182, 0.4);
  }
  
  .dc-step-card h4 {
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 12px;
  }
  
  .dc-step-card p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
  }
  
  /* ══ نظرات با کارت‌های شناور ══ */
  .dc-testimonials-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .dc-testi-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
  }
  
  .dc-testi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(242, 184, 75, 0.3);
  }
  
  .testi-quote {
    width: 40px;
    height: 40px;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 16px;
  }
  
  .dc-testi-card p {
    font-size: 14.5px;
    line-height: 2.1;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 20px;
  }
  
  .testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  
  .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--primary));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
  }
  
  .testi-author strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
  }
  
  .testi-author span {
    font-size: 12.5px;
    color: var(--teal);
    font-weight: 600;
  }
  
  /* ═══ Responsive Design ═══ */
  @media (max-width: 1200px) {
    .dc-hero-grid {
      grid-template-columns: 1fr;
    }
    
    .dc-bento-services {
      grid-template-columns: 1fr;
    }
    
    .dc-bento-main {
      min-height: 420px;
    }
    
    .dc-bento-side {
      flex-direction: row;
    }
    
    .dc-bento-side-card {
      flex: 1;
    }
  }
  
  @media (max-width: 1024px) {
    .dc-stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .dc-steps-cards {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .dc-testimonials-cards {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .bento-preview {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
      min-height: auto;
    }
    
    .bento-large,
    .bento-top,
    .bento-bottom {
      grid-column: 1 / 2;
      grid-row: auto;
    }
    
    .dc-bento-side {
      flex-direction: column;
    }
    
    .dc-steps-cards {
      grid-template-columns: 1fr;
    }
    
    .dc-stats-grid {
      grid-template-columns: 1fr;
    }
  }