:root {
  --bg: #0f172a;
  --bg-2: #111827;
  --card: #0b1220;
  --primary: #4f46e5;
  --primary-2: #7c3aed;
  --accent: #22c55e;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --link: #60a5fa;
  --shadow: rgba(0,0,0,0.25);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #0b1020 0%, #0a0f1c 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.logo-img {
  max-width: 150px;
  max-height: 80px;
  width: auto;
  height: auto;
}

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

.nav a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.2s ease;
  font-weight: 500;
}

.nav a:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
}

.badge {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-left: 4px;
}

.hero {
  padding: 56px 0 24px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.hero-card {
  background: radial-gradient(1200px 600px at 0% 0%, rgba(99,102,241,0.15), transparent 60%), var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px var(--shadow);
}

.hero h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 12px 0;
}

.hero p {
  color: var(--muted);
  margin: 0 0 20px 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.3s ease;
  box-shadow: 0 6px 18px rgba(99,102,241,0.25);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(99,102,241,0.35);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.section {
  padding: 28px 0;
}

.section-title {
  font-size: 24px;
  margin: 0 0 10px 0;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 16px 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.15);
  margin-bottom: 10px;
}

.feature h4 {
  margin: 0 0 6px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat .num {
  font-size: 22px;
  font-weight: 800;
}

.stat .label {
  color: var(--muted);
  font-size: 13px;
}

.rich-text {
  background: linear-gradient(180deg, #0b1220, #0b1322);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  color: var(--text);
}

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

.product-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.product-image {
  width: 100%;
  max-width: 250px;
  height: 250px;
  max-height: 250px;
  aspect-ratio: 1/1;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}

.product-info h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
}

.product-info p {
  margin: 0 0 10px 0;
  color: var(--muted);
}

.price {
  font-weight: 800;
  font-size: 18px;
  margin: 8px 0;
}

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

.footer {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  background: rgba(10, 15, 28, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 22px 0;
}

.footer a {
  color: var(--link);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: 0.2s ease;
}

.socials a:hover {
  transform: translateY(-1px);
  background: rgba(99,102,241,0.12);
}

.footer-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: none;
  z-index: 100;
  box-shadow: 0 10px 30px var(--shadow);
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn.warning {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #0b0f1a;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.table th, .table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.table tfoot td {
  font-weight: 700;
}

.qty-input {
  width: 78px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0b1220;
  color: var(--text);
}

.remove-btn {
  background: transparent;
  border: 1px solid var(--danger);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.form input, .form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1220;
  color: var(--text);
  outline: none;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.small {
  font-size: 13px;
  color: var(--muted);
}

.inline-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-list a {
  color: var(--link);
  text-decoration: none;
}

.inline-list a:hover {
  text-decoration: underline;
}

/* Team required block */
.team-member {
  text-align: center;
  margin: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.team-photo {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 15px;
  aspect-ratio: 1/1;
}
.team-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #333;
}
.team-position {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  margin: 5px 0 10px 0;
}
.team-bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 10px 0;
}

/* Team layout wrapper */
.team-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.team-member {
  background: #ffffff;
  color: #111827;
  border-radius: 14px;
}
.team-member .team-name {
  color: #111827;
}
.team-member .team-position {
  color: #374151;
}
.team-member .team-bio {
  color: #374151;
}

/* Custom scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #6066f2 #0b1220;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0b1220;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6066f2, #7c3aed);
  border-radius: 10px;
  border: 2px solid #0b1220;
}

/* Utility */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

hr.sep {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.tag {
  display: inline-block;
  padding: 6px 8px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #22c55e;
  border-radius: 999px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner, .grid-2, .product-card {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features, .stats, .footer-inner, .team-grid {
    grid-template-columns: 1fr;
  }
  .actions {
    flex-direction: column;
  }
}
