/* =========================================================
   Mobile Glass Factory — Landing Page Stylesheet
   Theme: clean white, light grey, orange accents
========================================================= */

:root {
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-soft: #fff7ed;
  --orange-border: #fed7aa;
  --ink: #0b1220;
  --muted: #64748b;
  --line: #e6e8ec;
  --grey: #f6f7f9;
  --white: #ffffff;
  --shadow-lg: 0 16px 40px -24px rgba(15, 23, 42, 0.18);
  --shadow-cta: 0 8px 20px -10px rgba(234, 88, 12, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--orange); color: #fff; }

/* Display fonts */
.display, h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
h3 { font-size: 18px; letter-spacing: -0.015em; font-weight: 700; }

.display { font-size: 40px; line-height: 1.1; }
.display.sm { font-size: 24px; }
.display.lg { font-size: 38px; }
.display.xl { font-size: 38px; }
@media (min-width: 768px) {
  .display { font-size: 56px; }
  .display.sm { font-size: 28px; }
  .display.lg { font-size: 52px; }
  .display.xl { font-size: 52px; }
}

.accent { color: var(--orange); }
.accent-light { color: #fb923c; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.container.narrow { max-width: 820px; }

.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section-grey { background: var(--grey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark {
  background: #0b1220;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
@media (min-width: 768px) { .section-dark { padding: 96px 0; } }
.section-dark .display { color: #fff; }

.section-head { max-width: 720px; }
.section-head.center { text-align: center; margin: 0 auto; }
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.15;
  margin: 16px 0 0;
}
@media (min-width: 768px) { .section-title { font-size: 40px; } }
.section-sub { color: var(--muted); font-size: 16px; max-width: 640px; margin-top: 12px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.relative { position: relative; }
.center { text-align: center; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-7 { margin-top: 28px; }
.mt-10 { margin-top: 40px; }
.mt-14 { margin-top: 56px; }
.w-full { width: 100%; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-12 { gap: 48px; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-border);
  color: var(--orange-dark);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-dark { background: rgba(234,88,12,0.18); border-color: rgba(234,88,12,0.4); color: #fdba74; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--orange); display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif;
  border-radius: 10px;
  cursor: pointer; border: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  font-size: 15px;
}
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn-outline-dark { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-outline-dark:hover { border-color: var(--orange); color: #fb923c; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(234,88,12,0.55);
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; }
.brand-name em { font-style: normal; color: var(--orange); }
.brand-sub { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #64748b; font-weight: 600; margin-top: 2px; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--orange-dark); }
@media (min-width: 880px) { .nav-links { display: inline-flex; } }

/* HERO */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
  padding: 60px 20px;
}
@media (min-width: 880px) {
  .hero-inner { grid-template-columns: 1fr 1fr; padding: 96px 32px; gap: 64px; }
}
.hero-copy { position: relative; z-index: 1; }
.lead { color: var(--muted); font-size: 16px; max-width: 560px; margin-top: 20px; }
@media (min-width: 768px) { .lead { font-size: 18px; } }
.lead-light { color: #cbd5e1; font-size: 16px; max-width: 560px; margin-top: 16px; }
@media (min-width: 768px) { .lead-light { font-size: 17px; } }
.muted-light { color: #94a3b8; margin-top: 12px; max-width: 560px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }

.stats { display: inline-flex; flex-wrap: wrap; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-top: 36px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); }
.stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* Grid background */
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
  pointer-events: none;
}
.grid-bg.dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  opacity: 1;
}

/* Hero images */
.hero-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stack .img-wrap.big { grid-column: span 2; }
.hero-stack .img-wrap.big img { max-height: 320px; }
.hero-stack .img-wrap img { max-height: 180px; }

.img-wrap {
  background: #f6f7f9;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.img-wrap img { width: 100%; height: 100%; object-fit: contain; max-height: 340px; }

/* Trust strip */
.trust { background: var(--grey); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding: 18px 20px; color: var(--muted); font-size: 14px; }
.trust-label { color: #94a3b8; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; font-weight: 600; }
.trust span:not(.trust-label) { font-weight: 500; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-2px); border-color: var(--orange-border); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--ink); margin-top: 4px; }
.card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.card-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-dark); }
.num { color: #cbd5e1; font-size: 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }

.icon-square {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-soft); color: var(--orange-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.icon-square svg { width: 22px; height: 22px; }

.card-dark {
  background: linear-gradient(135deg, #0b1220 0%, #1f2937 100%);
  border-color: #0b1220;
  color: #fff;
  justify-content: space-between;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: #cbd5e1; }
.card-dark .muted-light { color: #cbd5e1; margin-top: 8px; }

/* Card split (ordering) */
.card-split { padding: 0; }
.card-split header { padding: 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-split header .icon-square { margin-bottom: 0; }
.kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--orange-dark); }
.card-split h3 { margin-top: 6px; }
.card-body { padding: 28px; }
.card-body .row {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 14px;
}
.card-body .row:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 16px; }
.card-body .row span { color: var(--muted); font-size: 14px; }
.card-body .row strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 700; }
.card-body .row strong.accent { color: var(--orange-dark); }

/* Check list */
.check-list { display: grid; gap: 14px; }
.check-list.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: #1f2937;
}
.check-list li::before {
  content: "";
  flex: none; width: 18px; height: 18px; border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-border);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ea580c'><path d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3-3a1 1 0 011.4-1.4L9 11.6l6.3-6.3a1 1 0 011.4 0z'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
  margin-top: 2px;
}

/* Dark soft cards */
.card-dark-soft { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px; padding: 22px; }
.card-dark-soft p { color: #cbd5e1; font-size: 14px; margin-top: 6px; }
.big-num { color: var(--orange); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 28px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 56px; }
.step .step-num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px;
}
.step h4 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--orange-border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 22px; font-weight: 600; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 20px 20px; color: #475569; font-size: 15px; }

/* Final CTA */
.cta-final {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 80px 0;
}
@media (min-width: 768px) { .cta-final { padding: 96px 0; } }

/* Footer */
.footer { background: #0b1220; color: #cbd5e1; padding: 64px 0 32px; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: #94a3b8; }
.footer h5 {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
}
.footer ul { margin-top: 16px; display: grid; gap: 10px; }
.footer ul a { color: #cbd5e1; font-size: 14px; }
.footer ul a:hover { color: #fb923c; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: span 1; } }
.footer-brand p { color: #94a3b8; font-size: 14px; max-width: 460px; margin-top: 16px; }
.footer-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #64748b;
}

.nav .btn-sm .cta-short { display: none; }
@media (max-width: 640px) {
  .nav .btn-sm .cta-long { display: none; }
  .nav .btn-sm .cta-short { display: inline; }
}

/* Brand text flex */
.brand { min-width: 0; }
.brand-text { min-width: 0; }

/* Reveal animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeUp 0.6s ease both; }
.reveal.delay-1 { animation-delay: 0.12s; }

/* Mobile image sizing safety */
@media (max-width: 640px) {
  .hero-stack .img-wrap img { max-height: 160px; }
  .hero-stack .img-wrap.big img { max-height: 240px; }
  .img-wrap img { max-height: 280px; }

  /* Compact sticky nav */
  .nav-inner { height: 56px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 16px; height: 16px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.14em; }
  .nav .btn-sm { padding: 8px 12px; font-size: 12px; }
  .nav .btn-sm .cta-long { display: none; }

  /* Supplier card heading wrap */
  .card-split header { padding: 22px; flex-wrap: wrap; gap: 12px; }
  .card-split header .icon-square { width: 36px; height: 36px; }
  .card-split .display.sm { font-size: 19px; line-height: 1.15; word-break: break-word; }
  .card-body { padding: 22px; }
}

@media (max-width: 380px) {
  .card-split .display.sm { font-size: 17px; }
  .brand-sub { display: none; }
}
