/* =========================================================
   AI+1 One-Pager — Minimal, Human-Readable CSS
   Notes for Ed:
   - No minification. Clear comments. Small, purposeful rules.
   - No overrides-on-overrides. This is a clean rewrite.
   - Only styles needed for THIS page: header, two product cards,
     background, buttons, and footer.
   - Uses your existing file paths:
       assets/img/ai1_logo.png
       assets/img/creator_logo.png
       assets/img/politico_logo.png
       assets/img/hero_bg.jpg  (optional background image you provide)
   ========================================================= */

/* ---------- Theme Tokens (easy to tweak) ---------- */
:root {
  --color-bg: #0c0c0e;
  --color-text: #e9e6dc;
  --color-muted: #b8b29f;
  --color-gold: #f5d36f;
  --color-gold-deep: #b68b2b;



  --page-max: 1200px;
  --pad-page: clamp(16px, 4vw, 40px);
  --gap: 24px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  /* If you placed a background at assets/img/hero_bg.png, DON'T CHANGE THE FILE NAME. */
  background-image: url('assets/img/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Subtle gradient for legibility over the hero image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.35) 35%, rgba(0,0,0,.7));
  pointer-events: none;
  z-index: -1;
}

/* ---------- Header ---------- */
.header {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 22px var(--pad-page);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  height: 80px;               /* your top-left gold AI+1 logo */
  display: block;
}
.nav a {
  color: var(--color-text);   /* single "Contact" link only */
  text-decoration: none;
}
.nav a:hover { text-decoration: underline; }

/* ---------- Main Layout ---------- */
.main {
  max-width: var(--page-max);
  margin: 10px auto 0;
  padding: 0 var(--pad-page);
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin: 10px 0 70px;
}
@media (min-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Product Card ----------
   Left column: logo + one sentence + demo button
   Right column: portrait photo
-------------------------------------------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-ambient);
  backdrop-filter: blur(6px);

  /* Slight bevel effect without heavy glow */
  background-image: linear-gradient(145deg, rgba(255,255,255,.06), rgba(0,0,0,.14));

  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
}
@media (min-width: 1100px) {
  .card { grid-template-columns: 1fr 320px; }
}
@media (max-width: 680px) {
  .card { grid-template-columns: 1fr; }  /* image stacks under content */
}

/* Clean logo header: show PNG exactly as-is (no glow, no rounding) */
.logo-line {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 2px;
}
.logo-line img {
  display: block;
  border: 0;
  box-shadow: none;
  filter: none;
}

/* One-sentence description */
.card p {
  margin: 6px 0 14px;
  color: var(--color-muted);
  line-height: 1.45;
  font-size: 16px;
}

/* Demo button */
.button {
  appearance: none;
  border: 1px solid var(--color-gold-deep);
  background: linear-gradient(180deg, var(--color-gold), #e2b94f);
  color: #1f1e1a;
  padding: 12px 18px;
  border-radius: 28px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-ambient);
  cursor: pointer;
}

/* Right-side portrait image */
.media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-ambient);
}
.media img {
  display: block;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.footer {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--pad-page) 40px;
  color: var(--color-muted);
  font-size: 13px;
}
.footer .copy { opacity: 0.9; }
