/* ============================================
   Visible Media Co. — #49 Marquee Design
   Dark · Orange-to-pink gradient · Bold type
   Outfit font · Animated marquee · Glow cards
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:            #0a0a0a;
  --bg2:           #0f0f0f;
  --bg3:           #141414;
  --surface:       #161616;
  --surface2:      #1a1a1a;

  --border:        rgba(255,255,255,.05);
  --border2:       rgba(255,255,255,.08);

  --white:         #ffffff;
  --text:          #e5e5e5;
  --text2:         #888;
  --text3:         #555;
  --text4:         #333;

  --grad:          linear-gradient(135deg, #f97316, #ec4899);
  --grad-h:        linear-gradient(90deg, #f97316, #ec4899);
  --orange:        #f97316;
  --pink:          #ec4899;
  --glow:          rgba(249,115,22,.2);
  --glow-pink:     rgba(236,72,153,.15);

  --shadow:        0 2px 20px rgba(0,0,0,.5);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.6);

  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --max:           1080px;
  --nav-h:         64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-h);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  color: var(--white);
}
h1 { font-size: clamp(3rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: .95rem; font-weight: 600; color: var(--white); line-height: 1.35; }
p  { color: var(--text3); font-size: 1rem; line-height: 1.7; }

.gradient-text {
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }

/* ---------- Sections ---------- */
.section         { padding: 120px 0; }
.section-surface { padding: 120px 0; background: var(--bg2); }
.section-sm      { padding: 80px 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10,10,10,.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px;
}

.nav-logo {
  font-size: 1rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--white); flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius);
  font-size: .87rem; font-weight: 500;
  color: var(--text3);
  transition: color .2s;
}
.nav-links a:hover  { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  margin-left: 8px;
  background: var(--grad) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-size: .84rem !important;
  transition: opacity .2s !important;
  box-shadow: 0 0 20px var(--glow) !important;
}
.nav-cta:hover { opacity: .85 !important; }

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text2); border-radius: 2px; transition: all .3s;
}

.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px; flex-direction: column; gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 12px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 500; color: var(--text3);
  transition: color .15s;
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile .nav-cta { margin-top: 8px; text-align: center; box-shadow: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 24px var(--glow);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(249,115,22,.3); opacity: .9; }

.btn-ghost {
  background: transparent; color: var(--text3);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.18); color: var(--white); }

.btn-white {
  background: #fff; color: var(--bg);
}
.btn-white:hover { opacity: .85; }

.btn-text {
  background: none; color: var(--text3); padding: 13px 4px; border: none;
}
.btn-text:hover { color: var(--white); }
.btn-text::after { content: ' \2192'; }

.btn-lg  { padding: 15px 34px; font-size: .95rem; }
.btn-sm  { padding: 8px 18px; font-size: .82rem; }
.w-full  { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 130px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 800px; margin: 0 auto; }
.hero-sub {
  color: var(--text3);
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 460px; margin: 20px auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Marquee */
.marquee-wrap { overflow: hidden; width: 100%; }
.marquee-text {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  white-space: nowrap;
  color: rgba(255,255,255,.025);
  letter-spacing: -.04em;
  animation: marquee 25s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero small */
.hero-sm { padding: 100px 0 80px; }
.hero-sm h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* ---------- Stats ---------- */
.stats-row {
  display: flex; justify-content: center;
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 48px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900; color: var(--white); line-height: 1;
  letter-spacing: -.03em;
}
.stat-num.grad {
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: .7rem; color: var(--text4);
  margin-top: 8px; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(255,255,255,.1); }
.card::before {
  content: '';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 2px;
  background: var(--grad-h);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }

.card-flat {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative; overflow: hidden;
}
.card-flat::before {
  content: '';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 2px;
  background: var(--grad-h);
}

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- Feature rows ---------- */
.feature-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(249,115,22,.08); color: var(--orange);
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(249,115,22,.15);
}

/* ---------- Data table ---------- */
.data-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.data-row:last-child { border-bottom: none; }
.data-label { font-weight: 500; color: var(--text3); font-size: .9rem; }
.data-value { color: var(--white); font-size: .9rem; font-weight: 600; }

/* ---------- Quote block ---------- */
.quote-block {
  padding: 28px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.quote-block::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.quote-block p.quote-text { color: var(--text2); font-style: italic; line-height: 1.7; }
.quote-block cite { display: block; margin-top: 12px; font-size: .85rem; font-weight: 600; color: var(--white); font-style: normal; }

/* ---------- Forms ---------- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text2); letter-spacing: .02em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-size: .92rem; font-family: 'Outfit', sans-serif;
  color: var(--white); background: var(--surface);
  transition: border-color .2s, box-shadow .2s; outline: none; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--surface); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Phone mockup ---------- */
.phone-mockup {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.phone-mockup .glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 260px; height: 180px;
  background: radial-gradient(ellipse, rgba(249,115,22,.06), transparent 70%);
  pointer-events: none;
}

/* Cove product card inner — clean flex column layout */
.cove-card-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
  text-align: center;
}

/* ============================================
   COVE BRAND OVERRIDES
   Cove palette: cream #F7F4EF · navy #1C2230 · emerald #2F6B5B
   Used (a) inline for the "Cove" name on dark sections,
   (b) full theme for .cove-section blocks.
   ============================================ */

/* (a) Inline Cove name in body copy (any background) */
.cove-name {
  color: #2F6B5B;
  font-weight: 600;
}

/* Stat cell rendering the "Cove" word in brand color */
.stat-num.cove {
  color: #2F6B5B;
}

/* Cove product mark (wordmark with dot — Cove brand) */
.cove-mark {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 2.8rem; font-weight: 900;
  color: var(--white); letter-spacing: -.05em;
  line-height: 1;
  margin: 0;
}
.cove-mark .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2F6B5B;
  display: inline-block;
  box-shadow: 0 0 12px rgba(47,107,91,.6);
}
.cove-tag {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text2);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}
.cove-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 100px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white);
  background: rgba(47,107,91,.10);
  border: 1px solid rgba(47,107,91,.28);
  line-height: 1;
}
.cove-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #2F6B5B;
  box-shadow: 0 0 8px rgba(47,107,91,.65);
}

