/* ============================================
   NexusForge Digital — Shared Stylesheet
   ============================================ */

/* CSS VARIABLES */
:root {
  --bg-dark: #0f172a;
  --card-bg: #1e293b;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* NAVIGATION */
nav {
  background-color: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: var(--accent-blue);
}

/* HAMBURGER BUTTON */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* CARDS */
.card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #334155;
}

/* BUY BUTTON */
.buy-btn {
  display: inline-block;
  background-color: transparent;
  color: white;
  border: 2px solid var(--accent-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.buy-btn:hover {
  background-color: var(--accent-blue);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* FOOTER */
footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
}

footer .container {
  padding: 0;
}

/* FORMS (contact page) */
input, textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #334155;
  background-color: #1e293b;
  color: white;
  box-sizing: border-box;
}

button[type="submit"] {
  background-color: var(--accent-blue);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  height: 44px;
  line-height: 44px;
  text-align: center;
  display: inline-block;
}

button[type="submit"]:hover {
  background-color: #2563eb;
}

/* ============================================
   MOBILE — Tablet (max 768px)
   ============================================ */
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
  }

  .nav-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0f172a;
    border-bottom: 1px solid #1e293b;
    z-index: 999;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  }

  nav ul.open {
    display: flex;
  }

  nav ul li a {
    font-size: 0.95rem;
    padding: 0.3rem 0;
    display: block;
  }
}

/* ============================================
   MOBILE — Small phones (max 640px)
   ============================================ */
@media (max-width: 640px) {
  .container {
    padding: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .buy-btn {
    width: 100%;
    display: block;
    text-align: center;
  }

  h1 {
    font-size: 1.9rem;
    letter-spacing: -0.03em;
  }

  input, textarea {
    font-size: 1rem;
  }

  button[type="submit"] {
    width: 100%;
  }
}

/* ============================================
   PRODUCT PAGE — Layout, Cards, FAQ
   ============================================ */

/* PRODUCT PAGE STRUCTURE */
.product-header h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-header .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

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

/* PRODUCT CARD */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.product-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* FEATURES LIST */
.product-features {
  margin: 0 0 1.5rem 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.product-features li {
  margin-bottom: 0.5rem;
}

/* PRICE + BUTTON ROW */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
}

/* FAQ SECTION */
.faq {
  margin-top: 4rem;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h4 {
  margin-bottom: 0.5rem;
}
/* FAQ — Softer, smaller, slightly indented answers */
.faq-item p {
  font-size: 1rem;            /* reduced size */
  color: var(--text-muted);   /* softer color */
  line-height: 1.55;          /* balanced spacing */
  margin-left: 0.25rem;       /* subtle indent */
}


/* ============================================
   PRODUCT PAGE — Edits & Improvements
   ============================================ */

/* EDIT #1 — Improve spacing between price and button */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* EDIT #2 — Reduce spacing */
.product-header {
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.product-grid {
  margin-top: 1rem;
}

.faq {
  margin-top: 2.5rem;
}

/* EDIT #3 — Increase FAQ text size */
.faq-item p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.faq-item h4 {
  font-size: 1.25rem;
}

/* EDIT #4 — Optional FAQ spacing */
.faq-item {
  margin-bottom: 1.25rem;
}
.product-header.container {
  padding-top: 1rem;
}

.product-header .subtitle {
  margin-bottom: 1.5rem;
}

.product-grid.container {
  margin-top: 0.5rem;
}

.faq.container {
  margin-top: 2rem;
}
/* EDIT #5 — Tighter spacing overrides */
.product-header.container {
  padding-top: 1rem;
}

.product-header .subtitle {
  margin-bottom: 1.5rem;
}

.product-grid.container {
  margin-top: 0.5rem;
}

.faq.container {
  margin-top: 2rem;
}

/* ============================================
   ABOUT PAGE — Layout & Sections
   ============================================ */

.about-hero h1 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.about-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

.about-mission,
.about-audience,
.about-differentiators,
.about-founder,
.about-cta {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.about-mission h2,
.about-audience h2,
.about-differentiators h2,
.about-founder h2,
.about-cta h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.about-audience ul,
.about-differentiators ul {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 600;
}

.about-founder p,
.about-mission p,
.about-cta p {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.about-cta {
  text-align: center;
}

.about-cta .buy-btn {
  margin-top: 1rem;
}
/* Contact Page — Optional Links */
.contact-small-link a {
  color: #3b82f6;
}
/* HOMEPAGE — Why Choose Us (Enhanced) */

.wcu-subtitle {
  color: var(--text-muted);
  font-size: 1rem; /* slightly smaller */
  max-width: 650px;
  margin: 0 auto 2rem auto;
}

.wcu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.wcu-item {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.wcu-item h3 {
  margin-bottom: 0.5rem;
}

.wcu-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

