/* ===== PREVENT HORIZONTAL OVERFLOW (all screens) ===== */

/* ===== PREVENT HORIZONTAL OVERFLOW (all screens) ===== */

html,
body {
  overflow-x: hidden !important;
  max-width: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, canvas, svg, table {
  max-width: 100%;
}


/* ========================================
   AXIOSKY RESPONSIVE - RESPONSIVE.CSS
   Mobile, tablet, desktop breakpoints
   ======================================== */

/* ===== TABLET (768px and down) ===== */

@media (max-width: 768px) {
  .navbar-container {
    padding: var(--space-12) var(--space-20);
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: var(--space-16);
    gap: var(--space-12);
    z-index: 40;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* HERO */
.hero {
    padding: 50px 0 160px;
}




@media (max-width: 768px) {
    .hero {
        padding: 50px 0 100px;
    }
}

.hero-content {
    gap: 15px;
    max-width: 920px;
}

.eyebrow {
          text-align: left;
    font-family: 'Public Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 72px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
}

.hero-description {
    font-size: 24px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 20px;
    }
}

.hero-detail {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 800px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
}

  /* Section spacing */
  section {
    padding: var(--space-40) var(--space-20);
  }

  .section-container {
    padding: 0 var(--space-20);
  }

  /* Problem grid */
  .problem-grid {
    grid-template-columns: 1fr;
  }

/* Features grid responsive adjustment */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card:nth-child(odd) {
    border-right: none;
  }
  .feature-card:not(:last-child) {
    border-bottom: 1px solid #94a3b8;
  }
}

/* Who grid responsive adjustment */
@media (max-width: 767px) {
  .who-card:first-child {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2); /* Horizontal line on mobile instead of vertical */
    padding-bottom: 3rem;
  }
  .who-card:last-child {
    padding-top: 3rem;
  }
}


  /* Footer */
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-20);
  }

  .section-title {
    font-size: var(--size-3xl);
  }

  .hero-subheadline {
    font-size: var(--size-base);
  }
}

/* ===== MOBILE (480px and down) ===== */

@media (max-width: 480px) {
  /* Base font adjustments */
  html {
    font-size: 16px;
  }

  body {
    padding: 0;
  }

  /* Navbar */
  .navbar-container {
    padding: 5px var(--space-16);
  }

  .logo-img {
    height: 56px;
  }

  .nav-menu {
    top: 50px;
    padding: var(--space-12);
  }

  .nav-link {
            font-size: var(--size-md);
        visibility: hidden;
    }

  /* Hero */
  .hero {
    padding: var(--space-32) var(--space-16);
    gap: var(--space-16);
  }

  .hero-headline {
    font-size: clamp(20px, 7vw, 28px);
  }

  .hero-subheadline {
    font-size: var(--size-md);
  }

  .hero-paragraph {
    font-size: var(--size-md);
  }

  .hero-ctas {
    flex-direction: column;
    gap: var(--space-8);
  }

  .btn {
    padding: 10px 16px;
    font-size: var(--size-md);
    width: 100%;
  }

  /* Sections */
  section {
    padding: 0 3%;
  }

.section-container {
  border-top: 1px solid var(--border) !important;
        padding: 50px 16px 0 0px
  }

  .section-title {
    font-size: var(--size-2xl);
    margin-bottom: var(--space-20);
  }

  .section-subtitle {
    font-size: var(--size-md);
    margin-bottom: var(--space-20);
  }

  /* Problem grid */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .problem-card {
    padding: var(--space-16);
  }

  /* Approach grid */
  .approach-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .approach-card {
    padding: var(--space-16);
  }

  /* Features grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .feature-card {
    padding: var(--space-16);
  }

  /* Who grid */
  .who-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .who-card {
    padding: 0px;
  }

  /* Difference points */
  .difference-item {
    padding: var(--space-16);
  }

  .difference-point-title {
    font-size: var(--size-base);
  }

  /* Proof list */
  .proof-item {
    padding: var(--space-12);
    gap: var(--space-8);
  }

  .proof-check {
    flex-shrink: 0;
  }


  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer {
    padding: var(--space-32) var(--space-16) var(--space-16);
  }

  .footer-title {
    font-size: var(--size-md);
  }

  .footer-links a {
    font-size: 13px;
  }

  .diagram-caption {
    font-size: var(--size-md);
  }

  /* Conversion */
  .conversion-ctas {
    flex-direction: column;
  }

  .conversion-ctas .btn {
    width: 100%;
  }

  /* Feature note */
  .feature-note {
    font-size: var(--size-md);
  }

  /* Who tagline */
  .who-tagline {
    font-size: var(--size-md);
  }
}


