/* ==========================================================================
   Tabvora Official Website CSS
   Design System: Material Design 3 inspired Native App aesthetic
   Accessibility: WCAG 2.1 AA Compliant
   ========================================================================== */

/* 1. Design Tokens & Theme Variables */
:root {
  /* Color Palette - Light Mode Default */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f5;
  --bg-glass: rgba(255, 255, 255, 0.75);
  
  --text-primary: #1c1e21;
  --text-secondary: #4a4d52;
  --text-tertiary: #717680;
  
  --brand-primary: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-surface: rgba(37, 99, 235, 0.08);
  --brand-border: rgba(37, 99, 235, 0.2);
  
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  
  /* Layout & Geometry */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --nav-height: 64px;
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-glass: rgba(30, 41, 59, 0.85);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  
  --brand-primary: #3b82f6;
  --brand-hover: #60a5fa;
  --brand-surface: rgba(59, 130, 246, 0.15);
  --brand-border: rgba(59, 130, 246, 0.3);
  
  --border-color: #334155;
  --border-strong: #475569;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.5);
}

/* 2. Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

/* 3. Navigation Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
  padding: 4px 0; /* ওপর-নিচে অতিরিক্ত মার্জিন তুলে দেওয়া হলো */
}

.brand-logo {
  height: 44px; /* এখানে আপনার ইচ্ছা অনুযায়ী ৪০px থেকে ৪৮px পর্যন্ত বাড়াতে পারেন */
  width: auto;
  max-height: calc(var(--nav-height) - 12px); /* হেডারের বাইরে যাতে না চলে যায় */
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
}

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

