:root {
  --ink: #07111f;
  --ink-soft: #101d2f;
  --paper: #f5f7f2;
  --white: #ffffff;
  --muted: #667085;
  --line: #dfe4dc;
  --lime: #b8ff65;
  --blue: #58b7ff;
  --violet: #9b8cff;
  --coral: #ff826c;
  --shadow: 0 24px 60px rgba(7, 17, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 20px;
  color: #d9e2ed;
  background: var(--ink);
  font-size: .78rem;
  letter-spacing: .03em;
  text-align: center;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(184,255,101,.12); }

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 clamp(22px, 5vw, 80px);
  background: rgba(245,247,242,.94);
  border-bottom: 1px solid rgba(7,17,31,.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.28rem; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border-radius: 10px; font-size: 1rem; box-shadow: inset 0 0 0 1px rgba(7,17,31,.1); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.main-nav a { color: #455164; font-size: .9rem; font-weight: 600; position: relative; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; height: 3px; border-radius: 3px; background: var(--lime); left: 0; right: 0; bottom: -12px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.ghost-button, .cart-button, .icon-button { border: 0; cursor: pointer; color: var(--ink); }
.ghost-button { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: transparent; font-weight: 600; font-size: .9rem; }
.cart-button { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; color: white; background: var(--ink); font-size: .88rem; font-weight: 600; }
.cart-button b { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 5px; border-radius: 7px; color: var(--ink); background: var(--lime); font-size: .73rem; }
.menu-button { display: none; background: transparent; padding: 8px; }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding: 72px clamp(22px, 7vw, 108px) 82px;
  color: white;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, black, transparent 62%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.glow-one { width: 500px; height: 500px; right: 4%; top: -25%; background: radial-gradient(circle, rgba(88,183,255,.18), transparent 68%); }
.glow-two { width: 430px; height: 430px; left: 25%; bottom: -46%; background: radial-gradient(circle, rgba(184,255,101,.14), transparent 70%); }
.hero-copy, .hero-stage { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid rgba(184,255,101,.35); background: rgba(184,255,101,.08); border-radius: 99px; color: var(--lime); font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 23px 0 20px; font-family: "Manrope", sans-serif; font-size: clamp(3.5rem, 6vw, 6.6rem); line-height: .91; letter-spacing: -.07em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 590px; margin: 0; color: #aebac9; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.primary-button { display: inline-flex; align-items: center; gap: 28px; padding: 14px 18px 14px 20px; border-radius: 13px; color: var(--ink); background: var(--lime); font-weight: 700; box-shadow: 0 12px 35px rgba(184,255,101,.15); transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(184,255,101,.23); }
.text-button { color: white; font-size: .92rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.3); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 42px; color: #91a0b3; font-size: .76rem; }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 15px; color: var(--lime); }

.hero-stage { min-height: 500px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 35px 80px rgba(0,0,0,.25); }
.stage-grid { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 32px 32px; }
.floating-tag { position: absolute; z-index: 2; padding: 8px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; background: rgba(7,17,31,.7); backdrop-filter: blur(10px); color: #c9d4df; font-size: .74rem; }
.tag-top { top: 24px; right: 25px; }
.feature-card { position: absolute; width: 58%; min-height: 380px; left: 8%; top: 58px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; color: var(--ink); border-radius: 22px; background: var(--lime); transform: rotate(-2deg); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.feature-topline { display: flex; justify-content: space-between; align-items: center; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(7,17,31,.09); }
.stock-badge { padding: 6px 10px; border-radius: 99px; background: var(--ink); color: white; font-size: .7rem; font-weight: 700; }
.feature-card small { font-weight: 800; letter-spacing: .11em; }
.feature-card h2 { margin: 6px 0 10px; font-family: "Manrope"; font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: .95; letter-spacing: -.06em; }
.feature-card p { max-width: 300px; margin: 0; color: rgba(7,17,31,.7); font-size: .83rem; }
.feature-price { display: flex; align-items: center; justify-content: space-between; }
.feature-price strong { font: 800 1.35rem "Manrope"; }
.mini-add { width: 40px; height: 40px; border: 0; border-radius: 12px; color: white; background: var(--ink); font-size: 1.4rem; cursor: pointer; }
.mini-card { position: absolute; z-index: 4; width: 42%; min-width: 205px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; color: white; background: rgba(16,29,47,.9); box-shadow: 0 20px 44px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
.mini-card-one { right: 4%; top: 145px; transform: rotate(3deg); }
.mini-card-two { right: 7%; bottom: 42px; transform: rotate(1deg); }
.mini-visual { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 11px; color: var(--ink); font-weight: 800; }
.mini-card div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; }
.mini-card small { color: #8f9caf; font-size: .6rem; letter-spacing: .1em; }
.mini-card strong { font-size: .78rem; }
.mini-card > span { font-size: .72rem; font-weight: 700; color: var(--lime); }
.violet { background: var(--violet); }
.coral { background: var(--coral); }
.blue { background: var(--blue); }
.lime { background: var(--lime); }

.category-section, .products-section { padding: 88px clamp(22px, 7vw, 108px); }
.category-section { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
.section-kicker { color: #718096; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-heading h2, .steps-copy h2 { margin: 4px 0 0; font: 800 clamp(2rem, 3vw, 3rem)/1.08 "Manrope"; letter-spacing: -.05em; }
.search-wrap { width: min(360px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.search-wrap svg { color: #7c8797; }
.search-wrap input { width: 100%; height: 46px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .9rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card { min-height: 104px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: white; text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.category-card:hover, .category-card.active { transform: translateY(-3px); border-color: rgba(7,17,31,.35); box-shadow: 0 15px 35px rgba(7,17,31,.07); }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; }
.category-card > span:nth-child(2) { display: flex; flex-direction: column; }
.category-card strong { font-size: .9rem; }
.category-card small { margin-top: 3px; color: #7b8796; font-size: .72rem; }
.category-card .arrow { width: 16px; color: #98a2b3; }

.products-section { background: var(--paper); }
.outline-button { padding: 10px 14px; border: 1px solid #cbd3c8; border-radius: 10px; color: var(--ink); background: transparent; font-size: .82rem; font-weight: 700; cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: white; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-cover { aspect-ratio: 1.18; min-height: 210px; display: flex; flex-direction: column; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.product-cover::after { content: ""; width: 180px; height: 180px; position: absolute; right: -70px; bottom: -80px; border: 34px solid rgba(255,255,255,.18); border-radius: 50%; }
.cover-coral { background: var(--coral); }
.cover-violet { background: var(--violet); }
.cover-blue { background: var(--blue); }
.cover-dark { color: white; background: var(--ink-soft); }
.cover-label { align-self: flex-start; margin-bottom: auto; padding: 5px 8px; border: 1px solid currentColor; border-radius: 6px; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.product-cover strong { font: 800 clamp(2.5rem, 4vw, 4rem)/.9 "Manrope"; letter-spacing: -.07em; }
.product-cover > span:not(.cover-label) { margin-top: 8px; font-size: .7rem; font-weight: 800; line-height: 1.25; letter-spacing: .1em; }
.product-cover i { position: absolute; right: 18px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); opacity: .55; font: normal 700 .58rem "Manrope"; letter-spacing: .18em; }
.product-info { padding: 20px; }
.product-category { color: #7c8795; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-info h3 { margin: 5px 0 8px; font: 700 1rem "Manrope"; letter-spacing: -.025em; }
.product-info p { min-height: 57px; margin: 0; color: #728093; font-size: .78rem; line-height: 1.55; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #ebeee8; }
.product-footer strong { font: 800 1rem "Manrope"; }
.add-button { padding: 8px 10px; border: 0; border-radius: 9px; color: white; background: var(--ink); font-size: .72rem; font-weight: 700; cursor: pointer; }
.add-button:hover { color: var(--ink); background: var(--lime); }
.add-button.disabled { color: #98a2b3; background: #edf0eb; cursor: not-allowed; }
.empty-state { padding: 40px; border: 1px dashed #c7cec4; border-radius: 16px; color: var(--muted); text-align: center; }

.steps-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 150px); padding: 100px clamp(22px, 7vw, 108px); color: white; background: var(--ink); }
.steps-copy p { max-width: 440px; color: #93a1b2; }
.steps-list { display: flex; flex-direction: column; }
.steps-list article { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.13); }
.steps-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.steps-list article > span { color: var(--lime); font: 700 .78rem "Manrope"; }
.steps-list h3 { margin: 0 0 6px; font: 700 1.1rem "Manrope"; }
.steps-list p { margin: 0; color: #93a1b2; font-size: .85rem; }

footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; padding: 52px clamp(22px, 7vw, 108px) 30px; background: #050c16; color: white; }
.footer-brand p { margin: 10px 0 0; color: #7f8c9f; font-size: .86rem; }
.footer-links { display: flex; gap: 24px; color: #a9b4c3; font-size: .78rem; }
.footer-links a:hover { color: var(--lime); }
.copyright { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #647084; font-size: .72rem; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 11px; min-width: 270px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: white; background: var(--ink-soft); box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--ink); background: var(--lime); font-weight: 900; }
.toast p { display: flex; flex-direction: column; margin: 0; line-height: 1.3; }
.toast small { color: #9aa7b8; font-size: .7rem; }

@media (max-width: 1050px) {
  .main-nav { display: none; position: absolute; top: 78px; left: 18px; right: 18px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav a.active::after { display: none; }
  .menu-button { display: grid; place-items: center; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr 1fr; gap: 35px; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .announcement { font-size: .68rem; }
  .site-header { height: 68px; padding: 0 16px; }
  .main-nav { top: 68px; }
  .login-button { display: none; }
  .cart-button span { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 62px 22px 50px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .hero-stage { min-height: 440px; margin-top: 20px; }
  .feature-card { width: 66%; left: 5%; }
  .mini-card { width: 47%; min-width: 190px; }
  .category-section, .products-section { padding: 65px 20px; }
  .compact-heading, .section-heading { align-items: stretch; flex-direction: column; }
  .search-wrap { width: 100%; }
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 92px; }
  .product-cover { aspect-ratio: 1.5; }
  .steps-section { grid-template-columns: 1fr; gap: 32px; padding: 72px 22px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 14px 20px; }
  .copyright { grid-column: auto; }
}

@media (max-width: 430px) {
  .brand { font-size: 1.08rem; }
  .brand-mark { width: 31px; height: 31px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .primary-button { justify-content: space-between; }
  .text-button { align-self: flex-start; }
  .hero-stage { min-height: 400px; }
  .feature-card { min-height: 325px; padding: 20px; }
  .feature-card h2 { font-size: 1.8rem; }
  .mini-card { min-width: 174px; grid-template-columns: 40px 1fr; }
  .mini-card > span { display: none; }
  .mini-visual { width: 40px; height: 40px; }
  .mini-card-one { top: 135px; }
  .mini-card-two { bottom: 28px; }
  .toast { left: 16px; right: 16px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
