/* ======================================================
   LifeTape Marketing Site – Dark, App-Ready Theme
   iPad & Mobile First • Apple Review Friendly
   ====================================================== */

/* ---------- Core Variables ---------- */
:root{
  /* Dark foundations */
  --bg: #00674F;
  --surface-dark: #063a2d;
  --tertiary: #002608;

  /* Light surfaces (soft, eye-friendly) */
  --surface-light: #F3FBF7;
  --surface-light-2: #EAF7F0;

  /* UI soft green (inputBorder) */
  --ui-soft: #ceffe4;

  /* Brand */
  --emerald: #00674F;
  --gold: #D4AF37;
  --surface: #005542;

  /* Text */
  --text-dark: #0F1720;
  --text-muted-dark: rgba(15,23,32,.72);
  --text-light: rgba(244,255,250,.92);
  --text-muted-light: rgba(244,255,250,.70);

  --container: 1100px;
}

/* ---------- Reset / Base ---------- */
*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
  height:100%;
}

body{
  background: var(--bg);
  color: var(--text-light);
  font-family: system-ui, -apple-system, "SF Pro Display", "SF Pro Text",
               Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}

img{
  max-width:100%;
  display:block;
}

a{
  color: inherit;
  text-decoration:none;
}

.container{
  width: min(var(--container), 92%);
  margin: 0 auto;
}

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #005542eb;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-word{
  height:60px;
  align-items:center;
  width:auto;
}

.site-nav{
  display:flex;
  gap:14px;
}

.site-nav a{
  padding:10px 8px;
  font-weight:650;
  font-size:14px;
  opacity:.82;
  border-radius:10px;
}

.site-nav a:hover{
  opacity:1;
  color: var(--gold);
}

/* Hamburger */
.menu-button{
  width:44px;
  height:44px;
  display:none;
  place-items:center;
  border-radius:12px;
  background: #00674F;
  border:1px solid var(--gold);
}

.menu-button img{
  width:28px;
  height:28px;
}


/* Mobile Nav */
@media (max-width: 980px){
  .menu-button{ display:grid; }

  .site-nav{
    position: fixed;
    inset: 0 0 0 auto;
    height: min(300px);
    width: min(220px, 86vw);
    background: var(--surface-dark);
    padding: 10px 0px 0px;
    text-align: center;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform .22s ease;
    border:0.2px solid var(--gold);
    z-index: 1;

  }

  body.nav-open .site-nav{
    transform: translateX(0);
    background: var(--surface-dark);
  }

  .nav-scrim{
    position: fixed;
    inset:0;
    background: #00674F73;
    opacity:0;
    pointer-events:none;
    transition: opacity .22s ease;
  }

  body.nav-open .nav-scrim{
    opacity:1;
    background: #00674F73;
    pointer-events:auto;
  }
}

