@media (max-width: 480px) {
    header {
    top: 10px;
    height: auto;
    padding: 10px 16px;
  }

    .ribbon {
    width: 100%;
    flex-wrap: wrap;
  }

    #pdp-dark {
    height: 80px;
  }
    .Ainfo {
    flex: 1;
    font-size: 1.1rem;
  }

    #control {
      display: none;
    }

    .icons {
      display: none;
    }

    .icons2 {
      display: flex;
      gap: 10px;
      margin: 0 auto;
    }

    #hr {
      border: none;
      border-top: 0.1px solid rgb(168, 146, 146);
      width: 80%;
      margin: 20px auto;
      opacity: 0.5;
      display: block !important;
    }

    main {
    height: 70vh;
  }
    
    #hero {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 150px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

    #slogan {
    font-size: 2.8rem;
    width: 90%;
    position: static;
    transform: none;
    text-align: center;
  }

    #desc {
    font-size: 1.3rem;
    width: 85%;
    position: static;
    transform: none;
    text-align: center;
  }

  .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

  #cv {
    width: 92vw;
    height: 600px;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 30px;
  }

  #cv-info {
    position: relative;
    top: 25px;
    width: 95%;
    background: #EEEEEE;
    margin: 0 auto;
    margin-bottom: 30px;
    border-radius: 50px;
    padding: 50px 40px 40px;
}

  #cv-ribbon {
    width: 92%;
    height: 8vh;
    left: 0;
    gap: 12px;
  }

  #details {
    width: 100%;
    gap: 60px;
    border-radius: 0;
  }

  .thumbnail-card {
    height: 138px;
    width: 245px;
  }

  #trusted {
    width: 400px;
    gap: 30px;
    padding: 10px 16px;
  }

  #trusted-img {
    width: 90px;
  }

  #comments-card {
  overflow-x: auto;
    height: 375px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  border-radius: 0;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  }

  #comments-card::-webkit-scrollbar { display: none; }

  .comment {
    width: 220px;
    min-height: 180px;
  }

  .comment-text {
    font-size: 0.82rem;
    line-height: 17px;
    transition: none !important;
  }

  #tools {
    width: 95vw;
    gap: 10px;
  }

  .tool {
    width: 90vw;
    height: 68px;
    gap: 10px;
  }

  .tool-image {
    width: 48px;
    flex-shrink: 0;
  }

  .tool-desc {
    width: auto;
    flex: 1;
    min-width: 0;
    padding-right: 70px;
  }

  .tool-text {
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #tool-name {
    font-size: 0.9rem;
  }

  .mastery {
    right: 10px;
    width: 52px;
  }

  #FAQ {
    width: 95vw;
    height: auto;
    gap: 14px;
  }

  .FAQ-card {
    width: 90vw;
    height: auto;
    min-height: 60px;
    padding: 12px 16px 12px 20px;
    gap: 10px;
  }

  .FAQ-text {
    width: calc(100% - 60px);
    font-size: 0.85rem;
    padding: 8px 0;
  }

  .FAQ-button {
    width: 40px;
    height: 40px;
    right: 12px;
  }
  .pricing-scene {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 88vw;
  }

  #price {
    height: auto;
    gap: 60px;
    padding-top: 60px;
  }

  #contactme {
    flex-direction: column;
    height: auto;
    gap: 30px;
    padding: 0 16px;
    align-items: center;
  }

  #CONTACT {
    width: 92vw;
    padding: 2.5rem 1.25rem;
  }

  #C-info {
    width: 92vw;
    padding: 24px 20px;
  }

  input[type="text"],
  input[type="email"],
  select,
  textarea {
    width: 100%;
    font-size: 14px;
  }

  .btn-submit {
    width: 100%;
  }
  .section-title {
    font-size: 28px;
  }

  .details-title,
  .pricing-title {
    font-size: 1.2rem;
    gap: 16px;
  }

  footer div {
    padding: 1.5rem 1rem !important;
  }

  .button {
    margin-bottom: 0;
  }

  .e16-footer-divider {
            display: none;
        }

}

/* ============================================================
   TABLET & LANDSCAPE PHONE  (481px – 1024px)
   Covers: tablets in portrait/landscape, phones rotated
   ============================================================ */

