/* ==========================================================================
   VylosAura — Brand Stylesheet
   Brand blue primary · natural green accent · clean premium typography
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Brand palette — VylosAura blue primary (#2b9cdb) with natural green accent.
     Note: --forest/--sage/--clay names are retained as semantic slots:
       --forest = primary brand color, --sage = nature accent, --clay = deep navy */
  --forest:      #2b9cdb;   /* PRIMARY brand blue (logo) */
  --forest-dark: #1d7cb3;   /* deeper blue — hover/active */
  --sage:        #5b9e5e;   /* leaf green — nature accent */
  --sage-light:  #9cc89e;
  --clay:        #213a5c;   /* deep navy (logo ring) — dark sections/accent */
  --clay-soft:   #2f6e9e;   /* mid blue */
  --cream:       #f6f9fb;   /* clean off-white background */
  --sand:        #eaf1f6;   /* cool neutral surface */
  --sand-deep:   #d8e3ec;
  --ink:         #1f2a37;   /* cool near-black text */
  --ink-soft:    #56636f;
  --white:       #ffffff;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(31, 42, 55, 0.08);
  --shadow-lg: 0 18px 50px rgba(31, 42, 55, 0.16);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--forest); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.4rem;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 0.9rem;
  display: inline-block;
}

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-dark); color: var(--white); box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--forest); border-color: var(--sage-light); }
.btn--ghost:hover { background: var(--sand); color: var(--forest); }

/* Amazon affiliate-style CTA */
.btn--amazon {
  background: #ffd814;
  color: #111;
  border-color: #fcd200;
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}
.btn--amazon:hover { background: #f7ca00; color: #111; box-shadow: var(--shadow); }
.btn--amazon svg { flex-shrink: 0; }

.btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--sand-deep);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand b { color: var(--forest); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--forest); background: var(--sand); }
.nav-links a.active { color: var(--forest); background: var(--sand); font-weight: 600; }
.nav-links .btn { padding: 0.6rem 1.2rem; color: var(--white); }
.nav-links .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 10px;
}
.nav-toggle:hover { background: var(--sand); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--sand-deep);
    padding: 1rem 1.4rem 1.6rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 0.5rem; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(43, 156, 219, 0.16), transparent 60%),
    linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-figure {
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-figure { order: -1; max-width: 480px; margin-inline: auto; aspect-ratio: 4/3; }
}

/* ==========================================================================
   Image placeholders (swap with real product photos later)
   ========================================================================== */
.placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
}
.placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 24px);
}
.placeholder .ph-icon { width: 46px; height: 46px; opacity: 0.9; z-index: 1; }
.placeholder .ph-label {
  z-index: 1;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.92;
}
.placeholder--clay { background: linear-gradient(135deg, var(--clay-soft) 0%, var(--clay) 100%); }

/* ==========================================================================
   Value props
   ========================================================================== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sand);
  display: grid; place-items: center;
  color: var(--forest);
  margin-bottom: 1.1rem;
}
.value-card h3 { margin-bottom: 0.35em; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* ==========================================================================
   Product grid / cards
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--forest);
  background: var(--sand);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.product-body h3 { margin-bottom: 0.4em; }
.product-body p { color: var(--ink-soft); font-size: 1rem; }
.product-body .btn { margin-top: auto; }
.product-features {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.product-features li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.product-features li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

/* ==========================================================================
   About
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story-figure { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } }

.band { background: var(--clay); color: var(--cream); }
.band h2, .band h3 { color: var(--white); }
.band .lead { color: rgba(255,255,255,0.85); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.pillar p { color: rgba(255,255,255,0.8); font-size: 0.98rem; margin: 0; }
.pillar .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--forest);
  display: block;
  margin-bottom: 0.3rem;
}
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.contact-info li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info .ic {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px; background: var(--sand);
  display: grid; place-items: center; color: var(--forest);
}
.contact-info strong { display: block; color: var(--ink); }
.contact-info span { color: var(--ink-soft); font-size: 0.96rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--sand-deep);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(43, 156, 219, 0.18);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.86rem; color: var(--ink-soft); margin: 0.4rem 0 0; }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #e7f0e7; color: #2f4634; border: 1px solid #bcd4bc; }
.form-status.error { background: #f7e6df; color: #8a3d1d; border: 1px solid #e6c3b3; }

/* ==========================================================================
   CTA strip
   ========================================================================== */
.cta-strip {
  background: linear-gradient(135deg, var(--clay) 0%, var(--clay-soft) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
}
.cta-strip h2 { color: var(--white); }
.cta-strip p { color: rgba(255,255,255,0.9); max-width: 52ch; margin-inline: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer .brand { color: var(--white); }
.site-footer .brand b { color: var(--sage-light); }
.footer-logo { display: inline-block; }
.footer-logo img { width: 130px; height: auto; display: block; }

/* Primary logo featured on a soft branded panel (e.g. About page) */
.brand-figure {
  display: grid; place-items: center;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(43,156,219,0.10), transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.brand-figure img { width: 100%; max-width: 360px; height: auto; }
.site-footer p { color: rgba(255,255,255,0.6); max-width: 38ch; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--sage-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---- Page hero (interior pages) ---- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(43,156,219,0.16), transparent 60%),
    linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-hero .lead { margin-inline: auto; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .product-card:hover, .value-card:hover { transform: none; }
}
