/* ─── Kalan School OS — Full Responsive & Mobile Fixes ─────────── */

/* ─── Header & Navigation Fixes (Small Screens) ─────────────── */
@media (max-width: 768px) {
  .landing-container {
    padding: 0 1rem;
  }

  .landing-nav-inner {
    height: 58px;
  }

  .landing-nav-links {
    display: none !important;
  }

  .btn-nav-login {
    display: none !important;
  }

  .btn-nav-cta {
    white-space: nowrap !important;
    font-size: 0.80rem !important;
    padding: 0.45rem 0.85rem !important;
    display: inline-flex;
    align-items: center;
  }

  .landing-logo-text {
    font-size: 1.1rem;
  }
}

/* ─── Hero Section Mobile Adjustments ───────────────────────── */
@media (max-width: 1024px) {
  .hero-float-card {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero-dome-wrap {
    padding: 2.75rem 1rem 3rem 1rem;
    margin: 0.75rem auto 2.25rem auto;
    border-radius: var(--radius-md);
  }

  .hero-h1 {
    font-size: 1.95rem;
    line-height: 1.18;
    margin-bottom: 0.85rem;
  }

  .hero-sub {
    font-size: 0.90rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-actions-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .btn-hero-primary,
  .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ─── Integrations Line & Grid Fix ──────────────────────────── */
@media (max-width: 768px) {
  .int-line {
    display: none !important;
  }

  .int-container {
    margin: 1.5rem 0 2.5rem 0;
  }

  .int-icons-grid {
    gap: 0.5rem;
  }

  .int-squircle {
    width: 58px;
    height: 58px;
    font-size: 0.68rem;
  }
}

/* ─── Solutions & App Showcase Mobile Overflows Fix ──────────── */
@media (max-width: 840px) {
  .landing-sec-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .landing-sec-desc {
    font-size: 0.86rem;
    margin-bottom: 1.75rem;
  }

  .app-frame-wrap {
    padding: 0.65rem !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 2.5rem !important;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
  }

  .app-frame-inner {
    grid-template-columns: 1fr !important;
    padding: 1rem 0.75rem !important;
    gap: 1rem !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .app-mock-sidebar {
    display: none !important;
  }

  .app-mock-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.65rem;
  }

  .app-mock-header h4 {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .app-mock-widgets {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .app-mock-card {
    padding: 0.75rem;
    box-sizing: border-box;
    width: 100%;
  }

  .app-mock-card-val {
    font-size: 1.2rem;
  }

  .app-mock-card-sub {
    font-size: 0.72rem;
  }
}

/* ─── Features, Testimonials & Pricing Grid Mobile ──────────── */
@media (max-width: 840px) {
  .feature-widgets-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 1.25rem !important;
    margin-bottom: 2.5rem !important;
  }

  .feature-widget-card {
    padding: 1.25rem;
  }

  .testimonials-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .testi-video-card {
    min-height: 220px;
  }

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

  .oneshot-benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .oneshot-licence-card {
    padding: 1.75rem 1.25rem !important;
    margin-top: 2rem !important;
  }

  .oneshot-title {
    font-size: 1.35rem !important;
  }

  .btn-oneshot-cta {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  .landing-bottom-cta {
    padding: 2rem 1rem !important;
    margin: 2.5rem 0 1.5rem 0 !important;
  }

  .landing-bottom-cta h2 {
    font-size: 1.5rem !important;
  }

  .bottom-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
}
