/* Mobile Accessories Factory - Mobile-first stylesheet */
:root {
  --white: #ffffff;
  --grey-50: #f7f7f8;
  --grey-100: #f0f0f1;
  --grey-200: #e4e4e6;
  --grey-400: #9a9aa0;
  --charcoal: #2b2b2f;
  --charcoal-soft: #55555c;
  --red: #e63946;
  --red-dark: #c62836;
  --red-light: #fdecee;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(43,43,47,0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.55;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
section { overflow: hidden; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.section-pad { padding: 56px 0; }
.bg-grey { background: var(--grey-50); }

.eyebrow {
  display: inline-block;
  color: var(--red);
  background: var(--red-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.25;
}
.section-sub {
  color: var(--charcoal-soft);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 0 32px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Icons */
.icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-fill { fill: currentColor; stroke: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: var(--white); color: var(--charcoal); border-color: var(--grey-200); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--charcoal); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .l1 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.logo-text .l2 { font-size: 0.62rem; font-weight: 600; color: var(--red); letter-spacing: 0.12em; text-transform: uppercase; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 20px;
  overflow-y: auto;
}
.site-nav.is-open { transform: translateX(0); }
.site-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.site-nav a { display: block; padding: 12px 8px; font-weight: 600; border-bottom: 1px solid var(--grey-100); }
.header-ctas { display: none; }
.nav-ctas { display: flex; flex-direction: column; gap: 10px; }

/* Hero */
.hero { padding: 36px 0 44px; background: linear-gradient(180deg, var(--grey-50), var(--white) 70%); }
.hero-head { text-align: center; margin-bottom: 24px; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); font-weight: 800; line-height: 1.15; margin: 0 0 14px; }
.hero h1 span { color: var(--red); }
.hero .lead { font-size: 1.05rem; color: var(--charcoal-soft); max-width: 600px; margin: 0 auto 20px; }

.benefit-list { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 480px; margin: 0 auto 24px; }
.benefit-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; background: var(--white); border: 1px solid var(--grey-100); border-radius: 10px; padding: 10px 14px; }
.benefit-list .icon { color: var(--red); width: 20px; height: 20px; }

.hero .btn-row { justify-content: center; margin-bottom: 22px; }

.trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 520px; margin: 0 auto; }
.trust-badges li { text-align: center; background: var(--white); border: 1px solid var(--grey-100); border-radius: 10px; padding: 12px 8px; }
.trust-badges .num { display: block; font-weight: 800; color: var(--red); font-size: 1.1rem; }
.trust-badges .lbl { font-size: 0.72rem; color: var(--charcoal-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

.collage-title { text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--charcoal-soft); text-transform: uppercase; letter-spacing: 0.05em; margin: 32px 0 14px; }
.collage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; margin: 0 auto; }
.collage-item { background: var(--white); border: 1px solid var(--grey-100); border-radius: 12px; padding: 14px 6px; text-align: center; box-shadow: var(--shadow); }
.collage-item .icon { margin: 0 auto 6px; color: var(--red); width: 30px; height: 30px; }
.collage-item span { font-size: 0.72rem; font-weight: 600; color: var(--charcoal); }

/* Why us cards */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(43,43,47,0.12); }
.feature-card .icon-wrap {
  width: 54px; height: 54px; border-radius: 12px; background: var(--red-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--red);
}
.feature-card .icon-wrap .icon { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 6px; }
.feature-card p { font-size: 0.9rem; color: var(--charcoal-soft); margin: 0; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius);
  padding: 20px 14px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease; cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--red); }
.cat-card .icon-wrap { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: var(--grey-50); display: flex; align-items: center; justify-content: center; color: var(--red); }
.cat-card .icon-wrap .icon { width: 28px; height: 28px; }
.cat-card h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 4px; }
.cat-card p { font-size: 0.75rem; color: var(--charcoal-soft); margin: 0; }