@media (min-width: 481px) and (max-width: 1024px) {

  /* ── Header / ribbon ── */
  header {
    top: 12px;
    height: auto;
    padding: 10px 24px;
  }

  .ribbon {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  #pdp-dark {
    height: 60px;
  }

  .Ainfo {
    font-size: 1rem;
  }

  .icons {
    display: flex;
    gap: 8px;
    margin-left: auto;
  }

  .icons2 {
    display: none;
  }

  #hr {
    display: none !important;
  }

  #control {
    width: min(90vw, 560px);
    bottom: 20px;
  }

  /* ── Main / hero ── */
  main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #hero {
    width: min(90vw, 600px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: static;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  #slogan {
    font-size: 2.4rem;
    width: 85%;
    position: static;
    transform: none;
    text-align: center;
  }

  #desc {
    font-size: 1.1rem;
    width: 80%;
    position: static;
    transform: none;
    text-align: center;
  }

  /* ── CV panel ── */
  #cv {
    width: min(88vw, 560px);
    height: 520px;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 30px;
  }

  #cv-ribbon {
    width: 92%;
    left: 0;
    gap: 14px;
  }

  #cv-info {
    width: 95%;
    border-radius: 40px;
    padding: 40px 30px 30px;
  }

  /* ── Details section ── */
  #details {
    width: min(96vw, 900px);
    gap: 70px;
  }

  .thumbnail-card {
    height: 175px;
    width: 310px;
  }

  /* ── Trusted / comments ── */
  #trusted {
    width: min(85vw, 420px);
    gap: 24px;
    padding: 10px 20px;
  }

  #trusted-img {
    width: 100px;
  }

  #comments-card {
    width: min(90vw, 720px);
    height: 380px;
    border-radius: 24px;
  }

  .comment {
    width: 260px;
  }

  .comment-text {
    font-size: 0.9rem;
  }

  /* ── Tools ── */
  #tools {
    width: min(92vw, 700px);
    gap: 10px;
  }

  .tool {
    width: min(88vw, 560px);
    height: 72px;
    gap: 14px;
  }

  .tool-image {
    width: 56px;
    flex-shrink: 0;
  }

  .tool-desc {
    flex: 1;
    min-width: 0;
    padding-right: 70px;
  }

  .tool-text {
    font-size: 0.65rem;
  }

  #tool-name {
    font-size: 1rem;
  }

  .mastery {
    right: 14px;
    width: 54px;
  }

  /* ── FAQ ── */
  #FAQ {
    width: min(92vw, 680px);
    height: auto;
    gap: 16px;
  }

  .FAQ-card {
    width: min(88vw, 560px);
    height: auto;
    min-height: 65px;
    padding: 12px 20px 12px 24px;
    gap: 12px;
  }

  .FAQ-text {
    width: calc(100% - 70px);
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .FAQ-button {
    width: 44px;
    height: 44px;
    right: 16px;
  }

  /* ── Pricing ── */
  #price {
    height: auto;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #pricing-ribbon {
    width: 100%;
    height: auto;
  }

  .pricing-scene {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding: 0 16px;
  }

  .card {
    width: clamp(160px, 28vw, 240px);
    padding: 1.4rem 1.1rem 1.2rem;
    border-radius: 20px;
  }

  .plan-name {
    font-size: 18px;
  }

  .plan-tagline {
    font-size: 11px;
    margin-bottom: 1rem;
  }

  .amount {
    font-size: 36px;
  }

  .currency {
    font-size: 22px;
  }

  .billing-note {
    font-size: 11px;
    margin-bottom: 1rem;
  }

  .features {
    gap: 7px;
    margin-bottom: 1.2rem;
  }

  .features li {
    font-size: 11.5px;
  }

  .badge {
    font-size: 9px;
    padding: 3px 9px;
    margin-bottom: 0.8rem;
  }

  .cta-btn {
    padding: 10px 0;
    font-size: 12px;
    border-radius: 10px;
  }

  /* ── Contact ── */
  #contactme {
    flex-direction: column;
    height: auto;
    gap: 30px;
    padding: 0 20px;
    align-items: center;
  }

  #CONTACT {
    width: min(88vw, 520px);
    padding: 3rem 2rem;
  }

  #C-info {
    width: min(88vw, 580px);
    padding: 28px 36px;
  }

  .section-title {
    font-size: 30px;
  }

  .details-title,
  .pricing-title {
    font-size: 1.3rem;
    gap: 20px;
  }

  input[type="text"],
  input[type="email"],
  select,
  textarea {
    width: 100%;
    font-size: 14px;
  }

  .btn-submit {
    width: 90%;
  }

  /* ── Footer ── */
  footer div {
    padding: 2rem 1.5rem !important;
  }

  .button {
    margin-bottom: 0;
  }
  .e16-footer-divider {
    display: none;
  }

  .e16-footer-tagline {
    text-align: center;
  }
}


@media (min-width: 481px) and (max-width: 768px) and (orientation: landscape) {

  header {
    top: 6px;
    padding: 6px 20px;
  }

  #pdp-dark {
    height: 48px;
  }

  main {
    height: auto;
    min-height: 100vh;
    padding: 80px 0 40px;
  }

  #hero {
    gap: 18px;
  }

  #slogan {
    font-size: 2rem;
  }

  #desc {
    font-size: 1rem;
  }

  #cv {
    top: 60px;
    height: 80vh;
    max-height: 420px;
  }

   #pricing-ribbon {
    width: 100%;
    height: auto;
  }

  .pricing-scene {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 12px;
  }

  .card {
    width: clamp(140px, 29vw, 220px);
  }

  #contactme {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 16px;
  }

  #CONTACT {
    width: min(44vw, 380px);
    padding: 2rem 1.5rem;
  }

  #C-info {
    width: min(44vw, 440px);
    padding: 20px 24px;
  }

  #control {
    bottom: 12px;
    width: min(88vw, 480px);
  }
  .e16-footer-divider {
    display: none;
  }
}