
/* ======================================================
   RESET & BASE
   ====================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #171A21;
  background: #FAFAFB;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
  color: #171A21;
}
p {
  margin: 0;
}
section {
  position: relative;
}
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

:focus-visible {
  outline: 3px solid #6C5CE7;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ======================================================
   DESIGN TOKENS
   ====================================================== */
:root {
  --ink: #171A21;
  --ink-soft: #3A3F4C;
  --muted: #6B7080;
  --coral: #FF3B4E;
  --coral-dark: #E32B3D;
  --green: #00C48C;
  --violet: #6C5CE7;
  --bg: #FAFAFB;
  --bg-tint: #FFF4F4;
  --card: #FFFFFF;
  --border: #ECEEF3;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 45px -24px rgba(23,26,33,0.22);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--coral-dark);
  background: var(--bg-tint);
  border: 1px solid #FFD9DD;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px) scale(.99);
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(255, 59, 78, 0.55);
}
.btn-primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 18px 34px -10px rgba(255, 59, 78, 0.6);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid #E2E4EA;
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ============ BRAND ============ */
.brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.02em;
  color: #171A21;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.brand .accent {
  color: #FF3B4E;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF3B4E;
  margin-left: 6px;
  flex-shrink: 0;
}
.brand.brand-nav {
  font-size: 26px;
}
.brand.brand-nav .brand-dot {
  width: 6px;
  height: 6px;
  margin-left: 4px;
}

/* ======================================================
   NAVBAR
   ====================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 251, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
  width: 100%;
}
.navbar.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(23, 26, 33, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px;
  width: 100%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width .25s ease;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--coral);
}
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ======================================================
   PAGE HEADER
   ====================================================== */
.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(135deg, var(--bg-tint) 0%, #fff 70%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0 8px;
}
.page-header h1 .highlight {
  color: var(--coral);
}
.page-header p {
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
}
.page-header .eyebrow {
  margin-bottom: 4px;
}
.page-header .product-count-badge {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-top: 12px;
}

/* ======================================================
   PRODUCT GRID
   ====================================================== */
.price-section {
  padding: 40px 0 80px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-label .count {
  color: var(--coral);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.product-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.product-platform .pf-icon {
  font-size: 16px;
}

.product-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
  min-height: 40px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.product-price .price-main {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}
.product-price .price-main .currency {
  font-size: 16px;
  font-weight: 600;
}
.product-price .price-per {
  font-size: 13px;
  color: var(--muted);
}

.product-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.product-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card .btn {
  width: 100%;
  justify-content: center;
}

/* ======================================================
   SHOW MORE — CTA TO LOGIN
   ====================================================== */
.show-more-block {
  text-align: center;
  padding: 48px 0 20px;
  border-top: 1px solid var(--border);
}
.show-more-block .icon-big {
  font-size: 52px;
  margin-bottom: 16px;
  display: block;
}
.show-more-block h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.show-more-block h3 .highlight {
  color: var(--coral);
}
.show-more-block p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.show-more-block .btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.show-more-block .btn-group .btn {
  min-width: 200px;
}

/* ======================================================
   CTA BANNER
   ====================================================== */
.cta-banner {
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--coral) 0%, #FF6B78 55%, var(--violet) 130%);
  color: #fff;
  margin-top: 40px;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
.cta-banner .btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.3);
}
.cta-banner .btn-light:hover {
  transform: translateY(-2px);
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-tag {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  margin: 12px 0 0;
  max-width: 280px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  transition: color .2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.brand.brand-footer {
  font-size: 28px;
}
.brand.brand-footer,
.brand.brand-footer .accent {
  color: #fff;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: flex !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    background: #fff;
    z-index: 120;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    visibility: hidden;
    width: 100%;
  }
  .nav-links.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta .btn-ghost {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header {
    padding: 32px 0 20px;
  }

  .cta-banner {
    padding: 36px 20px;
    border-radius: 20px;
  }

  .show-more-block .btn-group {
    flex-direction: column;
    align-items: center;
  }
  .show-more-block .btn-group .btn {
    width: 100%;
    max-width: 300px;
  }

  .brand.brand-nav {
    font-size: 22px;
  }
  .brand.brand-footer {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }
  .product-card {
    padding: 18px 16px;
  }
  .product-price .price-main {
    font-size: 22px;
  }
  .btn {
    font-size: 13px;
    padding: 10px 16px;
  }
}
