* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

/* Full-Screen App Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s ease, visibility .8s ease;
}
#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  animation: pulseLogo 1.3s ease infinite;
}
.loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* Core Container Blueprint */
.app {
  min-height: 100vh;
  width: 100%;
  max-width: 430px;
  margin: auto;
  padding: 24px 22px 95px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 5%,rgba(255,23,23,.22),transparent 28%), radial-gradient(circle at 10% 40%,rgba(255,255,255,.06),transparent 30%), linear-gradient(180deg,#101010 0%,#050505 48%,#000 100%);
}

/* Top Navigation Elements */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.14);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(0,0,0,.45);
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text strong {
  display: block;
  font-size: 13px;
  letter-spacing: 2.5px;
}
.brand-text span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: rgba(255,255,255,.45);
  letter-spacing: 1.4px;
}
.desktop-nav {
  display: none;
}
.menu {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
}

/* Hero Branding Structure */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff3030;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #ff3030;
}
.hero {
  scroll-margin-top: 25px;
  margin-bottom: 56px;
}
.hero h1 {
  font-size: 47px;
  line-height: .95;
  letter-spacing: -2px;
  font-weight: 850;
  margin-bottom: 20px;
}
.hero p {
  color: rgba(255,255,255,.66);
  font-size: 15px;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 30px;
}
.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Interactive UI Controls */
button {
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}
button:active {
  transform: scale(.96);
}
.primary {
  background: linear-gradient(135deg,#ff1e1e,#c90000);
  color: #fff;
  box-shadow: 0 18px 40px rgba(255,0,0,.25);
}
.secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Glassmorphic Structural Cards */
.section-label {
  color: rgba(255,255,255,.42);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 14px;
}
.service-card, .product, .contact-card, .trust-card, .why-card {
  background: linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 25px 60px rgba(0,0,0,.28);
}

.services, .products-section, .contact-section, .why-section, .trust-section {
  scroll-margin-top: 25px;
}
.services {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}
.service-card {
  padding: 22px;
  border-radius: 26px;
}
.service-card small {
  color: #ff3030;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
}
.service-card h3 {
  margin-top: 12px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -.5px;
}
.service-card p {
  margin-top: 10px;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  line-height: 1.65;
}

.trust-section {
  margin-bottom: 54px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trust-card {
  border-radius: 20px;
  padding: 14px;
}
.trust-card span {
  display: block;
  color: #ff3030;
  font-size: 18px;
  margin-bottom: 7px;
}
.trust-card p {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.why-section {
  margin-bottom: 60px;
}
.why-card {
  padding: 22px;
  border-radius: 26px;
}
.why-card h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.why-card p {
  color: rgba(255,255,255,.58);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.why-list {
  display: grid;
  gap: 10px;
}
.why-list div {
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

/* Product Grid Architectures */
.section-title {
  font-size: 30px;
  letter-spacing: -1.2px;
  margin-bottom: 6px;
}
.section-subtitle {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.product {
  border-radius: 24px;
  padding: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
  position: relative;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,.48);
}
.product:active {
  transform: scale(.97);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 850;
  color: #fff;
  background: rgba(255,48,48,.9);
  padding: 5px 8px;
  border-radius: 999px;
}

.product-img {
  height: 122px;
  border-radius: 18px;
  background: radial-gradient(circle at top,rgba(255,255,255,.14),transparent 45%), linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.product h4 {
  font-size: 15px;
  margin-bottom: 6px;
}
.price {
  color: #ff3030;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}
.view-all {
  margin-top: 18px;
  margin-bottom: 70px;
}

/* Fixed Stock Layout Adaptations */
.ready-section, .sourcing-deals-section {
  margin-bottom: 60px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ready-section .products, .sourcing-deals-section .products {
  grid-template-columns: 1fr;
}
.ready-section .product-img, .sourcing-deals-section .product-img {
  height: auto;
}
.ready-section .product-img img, .sourcing-deals-section .product-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
}

/* Tab Controller Interfaces */
.hero-tabs-header {
  display: flex;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 24px;
  gap: 4px;
}
.tab-btn {
  height: 46px;
  font-size: 13px;
  font-weight: 750;
  border-radius: 999px;
  color: rgba(255,255,255,.6);
  background: transparent;
  transition: .3s ease;
}
.tab-btn:active {
  transform: scale(.98);
}
.tab-btn.active-ready {
  background: #ff3030;
  color: #fff;
  box-shadow: 0 10px 25px rgba(255,48,48,.3);
}
.tab-btn.active-sourcing {
  background: #ff7b00;
  color: #fff;
  box-shadow: 0 10px 25px rgba(255,123,0,.3);
}
.tab-content {
  display: none;
  animation: fadeInTab .45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.tab-content.active {
  display: block;
}
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.sourcing-deals-section .products-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Communication Cards */
.contact-card {
  width: 100%;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
}
.contact-card h2 {
  font-size: 30px;
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}
.contact-card p {
  max-width: 100%;
  overflow-wrap: break-word;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.location-note {
  margin-top: 16px;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  text-align: center;
}

/* Fixed Floating WhatsApp Trigger */
.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  cursor: pointer;
  z-index: 10;
}
.whatsapp svg {
  width: 29px;
  height: 29px;
  fill: white;
}

/* Off-Canvas Navigation Drawer */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  height: 100%;
  background: rgba(8,8,8,.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  z-index: 20;
  padding: 30px;
  transition: .35s ease;
  border-left: 1px solid rgba(255,255,255,.1);
}
.side-menu.active {
  right: 0;
}
.close {
  font-size: 30px;
  text-align: right;
  margin-bottom: 45px;
  cursor: pointer;
}
.side-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 850;
  margin-bottom: 28px;
}
.side-menu a span {
  color: #ff3030;
  margin-right: 10px;
}

/* Scroll Intersection Animations */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* PWA Micro-Instructions Manual Overlay */
.install-guide {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  padding: 18px;
}
.install-guide.show {
  display: flex;
}
.install-card {
  width: 100%;
  max-width: 390px;
  background: linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  animation: slideUp .35s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.install-card h2 {
  font-size: 25px;
  letter-spacing: -.8px;
  margin-bottom: 8px;
}
.install-card p {
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.install-steps {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.install-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 14px;
}
.install-step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff3030;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.install-step div {
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.45;
}
.close-install {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 850;
}
.install-app-btn {
  margin-top: 12px;
}

.hero .buttons {
  margin-bottom: 42px;
}
.hero .ready-section, .hero .sourcing-deals-section {
  margin-top: 0;
}

/* Responsive Viewports Matrix */
@media(min-width: 900px) {
  .hero .buttons { margin-bottom: 0; }
}
@media(max-width: 360px) {
  .hero h1 { font-size: 42px; }
  .contact-card h2 { font-size: 27px; }
  .contact-card p { font-size: 13px; }
}

@media(min-width: 900px) {
  body { background: #050505; }
  .app {
    max-width: none;
    width: 100%;
    min-height: 100vh;
    padding: 34px clamp(70px,7vw,180px) 100px;
    background: radial-gradient(circle at 82% 5%,rgba(255,23,23,.28),transparent 30%), radial-gradient(circle at 10% 45%,rgba(255,255,255,.055),transparent 30%), linear-gradient(135deg,#050505 0%,#101010 48%,#050505 100%);
  }
  .nav, .hero, .services, .trust-section, .why-section, .products-section, .contact-section {
    max-width: 1720px;
    margin-left: auto;
    margin-right: auto;
  }
  .nav { margin-bottom: 0; height: 76px; }
  .logo { width: 54px; height: 54px; border-radius: 16px; }
  .brand-text strong { font-size: 15px; }
  .brand-text span { font-size: 11px; }
  .menu { display: none; }
  
  .desktop-nav { display: flex; align-items: center; gap: 30px; }
  .desktop-nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; font-weight: 750; }
  .desktop-nav a:hover { color: #fff; }
  .desktop-nav .nav-cta { color: #fff; border: 1px solid rgba(255,255,255,.18); padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.06); }
  
  .hero { min-height: calc(100vh - 110px); display: grid; grid-template-columns: minmax(620px,1fr) minmax(460px,560px); gap: clamp(70px,8vw,150px); align-items: center; margin-bottom: 120px; padding-bottom: 40px; }
  .tag { font-size: 12px; margin-bottom: 26px; }
  .hero h1 { font-size: clamp(86px,6.4vw,135px); line-height: .88; letter-spacing: -5px; max-width: 850px; margin-bottom: 30px; }
  .hero p { max-width: 720px; font-size: 20px; line-height: 1.75; margin-bottom: 38px; }
  .buttons { max-width: 540px; flex-direction: row; gap: 14px; }
  button { height: 60px; font-size: 15px; }
  
  .ready-section, .sourcing-deals-section { width: 100%; margin-bottom: 0; }
  .ready-section .section-title, .sourcing-deals-section .section-title { font-size: 38px; }
  .ready-section .section-subtitle, .sourcing-deals-section .section-subtitle { font-size: 16px; max-width: 420px; }
  
  .ready-section .products, .sourcing-deals-section .products { grid-template-columns: 1fr; gap: 0; }
  .sourcing-deals-section .products-grid-layout { grid-template-columns: 1fr; gap: 20px; }
  
  .ready-section .product, .sourcing-deals-section .product { min-height: 500px; border-radius: 34px; padding: 26px; }
  .ready-section .product-img, .sourcing-deals-section .product-img { height: 330px; border-radius: 24px; }
  .ready-section .product h4, .sourcing-deals-section .product h4 { font-size: 23px; }
  .ready-section .price, .sourcing-deals-section .price { font-size: 16px; }
  
  .section-label { max-width: 1720px; margin-left: auto; margin-right: auto; font-size: 13px; margin-bottom: 18px; }
  .services { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 80px; }
  .service-card { padding: 36px; border-radius: 34px; }
  .service-card h3 { font-size: 36px; }
  .service-card p { font-size: 17px; }
  
  .trust-section { margin-bottom: 80px; }
  .trust-grid { grid-template-columns: repeat(4,1fr); gap: 18px; }
  .trust-card { padding: 28px; border-radius: 26px; }
  .trust-card p { font-size: 16px; }
  
  .why-card { max-width: 980px; padding: 42px; border-radius: 36px; }
  .why-card h2 { font-size: 42px; }
  .why-card p, .why-list div { font-size: 17px; }
  
  .products-section { margin-bottom: 90px; }
  .section-title { font-size: 46px; }
  .section-subtitle { font-size: 17px; }
  .products { grid-template-columns: repeat(4,1fr); gap: 22px; }
  .product { padding: 22px; border-radius: 30px; }
  .product-img { height: 220px; border-radius: 22px; }
  .product h4 { font-size: 21px; }
  .price { font-size: 15px; }
  .view-all { max-width: 700px; margin: 24px auto 90px; }
  
  .contact-card { max-width: 960px; margin: auto; padding: 44px; border-radius: 38px; }
  .contact-card h2 { font-size: 46px; }
  .contact-card p { font-size: 17px; }
  .side-menu { width: 360px; }
  .whatsapp { right: 34px; bottom: 34px; }
}
