/* =========================================================
   Maika website — minimal, clean, easy to customize
   - No frameworks
   - Mobile-first responsive
   ========================================================= */

/* ---------- CSS variables (edit freely) ---------- */
:root{
  --bg: #262626;
  --bg-alt: #181818;
  --panel: #383838;
  --border: #383838;
  --border-light: #484848;

  --text: #FFF;
  --muted: #E1E1E1;

  --accent: #1273E6;

  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.30);

  --container: 1100px;
  --pad-x: 20px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

img{ max-width: 100%; display: block; }

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

li{ color: var(--muted); }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  padding: 10px 12px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.skip-link:focus{ left: 12px; top: 12px; z-index: 9999; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(38, 38, 38, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.header-grid{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

/* Brand (logo top-left) */
.brand{
  display: inline;
  align: center;
  text-decoration: none;
  max-height: 200px;
}
.brand-logo{

}

/* Center nav */
.site-nav{
  justify-self: center;
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  align-items: right;
}
a.nav-link{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg-alt);
  text-decoration: none;
  text-align: center;
  padding: 6px 6px;
  min-height: 26px;
  min-width: 158px;
}
a.nav-nolink{
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  background: var(--bg);
  text-decoration: none;
  text-align: center;
  padding: 6px 6px;
  min-height: 26px;
  min-width: 158px;
}
a.nav-link:hover{
  color: var(--text);
  text-decoration: none;
}
.link-home{
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-left: 1px solid var(--bg-alt);
  border-top: 1px solid var(--bg-alt);
}
.link-buy, .link-quick{
  border-top: 1px solid var(--bg-alt);
}
.link-support{
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-right: 1px solid var(--bg-alt);
  border-top: 1px solid var(--bg-alt);
}

/* ---------- Sections ---------- */
.section{
  padding: 26px 0;
}
.section-video{
  padding: 0;
}
.section-alt{
/*  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); */
}

.section-faq{

}

.section.cta{

}

.section-title{
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.3px;
}
.section-lead{
  margin: 0 0 26px;
  color: var(--muted);
}

/* ---------- Hero ---------- */
.hero{
  padding-top: 0px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.eyebrow{
  margin: 0 0 11px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}
.hero-title{
  margin: 0 0 12px;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.hero-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}
.hero-actions{
  padding-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}
.hero-bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.hero-bullets li{ margin: 6px 0; }

/* Media placeholder card */
.media-card{
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
}
.media-badge{
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.media-placeholder{
  padding: 18px;
  min-height: 250px;
  display: grid;
  place-content: center;
  text-align: center;
}
.media-placeholder p{ margin: 6px 0; }
.muted{ color: var(--muted); }

/* ---------- Buttons ---------- */
.btn{
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  background: var(--accent);
  text-decoration: none;
  text-align: center;
  padding: 6px 6px;
  border-radius: 8px;
  min-height: 26px;
  min-width: 160px;
}

.btn:hover{  
  text-decoration: none;
}

.btn:active{  

}

.btn-primary{
text-align: center;
}
.btn-secondary{
align: center;
}

/* ---------- Video section ---------- */
.video-box{
  display: grid;
}

.video-copy{
  
}

.video-frame{
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.promo-video{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
}

/* ---------- Cards ---------- */
.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card-title{
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--accent);
}
h3.card-title{
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--accent);
}
.card-text{
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

/* ---------- Steps ---------- */
.steps{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.step{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid #202020;
}
.step-index{
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--accent);
}
.step-title{ margin: 0 0 4px; font-size: 16px; color: var(--accent); }
.step-text{ margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq{
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.faq-item{
  border-bottom: 1px solid #1B1B1B;
  border-radius: var(--radius);
  background: var(--panel);
  padding: 12px 14px;
}
.faq-item > summary{
  cursor: pointer;
  font-weight: 700;
}
.faq-body p{
  margin-top: 10px;
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: 2px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta{
  padding: 20px 0px 20px 0px;
}
.cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-alt);
  border-bottom: 1px solid #1B1B1B;
}
.cta-title{ margin: 0 0 6px; font-size: 22px; }
.cta-text{ margin: 0; color: var(--muted); }
.cta-actions{
  display: flex;
  margin-right: 6px;
}

/* ---------- Footer (2 columns + bottom row) ---------- */
.site-footer{
  background: var(--bg-alt);
  font-size: 12px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.footer-col{ padding: 6px 0; }
.footer-title{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}
.footer-nav{
  display: grid;
  gap: 8px;
}
.footer-social{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-link{
  color: var(--muted);
  font-weight: 600;
}
.footer-link:hover{
  font-weight: 600;
  text-decoration: none;

}
.footer-bottom{
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 6px;
}
.footer-small{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.footer-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: left;
  font-weight: 600;
  min-width: 200px;
  height: 14px;
  color: var(--muted);
  border-radius: 999px;
}

.footer-social-link:hover{
  text-decoration: none;
}

.social-icon{
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
  margin-right: 6px;
}

/* ---------- Docs / content pages ---------- */
.doc{
  
}
.doc h1{
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
.doc h2{
  margin: 10px 0 10px;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.doc h3:not(.card-title){
  margin: 18px 0 8px;
  font-size: 15px;
  color: var(--accent);
}
.doc p:not(.card-text){
  margin: 0 0 12px;
  color: var(--muted);
}
.doc .lede{
  color: var(--muted);
  margin-bottom: 22px;
}
.doc ul,
.doc ol{
  margin: 10px 0 18px;
  padding-left: 18px;
  color: var(--text);
}
.doc li{ margin: 6px 0; }
.doc ul ul,
.doc ol ol,
.doc ol ul,
.doc ul ol{
  margin-top: 8px;
  margin-bottom: 8px;
}
.doc strong{ color: var(--text); }

.doc-card{
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid #232323;
  border-radius: var(--radius);
  padding: 18px;
}
.doc-rule{
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}
.doc-space{
  height: 1px;
  margin: 14px 0;
}

.doc-kbd{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
}

/* ---------- Buy / product page ---------- */
.buy-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 14px;
  align-items: start;
}
.buy-side{
  display: grid;
  gap: 14px;
}

.product-box{
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-head{
  padding: 18px;
  border-bottom: 1px solid var(--border);
}
.product-title{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.product-sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-gallery{
  position: relative;
  background: var(--panel);
  outline: none;
}
.product-slides{
  position: relative;
  aspect-ratio: 4 / 3;
}
.product-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}
.product-slide.is-active{ opacity: 1; }

.gallery-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gallery-btn:hover{ background: none; }
.gallery-btn.prev{ left: 8px; }
.gallery-btn.next{ right: 8px; }

.gallery-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.gallery-dot{
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg);
  cursor: pointer;
}
.gallery-dot.is-active{ background: var(--muted); }

.product-body{
  padding: 18px;
  display: grid;
  gap: 14px;
}

.product-price-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.product-price{
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.product-price-note{
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.btn-lg{
  min-width: 220px;
  padding: 10px 12px;
  min-height: 40px;
  border-radius: 6px;
}

.product-fineprint{
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.product-list li{ margin: 6px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .buy-grid{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; }
  .cards-grid{ grid-template-columns: 1fr; }
  .header-grid{ grid-template-columns: 1fr; padding: 10px var(--pad-x); }
  .brand{ justify-self: center; }
  .site-nav{ justify-self: center; gap: 10px; }
  .header-cta{ display: none; }
  .hero-title{ font-size: 36px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction: column; align-items: flex-start; }
}