/* ===== LANDSCAPE ADJUSTMENTS ===== */

@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: var(--space-32) var(--space-32);
  }

  section {
    padding: var(--space-32) var(--space-32);
  }
}

/* ===== DARK MODE SUPPORT (if needed later) ===== */

@media (prefers-color-scheme: dark) {
  /* Already dark by default, but can add specific overrides here */
}

/* ===== PRINT STYLES ===== */

@media print {
  .navbar,
  .hamburger,
  .hero-ctas,
  .section-cta,
  .conversion-ctas,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  section {
    page-break-inside: avoid;
  }
}



/* ========================================
   HOMEPAGE MOBILE — full clean rewrite
   ======================================== */

@media (max-width: 768px) {

  * {font-size: 12px;}


    /* ── Base: left-align everything, fix padding ── */
    * { box-sizing: border-box; }

    .container-wide {
        border-top: 1px solid rgba(148, 163, 184, 0.2);
        padding: 50px 0px 0px 14px !important;
    }

    .homepagecontents section {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Force left-align across the board */
    .section-intro,
    .section-intro h2,
    .section-intro p,
    .section-who h2,
    .approach-principle,
    .workflow-container h3,
    h1, h2, h3, h4, h5, p {
      font-size: 16px;
        text-align: left !important;
    }

    /* ── Hero ── */

    .hero-title {
        font-size: 40px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 20px !important;
    }
    .hero-description {
        font-size: 17px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }
    .hero-detail {
        font-size: 16px !important;
        line-height: 1.7 !important;
        margin-bottom: 32px !important;
    }
    .hero-ctas {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-ctas .btn,
    .hero-ctas a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
    }

    /* ── Section headings ── */
    .section-intro h2,
    .section-who h2 {
        font-size: 34px !important;
        margin-bottom: 16px !important;
        line-height: 1.2 !important;
    }
    .section-intro p {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    /* ── Problem section ── */
    .problem-grid {
        padding: 20px !important;
        gap: 32px !important;
        margin-bottom: 32px !important;
    }
    .problem-item,
    .problem-item-3 {
        display: block !important;
        padding-bottom: 32px !important;
    }
    .problem-number {
        display: block !important;
        margin-bottom: 12px !important;
    }
    .problem-grid h3 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        line-height: 1.2 !important;
    }
    .problem-details {
        gap: 20px !important;
    }
    .detail-row {
        display: block !important;
    }
    .detail-label {
        display: block !important;
        margin-bottom: 4px !important;
        font-size: 11px !important;
    }
    .detail-row p {
        font-size: 14px !important;
        margin-bottom: 0 !important;
    }
    .insight-box {
        padding: 20px !important;
        margin-top: 0 !important;
    }
    .insight-box p {
        font-size: 16px !important;
    }

    /* ── Approach / workflow ── */
    .approach-principle {
        margin-bottom: 40px !important;
    }
    .approach-principle p {
        font-size: 16px !important;
    }
    .workflow-container h3 {
        font-size: 22px !important;
        margin-bottom: 32px !important;
    }
    .workflow-item {
        padding: 28px 0 !important;
    }
    .workflow-step {
        gap: 16px !important;
        margin-bottom: 12px !important;
    }
    .workflow-step h4 {
        font-size: 17px !important;
    }
    .workflow-item > p {
        padding-left: 0 !important;
        font-size: 16px !important;
    }
    .decision-grid {
        grid-template-columns: 1fr !important;
        padding-left: 0 !important;
        gap: 10px !important;
    }
    .decision-item {
        padding: 16px !important;
    }
    .principle-box {
        margin: 32px 0 0 !important;
        padding: 20px !important;
    }
    .principle-box p {
        font-size: 14px !important;
    }

    /* ── Who section ── */
    .audience-block {
        margin-bottom: 28px !important;
    }
    .audience-block h4 {
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }
    .audience-block p {
        font-size: 16px !important;
    }

    /* ── Features / products grid ── */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .feature-card {
        padding: 28px 20px 20px 0px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
    }
    .feature-card:last-child {
        border-bottom: none !important;
    }
    
    
    .feature-card .feature-title{
      font-size: 26px;
    }
    /* ── Differentiation ── */
    .diff-grid {
        margin-bottom: 24px !important;
    }
    .diff-card {
        padding: 28px 20px !important;
    }
    .diff-card h3 {
        font-size: 22px !important;
        margin-bottom: 24px !important;
        padding-bottom: 16px !important;
    }
    .diff-block p,
    .diff-block li {
        font-size: 16px !important;
    }
    .diff-block.solution {
        padding: 16px !important;
    }
    .bottom-line-box {
        padding: 20px !important;
    }
    .bottom-line-box p {
        font-size: 16px !important;
    }

    /* ── Trust section ── */
    .trust-card {
        padding: 28px 20px !important;
    }
    .trust-card h3 {
        font-size: 22px !important;
        margin-bottom: 16px !important;
    }
    .trust-intro {
        font-size: 16px !important;
        margin-bottom: 24px !important;
    }
    .trust-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 24px !important;
    }
    .trust-feature h4 {
        font-size: 16px !important;
    }
    .trust-feature p,
    .trust-step-content p {
        font-size: 13px !important;
    }
    .trust-step {
        gap: 16px !important;
    }

    /* ── CTA ── */
    .bl-cta {
        padding: 80px 20px !important;
    }
    .bl-cta-heading {
        text-align: center !important;
        font-size: 35px !important;
        margin-bottom: 32px !important;
    }
    .bl-cta-actions {
        flex-direction: column !important;
        width: 100% !important;
    }
    .bl-cta-btn-primary,
    .bl-cta-btn-secondary {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* Fullscreen mobile nav overlay */
@media (max-width: 900px) {
    .nav-menu.is-open {
        position: fixed;
        inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
        width: 100%;
min-height: 100vh;
        background: #050505;
        z-index: 999;
        border-radius: 0;
        margin: 0;
        padding-top: 80px;        /* space for top bar */
    }

    /* Center items vertically a bit */
    .nav-menu-list {
        max-width: 420px;
        margin: 0 auto;
    }

    /* Prevent page behind from scrolling */
    body.nav-open {
        overflow: hidden;
    }
}

/* ── Mobile fullscreen nav overlay ── */
.snav-mobile {
    display: none;
    position: fixed;
    top: 65px; left: 0; right: 0; bottom: 0;
    background: #0a0a0a;
    overflow-y: auto;
    padding: 24px 24px 40px;
    z-index: 998;
    flex-direction: column;
}

.snav-mobile.is-open {
    display: flex;
}

.snav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}



.snav-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    padding: 18px 0;
    cursor: pointer;
    text-align: left;
}

.snav-mobile-btn svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.snav-mobile-item.is-open .snav-mobile-btn {
    color: #ffffff;
}

.snav-mobile-item.is-open .snav-mobile-btn svg {
    transform: rotate(180deg);
}

.snav-mobile-drop {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 16px 16px;
    margin-left: 4px;
}

.snav-mobile-item.is-open .snav-mobile-drop {
    display: flex;
}

.snav-mobile-link {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: color 0.15s ease, background 0.15s ease;
}

.snav-mobile-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

.snav-mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 32px;
    padding: 14px;
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border-radius: 7px;
    transition: background 0.2s ease;
}

.snav-mobile-cta:hover {
    background: #e0e0e0;
}

/* Burger → X animation */
.hamburger.is-open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


@media (max-width:380px) {
      .footer-container {
    gap: 2rem;
  }
}


