*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2b3ef5;
  --blue-dark: #1a2bcc;
  --blue-light: #3d52ff;
  --dark: #0f1117;
  --dark2: #181c2a;
  --text: #1a1d2e;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --card-bg: #fff;
  --accent: #00d4ff;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #f8f9fc;
  overflow-x: hidden;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 58px;
  background: var(--dark2);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #fff; }

.nav-cart {
  background: var(--blue);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: background 0.2s;
}

.nav-cart:hover { background: var(--blue-light); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a2bcc 0%, #2b3ef5 50%, #3d52ff 100%);
  padding: 64px 40px 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  right: 100px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content { max-width: 560px; position: relative; z-index: 1; }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 300;
  max-width: 420px;
}

.hero p strong { font-weight: 500; color: rgba(255,255,255,0.95); }

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}

.btn-primary:hover { background: rgba(255,255,255,0.25); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.5); color: white; }

/* FEATURES */
.features {
  padding: 52px 40px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
  background: #fff;
}

.feature-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 20px rgba(43,62,245,0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
}

.feature-card:nth-child(1) .feature-icon { background: #eff6ff; }
.feature-card:nth-child(2) .feature-icon { background: #f0fdf4; }
.feature-card:nth-child(3) .feature-icon { background: #faf5ff; }
.feature-card:nth-child(4) .feature-icon { background: #fff7ed; }

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.feature-card p span { color: var(--blue); font-weight: 500; }

/* PRODUCTS */
.products {
  padding: 52px 40px;
  background: #f8f9fc;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.btn-outline {
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  padding: 7px 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: #c7d2fe;
}

.product-img-placeholder {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.p1 { background: linear-gradient(135deg, #0f0f23, #1a0a2e, #2d1b69); }
.p2 { background: linear-gradient(135deg, #1a1200, #2d2000, #3d2d00); }
.p3 { background: linear-gradient(135deg, #001a2e, #002d4d, #003d6b); }
.p4 { background: linear-gradient(135deg, #f0f0f0, #e8e8e8, #d0d0d0); }

.product-info { padding: 14px 16px 18px; }

.product-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.3;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  font-family: 'Syne', sans-serif;
}

/* SERVICE BANNER */
.service-banner {
  background: var(--dark2);
  padding: 60px 40px;
  text-align: center;
}

.service-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.service-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
  font-weight: 300;
}

.btn-service {
  background: var(--blue);
  color: white;
  border: none;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}

.btn-service:hover { background: var(--blue-light); transform: translateY(-1px); }

/* FOOTER */
footer {
  background: var(--dark);
  padding: 48px 40px 28px;
  color: rgba(255,255,255,0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-brand h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}

.footer-col p, .footer-col a {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  display: block;
  text-decoration: none;
}

.footer-col a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .features-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2rem; }
  nav { padding: 0 20px; }
}