﻿/* ============================================================
   QRBELL Landing Page â€” Custom Styles
   ============================================================ */
:root {
  --navy: #031B4E;        /* primary navy */
  --navy-2: #082C7A;      /* secondary navy */
  --navy-deep: #021238;
  --navy-light: #0a2f7e;
  --gold: #F4B400;
  --gold-dark: #d89e00;
  --cream: #f4f6fb;
  --bg: #F8FAFC;
  --text-dark: #1c2333;
  --text-muted: #6b7280;
  --green: #2bb673;
  --red: #e23b3b;
  --radius-section: 20px;
  --radius-btn: 14px;
  --radius-card: 24px;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; }

/* Container locked to 1280px per design system */
.container { max-width: 1280px; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; font-family: 'Poppins', sans-serif; }

.text-gold { color: var(--gold) !important; }

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 24px;
  transition: .25s ease;
}
.btn-gold:hover { background: var(--gold-dark); color: #1a1a1a; transform: translateY(-2px); }

.btn-demo { border-radius: var(--radius-btn); font-weight: 600; padding: 12px 24px; }

.btn-dark-ghost {
  background: var(--navy-deep);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-btn);
  font-weight: 600;
}
.btn-dark-ghost:hover { background: #000; color: #fff; }

/* ---------- Navbar (transparent, blended into hero) ---------- */
.qr-navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: transparent;
  box-shadow: none;
  border: none;
  min-height: 78px;
  padding: 0;
}
.qr-navbar .container { min-height: 78px; padding-left: 32px; padding-right: 32px; }
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.brand-logo .bi { color: var(--gold); font-size: 1.6rem; }
.brand-img {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.brand-text { letter-spacing: .5px; }
.brand-tagline {
  display: block;
  font-size: .62rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .3px;
  margin-top: 3px;
  font-weight: 400;
}

/* Centered nav links */
.qr-navbar .nav-link {
  position: relative;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: .5rem 16px;       /* ~32px gap between items */
}
.qr-navbar .nav-link:hover { color: var(--gold); }
/* Active item â€” gold underline, ~22px wide, 2px thick, centered */
.qr-navbar .nav-link.active { color: #fff; }
.qr-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  transform: translateX(-50%);
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* CTA button */
.nav-cta {
  height: 47px;
  min-width: 148px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qr-navbar .navbar-toggler {
  border-color: rgba(255,255,255,.4);
}
.qr-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(8,22,55,.97) 0%, rgba(8,22,55,.85) 40%, rgba(8,22,55,.35) 70%, rgba(8,22,55,.15) 100%),
    url('/images/hero-image.png') right 25%/cover no-repeat;
  color: #fff;
  padding: 130px 0 70px;   /* top padding clears the 78px blended header */
  overflow: hidden;
}
.min-vh-hero { min-height: 430px; }
.hero-title {
   font-size: 4rem;
   font-weight: 800; 
   line-height: 1.06;
   text-align: left; 
  }
.hero-sub { font-size: 1.15rem; color: #d6def0; margin-bottom: 22px;text-align: left; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 500; line-height: 1; color: #fff;
}
.hb-icon {
  position: relative;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;                 /* clips the slash to the circle */
}
.hb-icon .bi { color: #fff; font-size: .95rem; position: relative; z-index: 2; }
/* Prohibition slash â€” diagonal line across the circle */
.hb-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 42px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero device plate */
.hero-device { display: inline-block; }
.device-plate {
  background: linear-gradient(160deg, #1b1b1b, #000);
  border: 4px solid #d8a85f;
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 25px 50px rgba(0,0,0,.45);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.device-brand { color: var(--gold); font-weight: 700; letter-spacing: 2px; font-size: 1rem; }
.device-qr { background: #fff; padding: 10px; border-radius: 8px; line-height: 0; }
.device-qr img { display: block; }
.device-caption { color: #cfd6e6; font-size: .72rem; letter-spacing: 1.5px; }

/* ---------- Trust bar (stats) ---------- */
.trust-bar { background: #fff; color: #fff; padding: 0 0 30px; }
.trust-card {
  /* full container width so edges align with the hero content padding */
  margin: -45px 0 0;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.22);   /* subtle white top border */
  border-radius: var(--radius-section);          /* 20px */
  padding: 14px 32px;                            /* compressed height */
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  position: relative;
  z-index: 5;
}
.trust-bar .trust-col { display: flex; align-items: center; }
.trust-col { position: relative; }
/* Thin vertical dividers between columns only */
.trust-col::after {
  content: ""; position: absolute; top: 50%; right: 0;
  transform: translateY(-50%);
  height: 50px; width: 1px; background: rgba(255,255,255,.12);
}
.trust-col:last-child::after { display: none; }
.trust-item { display: flex; align-items: center; gap: 14px; }
/* Plain white icon â€” no circle, no border, no background */
.trust-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-icon .bi {
  color: #fff;
  font-size: 28px;
  -webkit-text-stroke: 0.6px #fff;  /* ~2px visual stroke weight */
}
.trust-item h6 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.2; }
.trust-item p { margin: 4px 0 0; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.75); }
@media (max-width: 767px) {
  .trust-col:nth-child(2n)::after { display: none; }
}

/* ---------- Shared section ---------- */
.section-pad { padding: 42px 0; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: .78rem;
  margin-bottom: 8px;
}
.gold-eyebrow { margin-bottom: 26px; }
.section-title { font-size: 2.1rem; color: var(--navy); margin-bottom: 14px; text-align: center; }
.section-lead { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; }

/* ---------- What is QRBELL ---------- */
.what-is { background: #fff; }
.what-is-img {
  max-width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 22px 45px rgba(0,0,0,.14);
}
.info-grid { border: 1px solid #eee;  overflow: hidden; }
.info-col { border-right: 1px solid #eee; }
.info-col:last-child { border-right: none; }
.info-item {
  text-align: center;
  padding: 26px 14px;
  height: 100%;
  transition: .25s;
  border-radius: 0; /* reset card radius since the grid has its own */
  background: transparent; /* reset card bg since the grid has its own */
}
.info-item:hover { background: #f4f6fb; }
.info-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(244,180,0,.15);   /* subtle yellow circle */
  color: var(--navy);                /* icon blue, same as title */
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 12px;
}
.info-item h6 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.info-item p { margin: 0; font-size: .78rem; color: var(--text-muted); }
@media (max-width: 767px) {
  .info-col:nth-child(2) { border-right: none; }
  .info-col:nth-child(1), .info-col:nth-child(2) { border-bottom: 1px solid #eee; }
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 250px;
  margin: 0 auto;
  background: #0c1730;
  border-radius: 34px;
  padding: 16px 14px 26px;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
}
.phone-notch {
  width: 110px; height: 20px; background: #0c1730;
  border-radius: 0 0 14px 14px; margin: 0 auto 10px;
}
.phone-screen {
  background: #fff; border-radius: 22px; padding: 22px 18px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.phone-label { font-size: .72rem; color: var(--text-muted); }
.phone-home { color: var(--navy); margin: 2px 0 10px; font-size: 1.3rem; }
.phone-msg { font-size: .82rem; color: var(--text-muted); margin: 0 0 6px; }
.phone-time { font-size: .72rem; color: #9aa3b5; margin-bottom: 14px; }
.phone-call {
  background: var(--green); color: #fff; border: none;
  border-radius: 30px; padding: 9px 26px; font-weight: 600; font-size: .9rem;
}
.phone-secondary { font-size: .72rem; color: var(--gold); margin: 10px 0 14px; font-weight: 500; }
.phone-qr { background: #fff; padding: 4px; line-height: 0; }
.phone-qr img { display: block; }

/* ---------- How it works (forensic spec) ---------- */
.how-works { background: #fff; padding: 36px 0 40px; }
.how-inner { max-width: 1000px; }
.how-works .eyebrow {
  color: var(--gold);
  font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
}
.how-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 40px;
}

.steps-row {
  display: flex; flex-wrap: nowrap;
  align-items: center; justify-content: center;
  gap: 0;
  max-width: 960px; margin: 0 auto;
}
.step-card {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  padding: 22px 24px;
  width: 280px; min-height: 108px; height: auto;
  display: flex; align-items: center; gap: 18px; text-align: left;
}
.step-icon {
  flex-shrink: 0;
  width: 80px; height: 80px; border-radius: 14px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  overflow: hidden;
}
.step-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.step-text h6 { color: var(--navy); margin: 0 0 5px; font-weight: 600; font-size: 17px; }
.step-text p { color: #555; font-size: 14px; line-height: 1.45; margin: 0; }

/* Connector â€” 5 small gray dots */
.step-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; width: 46px;
}
.step-dots span { width: 4px; height: 4px; border-radius: 50%; background: #BDBDBD; }

/* Bottom pill */
.how-pill {
  display: inline-block;
  margin-top: 25px;
  background: #F3F4F6;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px; font-weight: 500; color: #666;
}

@media (max-width: 991px) {
  /* Stack steps below desktop so the wide cards never overflow */
  .step-dots { display: none; }          /* remove connectors */
  .steps-row { gap: 16px; flex-direction: column; flex-wrap: wrap; }
  .step-card { width: 100%; max-width: 300px; height: auto; }
}

/* ---------- Use cases ---------- */
.use-cases { background: #fff; }
.case-card {
  background: var(--cream); border-radius: 14px; overflow: hidden; height: 100%;
  text-align: left; transition: .25s; box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,.12); }
.case-img { height: 110px; background-size: cover; background-position: center; }
.case-body { position: relative; padding: 28px 14px 18px; }
/* Circular blue badge overlapping the image, centered just above the title */
.case-icon {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(3,27,78,.25);
}
.case-body h5 { color: var(--navy); font-size: .98rem; margin-bottom: 6px; }
.case-body p { color: var(--text-muted); font-size: .76rem; margin: 0; line-height: 1.45; }

/* ---------- Comparison ---------- */
.compare-section { background: var(--bg); color: #fff; }
.compare-card {
  position: relative;
  border-radius: var(--radius-card);     /* 24px rounded rectangle */
  overflow: hidden;
  padding: 30px 40px;                    /* reduced height */
  background:
    linear-gradient(100deg, rgba(8,22,55,.96) 0%, rgba(8,22,55,.85) 45%, rgba(8,22,55,.30) 75%, rgba(8,22,55,.10) 100%),
    url('/images/why-qr-bell.png') center right/cover no-repeat;
  background-color: var(--navy);
  box-shadow: 0 18px 45px rgba(3,27,78,.18);
}
.compare-section .eyebrow { display: block; text-align: center; }
/* Title â€” left aligned & bold */
.compare-heading {
  display: block;
  text-align: left;
  font-weight: 700;
  margin-bottom: 14px;
}
.compare-wrap {
  background: transparent; border-radius: 0; padding: 0;
  border: none;
}
.compare-table { color: #e7ecf7; margin: 0; }
.compare-table thead th {
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-weight: 600; padding: 16px 12px; background: transparent; color: #fff;
}
.compare-table tbody td {
  border-color: rgba(255,255,255,.08);
  padding: 14px 12px; vertical-align: middle; background: transparent; color: #dde3f0;
}
.compare-table .yes { color: var(--green); }
.compare-table .no { color: var(--red); }
.compare-device {
  background: linear-gradient(160deg, #1b1b1b, #000);
  border: 4px solid #d8a85f; border-radius: 14px;
  padding: 22px; display: inline-flex; flex-direction: column;
  align-items: center; gap: 12px; box-shadow: 0 22px 44px rgba(0,0,0,.4);
}
.compare-img {
  max-width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 36px 0;
}
.cta-section h3 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; font-weight: 700; }
.cta-section p { color: rgba(255,255,255,.7); margin: 0; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #f1f3f7;
  color: #4a5568;
  padding: 60px 0 28px;
  font-size: .95rem;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 18px;
}
.footer-brand .bi { color: var(--navy); font-size: 1.8rem; }
.footer-brand span { color: var(--navy); font-size: 1.5rem; font-weight: 800; letter-spacing: .5px; }
.footer-slogan { color: var(--navy); font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; }
.footer-about { color: #6b7280; line-height: 1.6; max-width: 380px; margin: 0 0 18px; }

.footer-venture {
  display: inline-block;
  background: #eef2fb;
  border: 1px solid #dde6f7;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .85rem; color: #4a5568;
  margin-bottom: 22px;
}
.footer-venture strong { color: var(--navy-2); }

.footer-contact { list-style: none; padding: 0; margin: 0 0 20px; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; color: #6b7280; line-height: 1.5;
}
.footer-contact .bi { color: #9aa3b5; font-size: 1.05rem; margin-top: 2px; }
.footer-contact a { color: #6b7280; text-decoration: none; }
.footer-contact a:hover { color: var(--navy); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: #4a5568; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; transition: .25s;
}
.footer-social a:hover { background: var(--navy); transform: translateY(-3px); }

.footer-heading {
  color: var(--navy); font-weight: 700; font-size: 1.15rem; margin: 0 0 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 14px; }
.footer-links a {
  color: #6b7280; text-decoration: none; transition: .2s;
}
.footer-links a:hover { color: var(--navy); }
.footer-links .link-danger-soft { color: #e23b3b; font-weight: 500; }
.footer-soon { color: #9aa3b5; font-style: italic; }

.footer-divider { border-color: #d9dde6; margin: 36px 0 24px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy, .footer-powered { margin: 0; color: #6b7280; font-size: .9rem; }
.footer-powered a { color: var(--navy); text-decoration: underline; }
.footer-trust { height: 30px; width: auto; max-width: 100%; }

@media (max-width: 767px) {
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 99;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--gold); color: #1a1a1a; font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transition: .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet & below (â‰¤ 991px) ---- */
@media (max-width: 991px) {
  /* Navbar */
  .qr-navbar .container { padding-left: 20px; padding-right: 20px; }
  .qr-navbar .navbar-collapse {
    background: var(--navy);
    padding: 14px 16px;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
  }
  .qr-navbar .navbar-nav { margin: 0 !important; }
  .qr-navbar .nav-link { padding: .55rem 4px; }
  .qr-navbar .nav-link.active::after { left: 4px; transform: none; }
  .nav-cta { margin-top: 10px; width: 100%; }

  /* Hero */
  .hero {
    padding: 120px 0 56px;
    background-position: center;
  }
  .hero-title { font-size: 2.6rem; }
  .hero-sub { font-size: 1.05rem; }

  /* Headings */
  .section-title { font-size: 1.7rem; }
  .how-title { font-size: 32px; }

  /* What is QRBell â€” image above text, centered */
  .what-is-img { max-width: 420px; margin-bottom: 8px; }

  /* Comparison â€” let the navy gradient cover full width so the
     table stays readable once the column stacks */
  .compare-card {
    padding: 28px 24px;
    background:
      linear-gradient(180deg, rgba(8,22,55,.94) 0%, rgba(8,22,55,.86) 100%),
      url('/images/why-qr-bell.png') center/cover no-repeat;
  }
  .compare-card .col-lg-5 { display: none; }

  /* CTA â€” stack and center */
  .cta-section { text-align: center; }
  .cta-section .col-lg-6 { justify-content: center; }
}

/* ---- Mobile (â‰¤ 767px) ---- */
@media (max-width: 767px) {
  .section-pad { padding: 36px 0; }
  .hero-title { font-size: 2.2rem; }

  /* Trust card â€” 2 columns, tidy spacing */
  .trust-card { padding: 18px 18px; }
  .trust-item { gap: 10px; }
  .trust-bar .trust-col { padding-top: 10px; padding-bottom: 10px; }

  /* CTA buttons stack full width */
  .cta-section .btn { display: block; width: 100%; margin: 8px 0 0 !important; }

  /* Footer trust badge scales down */
  .footer-trust { height: 26px; }
}

/* ---- Small mobile (â‰¤ 575px) ---- */
@media (max-width: 575px) {
  .hero { padding: 108px 0 44px; }
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: .98rem; }
  .hero-badges { gap: 12px; }
  .hero-actions .btn { width: 100%; }

  .brand-text { font-size: 1.25rem; }
  .brand-tagline { font-size: .58rem; }
  .how-title { font-size: 26px; }

  /* Section headings */
  .section-title { font-size: 1.5rem; }
  .section-pad { padding: 32px 0; }

  /* Compare table â€” allow horizontal scroll */
  .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 520px; }
  .compare-table thead th,
  .compare-table tbody td { padding: 12px 8px; font-size: .9rem; }

  /* Trust card overlap reduced on tiny screens */
  .trust-card { margin-top: -20px; padding: 14px 12px; }

  .footer-brand span { font-size: 1.3rem; }
  .footer-about { font-size: .88rem; }
}

/* ---- Very small (â‰¤ 400px) ---- */
@media (max-width: 400px) {
  .hero { padding: 96px 0 36px; }
  .hero-title { font-size: 1.65rem; }
  .hero-sub { font-size: .9rem; }
  .section-title { font-size: 1.3rem; }
  .qr-navbar .container { padding-left: 12px; padding-right: 12px; }
  .brand-tagline { display: none; }
  .trust-card { margin-top: -10px; }
  .trust-icon { width: 36px; height: 36px; }
  .trust-icon .bi { font-size: 22px; }
  .trust-item h6 { font-size: 14px; }
  .trust-item p { font-size: 11px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero entrance (fade-up, staggered) --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text > * {
  opacity: 0;
  animation: heroFadeUp .7s ease forwards;
}
.hero-title    { animation-delay: .15s; }
.hero-sub      { animation-delay: .30s; }
.hero-badges   { animation-delay: .45s; }
.hero-actions  { animation-delay: .60s; }

/* --- Hover micro-interactions --- */
.step-card,
.case-card,
.btn-gold,
.btn-dark-ghost { transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }

.step-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(3,27,78,.10); }
.btn-gold:hover  { transform: translateY(-2px) scale(1.02); }

/* --- Trust card slide-up into its overlap position --- */
@keyframes trustRise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.trust-card {
  animation: trustRise .7s ease both;
  animation-delay: .5s;
}

/* --- Subtle floating phone / call-log image --- */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.what-is-img.in { animation: floaty 5s ease-in-out infinite 1s; }

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-text > *,
  .trust-card,
  .what-is-img.in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
