/* ============================================================
   EVERDAILY — LANDING & PRIVACY PAGE STYLES
   landing.css — isolated from style.css / dashboard / catalog
   ============================================================ */

/* ── Google Fonts loaded via <link> in HTML ── */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:         #c9a84c;
  --gold-bright:  #ffc845;
  --gold-dim:     rgba(201, 168, 76, 0.30);
  --gold-glow:    rgba(255, 200, 69, 0.20);
  --navy-deep:    #00031a;
  --navy-mid:     #000425;
  --navy-card:    rgba(0, 4, 37, 0.62);
  --navy-card-hov:rgba(0, 6, 50, 0.80);
  --blue-accent:  #001eff;
  --white:        #ffffff;
  --white-dim:    rgba(255, 255, 255, 0.72);
  --white-faint:  rgba(255, 255, 255, 0.40);
  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --transition:   0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background: var(--navy-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Page Background Gradient ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%,   rgba(0, 30, 255, 0.22) 0%, transparent 68%),
    radial-gradient(ellipse 60% 40% at 50% 100%,  rgba(0, 10, 80,  0.40) 0%, transparent 70%),
    linear-gradient(180deg, #000d3d 0%, #000425 40%, #00031a 100%);
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 60px;
  background: rgba(0, 3, 26, 0.72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--gold-dim);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition), text-shadow var(--transition);
}
.nav-logo:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(255, 200, 69, 0.55);
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition);
  padding: 0.3rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 50px;
}
.nav-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

/* ── Hero ── */
.hero-header {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* slight brightness boost */
  filter: brightness(1.08) saturate(1.15);
}

/* Fade bottom of hero into page bg */
.hero-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 42%,
    rgba(0, 4, 37, 0.55) 68%,
    #00031a 100%
  );
  pointer-events: none;
}

/* Overlay text sits on top of the fade */
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white-dim);
  max-width: 480px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}

/* CTA Button */
.btn-cta {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #0a0500;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(255,200,69,0.5);
  box-shadow:
    0 0 24px rgba(255, 200, 69, 0.30),
    0 4px 20px rgba(0,0,0,0.50);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 40px rgba(255, 200, 69, 0.55),
    0 8px 28px rgba(0,0,0,0.55);
  background: linear-gradient(135deg, var(--gold-bright) 0%, #ffe08a 100%);
}
.btn-cta:active {
  transform: translateY(0);
}

.hero-footnote {
  font-size: 0.76rem;
  color: var(--white-faint);
  letter-spacing: 0.04em;
}

/* ── Gold Rule Divider ── */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
}
.gold-rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 30%, var(--gold-dim) 70%, transparent);
}
.rule-gem {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(255,200,69,0.5));
}

/* ── Section Headings ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center;
  color: var(--white-faint);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

/* ── Features Section ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 5vw, 3rem) 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

/* ── Feature Card ── */
.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--gold-dim);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,168,76,0.06), transparent 65%);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.65);
  box-shadow:
    0 0 30px rgba(201,168,76,0.12),
    0 12px 36px rgba(0,0,0,0.55);
  background: var(--navy-card-hov);
}

.feature-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.feature-icon img {
  vertical-align: middle;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--white-dim);
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 3rem clamp(1rem, 5vw, 3rem) 2.5rem;
  border-top: 1px solid var(--gold-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--white-dim);
  max-width: 460px;
}

.footer-attr {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}
.footer-links a {
  color: var(--white-faint);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-bright); }
.footer-links span { color: var(--gold-dim); }

.footer-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  max-width: 540px;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* ── Privacy Page Hero (smaller) ── */
.hero-mini {
  position: relative;
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-mini .hero-svg {
  max-height: 240px;
  object-position: top center;
}
.hero-mini::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,3,26,0.10) 0%,
    rgba(0,4,37,0.50) 55%,
    #00031a 100%
  );
  pointer-events: none;
}
.hero-mini-title {
  position: absolute;
  bottom: 1.25rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(0,0,0,0.9);
}

/* ── Privacy Content ── */
.privacy-wrap {
  max-width: 820px;
  margin: 2rem auto 5rem;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

.privacy-card {
  background: var(--navy-card);
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.privacy-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}

.privacy-effective {
  font-size: 0.82rem;
  color: var(--white-faint);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.privacy-card h2 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gold-dim);
}

.privacy-card p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.privacy-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.8rem;
}
.privacy-card ul li {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.7;
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
}
.privacy-card ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.55rem;
}

.privacy-card a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.privacy-card a:hover {
  border-bottom-color: var(--gold-bright);
}

/* highlight / callout box */
.policy-note {
  background: rgba(201,168,76,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.2rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero-header { max-height: 420px; }
  .hero-svg { max-height: 380px; }
  .hero-overlay { padding: 1.5rem 1rem 2rem; gap: 0.8rem; }
  .btn-cta { font-size: 0.78rem; padding: 0.75rem 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.5rem 1.25rem; }
}

@media (min-width: 900px) {
  .hero-header { max-height: 560px; }
  .hero-svg { max-height: 520px; }
}

/* Live Offers Grid */
.offers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.offer-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.offer-item:hover {
  transform: scale(1.05);
  border-color: rgba(255, 215, 0, 0.5); /* Gold hover */
}

.offer-item > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-cost {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 3px 4px;
  color: #fff;
}
