/* =========================================================
   QweeClin – RESPONSIVE LAYOUT
   Mobile-first, clean & intentional
========================================================= */


/* =========================================================
   SMALL MOBILES (≤ 480px)
   Target: 360–430px devices
========================================================= */
@media (max-width: 480px) {

  /* ---------- GLOBAL ---------- */
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ---------- HEADER ---------- */
  header {
    padding: 10px 0;
    background: #ffffff;
    z-index: 1000;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Header Login (mobile only) */
  .nav-btns {
    display: flex;
    align-items: center;
  }

  .nav-btns .hero-login-desktop {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 10px;
    border: 1.5px solid #0f766e;
    background: #ffffff;
    color: #0f766e;
  }

  /* Never show Try Demo in header on mobile */
  .nav-btns .btn-header-demo {
    display: none;
  }

  /* ---------- HERO ---------- */
  .hero {
    padding-top: 16px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-clinic-wrap {
    width: 88%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-clinic {
    border-radius: 16px;
  }

  /* Hero CTA – ONLY Try Demo */
  .hero-actions {
    margin-top: 18px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-actions .btn {
    width: 92%;
    max-width: 340px;
    padding: 11px 0;
    font-size: 0.95rem;
    border-radius: 14px;
    text-align: center;
  }

  /* Hide hero login on mobile */
  .hero-login-hide-mobile {
    display: none;
  }

  /* ---------- FEATURES ---------- */
  .why-title {
    font-size: 1.25rem;
    line-height: 1.35;
    text-align: center;
    margin: 18px 0 18px;
  }

  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }

  .why-item {
    text-align: center;
  }

  .why-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .why-text {
    font-size: 0.85rem;
    line-height: 1.3;
    white-space: normal;
  }

  /* ---------- MODULE CARDS ---------- */
  .module-card {
    width: 90%;
    max-width: 320px;
    padding: 18px 14px 16px;
    border-radius: 22px;
  }

  .module-card img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    margin-bottom: 12px;
  }

  .module-card span {
    font-size: 0.9rem;
    font-weight: 600;
  }

  /* ---------- ASSISTANT ---------- */
  .assistant-inner {
    flex-direction: column;
    gap: 16px;
  }

  /* ---------- SMS ---------- */
  .sms-phone {
    transform: scale(0.9);
  }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 18px 14px;
    font-size: 0.82rem;
    text-align: center;
  }
}


/* =========================================================
   PHONES & SMALL TABLETS (481px – 820px)
========================================================= */
@media (min-width: 481px) and (max-width: 820px) {

  /* Header: Login only */
  .nav-btns {
    display: flex;
    align-items: center;
  }

  .nav-btns .btn-header-demo {
    display: none;
  }

  /* Hero image sizing */
  .hero-clinic-wrap {
    width: 90%;
    max-width: 420px;
  }

  .hero-actions .btn {
    max-width: 420px;
  }

  /* Founder */
  .founder-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .founder-portrait img {
    margin: 0 auto;
    max-width: 220px;
  }

  .founder-content {
    margin: 0 auto;
  }

  /* SMS spacing */
  .sms-section {
    padding: 56px 0 52px;
  }

  .sms-heading {
    margin-bottom: 36px;
  }

  /* Pricing */
  .plan-includes {
    padding: 44px 18px;
  }

  .plan-includes-title {
    font-size: 1.4rem;
  }

  .plan-includes-grid {
    gap: 26px;
  }
}


/* =========================================================
   DESKTOP (≥ 821px)
   Header CTAs only, hero stays clean
========================================================= */
@media (min-width: 821px) {

  /* Never show hero buttons on desktop */
  .hero-actions {
    display: none !important;
  }

}


/* =========================================
   PREMIUM CTA – TRY DEMO FOR FREE
========================================= */

.hero-actions .btn.sec {
  background: linear-gradient(
    180deg,
    #16a394 0%,
    #0f766e 100%
  );
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.2px;

  /* depth */
  box-shadow:
    0 10px 24px rgba(15, 118, 110, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.25);

  border: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

/* Hover (desktop & large tablets) */
@media (hover: hover) {
  .hero-actions .btn.sec:hover {
    transform: translateY(-1px);
    box-shadow:
      0 14px 30px rgba(15, 118, 110, 0.32),
      inset 0 1px 0 rgba(255,255,255,0.3);
  }
}

/* Press / tap */
.hero-actions .btn.sec:active {
  transform: translateY(1px);
  box-shadow:
    0 6px 14px rgba(15, 118, 110, 0.25),
    inset 0 2px 4px rgba(0,0,0,0.18);
}


/* =========================================================
   FOUNDER SECTION – MOBILE FIX
   Prevent cramping, force clean left text
========================================================= */

@media (max-width: 820px) {

  .founder-section {
    padding: 48px 16px 56px;   /* breathing room */
  }

  .founder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;       /* image centered */
    gap: 28px;
    max-width: 560px;
    margin: 0 auto;
  }

  /* Portrait */
  .founder-portrait {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .founder-portrait img {
    width: 180px;
    max-width: 70%;
    border-radius: 18px;
  }

  /* Content */
  .founder-content {
    width: 92%;
    max-width: 520px;
    text-align: left !important;   /* 🔴 force left */
    margin: 0 auto;
  }

  .founder-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
    text-align: left;
  }

  .founder-role {
    font-size: 0.9rem;
    margin-bottom: 14px;
    text-align: left;
  }

  .founder-content p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 14px;
    text-align: left;            /* 🔴 always left */
  }

  .founder-sign {
    margin-top: 16px;
    font-size: 0.95rem;
    text-align: left;
  }
}

