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

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #16161f;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --text: #f0f0f5;
  --muted: rgba(240,240,245,0.5);
  --muted2: rgba(240,240,245,0.3);
  --highlight: #6366f1;
  --highlight2: #818cf8;
  --green: #22c55e;
  --radius: 14px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo span { color: var(--highlight2); }

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

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

.btn-nav {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 8px 18px;
  transition: border-color 0.2s, background 0.2s !important;
}

.btn-nav:hover {
  border-color: var(--highlight) !important;
  background: rgba(99,102,241,0.1) !important;
  color: var(--text) !important;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 48px 100px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(99,102,241,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--highlight2);
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 99px;
  padding: 5px 16px;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--highlight2) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--highlight);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-primary:hover {
  background: #4f52e0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  transition: border-color 0.15s, background 0.15s;
}

.btn-ghost:hover {
  border-color: var(--highlight);
  background: rgba(99,102,241,0.08);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #0a0a0f;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: opacity 0.15s, transform 0.1s;
}

.btn-white:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Section ── */
section { padding: 96px 48px; }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--highlight2);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--highlight2);
  border-radius: 99px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ── Products ── */
.products { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.product-card {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: 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: 1px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 8px 48px rgba(99,102,241,0.12);
}

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

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(167,139,250,0.1));
  border: 1px solid rgba(99,102,241,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.product-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 520px;
}

.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
}

.tag.live {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.3);
  color: var(--green);
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.15s;
}

.service-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.service-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── About ── */
.about { border-top: 1px solid var(--border); }

.about-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-inner h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-inner p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ── Contact ── */
.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(99,102,241,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}

.contact p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted2);
  font-size: 12px;
}

footer a { color: var(--muted2); transition: color 0.15s; }
footer a:hover { color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 680px) {
  nav { padding: 0 20px; }
  .nav-links a:not(.btn-nav) { display: none; }
  section { padding: 64px 20px; }
  .hero { padding: 80px 20px 64px; }
  .hero h1 { letter-spacing: -1.5px; }
  .product-card { flex-direction: column; gap: 20px; }
  footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px 20px; }
}
