/* ========== ROOT COLORS ========== */
:root {
  --blue: #00f0ff;
  --green: #39ff14;
  --orange: #ff6a00;
  --dark: #0a0a0a;
  --dark2: #111827;
  --card-bg: #1a1a2e;
  --text: #f0f0f0;
  --muted: #a0a0a0;
  --border: rgba(0, 240, 255, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 10px; }

/* ========== HEADER ========== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

header img { height: 88px; object-fit: contain; }

nav { display: flex; gap: 28px; align-items: center; }

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s;
}

nav a:hover { color: var(--blue); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--blue); }

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.btn-blue {
  background: var(--blue); color: #000;
  box-shadow: 0 0 16px rgba(0,240,255,0.4);
}
.btn-blue:hover { box-shadow: 0 0 28px rgba(0,240,255,0.7); transform: translateY(-2px); }

.btn-orange {
  background: var(--orange); color: #fff;
  box-shadow: 0 0 16px rgba(255,106,0,0.4);
}
.btn-orange:hover { box-shadow: 0 0 28px rgba(255,106,0,0.7); transform: translateY(-2px); }

.btn-green {
  background: var(--green); color: #000;
  box-shadow: 0 0 16px rgba(57,255,20,0.4);
}
.btn-green:hover { box-shadow: 0 0 28px rgba(57,255,20,0.7); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #000; }

/* ========== HERO ========== */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: radial-gradient(ellipse at top, #0d1b2a 0%, var(--dark) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0,240,255,0.05) 0%, transparent 60%);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== VIDEO BOX ========== */
.video-box {
  max-width: 800px;
  margin: 48px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0,240,255,0.15);
}

.video-box video { width: 100%; display: block; }

.video-placeholder {
  background: var(--card-bg);
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--muted);
  gap: 12px;
}

.video-placeholder span { font-size: 3rem; }

/* ========== SECTIONS ========== */
section { padding: 80px 40px; }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CARDS ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(0,240,255,0.15);
}

.card:hover::before { opacity: 1; }
.card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--blue); }
.card p { color: var(--muted); font-size: 0.9rem; }

/* ========== MEMBERSHIP ========== */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.membership-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.membership-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 32px rgba(255,106,0,0.2);
}

.membership-card .badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.membership-card h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--blue); }

.membership-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0;
}

.membership-card .price span { font-size: 1rem; color: var(--muted); font-weight: 400; }

.membership-card ul { list-style: none; margin: 24px 0; text-align: left; }

.membership-card ul li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.membership-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ========== RECIPE CARDS ========== */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.recipe-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(57,255,20,0.15);
  border-color: var(--green);
}

.recipe-img {
  height: 180px;
  background: linear-gradient(135deg, #1a1a2e, #0d2137);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.recipe-info { padding: 20px; }
.recipe-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--green); }
.recipe-info p { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }

.recipe-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  background: rgba(0,240,255,0.1);
  color: var(--blue);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0,240,255,0.2);
}

/* ========== FILTER BAR ========== */
.filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: #000;
  border-color: var(--blue);
}

/* ========== SEARCH BAR ========== */
.search-bar {
  display: flex;
  max-width: 500px;
  margin: 0 auto 40px;
  gap: 0;
}

