*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ks-bg: #05060a;
  --ks-bg-soft: #0b0d14;
  --ks-card: #101320;
  --ks-card-soft: #141827;
  --ks-border-subtle: rgba(255, 255, 255, 0.06);
  --ks-border-strong: rgba(255, 255, 255, 0.12);
  --ks-text: #f5f5f7;
  --ks-text-soft: #a5acba;
  --ks-accent: #ff2c67;
  --ks-accent-soft: #ff7a3d;
  --ks-radius-lg: 18px;
  --ks-radius-md: 14px;
  --ks-radius-pill: 999px;
  --ks-shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.75);
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171b2e 0, #05060a 45%, #030308 100%);
  color: var(--ks-text);
  -webkit-font-smoothing: antialiased;
}

.ks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header / Nav */
.ks-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw 14px;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(5, 6, 10, 0.95),
      rgba(5, 6, 10, 0.7),
      transparent
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ks-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ks-logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(255, 44, 103, 0.8));
}

.ks-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #ff7a3d 0, #ff2c67 40%, #21162d 100%);
  box-shadow: 0 0 32px rgba(255, 61, 111, 0.8);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.ks-logo-text {
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}

.ks-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.ks-nav-link {
  position: relative;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.ks-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ks-accent), var(--ks-accent-soft));
  transition: width 0.22s ease;
}

.ks-nav-link:hover {
  color: var(--ks-text);
}

.ks-nav-link.active {
  color: var(--ks-text);
}

.ks-nav-link.active::after {
  width: 100%;
}

.ks-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ks-btn {
  border-radius: var(--ks-radius-pill);
  padding: 8px 16px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
}

.ks-btn-solid {
  background: linear-gradient(135deg, var(--ks-accent), var(--ks-accent-soft));
  color: #050509;
  box-shadow: 0 12px 35px rgba(255, 44, 103, 0.55);
}

.ks-btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 50px rgba(255, 44, 103, 0.65);
}

.ks-btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 20, 0.75);
  color: var(--ks-text);
}

.ks-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.ks-btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--ks-text);
}

.ks-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ks-btn-small {
  padding: 7px 14px;
  font-size: 0.78rem;
}

.ks-nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.1rem;
}

/* Hero / Home */
.ks-section {
  padding: 52px 6vw 32px;
}

.ks-hero {
  position: relative;
  padding-top: 70px;
  padding-bottom: 64px;
}

.ks-hero-bg {
  position: absolute;
  inset: 20px 0 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 44, 103, 0.32) 0, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(35, 116, 255, 0.3) 0, transparent 46%);
  opacity: 0.9;
}

.ks-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: stretch;
}

.ks-hero-copy {
  max-width: 720px;
}

.ks-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 10px;
}

.ks-hero h1 {
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.ks-hero-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ks-text-soft);
  margin-bottom: 10px;
}

.ks-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 18px;
}

.ks-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ks-meta-pill {
  border-radius: var(--ks-radius-pill);
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(22, 26, 42, 0.9), rgba(7, 9, 16, 0.95));
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.ks-meta-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.ks-meta-value {
  font-size: 0.82rem;
  margin-top: 3px;
}

