:root {
  --bg: #020617;
  --bg2: #0b1224;
  --card: #0f172a;
  --line: rgba(148,163,184,.16);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --em: #34d399;
  --em2: #10b981;
  --vio: #818cf8;
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --radius: 1.75rem;
}
html.light {
  --bg: #f8fafc;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --shadow: 0 20px 50px rgba(15,23,42,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
html.dark body {
  background-image:
    radial-gradient(900px 420px at 80% -10%, rgba(16,185,129,.16), transparent 55%),
    radial-gradient(700px 380px at -10% 20%, rgba(99,102,241,.12), transparent 50%);
}
h1,h2,h3,h4 { font-family: Sora, Inter, sans-serif; letter-spacing: -.03em; line-height: 1.12; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }

/* Navigation Header */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: Sora; font-weight: 800; font-size: 15px; margin-right: auto; }
.logo img { height: 34px; width: auto; border-radius: 9px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.nav-links a.on, .nav-links a:hover { color: var(--text); background: color-mix(in srgb, var(--em2) 14%, transparent); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 8px 12px; cursor: pointer; }
.theme-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 12px; padding: 8px 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px;
  padding: 12px 18px; border-radius: 14px; border: 1px solid transparent;
}
.btn-p { background: linear-gradient(135deg, #10b981, #059669); color: #042f1e; }
.btn-g { background: var(--card); border-color: var(--line); color: var(--text); }
.chip {
  display: inline-flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--em);
  background: color-mix(in srgb, var(--em2) 12%, transparent); border: 1px solid color-mix(in srgb, var(--em2) 28%, transparent);
  padding: 6px 12px; border-radius: 999px;
}

/* Storefront Hero Banner — Bulletproof Absolute Aspect Ratio Slider */
.store-hero {
  width: 100%;
  background: #020617;
  overflow: hidden;
  position: relative;
}

.store-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 13.5;
  overflow: hidden;
}
@media (min-width: 640px) {
  .store-hero-frame { aspect-ratio: 21 / 11; }
}
@media (min-width: 1024px) {
  .store-hero-frame { aspect-ratio: 21 / 9.5; }
}

.store-hero-track {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.store-hero-slide {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  flex-shrink: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
}

.store-hero-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border: 0;
  pointer-events: none;
}

.store-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,6,23,0.92) 0%, rgba(2,6,23,0.60) 50%, rgba(2,6,23,0.20) 100%);
  display: flex;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}
.store-hero-overlay a {
  pointer-events: auto;
}

.store-hero-copy {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 16px 2rem 16px;
}
@media (min-width: 640px) {
  .store-hero-copy { padding: 0 48px 3rem 48px; }
}
@media (min-width: 1024px) {
  .store-hero-copy { padding: 0 64px 3rem 64px; }
}