/* Compare section */
.compare-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.compare-card { border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--grey-100); box-shadow: var(--shadow); }
.compare-card.bad { background: var(--white); }
.compare-card.good { background: var(--charcoal); color: var(--white); }
.compare-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.compare-card ul { display: flex; flex-direction: column; gap: 12px; }
.compare-card li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; }
.compare-card.bad .icon { color: var(--red); width: 20px; height: 20px; }
.compare-card.good .icon { color: #7CFC9A; width: 20px; height: 20px; }

/* Platform cards */
.platform-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.platform-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.platform-card .tag { display: inline-block; background: var(--red-light); color: var(--red); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.platform-card h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 8px; }
.platform-card p.desc { color: var(--charcoal-soft); font-size: 0.92rem; margin: 0 0 16px; }
.platform-card ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.platform-card li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; }
.platform-card li .icon { color: var(--red); width: 18px; height: 18px; }

/* Ordering info */
.order-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.order-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.order-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--grey-100); font-size: 0.9rem; }
.order-row:last-child { border-bottom: none; }
.order-row .label { display: flex; align-items: center; gap: 8px; color: var(--charcoal-soft); font-weight: 500; }
.order-row .label .icon { color: var(--red); width: 18px; height: 18px; }
.order-row .val { font-weight: 700; color: var(--charcoal); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--grey-100); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; font-weight: 600; font-size: 0.95rem; color: var(--charcoal);
}
.faq-q .icon { width: 18px; height: 18px; color: var(--red); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.is-open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 18px 16px; margin: 0; color: var(--charcoal-soft); font-size: 0.9rem; }

/* Final CTA */
.final-cta { background: var(--charcoal); color: var(--white); text-align: center; padding: 56px 0; }
.final-cta h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; margin: 0 0 12px; }
.final-cta p { color: #c8c8ce; max-width: 520px; margin: 0 auto 26px; }
.final-cta .btn-row { justify-content: center; }
.final-cta .btn-outline { background: transparent; color: var(--white); border-color: #55555c; }
.final-cta .btn-outline:hover { border-color: var(--red); color: var(--red); }

/* Footer */
.site-footer { background: var(--grey-50); padding: 48px 0 20px; border-top: 1px solid var(--grey-100); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 14px; color: var(--charcoal); }
.footer-col p { color: var(--charcoal-soft); font-size: 0.88rem; margin: 0 0 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--charcoal-soft); font-size: 0.88rem; }
.footer-col a:hover { color: var(--red); }
.footer-seo { border-top: 1px solid var(--grey-200); padding-top: 20px; margin-bottom: 20px; color: var(--charcoal-soft); font-size: 0.8rem; }
.footer-seo p { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid var(--grey-200); padding-top: 16px; text-align: center; font-size: 0.8rem; color: var(--charcoal-soft); }

/* Tablet */
@media (min-width: 640px) {
  .benefit-list { grid-template-columns: repeat(2, 1fr); }
  .trust-badges { grid-template-columns: repeat(4, 1fr); }
  .collage-grid { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .btn-row, .final-cta .btn-row { flex-wrap: nowrap; }
}

/* Desktop */
@media (min-width: 1024px) {
  .header-inner { padding: 16px 20px; }
  .nav-toggle { display: none; }
  .site-nav { position: static; transform: none; padding: 0; display: block; top: auto; }
  .site-nav ul { flex-direction: row; gap: 26px; margin-bottom: 0; }
  .site-nav a { border-bottom: none; padding: 6px 2px; font-size: 0.92rem; }
  .site-nav .nav-ctas { display: none; }
  .header-ctas { display: flex; gap: 10px; }
  .header-ctas .btn { padding: 10px 16px; font-size: 0.85rem; }

  .hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; text-align: left; }
  .hero-head { text-align: left; margin-bottom: 0; }
  .hero .lead { margin: 0 0 24px; }
  .benefit-list { margin: 0 0 26px; }
  .hero .btn-row { justify-content: flex-start; }
  .trust-badges { margin: 0; }
  .collage-side .collage-title { margin-top: 0; }

  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .section-sub { margin: 0 auto 40px; }
}
