@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --site-font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --bg: #f1f3f9;
  --panel: #ffffff;
  --text: #111827;
  --muted: #607086;
  --line: #d8deea;
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --accent: #06b6d4;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1240px, calc(100% - 40px));
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--site-font);
  font-weight: 400;
  color: var(--text);
  background: linear-gradient(180deg, #f4f6fc 0%, #eef2f9 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  letter-spacing: -0.04em;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: #ecf0f8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #1d4ed8;
  text-rendering: geometricPrecision;
}

.brand-mark .brand-accent {
  display: inline-block;
  color: #f97316 !important;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.brand-mark:hover {
  opacity: 0.92;
}

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

.main-nav a {
  font-weight: 500;
  color: #425066;
  transition: color var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-pill {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #1f2937;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 25px;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.hero-section {
  padding: 54px 0 78px;
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.16), transparent 35%),
    radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.2), transparent 30%),
    linear-gradient(165deg, #f8fbff 0%, #edf1fb 55%, #e9eef9 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #4f46e5;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  margin-top: 18px;
  max-width: 620px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.34);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4338ca 100%);
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: #1f2937;
}

.hero-metrics {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 14px;
  padding: 14px;
}

.hero-metrics strong {
  font-size: 1.4rem;
  display: block;
  color: #312e81;
}

.hero-metrics span {
  color: #55657d;
  font-size: 0.88rem;
}

.hero-mosaic {
  position: relative;
  min-height: 720px;
}

.floating-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
  animation: floatY 7s ease-in-out infinite;
}

.floating-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(17, 17, 17, 0.22) 100%);
  pointer-events: none;
}

.floating-card img {
  height: 100%;
  object-fit: cover;
}

.card-a {
  top: 5%;
  left: 0;
  width: 44%;
  height: 290px;
  animation-delay: 0s;
}

.card-b {
  top: 0;
  right: 4%;
  width: 42%;
  height: 360px;
  animation-delay: 1s;
}

.card-c {
  left: 8%;
  bottom: 8%;
  width: 36%;
  height: 250px;
  animation-delay: 1.8s;
}

.card-d {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 320px;
  animation-delay: 2.4s;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card-clickable {
  cursor: pointer;
}

.product-card-clickable:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.28);
  outline-offset: 2px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.16);
}

.product-media {
  position: relative;
  height: 220px;
  background: #f3f6fc;
}

.product-media img {
  height: 100%;
  object-fit: cover;
}

.quick-buy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 40px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.88);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 500;
}

.product-info {
  padding: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-info p {
  font-size: 0.86rem;
  margin-top: 4px;
}

.product-info strong {
  color: #1e1b4b;
}

.shop-loading {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  background: #ffffff;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
  color: #526276;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: 9px;
  left: 0;
}

.info-panel {
  background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%);
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.page-hero {
  padding: 62px 0 32px;
}

.page-hero-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 98px;
  border-radius: var(--radius-md);
  background: var(--panel);
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
}

.filter-panel h2 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.filter-links {
  display: grid;
  gap: 6px;
}

.filter-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: #475569;
  font-weight: 600;
}

.filter-panel a:hover,
.filter-panel a.is-active {
  background: #ede9fe;
  color: #5b21b6;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-toolbar-actions input,
.shop-toolbar-actions select {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0 12px;
}

.shop-toolbar-actions input {
  min-width: 220px;
}

.shop-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 26px;
  align-items: start;
}

.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow);
}

.product-gallery-main img {
  height: 480px;
  object-fit: contain;
  background: #eef2f7;
}

.product-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.thumb {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
}

.thumb img {
  height: 100px;
  object-fit: cover;
}

.thumb.is-active {
  border-color: #4f46e5;
}

.product-summary {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.product-price {
  font-size: 2rem;
  font-weight: 600;
  color: #312e81;
}

.product-meta {
  display: grid;
  gap: 8px;
  color: #475569;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secure-note {
  font-size: 0.9rem;
  color: #64748b;
}

.site-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 34px 0 40px;
  margin-top: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 18px;
}

.footer-grid h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  display: block;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.footer-grid .brand-mark {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  width: max-content;
  white-space: nowrap;
  margin-bottom: 10px;
}

.footer-grid .brand-mark .brand-accent {
  display: inline-block;
}

.policy-hero {
  padding: 62px 0 28px;
}

.policy-layout {
  display: grid;
  gap: 18px;
}

.policy-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.policy-card h2,
.policy-card h3 {
  margin-bottom: 12px;
}

.policy-card p {
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.8;
}

.policy-card ul,
.policy-card ol {
  margin: 0 0 0 18px;
  padding: 0;
  color: #334155;
  line-height: 1.8;
}

.policy-card li + li {
  margin-top: 8px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.policy-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate="slide-left"] {
  transform: translateX(-28px);
}

[data-animate="slide-right"] {
  transform: translateX(28px);
}

[data-animate="zoom-in"] {
  transform: scale(0.93);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

@media (max-width: 1100px) {
  .hero-layout,
  .split-feature,
  .product-layout,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    min-height: 640px;
  }

  .filter-panel {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 14px;
    right: 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-actions .icon-pill {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: auto;
    height: 240px;
  }

  .shop-toolbar,
  .shop-toolbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .shop-toolbar-actions input {
    min-width: 0;
  }

  .product-gallery-main img {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .section {
    padding: 56px 0;
  }

  .product-grid,
  .shop-products,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    min-height: 470px;
  }

  .card-a {
    width: 66%;
    height: 250px;
  }

  .card-b {
    top: 74px;
    width: 52%;
    height: 200px;
  }

  .card-c {
    left: 12%;
    width: 50%;
    height: 160px;
  }

  .card-d {
    width: 52%;
    height: 180px;
  }

  .product-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .thumb img {
    height: 78px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-card {
    padding: 18px;
  }
}
