/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --bg: #0f0a1a;
  --bg-card: #1a1229;
  --bg-card-hover: #241a35;
  --text: #f1f0f5;
  --text-muted: #a09bb0;
  --border: rgba(255,255,255,.08);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,.4);
  --transition: .25s ease;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ── Header & Nav ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,10,26,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .925rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(124,58,237,.15);
}

.nav-link.active {
  color: var(--primary-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Page Sections ── */
.page { display: none; padding-top: 64px; }
.page.active { display: block; }

.section { padding: 80px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,33,182,.6) 0%, rgba(15,10,26,.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-company {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1.5px #e879a9;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,.5);
}

.btn-outline {
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
}

.btn-outline:hover {
  background: rgba(124,58,237,.15);
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.3);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* ── Product Series ── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(124,58,237,.3);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #1a1229;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.product-body {
  padding: 20px;
}

.product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.product-desc {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-light);
}

.btn-sm {
  padding: 8px 18px;
  font-size: .85rem;
  border-radius: 50px;
  background: rgba(124,58,237,.2);
  color: var(--primary-light);
  transition: var(--transition);
}

.btn-sm:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Promo Banner ── */
.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.4);
}

.promo-content {
  position: relative;
  z-index: 1;
  padding: 48px;
}

.promo-content h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.promo-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── About Page ── */
.page-banner {
  position: relative;
  height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}

.page-banner-text {
  position: relative;
  z-index: 1;
  padding: 0 0 40px;
}

.page-banner-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.page-banner-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-label {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 4px;
}

.story-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.story-company {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1.5px #e879a9;
  margin-bottom: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: rgba(124,58,237,.3);
  transform: translateY(-4px);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary);
}

.team-card h3 { font-size: 1.1rem; }
.team-role { color: var(--primary-light); font-size: .85rem; margin: 4px 0 12px; }
.team-bio { color: var(--text-muted); font-size: .9rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.value-card:hover { border-color: rgba(124,58,237,.3); }
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: .9rem; }

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(124,58,237,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: .95rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(124,58,237,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 8px;
  color: #86efac;
  margin-top: 16px;
  text-align: center;
}

.form-success.show { display: block; }

/* ── Privacy Page ── */
.privacy-content {
  max-width: 800px;
}

.privacy-section {
  margin-bottom: 36px;
}

.privacy-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary-light);
}

.privacy-subtitle {
  font-size: 1.05rem;
  margin: 20px 0 10px;
  color: var(--text);
}

.privacy-section p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 10px;
}

.privacy-list-item {
  padding-left: 8px;
  margin-bottom: 4px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: .85rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-company {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-contact {
  line-height: 1.7;
  max-width: 420px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

#copyright {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-nav a {
  transition: var(--transition);
}

.footer-nav a:hover { color: var(--primary-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-list {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15,10,26,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 18px;
    font-size: 1rem;
  }

  .hero { min-height: 70vh; }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .promo-content { padding: 32px 24px; }
  .promo-content h2 { font-size: 1.4rem; }

  .page-banner { height: 240px; }
  .page-banner-text h1 { font-size: 1.8rem; }

  .section { padding: 56px 0; }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-contact {
    max-width: none;
  }
}
