/* WideMail landing — Wideview Entertainment brand palette (matches the app). */
:root {
  --bg: #08080d;
  --surface: #14141b;
  --surface2: #1e1e28;
  --border: #2c2c37;
  --text: #ece9e2;
  --muted: #9e9d96;
  --faint: #6a665f;
  --accent: #af7964;
  --accent-grad: linear-gradient(135deg, #bd8870 0%, #9a6553 100%);
  --glow: 0 6px 22px rgba(175, 121, 100, 0.34);
  --elev1: 0 8px 24px rgba(0, 0, 0, 0.45);
  --elev2: 0 14px 40px rgba(0, 0, 0, 0.58);
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }

/* Ambient copper glow behind the hero */
body::before {
  content: '';
  position: fixed;
  top: -30vh; left: 50%;
  width: 90vw; max-width: 900px; height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(175,121,100,0.16) 0%, rgba(175,121,100,0) 65%);
  pointer-events: none; z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* Header */
header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(8,8,13,0.66);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand .sym { width: 28px; height: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  padding: 11px 22px; border-radius: 12px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--accent-grad); color: #0a0a0a; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(175,121,100,0.46); }
.btn-ghost { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: 16.5px; border-radius: 14px; }

/* Language toggle */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.lang a { padding: 7px 11px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.lang a.active { background: var(--surface2); color: var(--text); }
.lang a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 88px 0 64px; }
.hero .sym { width: 66px; height: 66px; margin: 0 auto 26px; }
.hero h1 {
  font-size: clamp(34px, 6vw, 58px); line-height: 1.08; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 22px;
}
.hero h1 .accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 22px; font-size: 13.5px; color: var(--faint); }

/* App shot mock */
.shot {
  margin: 56px auto 0; max-width: 880px;
  border-radius: 22px; border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  box-shadow: var(--elev2);
  overflow: hidden;
}
.shot-bar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface2); }
.shot-body { padding: 22px; display: grid; gap: 12px; }
.shot-row { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.shot-row .ava { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: var(--accent-grad); }
.shot-row .lines { flex: 1; display: grid; gap: 7px; }
.shot-row .l1 { height: 10px; width: 42%; border-radius: 5px; background: var(--surface2); }
.shot-row .l2 { height: 8px; width: 72%; border-radius: 5px; background: var(--surface2); opacity: .7; }
.shot-row.unread { border-color: rgba(175,121,100,0.4); }
.shot-row.unread .l1 { width: 50%; background: linear-gradient(90deg, var(--accent), var(--surface2)); }

/* Sections */
section { padding: 72px 0; position: relative; z-index: 1; }
.eyebrow { text-align: center; color: var(--accent); font-weight: 700; letter-spacing: 2px; font-size: 12.5px; text-transform: uppercase; margin-bottom: 12px; }
.sec-title { text-align: center; font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.sec-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 48px; font-size: 16px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-subtle, rgba(175,121,100,0.14)); margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; stroke: var(--accent); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Steps */
.steps { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.step .n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-grad); color: #0a0a0a; font-weight: 800; display: grid; place-items: center; font-size: 16px; }
.step h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* CTA band */
.cta-band { text-align: center; background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border: 1px solid var(--border); border-radius: 24px; padding: 56px 28px; box-shadow: var(--elev1); }
.cta-band h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 48px 0 60px; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.foot .col { display: grid; gap: 9px; }
.foot .brand img { height: 24px; }
.foot a { color: var(--muted); font-size: 14.5px; }
.foot a:hover { color: var(--accent); }
.foot .label { color: var(--faint); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.foot-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--faint); font-size: 13px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 34px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent); }
.legal .back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 30px; color: var(--muted); font-size: 14.5px; }

@media (max-width: 640px) {
  .hero { padding: 60px 0 44px; }
  section { padding: 52px 0; }
  .nav .btn { padding: 9px 16px; font-size: 14px; }
}
