/*Main Css File Goes Header, footer and  Here*/

  :root{
    --ink:#12151b;
    --ink-soft:#1b202a;
    --paper:#f6f5f1;
    --paper-dim:#e8e6df;
    --aqua:#3ed6c4;
    --clay:#ff6b4a;
    --muted:#8a93a6;
    --line: rgba(246,245,241,0.10);
    --line-soft: rgba(18,21,27,0.10);
    --radius: 10px;
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --maxw: 1280px;
  }

  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body{
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
  }
  a{color:inherit; text-decoration:none;}
  ul{list-style:none; margin:0; padding:0;}
  button{font:inherit; background:none; border:none; cursor:pointer; color:inherit;}
  img{max-width:100%; display:block;}

  .wrap{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ============ Crop-mark signature ============ */
  .crop-mark{ position:relative; }
  .crop-mark::before, .crop-mark::after{
    content:"";
    position:absolute;
    width:9px; height:9px;
    border: 1.5px solid var(--aqua);
    opacity:0;
    transition: opacity .18s ease, transform .18s ease;
  }
  .crop-mark::before{ top:-6px; left:-6px; border-right:none; border-bottom:none; transform: translate(4px,4px); }
  .crop-mark::after{ bottom:-6px; right:-6px; border-left:none; border-top:none; transform: translate(-4px,-4px); }
  .crop-mark:hover::before, .crop-mark:focus-visible::before,
  .crop-mark:hover::after, .crop-mark:focus-visible::after,
  .crop-mark[aria-expanded="true"]::before, .crop-mark[aria-expanded="true"]::after{
    opacity:1;
    transform: translate(0,0);
  }

  /* ============================================================
     NAVBAR
  ============================================================ */
  .site-header{
    position: sticky;
    top:0;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
    height: 68px;
  }

  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-family: var(--font-display);
    font-weight:700;
    font-size:19px;
    letter-spacing: -0.01em;
    flex-shrink:0;
  }
  .brand-mark{
    width: 30px; height:30px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--aqua), #22a597);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .brand-mark svg{ width:16px; height:16px; }
  .brand .ext{
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--aqua);
    font-weight:600;
    background: rgba(62,214,196,0.12);
    border:1px solid rgba(62,214,196,0.3);
    padding: 2px 6px;
    border-radius: 5px;
    letter-spacing: 0.02em;
  }

  /* Primary link row (desktop) */
  .nav-primary{
    display:flex;
    align-items:center;
    gap: 2px;
    flex:1;
  }
  .nav-item{ position:relative; }
  .nav-link{
    display:flex;
    align-items:center;
    gap:6px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight:500;
    border-radius: 8px;
    color: rgba(246,245,241,0.85);
    transition: color .15s ease, background .15s ease;
    white-space:nowrap;
  }
  .nav-link:hover, .nav-link:focus-visible{
    color: var(--paper);
    background: rgba(246,245,241,0.06);
  }
  .nav-link .chev{
    width:10px; height:10px;
    transition: transform .2s ease;
    flex-shrink:0;
  }
  .nav-item[data-open="true"] .chev{ transform: rotate(180deg); }

  /* Actions */
  .nav-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
  }
  .btn{
    font-size:14px;
    font-weight:600;
    padding: 9px 16px;
    border-radius: 8px;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
  }
  .btn-ghost{
    color: rgba(246,245,241,0.85);
  }
  .btn-ghost:hover{ color:var(--paper); background: rgba(246,245,241,0.06); }
  .btn-solid{
    background: var(--aqua);
    color: #062521;
  }
  .btn-solid:hover{ transform: translateY(-1px); opacity:0.92; }

  .hamburger{
    display:none;
    width: 38px; height:38px;
    border-radius:8px;
    align-items:center; justify-content:center;
    color: var(--paper);
  }
  .hamburger:hover{ background: rgba(246,245,241,0.08); }
  .hamburger svg{ width:20px; height:20px; }

  /* ---------- Mega menu (desktop dropdown) ---------- */
  .mega{
    position:absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 560px;
    background: var(--paper);
    color: var(--ink);
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    box-shadow: 0 20px 45px rgba(0,0,0,0.28);
    padding: 20px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 50;
  }
  .nav-item[data-open="true"] .mega{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform: translateX(-50%) translateY(0);
  }
  .mega-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 8px;
  }
  .mega-col-title{
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 10px 8px;
  }
  .mega-link{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .12s ease;
  }
  .mega-link:hover, .mega-link:focus-visible{ background: var(--paper-dim); }
  .mega-icon{
    width: 30px; height:30px;
    border-radius:7px;
    background: var(--ink);
    color: var(--aqua);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .mega-icon svg{ width:15px; height:15px; }
  .mega-text strong{
    display:block;
    font-size: 13.5px;
    font-weight:600;
  }
  .mega-text span{
    display:block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
  }
  .tag-new{
    font-family: var(--font-mono);
    font-size: 9.5px;
    background: var(--aqua);
    color:#062521;
    padding: 1px 5px;
    border-radius:4px;
    margin-left:6px;
    vertical-align: 1px;
    font-weight:700;
    display:inline-block;
  }
  .mega-foot{
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--line-soft);
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size: 12.5px;
    color: var(--muted);
  }
  .mega-foot a{ color: var(--ink); font-weight:600; }
  .mega-foot a:hover{ color: var(--clay); }

  /* ---------- Mobile drawer ---------- */
  .drawer-overlay{
    position:fixed; inset:0;
    background: rgba(18,21,27,0.5);
    opacity:0; visibility:hidden;
    transition: opacity .2s ease, visibility .2s;
    z-index: 199;
  }
  .drawer-overlay.active{ opacity:1; visibility:visible; }

  .drawer{
    position:fixed;
    top:0; right:0;
    height:100dvh;
    width: min(340px, 86vw);
    background: var(--ink);
    color: var(--paper);
    transform: translateX(100%);
    transition: transform .26s ease;
    z-index: 210;
    display:flex;
    flex-direction:column;
    box-shadow: -12px 0 30px rgba(0,0,0,0.3);
  }
  .drawer.active{ transform: translateX(0); }
  .drawer-head{
    display:flex; align-items:center; justify-content:space-between;
    padding: 18px 18px;
    border-bottom: 1px solid var(--line);
    flex-shrink:0;
  }
  .drawer-close{
    width:34px; height:34px;
    border-radius:8px;
    display:flex; align-items:center; justify-content:center;
  }
  .drawer-close:hover{ background: rgba(246,245,241,0.08); }
  .drawer-close svg{ width:18px; height:18px; }
  .drawer-body{
    padding: 8px 10px;
    overflow-y:auto;
    flex:1;
  }
  .acc{ border-bottom: 1px solid var(--line); }
  .acc-trigger{
    width:100%;
    display:flex; align-items:center; justify-content:space-between;
    padding: 15px 10px;
    font-size:15px;
    font-weight:600;
  }
  .acc-trigger .chev{ width:11px; height:11px; transition: transform .2s ease; flex-shrink:0; }
  .acc[data-open="true"] .chev{ transform: rotate(180deg); }
  .acc-panel{
    max-height:0;
    overflow:hidden;
    transition: max-height .22s ease;
  }
  .acc-panel-inner{ padding: 2px 10px 14px; display:flex; flex-direction:column; gap:2px;}
  .acc-panel-inner a{
    padding: 9px 10px;
    border-radius:7px;
    font-size:14px;
    color: rgba(246,245,241,0.75);
    display:flex; align-items:center;
  }
  .acc-panel-inner a:hover{ background: rgba(246,245,241,0.06); color:var(--paper); }
  .drawer-simple-link{
    display:block;
    padding: 15px 10px;
    font-size:15px;
    font-weight:600;
    border-bottom: 1px solid var(--line);
  }
  .drawer-foot{
    padding: 16px 18px 22px;
    border-top: 1px solid var(--line);
    display:flex; flex-direction:column; gap:10px;
    flex-shrink:0;
  }
  .drawer-foot .btn{ text-align:center; }

  @media (max-width: 980px){
    .nav-primary, .nav-actions .btn{ display:none; }
    .hamburger{ display:flex; }
  }

  /* ============================================================
     FOOTER
  ============================================================ */
  .site-footer{
    background: var(--ink);
    color: rgba(246,245,241,0.72);
    margin-top: 40px;
  }
  .footer-top{
    padding: 56px 10px 40px;
    border-bottom: 1px solid var(--line);
  }
  .footer-grid{
    display:grid;
    grid-template-columns: 1.3fr repeat(5, 1fr);
    gap: 28px;
  }
  .footer-brand-col .brand{ color: var(--paper); margin-bottom:14px; }
  .footer-brand-col p{
    font-size: 13.5px;
    line-height:1.6;
    max-width: 240px;
    color: rgba(246,245,241,0.55);
    margin: 0 0 18px;
  }
  .format-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
  }
  .format-badge{
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight:600;
    letter-spacing:0.02em;
    color: var(--aqua);
    background: rgba(62,214,196,0.1);
    border:1px solid rgba(62,214,196,0.28);
    padding: 4px 8px;
    border-radius:5px;
  }
  .format-badge.clay{
    color: var(--clay);
    background: rgba(255,107,74,0.1);
    border-color: rgba(255,107,74,0.28);
  }

  .footer-col h4{
    font-family: var(--font-display);
    font-size: 12.5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--paper);
    margin: 0 0 16px;
    display:flex; align-items:center; gap:8px;
    white-space:nowrap;
  }
  .footer-col h4::before{
    content:"";
    width:6px; height:6px;
    background: var(--clay);
    border-radius:1px;
    display:inline-block;
    transform: rotate(45deg);
    flex-shrink:0;
  }
  .footer-col ul{ display:flex; flex-direction:column; gap:11px; }
  .footer-col a{
    font-size:13px;
    color: rgba(246,245,241,0.62);
    transition: color .15s ease;
    display:flex; align-items:center; flex-wrap:wrap;
  }
  .footer-col a:hover{ color: var(--aqua); }
  .footer-col .tag-new{ margin-left:6px; }

  .footer-more{
    grid-column: 1 / -1;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed var(--line);
  }
  .footer-more-head{
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:14px;
    flex-wrap:wrap;
    gap:8px;
  }
  .footer-more-head h4{
    font-family: var(--font-display);
    font-size:12.5px;
    letter-spacing:0.03em;
    text-transform:uppercase;
    color: var(--paper);
    margin:0;
  }
  .footer-more-head a{
    font-size:12.5px;
    font-weight:600;
    color: var(--aqua);
  }
  .footer-more-head a:hover{ color: var(--clay); }
  .footer-more-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .footer-more-list a{
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(246,245,241,0.65);
    background: rgba(246,245,241,0.05);
    border: 1px solid var(--line);
    padding: 6px 11px;
    border-radius: 999px;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
  }
  .footer-more-list a:hover{
    color: var(--aqua);
    border-color: rgba(62,214,196,0.35);
    background: rgba(62,214,196,0.08);
  }

  .footer-newsletter{
    padding: 34px 10px;
    border-bottom: 1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
  }
  .footer-newsletter h5{
    font-family: var(--font-display);
    font-size:17px;
    color: var(--paper);
    margin:0 0 4px;
  }
  .footer-newsletter p{ margin:0; font-size:13px; color: rgba(246,245,241,0.5); }
  .news-form{
    display:flex;
    gap:8px;
    flex:1;
    max-width:380px;
    min-width:260px;
  }
  .news-form input{
    flex:1;
    background: rgba(246,245,241,0.06);
    border: 1px solid var(--line);
    border-radius:8px;
    padding: 11px 14px;
    color: var(--paper);
    font-size:13.5px;
    font-family: inherit;
  }
  .news-form input::placeholder{ color: rgba(246,245,241,0.35); }
  .news-form input:focus{ outline:2px solid var(--aqua); outline-offset:1px; }

  .footer-bottom{
    padding: 22px 0 30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    font-size:12.5px;
    color: rgba(246,245,241,0.42);
  }
  .footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }
  .footer-legal a:hover{ color: rgba(246,245,241,0.8); }
  .socials{ display:flex; gap:8px; }
  .social-btn{
    width:32px; height:32px;
    border-radius:7px;
    border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
  }
  .social-btn:hover{ background: rgba(246,245,241,0.06); border-color: rgba(246,245,241,0.2); }
  .social-btn svg{ width:14px; height:14px; }

  @media (max-width: 980px){
    .footer-grid{ grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand-col{ grid-column: 1 / -1; }
    .footer-brand-col p{ max-width:420px; }
  }
  @media (max-width: 620px){
    .footer-grid{ grid-template-columns: 1fr 1fr; }
    .footer-newsletter{ flex-direction:column; align-items:flex-start; }
    .news-form{ max-width:none; width:100%; }
    .footer-bottom{ flex-direction:column; align-items:flex-start; }
  }
  @media (max-width: 380px){
    .footer-grid{ grid-template-columns: 1fr; }
  }

  /* Demo page filler (not part of the component) */
  .demo-hero{ padding: 40px 0; text-align:center; }
  .demo-hero h1{ font-family:var(--font-display); font-size: clamp(28px,4vw,42px); margin:0 0 12px; }
  .demo-hero p{ color:#5b6272; font-size:15px; max-width:520px; margin:0 auto; }
  .sr-only{
    position:absolute; width:1px;height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
  }

  /*End Of header footer*/