/* =========================================
   PLAN INCLUDES TITLE – MOBILE ONE LINE
========================================= */

@media (max-width: 480px) {
  .plan-includes-title {
    font-size: 1.1rem;      /* reduced just enough */
    line-height: 1.25;
    letter-spacing: -0.2px; /* subtle tightening */
    white-space: nowrap;    /* force single line */
  }
}




/* ==============================
   MOBILE – REMOVE PINK OUTER BG
============================== */
@media (max-width: 768px) {

  /* remove outer tinted background */
  .plan-includes {
    background: transparent;
    padding-left: 20px;
    padding-right: 20px;
  
  }


}


/* ===============================
   MOBILE REFINEMENT
================================ */

@media (max-width: 720px) {
  .module-spotlight {
    height: 360px;
  }

  .module-card img {
    height: 260px;
  }
}



/* =========================================================
   TABLETS – FORCE MOBILE-STYLE HEADER CTA
   481px – 1024px
========================================================= */
@media (min-width: 481px) and (max-width: 1024px) {

  /* ---------- HEADER ---------- */
  header {
    padding: 10px 0;
    background: #ffffff;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Header buttons container */
  .nav-btns {
    display: flex;
    align-items: center;
    gap: 0;
  }

  /* 🔒 Hide Try Demo in header (tablet = mobile logic) */
  .nav-btns .btn-header-demo {
    display: none !important;
  }

  /* ✅ Show ONLY Login – mobile style */
  .nav-btns .hero-login-desktop {
    display: inline-flex !important;
    padding: 6px 16px;
    font-size: 0.9rem;
    border-radius: 10px;
    border: 1.5px solid #0f766e;
    background: #ffffff;
    color: #0f766e;
    font-weight: 600;
    line-height: 1;
  }

  /* ---------- HERO CTA ---------- */
  .hero-actions {
    margin-top: 18px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Try Demo = primary CTA on tablet */
  .hero-actions .btn.sec {
    width: 92%;
    max-width: 420px;
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 14px;
    text-align: center;
  }

  /* ❌ Never show hero login on tablet */
  .hero-login-hide-mobile {
    display: none !important;
  }
}


/* =========================================
   SIMPLICITY SECTION – RESPONSIVE
========================================= */

/* ===============================
   MOBILE
================================ */

@media (max-width: 820px) {
  .simplicity-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .simplicity-text p {
    margin: 0 auto;
  }

  .simplicity-image {
    margin: 28px auto 0;
    max-width: 90%;
  }
}