.search-bar input {
  flex: 1;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.search-bar input:focus { border-color: var(--blue); }

.search-bar button {
  padding: 12px 20px;
  background: var(--blue);
  color: #000;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.search-bar button:hover { background: var(--green); }

/* ========== INVENTORY ========== */
.inventory-tool {
  max-width: 900px;
  margin: 0 auto;
}

.inventory-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 32px;
  background: var(--card-bg);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.inventory-form input,
.inventory-form select {
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.inventory-form input:focus,
.inventory-form select:focus { border-color: var(--blue); }

.inventory-list { display: flex; flex-direction: column; gap: 12px; }

.inventory-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s;
}

.inventory-item:hover { border-color: var(--green); }

.item-info { display: flex; align-items: center; gap: 16px; }
.item-name { font-weight: 600; color: var(--text); }
.item-qty { color: var(--muted); font-size: 0.85rem; }

.item-expiry {
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
}

.expiry-ok { background: rgba(57,255,20,0.1); color: var(--green); }
.expiry-soon { background: rgba(255,106,0,0.1); color: var(--orange); }
.expiry-expired { background: rgba(255,50,50,0.1); color: #ff5050; }

.item-actions { display: flex; gap: 8px; }

.item-actions button {
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-edit { background: rgba(0,240,255,0.1); color: var(--blue); }
.btn-edit:hover { background: var(--blue); color: #000; }
.btn-delete { background: rgba(255,50,50,0.1); color: #ff5050; }
.btn-delete:hover { background: #ff5050; color: #fff; }

/* ========== SHOPPING LIST ========== */
.shopping-list {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-top: 40px;
}

.shopping-list h3 { color: var(--orange); margin-bottom: 16px; font-size: 1.2rem; }

.shopping-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.9rem;
}

.shopping-item input[type="checkbox"] { accent-color: var(--green); width: 16px; height: 16px; }
.shopping-item.checked { text-decoration: line-through; opacity: 0.5; }

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(255,106,0,0.15);
}

.blog-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #1a1a2e, #2a1a0e);
}

.blog-content { padding: 20px; }
.blog-content .category {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.blog-content p { color: var(--muted); font-size: 0.85rem; margin-bottom: 16px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; }
.blog-meta span { font-size: 0.75rem; color: var(--muted); }

/* ========== FAQ ========== */
.faq { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}

.faq-question:hover { color: var(--blue); }
.faq-question .arrow { transition: transform 0.3s; color: var(--blue); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 24px;
}

.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 20px; }

/* ========== FORM ========== */
.form-box {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }

/* ========== NEWSLETTER ========== */
.newsletter {
  background: linear-gradient(135deg, #0d1b2a, #1a0a2e);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter h2 { color: var(--blue); margin-bottom: 12px; font-size: 1.8rem; }
.newsletter p { color: var(--muted); margin-bottom: 28px; }

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text);
  outline: none;
}

.newsletter-form input:focus { border-color: var(--blue); }

.newsletter-form button {
  padding: 12px 24px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.newsletter-form button:hover { background: var(--blue); color: #000; }

/* ========== STATS BAR ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px; left: 20px;
  font-size: 4rem;
  color: var(--blue);
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; font-style: italic; }
.testimonial .author { font-weight: 700; color: var(--blue); font-size: 0.85rem; }
.testimonial .stars { color: var(--orange); font-size: 0.85rem; margin-bottom: 8px; }

/* ========== FOOTER ========== */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col p { color: var(--muted); font-size: 0.85rem; line-height: 1.8; }

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.social-links { display: flex; gap: 12px; margin-top: 16px; }

.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.social-links a:hover { border-color: var(--blue); color: var(--blue); }

/* ========== MOBILE NAV ========== */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid var(--border);
  padding: 20px 40px;
}

.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--blue); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header { padding: 16px 20px; }
  nav { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  section { padding: 60px 20px; }
  .inventory-form { grid-template-columns: 1fr; }
  footer { padding: 40px 20px 20px; }
  .newsletter { padding: 40px 20px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input,
  .newsletter-form button { border-radius: 8px; border-right: 1px solid var(--border); }
}

/* ========== GLOW DIVIDER ========== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--green), var(--orange), transparent);
  margin: 0;
  opacity: 0.4;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: radial-gradient(ellipse at top, #0d1b2a 0%, var(--dark) 70%);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ========== TOAST NOTIFICATION ========== */
.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: var(--card-bg);
  border: 1px solid var(--green);
  color: var(--green);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(57,255,20,0.2);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s;
}

.toast.show { transform: translateY(0); opacity: 1; }
