/* BetterImages.ai — simplified static site
   Brand tokens sampled from the live WordPress site (Bridge theme + Elementor). */

:root {
  --indigo: #4E3BFC;
  --indigo-dark: #3D2E7C;
  --purple-deep: #2B1C50;
  --lavender: #EFF0FF;
  --accent-light: #9C95F9;
  --accent-mid: #4B42AD;
  --border-light: #D1D1F7;
  --ink: #212121;
  --muted: #6C6684;
  --white: #FFFFFF;
  --radius: 14px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 35px;
  box-shadow: 0 0 20px 15px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 10;
  background: var(--white);
}

.site-header .logo img {
  width: 180px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--indigo);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(120deg, #2fc9c9 0%, #6a5cf5 55%, #7b4fe0 100%);
  color: var(--white);
  text-align: center;
  padding: 90px 24px 110px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero h1 img { height: 0.85em; width: auto; }

.hero .eyebrow {
  text-decoration: underline;
  font-size: 1.1rem;
  margin: 0 0 20px;
}

.hero p.lead {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.hero .btn-primary {
  background: var(--indigo);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 16px 36px;
  font-size: 1.05rem;
}

.hero .btn-primary img { height: 0.9em; vertical-align: middle; }

.hero .fineprint {
  margin-top: 18px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ---------- Sections ---------- */

section { padding: 80px 24px; }

section.tinted { background: var(--lavender); }

section.dark {
  background: var(--purple-deep);
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.section-head p { font-size: 1.05rem; color: var(--muted); }

section.dark .section-head p { color: rgba(255, 255, 255, 0.75); }

/* ---------- Feature / split rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.split.reverse .split-media { order: 2; }

.split-media img {
  border-radius: var(--radius);
  width: 100%;
}

.split-body .eyebrow-tag {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--indigo);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.split-body h3 { font-size: 1.6rem; margin: 0 0 16px; }

.split-body p { color: var(--muted); margin-bottom: 20px; }

.quote {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--indigo);
  font-style: italic;
  color: var(--muted);
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Cards / grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.card .card-body { padding: 20px 22px; }

.card h4 { margin: 0 0 8px; font-size: 1.15rem; }

.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Stat / benefit cards ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.benefit-grid h3 { margin: 0 0 12px; font-size: 1.25rem; }

.benefit-grid p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Logo ticker ---------- */

.logo-ticker-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-ticker {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0.75;
}

.logo-ticker img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
}

/* ---------- Stat cards (research strip) ---------- */

.stat-strip {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border-light);
}

.stat-card p { margin: 0 0 10px; font-size: 0.95rem; }

.stat-card .source {
  font-weight: 700;
  color: var(--indigo);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Enterprise / CTA banner ---------- */

.cta-banner {
  background: var(--indigo-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-banner h2 { margin: 0 0 20px; font-size: 1.8rem; }

/* ---------- Testimonial ---------- */

.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testimonial .brand-logo { height: 28px; margin: 0 auto 24px; }

.testimonial blockquote {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 24px;
}

.testimonial .person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial .person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial .person .name { font-weight: 700; }
.testimonial .person .role { color: var(--muted); font-size: 0.9rem; }

/* ---------- Canva app cards ---------- */

.app-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
  box-shadow: 0 10px 40px rgba(43, 28, 80, 0.08);
}

.app-card:nth-of-type(even) .app-media { order: 2; }

.app-card .app-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--indigo);
  margin-bottom: 14px;
}

.app-card .app-icon img { width: 28px; height: 28px; }

.app-card h2 { font-size: 1.6rem; margin: 0 0 16px; }

.app-card p { color: var(--muted); margin-bottom: 24px; }

.app-media img { border-radius: var(--radius); width: 100%; }

@media (max-width: 860px) {
  .app-card { grid-template-columns: 1fr; padding: 28px; }
  .app-card:nth-of-type(even) .app-media { order: 0; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 24px 32px;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-top img { height: 34px; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.75); }

/* ---------- Legal pages ---------- */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal h1 { font-size: 2rem; margin-bottom: 8px; }

.legal .updated { color: var(--muted); margin-bottom: 40px; }

.legal h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 40px;
  color: var(--indigo-dark);
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 28px;
}

.legal p, .legal li { color: var(--ink); }

.legal ul { padding-left: 22px; }

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-32 { margin-top: 32px; }