/* Cove link (replaces inline gradient hack) */
.cove-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .88rem; font-weight: 600;
  color: #2F6B5B;
  transition: color .2s, transform .2s;
  letter-spacing: -0.005em;
}
.cove-link:hover { color: #1f4d40; transform: translateX(2px); }

/* (b) Cove-branded section — light reveal nested in the dark page */
.cove-section {
  background: #F7F4EF;
  font-family: 'Inter', -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
}
.cove-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(800px 460px at 82% 18%, rgba(47,107,91,0.10), transparent 70%),
    radial-gradient(640px 380px at 12% 92%, rgba(233,79,124,0.06), transparent 70%);
  pointer-events: none;
}
.cove-section > .container { position: relative; z-index: 1; }
.cove-section h1,
.cove-section h2,
.cove-section h3,
.cove-section h4 { color: #1C2230; letter-spacing: -0.02em; }
.cove-section h2 { font-weight: 700; }
.cove-section h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #1C2230;
  letter-spacing: -0.01em;
}
.cove-section p { color: rgba(28,34,48,0.68); }
.cove-section .eyebrow {
  color: #2F6B5B;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #2F6B5B;
  display: inline-flex; align-items: center; gap: 8px;
}
.cove-section .eyebrow::before {
  content: ''; width: 22px; height: 1px; background: #2F6B5B;
}
.cove-section .cove-name { color: #2F6B5B; }

.cove-section .phone-mockup {
  background: #FFFDFA;
  border: 1px solid rgba(28,34,48,0.08);
  box-shadow: 0 20px 60px rgba(28,34,48,0.08);
}
.cove-section .phone-mockup .glow {
  background: radial-gradient(ellipse, rgba(47,107,91,0.16), transparent 70%);
}
.cove-section .cove-mark { color: #1C2230; }
.cove-section .cove-tag { color: rgba(28,34,48,0.62); }
.cove-section .cove-badge {
  color: #2F6B5B;
  background: rgba(47,107,91,0.10);
  border-color: rgba(47,107,91,0.22);
}

.cove-section .btn-primary {
  background: #2F6B5B;
  color: #fff;
  box-shadow: 0 10px 28px rgba(47,107,91,0.26);
}
.cove-section .btn-primary:hover {
  box-shadow: 0 16px 36px rgba(47,107,91,0.34);
  opacity: 1;
  transform: translateY(-2px);
}
.cove-section .btn-ghost {
  color: #1C2230;
  border-color: rgba(28,34,48,0.14);
}
.cove-section .btn-ghost:hover {
  border-color: rgba(28,34,48,0.28);
  color: #1C2230;
  background: rgba(28,34,48,0.04);
}
.cove-section .btn-text { color: #2F6B5B; }
.cove-section .btn-text:hover { color: #1f4d40; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; margin-bottom: 32px;
}
.footer-logo { font-size: 1rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.footer-brand p { margin-top: 8px; font-size: .82rem; color: var(--text4); max-width: 260px; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; }
.footer-col h5 {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text4); margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a  { font-size: .85rem; color: var(--text3); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .73rem; color: var(--text4); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--text4); transition: color .2s; }
.footer-bottom a:hover { color: var(--text3); }

/* ---------- Utilities ---------- */
.mt-8  { margin-top:  8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats-row { gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-links { gap: 32px; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .section, .section-surface { padding: 80px 0; }
  .hero { padding: 100px 0 72px; }
  .hero-sm { padding: 80px 0 56px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .card, .card-flat { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-row { flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; padding-top: 32px; }
  .nav-inner { padding: 0 20px; }
  .cove-mark { font-size: 2.2rem; }
}
