/* ═══════════════════════════════════════════════════════
   DARKCO STUDIO — Streetwear E-commerce CSS
   Dark, Bold, Underground
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;
  --bg-hover: #222222;
  --text: #e8e8e8;
  --text-dim: #888888;
  --text-muted: #555555;
  --accent: #ff3c3c;
  --accent-glow: rgba(255, 60, 60, 0.3);
  --accent-secondary: #ff6b2b;
  --white: #ffffff;
  --border: #2a2a2a;
  --border-hover: #3a3a3a;
  --success: #22c55e;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1320px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── HEADER / NAV ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.logo {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--white);
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-dim); transition: var(--transition);
}
.nav a:hover { color: var(--white); }
.nav a.active { color: var(--accent); }
.nav-cta {
  padding: 10px 24px; background: var(--accent); color: #ffffff !important;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; border: none; border-radius: 4px;
  transition: var(--transition); text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.nav-cta:hover { background: var(--accent-secondary); transform: translateY(-1px); color: #ffffff !important; }

.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0a0a0a 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 70% 50%, rgba(255,60,60,0.08) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 680px; padding: 120px 0 80px;
}
.hero-tag {
  display: inline-block; padding: 6px 16px;
  background: rgba(255, 60, 60, 0.1); border: 1px solid rgba(255, 60, 60, 0.2);
  border-radius: 4px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px; color: var(--accent);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(48px, 8vw, 96px);
  font-weight: 700; line-height: 0.95; text-transform: uppercase;
  letter-spacing: -1px; margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: 18px; color: var(--text-dim); line-height: 1.7;
  max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  padding: 16px 40px; background: #ffffff; color: #0a0a0a;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; border: none; border-radius: 4px;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--accent); color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-outline {
  padding: 16px 40px; background: transparent; color: var(--white);
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; border: 1px solid var(--border); border-radius: 4px;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.stat-item {
  padding: 32px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.stat-number span { color: var(--accent); }
.stat-label {
  font-size: 12px; color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 2px; margin-top: 8px;
}

/* ── SECTION ── */
.section { padding: 100px 0; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; flex-wrap: wrap; gap: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 48px);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.section-title .accent { color: var(--accent); }
.section-subtitle {
  font-size: 14px; color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 8px;
}
.section-link {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.section-link:hover { color: var(--accent-secondary); }

/* ── PRODUCT SLIDER ── */
.products-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 20px; scrollbar-width: none;
}
.products-track::-webkit-scrollbar { display: none; }

.product-card {
  min-width: 300px; flex-shrink: 0; scroll-snap-align: start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); position: relative;
}
.product-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.product-img {
  width: 100%; aspect-ratio: 3/4; background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; position: relative; overflow: hidden;
}
.product-img .placeholder-icon {
  font-size: 64px; opacity: 0.15;
}
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; border-radius: 2px;
}
.product-info { padding: 20px; }
.product-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.product-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }
.product-price {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--accent);
}
.product-price .from { font-size: 13px; color: var(--text-dim); font-weight: 400; font-family: var(--font-body); }

/* ── PRINT GALLERY ── */
.gallery-filters {
  display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; color: var(--text-dim); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent); border-color: var(--accent); color: var(--white);
}
.prints-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.print-item {
  aspect-ratio: 1; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  transition: var(--transition); display: flex; align-items: center;
  justify-content: center; position: relative;
}
.print-item:hover {
  border-color: var(--accent); transform: scale(1.03);
  box-shadow: 0 0 20px var(--accent-glow);
}
.print-item .print-icon { font-size: 48px; opacity: 0.3; }
.print-item .print-tag {
  position: absolute; bottom: 8px; left: 8px;
  padding: 2px 8px; background: rgba(0,0,0,0.7); border-radius: 3px;
  font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px;
}

/* ── CONSTRUCTOR PREVIEW ── */
.constructor-section {
  background: linear-gradient(180deg, var(--bg) 0%, #120808 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.constructor-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.constructor-preview {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.constructor-preview::after {
  content: 'КОНСТРУКТОР'; position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%); font-family: var(--font-display);
  font-size: 12px; letter-spacing: 4px; color: var(--text-muted);
  text-transform: uppercase;
}
.tshirt-mockup {
  width: 280px; height: 340px; background: #1a1a1a;
  border-radius: 8px; position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.tshirt-mockup .print-area {
  width: 140px; height: 180px; border: 2px dashed var(--border);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-muted); text-align: center;
  letter-spacing: 1px; text-transform: uppercase; padding: 12px;
}
.constructor-info h2 {
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 20px; line-height: 1.1;
}
.constructor-info p { font-size: 16px; color: var(--text-dim); margin-bottom: 24px; line-height: 1.7; }

.constructor-steps { list-style: none; margin-bottom: 32px; }
.constructor-steps li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text);
}
.step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--white);
}

/* ── SUBBRANDS ── */
.subbrands-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.subbrand-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
}
.subbrand-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.subbrand-card:nth-child(1)::before { background: var(--accent); }
.subbrand-card:nth-child(2)::before { background: #a855f7; }
.subbrand-card:nth-child(3)::before { background: #f59e0b; }
.subbrand-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.subbrand-icon { font-size: 48px; margin-bottom: 16px; }
.subbrand-name {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.subbrand-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 16px; font-weight: 500;
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-arrow { font-size: 18px; transition: transform 0.3s; color: var(--text-dim); }
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 0 20px; font-size: 14px; color: var(--text-dim); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #1a0808 0%, #0a0a0a 50%, #1a0808 100%);
  border: 1px solid rgba(255, 60, 60, 0.15);
  border-radius: var(--radius); padding: 80px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,60,60,0.06) 0%, transparent 70%);
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: 48px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 16px; position: relative;
}
.cta-banner p {
  font-size: 16px; color: var(--text-dim); margin-bottom: 32px;
  max-width: 500px; margin-left: auto; margin-right: auto; position: relative;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border); padding: 60px 0 30px;
  background: var(--bg-card);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); line-height: 1.6; max-width: 280px; }
.footer h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
  color: var(--white);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; color: var(--text-dim); transition: var(--transition); }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  text-align: center; font-size: 12px; color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .constructor-grid { grid-template-columns: 1fr; }
  .subbrands-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 48px; }
  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 32px; }
  .product-card { min-width: 260px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px; }
  .stat-number { font-size: 32px; }
  .prints-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