.ks-hero-showcase {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.ks-showcase-card {
  width: 100%;
  max-width: 420px;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(135deg, rgba(12, 14, 24, 0.88), rgba(6, 7, 13, 0.97));
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 16px 18px;
  box-shadow: var(--ks-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ks-showcase-tag {
  align-self: flex-start;
  border-radius: var(--ks-radius-pill);
  padding: 4px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ks-showcase-media {
  border-radius: 18px;
  overflow: hidden;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ks-media-skeleton {
  background: radial-gradient(circle at top left, #2b3144 0, #121624 40%, #05060a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.ks-showcase-body h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ks-showcase-body p {
  font-size: 0.86rem;
  color: var(--ks-text-soft);
  margin-bottom: 8px;
}

.ks-showcase-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.ks-showcase-points li {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ks-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.ks-link i {
  font-size: 0.8rem;
  transition: transform 0.15s ease;
}

.ks-link:hover i {
  transform: translateX(3px);
}

/* Sections & product grid */
.ks-section-header {
  max-width: 640px;
  margin-bottom: 22px;
}

.ks-section-header h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.ks-section-header p {
  font-size: 0.9rem;
  color: var(--ks-text-soft);
}

.ks-subheading {
  font-size: 1rem;
  margin: 6px 0 10px;
  color: rgba(255, 255, 255, 0.85);
}

.ks-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ks-product-card {
  background: linear-gradient(145deg, var(--ks-card), var(--ks-card-soft));
  border-radius: var(--ks-radius-lg);
  border: 1px solid var(--ks-border-subtle);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ks-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}

.ks-product-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background-image: url('../assets/ks-product.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.ks-product-thumb span {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
}

.ks-product-body {
  padding: 14px 16px 4px;
  flex: 1;
}

.ks-product-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.ks-product-body p {
  font-size: 0.85rem;
  color: var(--ks-text-soft);
}

.ks-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ks-preview-link {
  margin-top: 10px;
}

.ks-preview-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.ks-preview-link a:hover {
  background: linear-gradient(135deg, rgba(255, 44, 103, 0.85), rgba(255, 122, 61, 0.9));
  border-color: transparent;
}

.ks-chip {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ks-chip-accent {
  background: rgba(255, 44, 103, 0.2);
  border-color: rgba(255, 44, 103, 0.7);
}

.ks-product-footer {
  padding: 10px 16px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ks-price {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Checkout */
.ks-checkout-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.86);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.ks-checkout-backdrop.open {
  display: flex;
}

.ks-checkout-panel {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(145deg, #0b0d16, #04050a);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.95);
  padding: 18px 18px 20px;
}

.ks-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ks-checkout-header h3 {
  font-size: 1.1rem;
}

.ks-checkout-close {
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ks-checkout-body {
  display: grid;
  gap: 18px;
}

.ks-checkout-summary {
  padding: 12px 12px 14px;
  border-radius: 16px;
  background: radial-gradient(circle at top, #171b2e 0, #070814 55%, #030309 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ks-checkout-summary h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.ks-checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 6px 8px;
}

.ks-checkout-item-name {
  font-size: 0.9rem;
}

.ks-checkout-item-note {
  font-size: 0.78rem;
  color: var(--ks-text-soft);
}

.ks-checkout-item-price {
  font-size: 0.9rem;
  font-weight: 500;
}

.ks-checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 0.9rem;
}

.ks-checkout-total-row span:last-child {
  font-weight: 600;
}

.ks-checkout-payments h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.ks-pay-btn {
  width: 100%;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ks-text);
  cursor: pointer;
  margin-top: 8px;
}

.ks-pay-btn span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ks-pay-sub {
  font-size: 0.78rem;
  color: var(--ks-text-soft);
}

.ks-pay-paypal {
  border-color: rgba(0, 136, 255, 0.6);
  background: radial-gradient(circle at 0 0, rgba(0, 136, 255, 0.4), transparent 55%);
}

.ks-pay-card {
  border-color: rgba(255, 255, 255, 0.14);
}

.ks-checkout-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--ks-text-soft);
}

/* Footer */
.ks-footer {
  margin-top: auto;
  padding: 28px 6vw 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 55%);
}

.ks-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
}

.ks-footer-brand p {
  margin-top: 8px;
  max-width: 420px;
  font-size: 0.82rem;
  color: var(--ks-text-soft);
}

.ks-footer-links {
  display: flex;
  gap: 32px;
}

.ks-footer-links h4 {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.ks-footer-links a {
  display: block;
  font-size: 0.8rem;
  color: var(--ks-text-soft);
  text-decoration: none;
  margin-top: 2px;
}

.ks-footer-links a:hover {
  color: var(--ks-text);
}

.ks-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.ks-footer-sub {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .ks-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 26px;
  }

  .ks-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .ks-header {
    padding-inline: 4vw;
  }

  .ks-nav {
    position: absolute;
    inset-inline: 4vw;
    top: 60px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(3, 4, 7, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transform-origin: top;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease, transform 0.14s ease;
  }

  .ks-nav.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .ks-header-actions {
    display: none;
  }

  .ks-nav-toggle {
    display: block;
  }

  .ks-hero {
    padding-inline: 4vw;
  }

  .ks-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-hero-showcase {
    justify-content: flex-start;
  }

  .ks-section {
    padding-inline: 4vw;
  }

  .ks-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-footer {
    padding-inline: 4vw;
  }

  .ks-footer-main {
    flex-direction: column;
  }

  .ks-footer-links {
    gap: 18px;
  }

  .ks-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .ks-hero h1 {
    font-size: 2.1rem;
  }

  .ks-meta-pill {
    min-width: 0;
  }
}

