/**
 * Holos AI - Mobile & Responsive Stylesheet
 * Optimized for Mobile (<= 480px), Tablets (<= 768px), and Desktops
 */

/* Grid utilities */
.trans-eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.table-scroll-hint {
  display: none;
  font-size: 0.78rem;
  color: var(--accent-emerald-light);
  margin-bottom: 8px;
  text-align: right;
}

/* ── Tablet & Small Laptops (<= 1024px) ── */
@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .showcase-device {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .moat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile & Tablets (<= 768px) ── */
@media (max-width: 768px) {
  /* Header & Navigation */
  .site-header {
    padding: 12px 0;
  }
  .header-inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .brand-logo img {
    width: 30px;
    height: 30px;
  }
  .brand-logo span {
    font-size: 1.1rem;
  }
  .nav-menu {
    width: 100%;
    order: 3;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 4px 0 2px;
    scrollbar-width: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .lang-dropdown #lang-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  #get-app-btn {
    padding: 5px 14px;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero-section {
    padding: 36px 0 28px;
    text-align: center;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    line-height: 1.4;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    padding: 0 4px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 0 8px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Interactive Demo */
  .showcase-content h2 {
    font-size: 1.75rem !important;
  }
  .mode-tab-btn {
    font-size: 0.88rem !important;
    padding: 10px 14px !important;
  }

  /* Translation Ecosystem */
  #translation-eco {
    margin-top: 48px !important;
  }
  .trans-eco-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px !important;
  }
  .trans-eco-grid .glass-panel {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  /* Features / Highlights */
  .features-section {
    padding: 48px 0;
  }
  .moat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .moat-card {
    padding: 22px 18px;
  }

  /* Pricing Cards */
  .pricing-section {
    padding: 48px 0;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 20px;
  }
  .price-card {
    padding: 24px 20px;
  }

  /* Feature Comparison Table */
  .table-scroll-hint {
    display: block;
  }
  .table-wrapper {
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    padding: 12px;
    background: rgba(15, 23, 42, 0.4);
  }
  .comparison-table {
    min-width: 520px;
    font-size: 0.85rem;
  }
  .comparison-table th, .comparison-table td {
    padding: 10px 12px;
  }

  /* Download Section */
  .download-section {
    padding: 48px 0;
  }
  .download-channels-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 36px;
    text-align: center;
    align-items: center;
  }
  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }
  .footer-nav {
    justify-content: center;
    gap: 48px;
    width: 100%;
  }
  .footer-col {
    align-items: center;
  }

  /* Checkout Page Mobile */
  .checkout-container {
    padding: 12px !important;
    margin: 16px auto 40px !important;
  }
  .checkout-box {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .checkout-box h1 {
    font-size: 1.4rem !important;
  }
  .plan-select-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .payment-methods-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .pay-method-card {
    padding: 12px 10px !important;
    font-size: 0.82rem !important;
  }
}

/* ── Small Phones (<= 480px) ── */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .phone-frame,
  .phone-mockup {
    width: 100%;
    max-width: 310px;
    height: 520px;
    border-radius: 32px;
  }
  .sim-tone-cards {
    gap: 6px;
  }
  .tone-card {
    padding: 8px 10px;
  }
  .tone-card p {
    font-size: 0.78rem;
  }
  .btn-large {
    padding: 12px 20px;
    font-size: 0.92rem;
  }
}
