@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&display=swap');

:root {
  --aero-blue: #00c4ff;
  --aero-glow: #66ffff;
  --aero-dark: #0b003d;
}

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

body {
  font-family: 'Exo 2', sans-serif;
  color: white;
  background: var(--aero-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--aero-glow);
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--aero-blue);
  text-shadow: 0 0 10px var(--aero-blue);
}

.theme-toggle {
  margin-left: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

.theme-toggle:hover {
  background: rgba(0, 200, 255, 0.2);
  color: var(--aero-blue);
}

/* PAGE HEADER */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--aero-blue);
  text-shadow: 0 0 10px var(--aero-glow);
}

.page-header p {
  margin-top: 0.8rem;
  opacity: 0.8;
}

/* FEATURED PRODUCT */
.featured {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 3rem 5%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  margin: 0 auto 4rem;
  max-width: 1100px;
  backdrop-filter: blur(10px);
}

.featured img {
  width: 320px;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
}

.featured-info {
  max-width: 400px;
}

.featured-info h2 {
  color: var(--aero-glow);
  margin-bottom: 1rem;
}

.featured-info p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem 8%;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  text-align: center;
  padding: 1.5rem;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.product-card img {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.product-card p {
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--aero-blue);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 0 15px var(--aero-glow);
}

.btn:hover {
  background: var(--aero-glow);
  color: #000;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  margin-top: 4rem;
}

/* LIGHT THEME */
body.light {
  background: linear-gradient(160deg, #e0f7ff, #cce0ff, #d9e6ff);
  color: #000;
}

body.light .product-card {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
}

body.light .btn {
  background: #00c4ff;
  color: #fff;
}
