/**
 * GSK POS - Landing Page Styles
 * Extracted from inline styles in index.php for browser caching
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --secondary: #34d399;
  --secondary-dark: #059669;
  --accent: #fbbf24;
  --dark: #1e1b4b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #526176;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius: 16px;
  --shadow-lg: 0 12px 30px rgba(15,23,42,0.08);
  --shadow-xl: 0 20px 50px rgba(15,23,42,0.15);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  box-shadow: 0 0 0 2px var(--dark);
}
section[id], main[id] { scroll-margin-top: 100px; }

/* ===== HERO SECTION ===== */
.hero {
  background: radial-gradient(ellipse at 90% 15%, #49318c 0%, transparent 55%), linear-gradient(135deg, var(--dark), #282362);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 9rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Floating elements */
.float-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 20s infinite ease-in-out;
  pointer-events: none;
}
.float-1 { width: 300px; height: 300px; background: var(--secondary); top: -100px; right: -100px; }
.float-2 { width: 200px; height: 200px; background: var(--accent); bottom: 20%; left: -50px; animation-delay: -5s; }
.float-3 { width: 150px; height: 150px; background: var(--primary-light); top: 40%; right: 10%; animation-delay: -10s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -30px); }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(30,27,75,0.92);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: var(--shadow-lg); }
.nav-container {
  max-width: 1256px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.logo img { height: 42px; width: 128px; object-fit: contain; padding: 6px; background: #fff; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: #e2e0f4; text-decoration: none; font-weight: 600; font-size: 0.875rem; }
.nav-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.nav-btn {
  background: var(--secondary);
  color: var(--dark);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-btn i { margin-left: 0.4rem; }
.nav-btn:hover { background: #6ee7b7; }
.mobile-menu-btn { display: none; background: none; border: 1px solid #817ba8; border-radius: 8px; color: #fff; font: inherit; padding: 0.6rem 0.75rem; cursor: pointer; }
.mobile-menu-btn span { font-size: 0.85rem; font-weight: 600; }
html:not(.js) .nav { position: relative; background: var(--dark); }

/* ===== HERO CONTENT ===== */
.hero-content { min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 50px;
  color: #ede9fe;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--secondary); }
.hero-title { font-size: clamp(2.5rem, 4.4vw, 3.8rem); font-weight: 700; color: #fff; line-height: 1.13; letter-spacing: -0.045em; margin-bottom: 1.5rem; }
.hero-title span { color: #6ee7b7; }
.hero-subtitle { font-size: 1.13rem; color: #e2e0f4; max-width: 590px; margin-bottom: 2rem; line-height: 1.8; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; list-style: none; margin-top: 1.5rem; color: #e2e0f4; font-size: 0.8rem; }
.hero-highlights i { color: var(--secondary); margin-right: 0.25rem; }
.shopper-link { font-size: 0.85rem; color: #c6c1e4; margin-top: 2rem; }
.shopper-link a { color: #fff; text-underline-offset: 4px; }
.business-overview { border: 1px solid rgba(255,255,255,0.2); border-radius: 22px; background: rgba(255,255,255,0.06); padding: 1.7rem; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,0.16); }
.overview-heading { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 1.5rem; }
.overview-mark { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: #6ee7b7; border-radius: 12px; color: var(--dark); }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.65rem; font-weight: 600; color: #c6c1e4; margin-bottom: 0.25rem; }
.overview-heading h2 { font-size: 1.08rem; line-height: 1.4; }
.overview-flow { list-style: none; display: grid; gap: 0.8rem; }
.overview-flow li { display: flex; gap: 0.8rem; align-items: center; background: #fafaff; border-radius: 12px; padding: 1rem; color: var(--dark); }
.flow-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; background: #ede9fe; color: var(--primary-dark); border-radius: 10px; }
.overview-flow h3 { font-size: 0.9rem; }
.overview-flow p { color: var(--gray-500); font-size: 0.75rem; line-height: 1.6; margin-top: 0.2rem; }
.flow-step { margin-left: auto; font-size: 0.75rem; color: var(--gray-500); }
.overview-caption { text-align: center; font-size: 0.7rem; color: #c6c1e4; margin-top: 1.25rem; }

/* ===== CTA BUTTONS ===== */
.cta-container { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.95rem 1.3rem; border-radius: 10px; font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.cta-primary { background: var(--secondary); color: var(--dark); border: 1px solid var(--secondary); }
.cta-primary:hover { background: #6ee7b7; transform: translateY(-2px); }
.cta-business { background: rgba(255,255,255,0.04); border: 1px solid #9286ba; color: #fff; }
.cta-business:hover { background: rgba(255,255,255,0.12); }

/* ===== STATS ROW ===== */
.stats-row { display: flex; flex-wrap: wrap; gap: 2rem; margin: 1.5rem 0; }
.stat { color: #fff; display: flex; flex-direction: column-reverse; }
.stat-value { font-size: 1.6rem; font-weight: 700; color: #6ee7b7; }
.stat-label { font-size: 0.8rem; color: #e2e0f4; }

/* ===== FEATURES SECTION ===== */
.features { padding: 5rem 2rem; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; background: #ede9fe; color: #5b21b6; padding: 0.4rem 0.85rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--dark); margin-bottom: 1rem; line-height: 1.3; letter-spacing: -0.03em; }
.section-subtitle { font-size: 1rem; color: var(--gray-500); max-width: 620px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature-card { background: var(--gray-50); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--gray-200); transition: border-color 0.2s, box-shadow 0.2s; }
.feature-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.25rem; }
.feature-icon.green { background: #d1fae5; color: #047857; }
.feature-icon.purple { background: #ede9fe; color: var(--primary-dark); }
.feature-icon.orange { background: #fef3c7; color: #92400e; }
.feature-icon.blue { background: #dbeafe; color: #1d4ed8; }
.feature-question { color: var(--gray-500); font-size: 0.8rem; margin-bottom: 0.5rem; }
.feature-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; line-height: 1.4; }
.feature-desc { color: var(--gray-500); font-size: 0.9rem; line-height: 1.8; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 5rem 2rem; background: var(--gray-50); }
.workflow-video { max-width: 900px; margin: 0 auto 3rem; text-align: center; }
.workflow-video .video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.workflow-video iframe { width: 100%; height: 100%; border: 0; }
.workflow-video p { margin-top: 1rem; color: var(--gray-500); font-size: 0.9rem; }
.steps-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.step { position: relative; }
.step-number { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-dark); color: #fff; display: grid; place-items: center; font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; }
.step-desc { color: var(--gray-500); line-height: 1.8; font-size: 0.9rem; }
.section-link { text-align: center; margin-top: 2.5rem; font-size: 0.9rem; }
.section-link a { font-weight: 600; text-underline-offset: 4px; }

/* ===== FOR BUSINESS SECTION ===== */
.for-business { padding: 5rem 2rem; background: linear-gradient(135deg, var(--dark), #312e81); color: #fff; }
.business-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.business-text .section-tag { background: rgba(110,231,183,0.12); color: #6ee7b7; }
.business-text h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.3; letter-spacing: -0.03em; }
.business-text p { font-size: 1rem; color: #e2e0f4; margin-bottom: 1.5rem; line-height: 1.8; }
.business-benefits { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2rem; }
.benefit { display: flex; align-items: baseline; gap: 0.75rem; font-size: 0.9rem; }
.benefit i { color: var(--secondary); }
.business-cta { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--secondary); color: var(--dark); padding: 0.9rem 1.3rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.business-cta:hover { background: #6ee7b7; }
.business-image { min-width: 0; }
.dashboard-preview { background: rgba(255,255,255,0.06); border-radius: 20px; padding: 2rem; border: 1px solid rgba(255,255,255,0.2); }
.dashboard-header { display: flex; gap: 0.65rem; align-items: center; margin-bottom: 1.5rem; color: #e2e0f4; font-size: 0.8rem; }
.dashboard-header i { color: #6ee7b7; }
.dashboard-preview h3 { font-size: 1.5rem; line-height: 1.4; margin-bottom: 1rem; }
.dashboard-preview p { color: #e2e0f4; font-size: 0.9rem; line-height: 1.8; }
.store-link { color: #6ee7b7; display: inline-block; margin-top: 1rem; text-underline-offset: 4px; font-weight: 600; font-size: 0.9rem; }
.start-section { padding: 5rem 2rem; text-align: center; background: #fff; }
.start-price { max-width: 620px; margin: 1.25rem auto 0; padding: 0.9rem 1.1rem; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--gray-50); color: var(--dark); font-size: 0.95rem; line-height: 1.7; }
.start-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.start-actions > a:not(.cta-btn) { font-size: 0.9rem; font-weight: 600; text-underline-offset: 4px; }
.start-support { margin-top: 1.5rem; color: var(--gray-500); font-size: 0.85rem; }
.start-support a { text-underline-offset: 3px; }

/* ===== FOOTER ===== */
footer { background: var(--gray-900); color: #fff; padding: 3rem 2rem 1.5rem; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand img { height: 42px; width: 128px; object-fit: contain; padding: 6px; background: #fff; border-radius: 6px; margin-bottom: 1rem; }
.footer-brand p { color: #b6c2d3; font-size: 0.85rem; line-height: 1.8; margin-bottom: 1rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; text-decoration: none; }
.social-links a:hover { background: var(--primary); }
.footer-links h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #b6c2d3; text-decoration: none; font-size: 0.85rem; display: inline-block; padding: 0.25rem 0; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; text-align: center; color: #b6c2d3; font-size: 0.8rem; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: grid; place-items: center; color: #102c24; font-size: 1.8rem; text-decoration: none; box-shadow: var(--shadow-lg); z-index: 900; }
.whatsapp-float:hover { background: #6ee7b7; }

/* ===== SKIP TO CONTENT (Accessibility) ===== */
.skip-to-content { position: fixed; top: -100px; left: 1rem; background: var(--primary-dark); color: #fff; padding: 0.75rem 1rem; z-index: 10000; text-decoration: none; font-weight: 600; border-radius: 8px; }
.skip-to-content:focus { top: 0.5rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { gap: 2rem; }
  .hero-title { font-size: 3rem; }
  .nav-links { gap: 1rem; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-container { flex-wrap: wrap; }
  .nav-links { flex-wrap: wrap; }
  .js .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 1.5rem; gap: 0.25rem; max-height: calc(100dvh - 80px); overflow-y: auto; border-top: 1px solid rgba(255,255,255,0.15); }
  .js .nav-links.active { display: flex; }
  .js .mobile-menu-btn { display: inline-flex; align-items: center; gap: 0.65rem; }
  .nav-link { padding: 0.7rem 0.5rem; }
  .nav-btn { text-align: center; }
  .hero-inner { grid-template-columns: 1fr; max-width: 720px; padding-top: 8rem; gap: 2.5rem; }
  .hero-title { font-size: clamp(2.5rem, 7vw, 3.6rem); }
  .business-overview { max-width: 560px; width: 100%; }
  .business-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .dashboard-preview { max-width: 560px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .nav { padding: 0.85rem 1.25rem; }
  .hero-inner { padding: 7rem 1.25rem 3rem; }
  .hero-title { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-highlights { gap: 0.5rem 1rem; }
  .cta-container { flex-direction: column; align-items: stretch; }
  .business-overview { padding: 1rem; }
  .overview-heading h2 { font-size: 0.95rem; }
  .overview-flow li { padding: 0.85rem 0.7rem; gap: 0.65rem; }
  .flow-step { display: none; }
  .features, .how-it-works, .for-business, .start-section { padding: 3.5rem 1.25rem; }
  .features-grid, .steps-container { grid-template-columns: minmax(0, 1fr); }
  .feature-card { padding: 1.5rem; }
  .step { display: flex; gap: 1rem; }
  .step-number { flex-shrink: 0; }
  .dashboard-preview { padding: 1.5rem; }
  footer { padding: 3rem 1.25rem 5.5rem; }
  .footer-content { gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .hero-title span, .cta-primary, .nav-btn, .business-cta { color: LinkText; }
  .overview-flow li, .feature-card, .business-overview { border: 1px solid CanvasText; }
}