/* Theme Toggle Switch */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-tertiary);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* 4. Layout Framework */
.main-content {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.page-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

/* 5. Buttons & Interactive Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-strong);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-border);
}

.btn-outline:hover {
  background-color: var(--brand-surface);
}

/* 6. Native App Cards & Containers */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.app-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.app-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 7. Footer */
.app-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 1.5rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* 8. Utility Components & Privacy Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge-info {
  background-color: var(--brand-surface);
  color: var(--brand-primary);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

/* Code Blocks & Logs */
.code-block {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-primary);
  overflow-x: auto;
  margin: 1rem 0;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Refined Hero Section - Modern Native Desktop Aesthetic
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 2rem 1.5rem 3rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Subtle, high-performance CSS gradient background glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 400px;
  background: radial-gradient(circle at 50% 30%, var(--brand-surface) 0%, rgba(37, 99, 235, 0) 70%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}

.hero-container {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. Version & Status Pill */
.hero-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.hero-version-badge {
  font-family: var(--font-mono);
  font-weight: 700;
}

.badge-separator {
  color: var(--text-tertiary);
}

.hero-status-tag {
  color: var(--text-secondary);
  font-weight: 500;
}

/* 2. Brand Title & Logo */
.hero-brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.hero-logo {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

/* 3. Subtitle & Description */
.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* 4. Compact Trust Badges Row */
.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  margin-bottom: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.trust-badge svg {
  color: #10b981; /* Success Green Checkmark */
}

/* 5. Hero Action Buttons & States */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-btn {
  padding: 0.7rem 1.35rem;
  font-size: 0.925rem;
}

/* Disabled "Coming Soon" Button Styling */
.btn-disabled {
  background-color: var(--bg-tertiary);
  color: var(--text-tertiary);
  border: 1px solid var(--border-color);
  cursor: not-allowed;
  opacity: 0.85;
}

.hero-btn-primary {
  padding: 0.7rem 1.35rem;
  font-size: 0.925rem;
}

/* Accessible Hover Tooltip */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-bubble {
  visibility: hidden;
  opacity: 0;
  width: 230px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-size: 0.775rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--text-primary) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-bubble,
.tooltip-container:focus-within .tooltip-bubble {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 6. Native Preview Window Frame */
.hero-preview-frame {
  width: 100%;
  max-width: 820px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.hero-preview-frame:hover {
  border-color: var(--border-strong);
}

.preview-window-bar {
  height: 36px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  position: relative;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-close { background-color: #ff5f56; }
.dot-minimize { background-color: #ffbd2e; }
.dot-expand { background-color: #27c93f; }

.preview-window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.preview-content-placeholder {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem;
  background-color: var(--bg-primary);
}

.preview-placeholder-text {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-tertiary);
  max-width: 380px;
}

/* ==========================================================================
   Mobile Responsive Alignment Fix (Left Align & Single Line Buttons)
   ========================================================================== */

@media (max-width: 960px) {
  /* কার্ডের ভেতরের কন্টেন্ট বামে এলাইন করা */
  .hero-content-col {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .hero-main-title {
    font-size: 2.1rem;
    text-align: left !important;
  }

  .hero-description-text {
    font-size: 0.95rem;
    text-align: left !important;
  }

  /* ৩টি বাটন এক লাইনে (Horizontal Row) রাখা */
  .hero-btn-group {
    display: flex !important;
    flex-direction: row !important; /* জোরপূর্বক এক লাইনে রাখা */
    flex-wrap: nowrap !important; /* ভেঙে নিচে যাওয়া বন্ধ করা */
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.4rem !important; /* মোবাইলে জায়গা পাওয়ার জন্য গ্যাপ কমানো হলো */
    width: 100% !important;
    overflow-x: auto; /* স্ক্রিন বেশি ছোট হলে স্ক্রোল হতে পারবে */
    padding-bottom: 4px;
  }

  /* মোবাইলের জন্য বাটনগুলোর সাইজ ও প্যাডিং একটু কমপ্যাক্ট করা */
  .hero-btn-group .btn-hero,
  .hero-btn-group .btn-disabled {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important; /* টেক্সট ভেঙে দুই লাইন হওয়া বন্ধ করা */
    flex-shrink: 0;
  }

  .hero-btn-group .tooltip-container {
    flex-shrink: 0;
  }

  /* ট্রাস্ট বার বামে এলাইন করা */
  .hero-trust-bar {
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 0.75rem !important;
  }
}

/* ==========================================================================
   Adaptive Split Hero Section (Light & Dark Theme Compatible)
   ========================================================================== */

.tabvora-hero {
  padding: 3rem 1.5rem 4rem 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-split-container {
  max-width: var(--max-width);
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Left Column Styling */
.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-surface);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
}

.hero-main-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.text-gradient {
  color: var(--brand-primary);
}

.hero-description-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Button Group */
.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-primary.btn-disabled {
  background-color: var(--bg-tertiary);
  color: var(--text-tertiary);
  border: 1px solid var(--border-color);
  cursor: not-allowed;
}

.btn-hero-secondary {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-hero-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-strong);
}

.btn-hero-outline {
  background-color: transparent;
  color: var(--brand-primary);
  border: 1px solid var(--brand-border);
}

.btn-hero-outline:hover {
  background-color: var(--brand-surface);
}

/* Tooltip Styling */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-bubble {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.tooltip-container:hover .tooltip-bubble {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Trust Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.hero-trust-bar span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Right Media Column */
.hero-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-card-frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

/* Responsive Mobile Rules */
@media (max-width: 960px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 2.5rem;
  }
  
  .hero-content-col {
    align-items: center;
    text-align: center;
  }
  
  .hero-main-title {
    font-size: 2.25rem;
  }
  
  .hero-btn-group {
    justify-content: center;
    width: 100%;
  }

  .hero-trust-bar {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   4:3 Screenshot Window Frame Fix
   ========================================================================== */

.hero-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-window-frame {
  width: 100%;
  max-width: 580px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-window-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.window-bar {
  height: 38px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.close { background-color: #ff5f56; }
.dot.minimize { background-color: #ffbd2e; }
.dot.expand { background-color: #27c93f; }

.window-url-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-tertiary);
  background-color: var(--bg-primary);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

/* 4:3 Ratio Lock Container */
.window-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* ৪:৩ অনুপাত লকিং */
  overflow: hidden;
  background-color: var(--bg-primary);
}

.dashboard-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* ছবির ওপরের অংশ যেন কাটা না যায় */
  display: block;
}

/* ==========================================================================
   Footer Brand Section (1:1 Square Logo Style)
   ========================================================================== */

.brand-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

/* ১:১ পারফেক্ট স্কোয়ার ইমেজের স্টাইল */
.footer-square-logo {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}