.store-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fcd34d;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.store-hero-copy h1 {
  font-size: clamp(22px, 5vw, 56px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.store-hero-sub {
  font-size: clamp(12px, 2.5vw, 16px);
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 32rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  opacity: 0.9;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .store-hero-sub { -webkit-line-clamp: 3; }
}

.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-hero-cta2 {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}

.store-hero-dots {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}
@media (min-width: 640px) {
  .store-hero-dots { bottom: 5.5rem; }
}

.store-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 300ms ease;
}
.store-hero-dot.on {
  width: 32px;
  background: #ffffff;
}

.store-hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}
.store-hero-curve svg {
  position: relative;
  display: block;
  width: 100%;
  height: 3.5rem;
  fill: var(--bg, #020617);
}
@media (min-width: 640px) {
  .store-hero-curve svg { height: 5rem; }
}
@media (min-width: 1024px) {
  .store-hero-curve svg { height: 7rem; }
}

/* Page Content Sections */
.sec { padding: 56px 0; }
.sec-h { margin-bottom: 22px; }
.sec-h h2 { font-size: clamp(24px, 3.4vw, 36px); }
.sec-h p { color: var(--muted); margin-top: 8px; }

/* Horizontal Screenshots Row — Always 1 Row, Touch-Scrollable */
.shot-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.shot-card {
  flex: 0 0 min(78vw, 320px) !important;
  width: min(78vw, 320px) !important;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
}
.shot-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.shot-card figcaption {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Product Cards Grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.prod-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.prod-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-card h3 { font-size: 18px; }
.prod-card p { color: var(--muted); font-size: 13.5px; flex: 1; }
.prod-card .go { color: var(--em2); font-weight: 800; font-size: 13px; }

/* Blog Cards Row */
.blog-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.blog-card {
  flex: 0 0 min(82vw, 340px) !important;
  width: min(82vw, 340px) !important;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
}
.blog-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card .body { padding: 16px; }
.blog-card .cat { font-size: 11px; font-weight: 800; color: var(--em); text-transform: uppercase; }
.blog-card h3 { font-size: 16px; margin: 6px 0; }
.blog-card p { color: var(--muted); font-size: 13px; }

/* Split Sections */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.split img, .split .hero-shot { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.feat { list-style: none; margin-top: 16px; }
.feat li { padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: 14.5px; }
.feat li b { color: var(--text); }

/* Call to Action Band */
.cta-band {
  background: linear-gradient(135deg, #059669, #0f766e 55%, #1e293b);
  color: #ecfdf5; border-radius: 2.5rem; padding: 36px; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; flex-wrap: wrap;
}
.cta-band .btn-p { background: #fff; }

/* Footer */
.ft { border-top: 1px solid var(--line); padding: 42px 0 24px; margin-top: 20px; background: var(--bg2); }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.ft h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.ft a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.ft-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.article { max-width: 760px; margin: 0 auto; padding: 36px 0 64px; }
.article img { width: 100%; border-radius: 1.4rem; margin: 18px 0; }
.article p { color: var(--muted); margin: 12px 0; font-size: 16.5px; }

/* Responsive Overrides */
@media (max-width: 980px) {
  .split, .prod-grid, .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-burger { display: inline-flex; }
  .nav-links, .nav-cta { display: none; }
  body.nav-open .nav-links, body.nav-open .nav-cta {
    display: flex; flex-direction: column; width: 100%; padding-bottom: 14px;
  }
  body.nav-open .nav-in { flex-wrap: wrap; }
  .split, .prod-grid, .ft-grid { grid-template-columns: 1fr; }
  .split img { height: 200px; }
}

/* ── GRS.GSMARTAPP.COM HERO BANNER EXACT MIRROR ── */
.grs-hero-section {
  width: 100%;
  min-width: 100%;
  background-color: #020617;
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}

.grs-hero-wrapper {
  width: 100%;
  min-width: 100%;
}

.grs-hero-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 13.5;
  overflow: hidden;
}
@media (min-width: 640px) {
  .grs-hero-aspect { aspect-ratio: 21 / 11; }
}
@media (min-width: 1024px) {
  .grs-hero-aspect { aspect-ratio: 21 / 9.5; }
}

.grs-hero-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  transition: transform 700ms cubic-bezier(0, 0, 0.2, 1);
  will-change: transform;
}

.grs-hero-slide {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  flex-shrink: 0 !important;
  box-sizing: border-box;
}

.grs-hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border: 0;
}

.grs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.90) 0%, rgba(2, 6, 23, 0.60) 50%, rgba(2, 6, 23, 0.20) 100%);
  display: flex;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.grs-hero-content {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}
@media (min-width: 640px) {
  .grs-hero-content { padding: 0 3rem; }
}
@media (min-width: 1024px) {
  .grs-hero-content { padding: 0 4rem; }
}

.grs-hero-box {
  max-width: 42rem;
  padding-bottom: 2rem;
}
@media (min-width: 640px) {
  .grs-hero-box { padding-bottom: 3rem; }
}

.grs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fcd34d;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  pointer-events: auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
  .grs-hero-badge { font-size: 0.75rem; }
}

.grs-hero-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  pointer-events: auto;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
@media (min-width: 640px) {
  .grs-hero-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .grs-hero-title { font-size: 3.75rem; }
}

.grs-hero-sub {
  font-size: 0.75rem;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.625;
  max-width: 36rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  pointer-events: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media (min-width: 640px) {
  .grs-hero-sub { font-size: 0.875rem; -webkit-line-clamp: 3; }
}
@media (min-width: 1024px) {
  .grs-hero-sub { font-size: 1rem; }
}

.grs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
@media (min-width: 640px) {
  .grs-hero-actions { padding-top: 1rem; }
}

.grs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #4f46e5;
  color: #ffffff !important;
  border-radius: 1rem;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4);
  transition: all 0.2s ease;
  pointer-events: auto;
  text-decoration: none;
}
.grs-btn-primary:hover {
  background-color: #6366f1;
  transform: scale(1.05);
}

.grs-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  border-radius: 1rem;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
  pointer-events: auto;
  text-decoration: none;
}
.grs-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.grs-btn-icon {
  width: 1rem;
  height: 1rem;
}

.grs-hero-dots {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 20;
}
@media (min-width: 640px) {
  .grs-hero-dots { bottom: 6rem; }
}

.grs-hero-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 300ms ease;
}
.grs-hero-dot.on {
  width: 2rem;
  background-color: #ffffff;
}

.grs-hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}
.grs-hero-curve svg {
  position: relative;
  display: block;
  width: 100%;
  height: 3.5rem;
  fill: var(--bg, #020617);
}
@media (min-width: 640px) {
  .grs-hero-curve svg { height: 5rem; }
}
@media (min-width: 1024px) {
  .grs-hero-curve svg { height: 7rem; }
}
