/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0d17;
  --bg2:       #111422;
  --bg3:       #181c2e;
  --accent:    #5c7cfa;
  --accent2:   #845ef7;
  --text:      #e8eaf0;
  --muted:     #8b90a8;
  --border:    rgba(92, 124, 250, 0.18);
  --radius:    12px;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

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

/* ─── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(11, 13, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-logo img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--text); }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(132, 94, 247, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(92, 124, 250, 0.12) 0%, transparent 60%),
    var(--bg);
}

.hero-inner {
  max-width: 720px;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 32px;
  border-radius: 28px;
  box-shadow: 0 16px 60px rgba(92, 124, 250, 0.35);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(92, 124, 250, 0.35);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92, 124, 250, 0.45);
}

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

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ─── Sections ─────────────────────────────────────────────────────── */
section {
  padding: 96px 5%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ─── Products ─────────────────────────────────────────────────────── */
#products { background: var(--bg2); }

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

.product-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 124, 250, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.product-card:hover::before { opacity: 1; }

.product-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(92, 124, 250, 0.12);
  color: var(--accent);
  border: 1px solid rgba(92, 124, 250, 0.2);
  margin-right: 6px;
  margin-bottom: 6px;
}

.tag.purple {
  background: rgba(132, 94, 247, 0.12);
  color: #a78bfa;
  border-color: rgba(132, 94, 247, 0.2);
}

/* ─── About ─────────────────────────────────────────────────────────── */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-text p:last-child { margin-bottom: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.stat-card .number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Contact ──────────────────────────────────────────────────────── */
#contact { background: var(--bg2); }

.contact-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-box .section-title { margin-bottom: 12px; }

.contact-box p {
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 28px;
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--accent2);
  border-color: var(--accent2);
  background: rgba(132, 94, 247, 0.08);
}

/* ─── Footer ────────────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 5%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-logo img {
  height: 24px;
  width: auto;
  border-radius: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ─── Privacy Page ─────────────────────────────────────────────────── */
.privacy-page {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 96px;
  padding-left: 5%;
  padding-right: 5%;
}

.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.privacy-content .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.privacy-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.privacy-content ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.privacy-content li { margin-bottom: 6px; }

.privacy-content a { color: var(--accent); }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 14px 5%;
    font-size: 1rem;
  }

  .nav-toggle { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-box {
    padding: 36px 24px;
  }

  .hero-logo { width: 150px; }

  .btn-ghost { margin-left: 0; margin-top: 12px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
