﻿@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --bg: #f7f8fb;
  --ink: #0f1a2b;
  --muted: #55657a;
  --accent: #ffb703;
  --accent-2: #00b4d8;
  --accent-3: #ef476f;
  --card: #ffffff;
  --line: rgba(15, 26, 43, 0.12);
  --shadow: 0 18px 45px rgba(15, 26, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Archivo', sans-serif;
  color: var(--ink);
  background: radial-gradient(900px 500px at 8% -10%, rgba(0, 180, 216, 0.22) 0%, transparent 55%),
    radial-gradient(700px 500px at 90% 0%, rgba(255, 183, 3, 0.25) 0%, transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(239, 71, 111, 0.2) 0%, transparent 55%),
    var(--bg);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(15, 26, 43, 0.04),
    rgba(15, 26, 43, 0.04) 1px,
    transparent 1px,
    transparent 10px
  );
  opacity: 0.35;
  z-index: 0;
}

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

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 251, 0.86);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(15, 26, 43, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f1a2b;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  padding: 90px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  margin: 0 0 14px;
}

.hero p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn.primary {
  background: linear-gradient(135deg, var(--ink), #0b1220);
  color: #fff;
  border-color: var(--ink);
}

.btn.secondary {
  background: #fff;
}

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

.hero-card {
  background: linear-gradient(140deg, #ffffff, #f3f7ff);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid rgba(0, 180, 216, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.hero-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 183, 3, 0.2);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-card h3 {
  margin: 16px 0 8px;
}

.hero-card .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.hero-card strong {
  font-size: 20px;
  color: var(--ink);
}

.hero-shape {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(255, 183, 3, 0.45), rgba(0, 180, 216, 0.3), rgba(239, 71, 111, 0.35), rgba(255, 183, 3, 0.45));
  top: -80px;
  right: -60px;
  opacity: 0.75;
  animation: drift 14s ease-in-out infinite;
}

.section {
  padding: 80px 0;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 16px;
}

.section p.lead {
  color: var(--muted);
  max-width: 680px;
}

.catalog-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 20px;
}

.chip {
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chip.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 26, 43, 0.2);
}

.chip:hover {
  transform: translateY(-1px);
}

.search {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  min-width: 200px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow);
}

.card img {
  border-radius: 14px;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.card h4 {
  margin: 0;
}

.price {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-3);
}

.card .sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.15);
  color: var(--ink);
}

.order-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.cart {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.cart ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
}

.qty {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.qty button {
  border: 1px solid var(--line);
  background: #fff;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.qty button:hover {
  transform: scale(1.05);
}

.form {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.input {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.input input,
.input select,
.input textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input input:focus,
.input select:focus,
.input textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.payment-note {
  font-size: 12px;
  color: var(--muted);
}

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  filter: blur(6px);
  transition: all 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(24px) rotate(6deg);
  }
}

@media (max-width: 900px) {
  .order-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
