@media(max-width:1100px){
  .desktop-nav,.header-cta{display:none !important}
  .menu-toggle{display:grid}
  .mobile-menu{
    display:block;position:fixed;top:var(--header-height);left:0;width:100%;
    max-height:calc(100vh - var(--header-height));overflow:auto;
    opacity:0;visibility:hidden;transform:translateY(-12px);
    background:var(--surface);border-top:1px solid var(--line);
    backdrop-filter:blur(26px);transition:.25s ease;
  }
  
  html[data-theme="dark"] .mobile-menu{
        background:rgb(30 20 46);
   }
   
   html[data-theme="dark"] .menu-open .site-header{
               background:rgb(30 20 46);
       
   }
   
      html[data-theme="light"] .menu-open .site-header{
  background:var(--surface);       
   }
   
  .mobile-menu.open{opacity:1;visibility:visible;transform:none}
  .mobile-menu-inner{padding-block:20px 34px;display:grid}
  .mobile-menu-inner>a,.mobile-services-toggle{
    min-height:58px;border:0;border-bottom:1px solid var(--line);background:none;
    display:flex;align-items:center;justify-content:space-between;font-weight:800;text-align:left;
  }
  .mobile-menu-inner>a>svg,.mobile-services-toggle svg{width:17px}
  .mobile-services-toggle svg{transition:transform .2s}
  .mobile-services-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
  .mobile-services-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
  .mobile-services-panel>div{overflow:hidden}
  .mobile-services-panel.open{grid-template-rows:1fr;padding:8px 0}
  .mobile-services-panel a{display:flex;align-items:center;gap:11px;padding:11px 12px;color:var(--muted);font-size:13px}
  .mobile-services-panel a svg{width:17px;color:var(--primary)}
  .mobile-cta{margin-top:20px!important;border-bottom:0!important;color:#fff; background: linear-gradient(135deg, var(--primary), var(--accent)) !important;}
  .hero-layout{grid-template-columns:1fr;gap:60px}
  .hero-copy{text-align:center}
  .hero-eyebrow,.hero-actions,.hero-proof{justify-content:center}
  .hero-description{margin-inline:auto}
  .hero-visual{width:min(850px,100%);margin:auto}
  .dashboard-window{transform:none}
  .trust-strip{flex-direction:column}
  .trust-items{justify-content:center}
}

@media(max-width:700px){
  :root{--header-height:70px}
  .container{width:min(calc(100% - 28px),var(--container))}
  .brand img{width:142px}
  .theme-toggle{display:none}
  .hero{padding-top:calc(var(--header-height) + 54px)}
  .hero h1{font-size:clamp(42px,13vw,60px)}
  .hero-description{font-size:16px}
  .hero-actions{display:grid}
  .hero-actions .button{width:100%}
  .hero-proof{align-items:flex-start;text-align:left}
  .dashboard-body{grid-template-columns:42px 1fr;min-height:365px}
  .dashboard-sidebar{padding-inline:4px}
  .dashboard-sidebar button,.sidebar-mark{width:31px;height:31px}
  .dashboard-main{padding:13px}
  .dashboard-heading button{display:none}
  .metric-grid{grid-template-columns:1fr 1fr}
  .metric-card:nth-child(3){display:none}
  .dashboard-lower{grid-template-columns:1fr}
  .activity-card{display:none}
  .chart{height:155px}
  .chart svg{height:115px}
  .floating-performance{right:-5%;top:10%}
  .floating-security{left:-4%;bottom:-4%}
  .floating-projects{display:none}
  .trust-items{gap:15px}
  .trust-items span{font-size:10px}
  .preview-section{padding:72px 0}
  .preview-grid{grid-template-columns:1fr;gap:24px}
}

@media(max-width:440px){
  .floating-card{padding:9px 10px}
  .floating-card .float-icon{width:30px;height:30px}
  .floating-performance{right:-9%}
  .floating-security{left:-8%}
  .dashboard-topbar{padding-inline:11px}
  .dashboard-brand{font-size:9px}
}
