/* ============================================
   Evid Landing Page — styles.css
   Editorial-luxury aesthetic with warm palette
   ============================================ */

:root {
  --bg: #E8E4D9;
  --bg-warm: #F0ECE2;
  --text-primary: #1a1a1a;
  --text-secondary: #2C2416;
  --text-muted: #6B6458;
  --text-light: #8A8279;
  --accent: #8B7355;
  --accent-hover: #7A6348;
  --accent-dark: #6A563F;
  --btn-primary-bg: #1a1a1a;
  --btn-primary-text: #FAF7F1;
  --card-bg: rgba(250, 247, 241, 0.82);
  --card-border: rgba(194, 178, 154, 0.32);
  --shadow-sm: 0 2px 8px rgba(44, 36, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 36, 22, 0.10);
  --shadow-lg: 0 16px 48px rgba(44, 36, 22, 0.12);
  --warning-bg: #fdf3e3;
  --warning-border: #e8c97a;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

/* Layout */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  scroll-margin-top: 80px;
}

/* ============================================
   Sticky Nav
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  margin-top: 10px;
  border-radius: 14px;
  background: rgba(232, 228, 217, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(194, 178, 154, 0.28);
  box-shadow: 0 4px 20px rgba(44, 36, 22, 0.08);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-brand:hover {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px !important;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: #333;
  color: var(--btn-primary-text) !important;
  transform: translateY(-1px);
}

/* ============================================
   Scroll Reveal
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 128px 0 80px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(139, 115, 85, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-shell {
  display: grid;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(139, 115, 85, 0.18);
  background: rgba(250, 247, 241, 0.7);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5DAA5F;
  display: inline-block;
  box-shadow: 0 0 6px rgba(93, 170, 95, 0.5);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================
   Trust Strip — Elevated
   ============================================ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  text-align: left;
  transition: box-shadow 0.3s, transform 0.3s;
}

.trust-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(139, 115, 85, 0.1);
  color: var(--accent);
}

.trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-text span {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ============================================
   Demo Video Card
   ============================================ */
.hero-demo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 14px;
}

.demo-browser-bar p {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.demo-dots {
  display: flex;
  gap: 7px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.demo-dots span:nth-child(1) { background: #ff6b5f; }
.demo-dots span:nth-child(2) { background: #ffbd2f; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-video {
  width: 100%;
  border-radius: calc(var(--radius-md) - 2px);
  display: block;
}

/* ============================================
   CTA Buttons
   ============================================ */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

.cta-btn:hover {
  background: #333;
  color: var(--btn-primary-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-btn svg {
  flex-shrink: 0;
}

.cta-note {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.cta-btn-secondary {
  background: var(--accent);
}

.cta-btn-secondary:hover {
  background: var(--accent-hover);
  color: var(--btn-primary-text);
}

.section-cta {
  text-align: center;
  margin-top: 56px;
}

.section-cta-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-light);
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
  padding: 64px 0 96px;
}

.how-it-works h2,
.captures h2,
.privacy h2,
.contact h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  transition: background 0.3s;
}

.step:hover {
  background: rgba(250, 247, 241, 0.5);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--btn-primary-text);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   What Evid Captures
   ============================================ */
.captures {
  padding: 96px 0;
  background: var(--bg-warm);
}

.captures h2 {
  margin-bottom: 14px;
}

.captures .section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.captures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.capture-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.capture-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.capture-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(194, 178, 154, 0.25);
}

.capture-card ul {
  list-style: none;
  padding: 0;
}

.capture-card ul li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.capture-card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.capture-card.negative ul li::before {
  background: #C0534C;
}

/* ============================================
   Privacy & Trust
   ============================================ */
.privacy {
  padding: 96px 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-item {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: box-shadow 0.3s, transform 0.3s;
}

.privacy-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.privacy-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.privacy-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   Contact Form
   ============================================ */
.contact {
  padding: 96px 0;
  background: var(--bg-warm);
}

.contact h2 {
  margin-bottom: 12px;
}

.contact .section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(194, 178, 154, 0.4);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
}

.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  min-height: 24px;
}

.form-status-success {
  color: #5DAA5F;
}

.form-status-error {
  color: #C0534C;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(194, 178, 154, 0.25);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-author {
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid rgba(139, 115, 85, 0.3);
  transition: border-color 0.2s;
}

.footer-author:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================
   Responsive — 768px
   ============================================ */
@media (max-width: 768px) {
  .hero {
    padding: 96px 0 64px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .subtitle {
    font-size: 17px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .trust-card {
    padding: 16px;
  }

  .hero-demo-card {
    padding: 12px;
  }

  .hero-actions {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-btn {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  section {
    padding: 72px 0;
  }

  .how-it-works h2,
  .captures h2,
  .privacy h2,
  .contact h2 {
    font-size: 30px;
    margin-bottom: 36px;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-inner {
    padding: 0 16px;
  }
}

/* ============================================
   Responsive — 480px
   ============================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .container {
    padding: 0 16px;
  }

  .how-it-works h2,
  .captures h2,
  .privacy h2,
  .contact h2 {
    font-size: 26px;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
  }

  .trust-icon svg {
    width: 20px;
    height: 20px;
  }
}
