:root {
  --primary: #2f5bff;
  --primary-dark: #1d43d8;
  --primary-soft: #eef3ff;
  --accent: #7cb3ff;
  --text: #0f172a;
  --text-soft: #475467;
  --muted: #667085;
  --white: #ffffff;
  --light: #f8fafc;
  --light-2: #f2f6fc;
  --dark: #0b1220;
  --dark-2: #111827;
  --border: #e4e7ec;
  --success: #17b26a;
  --warning: #f79009;
  --danger: #f04438;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1440px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg, #0f172a, #111f3d);
  color: #d0d5dd;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-content {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar i {
  color: var(--accent);
}

.topbar-right a,
.topbar-right .social-link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.topbar-right a:hover,
.topbar-right .social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.social-link.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.social-link.is-disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  transform: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.8);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 1;
}

.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #7aa2ff);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 1.02rem;
  line-height: 1.1;
  font-weight: 800;
}

.logo-text p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  font-weight: 600;
  color: var(--text-soft);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4d7cff);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(47, 91, 255, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #3b68f2);
}

.btn-secondary {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #d9e5ff;
}

.btn-secondary:hover {
  background: #dde8ff;
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.desktop-cta {
  padding: 11px 22px;
  min-height: 46px;
  line-height: 1.15;
  font-size: 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

.full {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.35rem;
  color: var(--text);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.menu-toggle:hover {
  background: #f3f6fb;
}

.mobile-cta {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(47, 91, 255, 0.18), transparent 30%),
    radial-gradient(circle at right center, rgba(124, 179, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -100px -120px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(47, 91, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 42px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf2ff;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-badge.dark {
  background: rgba(255, 255, 255, 0.14);
  color: #dbe5ff;
}

.hero-text h2,
.section-heading h2,
.split-section h2,
.cta-box h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-text p,
.section-heading p,
.split-section p,
.cta-box p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 62ch;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(228, 231, 236, 0.85);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  min-height: 180px;
  transition: var(--transition);
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(47, 91, 255, 0.22);
}

.mini-card i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.mini-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.mini-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 95px 0;
}

.light-section {
  background: linear-gradient(180deg, var(--light) 0%, #f4f7fb 100%);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center p {
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.category-card,
.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover,
.category-card:hover,
.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 91, 255, 0.2);
}

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef3ff;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.info-card h3,
.category-card h3,
.highlight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.info-card p,
.category-card p,
.highlight-card p {
  color: var(--muted);
}

.category-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-image {
  height: 220px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #344054;
  background: linear-gradient(135deg, #ebf1ff, #dce7ff);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.product-body {
  padding: 22px;
}

.product-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.product-body h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.product-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stock {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}

.stock.available {
  background: rgba(23, 178, 106, 0.12);
  color: var(--success);
}

.stock.preorder {
  background: rgba(247, 144, 9, 0.14);
  color: var(--warning);
}

.stock.unavailable {
  background: rgba(240, 68, 56, 0.12);
  color: var(--danger);
}

.product-link {
  font-weight: 700;
  color: var(--primary);
}

/* Brands */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.brand-box {
  min-height: 110px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #344054;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 12px;
}

.brand-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 91, 255, 0.22);
}

/* Split */
.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.check-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #102a8c, #3157ff);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  color: #e5e7eb;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  padding-bottom: 42px;
}

.footer h3,
.footer h4 {
  margin-bottom: 16px;
  color: var(--white);
}

.footer p,
.footer li,
.footer a {
  color: #cbd5e1;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a,
.footer-social .social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.footer-social a:hover,
.footer-social .social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social .social-link.is-disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transform: none;
}

.whatsapp-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  animation: fab-enter 0.5s ease 1.5s both;
}

.whatsapp-fab i {
  font-size: 1.5rem;
}

.whatsapp-fab:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

@keyframes fab-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 24px;
  text-align: center;
  color: #94a3b8;
}

/* -------- Responsive -------- */

/* Laptop / tablet horizontal */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 18px;
  }

  .desktop-cta {
    padding: 10px 18px;
    min-height: 44px;
    font-size: 0.9rem;
  }

  .cards-grid.four,
  .product-grid,
  .brands-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content,
  .split-section {
    grid-template-columns: 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .topbar {
    font-size: 0.82rem;
  }

  .topbar-content {
    align-items: flex-start;
  }

  .nav {
    min-height: 78px;
  }

  .logo-text h1 {
    font-size: 0.98rem;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .hero-content {
    gap: 28px;
  }

  .hero-grid,
  .cards-grid.three {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 80px 0;
  }
}

/* Mobile nav */
@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .desktop-cta {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(88vw, 310px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 8px 4px;
    font-size: 0.96rem;
  }

  .nav-menu a::after {
    display: none !important;
  }

  .mobile-cta {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    padding: 11px 16px;
    color: var(--white) !important;
  }

  .hero-grid,
  .cards-grid.three,
  .cards-grid.four,
  .product-grid,
  .brands-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}

/* Phone */
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    min-height: 72px;
    gap: 12px;
  }

  .logo {
    gap: 10px;
    max-width: calc(100% - 56px);
  }

  .logo-mark {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    font-size: 0.95rem;
  }

  .logo-text h1 {
    font-size: 0.92rem;
  }

  .logo-text p {
    display: none;
  }

  .hero {
    padding: 64px 0 54px;
  }

  .hero-text h2,
  .section-heading h2,
  .split-section h2,
  .cta-box h2 {
    font-size: 1.9rem;
    line-height: 1.12;
  }

  .hero-text p,
  .section-heading p,
  .split-section p,
  .cta-box p {
    font-size: 0.96rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-card,
  .info-card,
  .category-card,
  .highlight-card,
  .mini-card {
    padding: 20px;
  }

  .mini-card {
    min-height: auto;
  }

  .section {
    padding: 68px 0;
  }

  .product-image {
    height: 200px;
  }

  .product-body {
    padding: 18px;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-bottom {
    font-size: 0.88rem;
  }

  .whatsapp-fab-label {
    display: none;
  }

  .whatsapp-fab {
    padding: 16px;
    border-radius: 50%;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .hero-text h2,
  .section-heading h2,
  .split-section h2,
  .cta-box h2 {
    font-size: 1.72rem;
  }

  .section-badge {
    font-size: 0.78rem;
    padding: 7px 12px;
  }

  .product-image {
    height: 180px;
  }

  .brand-box {
    min-height: 92px;
  }
}