/* ---------- Hero ---------- */
.hero{
  padding: clamp(44px, 6vw, 84px) 0;
  text-align: center;
  background:
    radial-gradient(900px 520px at 15% 15%, #d4af3738, transparent 60%),
    linear-gradient(135deg, #005542, #0B1714 );
}

.hero h1{
  font-size: clamp(34px, 4.5vw, 54px);
  line-height:1.05;
  font-weight:900;
  margin:0 0 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.subtitle{
  max-width: 860px;
  margin: 0 auto 24px;
  opacity:.92;
}

.subtitle-contact{
  text-align: center;
  max-width: 860px;
  margin: 0 auto 24px;
  opacity:.92;
}

/* ---------- Buttons ---------- */
.btn-row{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  padding:12px 18px;
  border-radius:999px;
  font-weight:750;
}

.btn-primary{
  background: linear-gradient(135deg, var(--gold), #f3d98b);
  color:#1b1b1b;
  box-shadow: 0 12px 26px rgba(212,175,55,.25);
}

.cta{
  text-align: center;
}

.badge-row{
  display:flex;
  flex-wrap: wrap;
  gap:10px;
  justify-content:center;
  margin-top: 18px;
}

.badge-main{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  border-right-width: 3px;
  border-left-width: 3px;
  background: var(--tertiary);
  color: var(--text-on-dark);
  font-weight: 650;
  font-size: 14px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  border-right-width: 3px;
  border-left-width: 3px;
  background: rgba(0,0,0,.88);
  color: var(--text-on-dark);
  font-weight: 650;
  font-size: 14px;
}

/* ---------- Sections ---------- */
.section{
  padding: clamp(44px, 5.5vw, 82px) 0;
}

/* Light surface wrapper */
.surface{
  background: var(--surface-light);
  color: var(--text-dark);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
}

.section-title{
  font-size: clamp(24px, 3.2vw, 36px);
  margin:0 0 14px;
  font-weight:900;
  color: var(--text-light);
  text-align: center;
}

.section-subtitle{
  max-width: 900px;
  margin: 0 auto 36px;
  color: var(--text-muted-light);
  text-align: center;
}

.section-title-dark{
  font-size: clamp(24px, 3.2vw, 36px);
  margin:0 0 14px;
  font-weight:900;
  color: var(--text-dark);
  text-align: center;
}

.section-subtitle-dark{
  max-width: 900px;
  margin: 0 auto 36px;
  color: var(--text-muted-dark);
  text-align: center;
}

/* ---------- Cards ---------- */
.card-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}

.card{
  grid-column: span 4;
  background: var(--ui-soft);
  border-radius:22px;
  border:1px solid var(--gold);
  padding:24px;
}

.card-contact{
  grid-column: span 4;
  max-width: 760px;
  margin: 0 auto;
  background: var(--ui-soft);
  text-align: center;
  border-radius:22px;
  border:1px solid var(--gold);
  padding:24px;
}

.card-contact h3{
  margin:0 0 8px;
  color: var(--tertiary);
  font-weight:800;
}

.card-contact p{
  margin:0;
  color: var(--text-muted-dark);
}

.card h3{
  margin:0 0 8px;
  color: var(--tertiary);
  font-weight:800;
}

.card p{
  margin:0;
  color: var(--text-muted-dark);
}

@media (max-width: 980px){
  .card{ grid-column: span 12; }
}

/* ---------- How To Layout ---------- */
.howto-step{
  display:grid;
  grid-template-columns: 1fr 2fr;
  gap:28px;
  align-items:center;
  margin-bottom:48px;
}

.howto-shot{
  background: var(--surface-light-2);
  border-radius:24px;
  padding:16px;
}

.howto-shot img{
  border-radius:18px;
}

.howto-copy h3{
  margin:0 0 10px;
  color: var(--surface);
  font-size:22px;
}

.howto-copy p{
  margin:0;
  color: var(--text-muted-dark);
}

.howto-bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted-dark);
}

.howto-bullets li{
  margin: 10px 0;
}

@media (max-width: 900px){
  .howto-step{
    grid-template-columns:1fr;
  }
}

.privacy-clarifier{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ui-soft);
  border: 1px solid var(--gold);
  border-right-width: 3px;
  border-left-width: 3px;
  color: var(--text-dark);
  font-size: 15px;
}

/* Contact form sizing + alignment */
.form{
  max-width: 760px;
  margin: 0 auto;
}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items: start;
}

.contact-text{
    text-align: center;
}

.form-row > div{ width:100%; }

input, textarea{
  width:100%;
  min-height: 48px;
}

textarea{
  min-height: 160px;
}

.columnbo {
  float: left;
  width: 25%;
  padding: 6px;
}

.rowbo:after {
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .columnbo {
    width: 100%;
  }
}

screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; 

}

screenshot-grid img {
    background: var(--bg);
    width: 100%;
    height: 100%; 
    object-fit: cover; 
}

screenshot-grid p {
    font-weight:900;
    width: 100%;
    text-align: center;
}




/* Button */
.form button, .btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height: 48px;
  padding: 12px 18px;
}

/* ---------- Footer ---------- */
footer{
  background: #005542;
  border-top:1px solid var(--gold);
  color: var(--text-light);
  padding: 44px 0 26px;
}

.footer-bottom{
  border-top:1px solid var(--gold);
  margin-top:18px;
  padding-top:18px;
  opacity:.78;
  font-size:14px;
}

/* ================================
   INDEX PAGE POLISH OVERRIDES
   ================================ */

/* HERO: center headline + buttons */
.hero .container { text-align: center; }
.hero .btn-row { justify-content: center; }

/* SCREENSHOTS: responsive 1 → 4 grid */
.rowbo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.columnbo {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

/* Desktop: 4 across */
@media (min-width: 900px) {
  .columnbo { width: 23%; max-width: none; }
}

.columnbo p { text-align: center; margin-top: 12px; }

/* CTA: center bottom section */
.cta .container { text-align: center; }
.cta .btn { margin-left: auto; margin-right: auto; }

/* Language switcher (footer) */
.lang-switch {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.lang-switch a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================
   INDEX IMAGE REVEAL (Option B)
   ================================ */
.columnbo {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.columnbo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .columnbo {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
