/* ==========================================================================
   File Lockers SaaS Landing Page - Complete Responsive Stylesheet
   Framework: Bootstrap 5.3 + Flexbox Layout (NO CSS Grid)
   Breakpoints Supported: 1440px+, 1200px, 992px, 768px, 576px, 480px, 375px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Large Desktop & XL Screens (≥ 1200px)
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {

  /* Preserve exact approved desktop design */
  .custom-container {
    max-width: 1480px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 1400px) and (min-width: 1200px) {
  .custom-container {
    max-width: 1280px;
  }

  .hero-card-title {
    font-size: 64px;
  }

  .card-left,
  .card-right {
    flex: 0 0 300px;
    max-width: 300px;
  }

  .card-center {
    flex: 0 0 380px;
    max-width: 380px;
  }
}

/* --------------------------------------------------------------------------
   2. Small Desktop / Large Tablet (992px – 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) and (min-width: 992px) {
  .custom-container {
    max-width: 960px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-card-title {
    font-size: 52px;
  }

  .hero-card-subtitle {
    font-size: 15.5px;
    max-width: 600px;
  }

  .card-left,
  .card-right {
    flex: 0 0 260px;
    max-width: 260px;
  }

  .card-center {
    flex: 0 0 340px;
    max-width: 340px;
  }

  .bg-boxes-shape {
    width: 340px;
  }

  .features-heading,
  .why-heading {
    font-size: 40px;
  }

  .banner-title {
    font-size: 28px;
  }

  .visual-card-storage {
    width: 200px;
  }

  .visual-card-upload {
    width: 240px;
  }

  .nav-menu-list {
    gap: 15px;
    padding: 0;
  }

  .card-title {
    font-size: 20px;
  }

  .banner-title {
    font-size: 25px;
    font-weight: 700;
  }
}

/* --------------------------------------------------------------------------
   3. Tablet Landscape & Portrait (768px – 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {

  /* Global */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Navbar */
  .top-navbar {
    height: 80px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu-wrapper,
  .nav-actions-wrap {
    display: none !important;
  }

  /* Hero Section */
  .hero_main_section {
    padding: 40px 20px 0 20px;
  }

  .hero-card-content {
    max-width: 100%;
    margin-bottom: 36px;
  }

  .hero-card-title {
    font-size: 42px;
    line-height: 1.15;
  }

  .hero-card-subtitle {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 24px;
  }

  .cards-flex-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .card-left,
  .card-right {
    flex: 0 0 45%;
    max-width: 30%;
  }

  .card-center {
    flex: 0 0 52%;
    max-width: 35%;
  }

  .bg-boxes-shape {
    width: 260px;
    opacity: 0.6;
  }

  /* Features Section */
  .features-section {
    padding: 64px 0;
  }

  .features-heading {
    font-size: 36px;
  }

  .features-three-cards-row {
    margin-bottom: 32px;
  }

  .feature-box-card {
    padding: 24px 20px;
  }

  .story-highlight-banner {
    padding: 32px 24px;
  }

  .banner-visuals-wrapper {
    height: 240px;
    margin-top: 20px;
  }

  .visual-card-storage {
    width: 210px;
    left: 20px;
  }

  .visual-card-upload {
    width: 250px;
    right: 20px;
  }

  /* How It Works Mobile/Tablet Overrides (Unstacked normal vertical flow) */
  .how-it-works-section {
    position: static;
    height: auto;
    padding: 50px 0;
  }

  .how-it-works-section .container {
    position: static;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hiw-sticky-col {
    position: static;
    margin-bottom: 15px;
  }

  .hiw-stage-wrapper {
    position: relative;
    display: block;
  }

  .hiw-card-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: auto;
  }

  .hiw-card-step {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 420px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    padding: 20px 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(8, 26, 61, 0.08);
  }

  .hiw-mini-ui {
    height: 240px;
    min-height: 240px;
  }

  /* Why Choose Us Section */
  .why-choose-us-section {
    padding: 64px 0;
  }

  .why-visual-container {
    max-width: 450px;
    margin-bottom: 40px;
  }

  .why-heading {
    font-size: 36px;
  }

  /* Pricing Section */
  .pricing-section {
    padding: 64px 0;
  }

  .pricing-card {
    padding: 26px 20px;
  }

  /* FAQ Section */
  .faq-section {
    padding: 64px 0;
  }

  .faq-main-heading {
    font-size: 38px;
  }

  .faq-accordion-wrap {
    max-width: 100%;
  }

  /* Footer Section */
  .footer-section {
    padding: 60px 0 28px 0;
  }

  .footer-divider {
    margin: 36px 0 20px 0;
  }

  .hero-blue-card {

    border-radius: 20px;

  }

  .product-card {
    border-radius: 10px;
    padding: 5px;
  }

  .banner-title {
    font-size: 25px;

  }

}

/* --------------------------------------------------------------------------
   4. Large Mobile & Small Tablet (576px – 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .custom-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Hero Section */
  .hero-card-title {
    font-size: 36px;
    line-height: 1.18;
  }

  .hero-card-subtitle {
    font-size: 14.5px;
    line-height: 23px;
  }

  .hero-cta-wrap {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-white,
  .btn-hero-outline {
    width: 50%;
    min-height: 48px;
    justify-content: center;
  }

  .cards-flex-row {
    flex-direction: row;
    align-items: end;
    gap: 16px;
  }

  .card-left,
  .card-right,
  .card-center {
    flex: 0 0 100%;
    width: 100%;
    max-width: 31%;
  }

  .bg-boxes-shape {
    display: none;
  }

  /* Features Section */
  .features-heading {
    font-size: 30px;
  }

  .features-subtext {
    font-size: 14.5px;
    line-height: 23px;
  }

  .btn-banner-cta {
    width: 100%;
    justify-content: center;
  }

  .banner-visuals-wrapper {
    height: 220px;
  }

  .visual-card-storage {
    width: 180px;
    left: 60px;
  }

  .visual-card-upload {
    width: 210px;
    right: 63px;
  }

  /* Why Choose Us */
  .why-heading {
    font-size: 30px;
  }

  .why-visual-container {
    max-width: 400px;
  }

  /* Pricing */
  .pricing-amount {
    font-size: 34px;
  }

  /* FAQ */
  .faq-question-text {
    font-size: 16px;
  }

  .faq-answer-text {
    font-size: 14px;
  }

  /* How It Works Mobile Adjustments */
  .how-it-works-section {
    padding: 50px 0;
  }

  .hiw-timeline-container {
    padding-left: 20px;
  }

  .hiw-marker-wrap {
    left: -20px;
    top: 24px;
  }

  .hiw-marker-circle {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .hiw-card-step {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .hiw-card-title {
    font-size: 20px;
  }

  .hiw-card-desc {
    font-size: 13.5px;
    margin-bottom: 16px;
  }

  .hiw-plans-selector {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   5. Standard & Small Mobile Devices (375px – 575px)
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {

  /* Global Page Constraints */
  html,
  body {
    overflow-x: hidden !important;
    width: 100%;
  }

  .custom-container,
  .container,
  .container-fluid {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Top Navbar */
  .top-navbar {
    height: 72px;
  }

  .brand-logo-img {
    height: 34px;
  }

  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
  }

  /* Hero Section */
  .hero-blue-card {
    border-radius: 20px;
    margin-bottom: 24px;
  }

  .hero_main_section {
    padding: 28px 16px 20px 16px;
  }

  .hero-tag-pill {
    height: 32px;
    padding: 0 12px;
    margin-bottom: 18px;
  }

  .tag-text {
    font-size: 10px;
    letter-spacing: 0.3px;
    font-weight: 500;
  }

  .hero-card-title {
    font-size: 28px;
    line-height: 1.16;
    margin-bottom: 14px;
  }

  .hero-card-subtitle {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 22px;
  }

  .hero-cta-wrap {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }

  .btn-hero-white,
  .btn-hero-outline {
    width: 100%;
    height: 48px;
    min-height: 48px;
    font-size: 14px;
    padding: 0 20px;
    justify-content: center;
  }

  .hero-trust-row {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }

  .hero-trust-item {
    font-size: 12.5px;
  }

  .hero-visual-cards-container {
    margin-top: 20px;
  }

  .product-card {
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  }

  /* Features Section */
  .features-section {
    padding: 48px 0;
  }

  .features-eyebrow {
    font-size: 11px;
    padding: 6px 18px;
    margin-bottom: 14px;
  }

  .features-heading {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .features-subtext {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 20px;
  }

  .features-header-block {
    margin-bottom: 25px;
  }

  .feature-box-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .story-highlight-banner {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .banner-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .banner-description {
    font-size: 13.5px;
    line-height: 21px;
    margin-bottom: 18px;
  }

  .banner-visuals-wrapper {
    height: 200px;
    margin-top: 16px;
  }

  .visual-card-storage {
    width: 170px;
    left: 70px;
  }

  .visual-card-upload {
    width: 195px;
    right: 65px;
  }

  /* Why Choose Us Section */
  .why-choose-us-section {
    padding: 48px 0;
  }

  .why-visual-container {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .why-heading {
    font-size: 27px;
    line-height: 1.2;
  }

  .why-subtext {
    font-size: 13.5px;
    line-height: 21px;
    margin-bottom: 24px;
  }

  .why-feature-block {
    padding: 16px 14px;
    margin-bottom: 14px;
  }

  .why-feature-icon-box {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .why-feature-title {
    font-size: 17px;
  }

  .why-feature-desc {
    font-size: 13px;
    line-height: 19px;
    min-height: auto;
  }

  /* Pricing Section */
  .pricing-section {
    padding: 48px 0;
  }

  .pricing-card {
    padding: 22px 18px;
    border-radius: 12px;
    height: auto;
  }

  .pricing-title {
    font-size: 18px;
  }

  .pricing-desc {
    font-size: 12.5px;
    min-height: auto;
  }

  .pricing-amount {
    font-size: 32px;
  }

  .btn-pricing-cta {
    height: 44px;
    font-size: 13.5px;
  }

  .pricing-feature-list li {
    font-size: 12.5px;
    line-height: 1.5;
  }

  /* FAQ Section */
  .faq-section {
    padding: 48px 0;
  }

  .faq-item-card {
    padding: 16px 16px;
    border-radius: 10px;
  }

  .faq-question-text {
    font-size: 15px;
    line-height: 1.35;
  }

  .faq-toggle-icon {
    font-size: 18px;
  }

  .faq-answer-text {
    font-size: 13.5px;
    line-height: 1.55;
    margin-top: 10px;
  }

  /* Footer Section */
  .footer-section {
    padding: 48px 0 24px 0;
  }

  .footer-brand-desc {
    font-size: 13.5px;
    max-width: 100%;
    margin-bottom: 18px;
  }

  .footer-column-heading {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .footer-nav-list {
    gap: 10px;
  }

  .footer-nav-link,
  .contact-item {
    font-size: 13.5px;
  }

  .footer-divider {
    margin: 28px 0 16px 0;
  }

  .footer-copyright-text {
    font-size: 12.5px;
  }

  .card-left,
  .card-right,
  .card-center {

    max-width: 100%;
  }

  .cards-flex-row {
    flex-direction: row;
  }

}

/* --------------------------------------------------------------------------
   6. Minimum Viewport Guard (375px Special Audit)
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {

  .custom-container,
  .container,
  .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero-card-title {
    font-size: 28px;
    line-height: 1.15;
  }

  .hero-card-subtitle {
    font-size: 13.5px;
    line-height: 20px;
  }

  .btn-hero-white,
  .btn-hero-outline {
    height: 44px;
    min-height: 44px;
    font-size: 13px;
    padding: 0 14px;
  }

  .features-heading,
  .why-heading {
    font-size: 20px;
  }

  .banner-title {
    font-size: 21px;
  }

  .visual-card-storage {
    width: 130px;
  }

  .visual-card-upload {
    width: 160px;
  }

  .pricing-amount {
    font-size: 28px;
  }

  .faq-question-text {
    font-size: 14.5px;
  }

  .faq-answer-text {
    font-size: 13px;
  }
}