/* =========================================
   LAG – Lottery Assistant Generator
   Bright, Fun, Colorful Marketing Theme
   (FULL REPLACEMENT styles.css)
   ========================================= */

/* -------------------------
   Design tokens
   ------------------------- */
   :root {
    --bg: #fff7ed;          /* warm peach background */
    --bg-alt: #fffbeb;      /* soft cream */
    --card: #ffffff;        /* white cards */
    --card-alt: #fefce8;    /* pale yellow cards */
    --accent: #f97316;      /* bright orange */
    --accent-soft: rgba(249, 115, 22, 0.18);
    --accent-2: #a855f7;    /* violet */
    --accent-2-soft: rgba(168, 85, 247, 0.15);
    --accent-3: #22c55e;    /* lucky green */
    --text: #111827;        /* neutral dark text */
    --muted: #4b5563;
    --border: rgba(148, 163, 184, 0.7);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.12);
    --shadow-chip: 0 0 0 1px rgba(148, 163, 184, 0.25);
    --nav-h: 4.25rem;
  }
  
  /* -------------------------
     Reset & base
     ------------------------- */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
      radial-gradient(circle at top left, #fef3c7 0, transparent 55%),
      radial-gradient(circle at top right, #e0f2fe 0, transparent 60%),
      radial-gradient(circle at 15% 80%, #fee2e2 0, transparent 50%),
      radial-gradient(circle at 85% 90%, #dcfce7 0, transparent 55%),
      var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
  }
  
  body {
    min-height: 100vh;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    display: block;
    max-width: 100%;
  }
  
  p {
    margin: 0;
  }
  
  h1,
  h2,
  h3 {
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
  }
  
  h1 {
    font-size: clamp(2.3rem, 3.2vw + 1rem, 3.4rem);
    line-height: 1.03;
  }
  
  h2 {
    font-size: clamp(1.7rem, 2.2vw + 1rem, 2.3rem);
    line-height: 1.08;
  }
  
  h3 {
    font-size: 1.15rem;
  }
  
  .muted {
    color: var(--muted);
  }
  
  /* -------------------------
     Layout shells
     ------------------------- */
  .lag-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
  }
  
  /* -------------------------
     Background confetti glow
     ------------------------- */
  .bg-orbit {
    position: fixed;
    inset: -40%;
    pointer-events: none;
    z-index: -1;
    background:
      radial-gradient(circle at 10% 5%, rgba(251, 191, 36, 0.26) 0, transparent 60%),
      radial-gradient(circle at 90% 10%, rgba(249, 168, 212, 0.28) 0, transparent 60%),
      radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.24) 0, transparent 60%),
      radial-gradient(circle at 100% 100%, rgba(52, 211, 153, 0.26) 0, transparent 60%);
    animation: lag-orbit-drift 22s ease-in-out infinite alternate;
    will-change: transform, opacity;
  }
  
  @keyframes lag-orbit-drift {
    0% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.85;
    }
    50% {
      transform: translate3d(0, -8px, 0) scale(1.02);
      opacity: 1;
    }
    100% {
      transform: translate3d(0, 6px, 0) scale(1.01);
      opacity: 0.92;
    }
  }
  
  /* -------------------------
     Header & nav
     ------------------------- */
  .lag-header-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.88),
      transparent
    );
    border-bottom: 1px solid rgba(248, 250, 252, 0.9);
  }
  
  .lag-header {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  .lag-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
  }
  
  .lag-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background:
      conic-gradient(from 210deg, #22c55e, #f97316, #a855f7, #22c55e);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(248, 171, 104, 0.45);
  }
  
  .lag-logo-mark svg {
    width: 100%;
    height: 100%;
  }
  
  .lag-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  
  .lag-logo-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f172a;
  }
  
  .lag-logo-sub {
    font-size: 0.78rem;
    color: #6b7280;
  }
  
  .lag-nav {
    display: flex;
    align-items: center;
  }
  
  .lag-nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
  }
  
  .lag-nav-links a {
    color: #4b5563;
    position: relative;
    padding-bottom: 0.15rem;
  }
  
  .lag-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent-2));
    border-radius: 999px;
    transition: width 0.2s ease-out;
  }
  
  .lag-nav-links a:hover {
    color: #111827;
  }
  
  .lag-nav-links a:hover::after {
    width: 100%;
  }
  
  /* Mobile nav button */
  .nav-toggle {
    display: none;
    border: none;
    background: #f1f5f9;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow: var(--shadow-chip);
  }
  
  .nav-toggle-line {
    display: block;
    width: 1.25rem;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    position: relative;
  }
  
  .nav-toggle-line + .nav-toggle-line {
    margin-top: 5px;
  }
  
  /* -------------------------
     Hero
     ------------------------- */
  .hero {
    padding: 3.5rem 0 3rem;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
  }
  
  .hero-copy {
    max-width: 600px;
  }
  
  .hero-label-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.5);
    color: #9a3412;
    margin-bottom: 1rem;
    background:
      radial-gradient(circle at left, rgba(250, 204, 21, 0.38), transparent 70%),
      #fff7ed;
  }
  
  .hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent), var(--accent-2));
  }
  
  .hero-sub {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
  }
  
  .hero-highlight {
    color: var(--accent);
    font-weight: 600;
  }
  
  .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition:
      transform 0.15s ease-out,
      box-shadow 0.15s ease-out,
      background 0.15s ease-out,
      border-color 0.15s ease-out,
      color 0.15s ease-out;
  }
  
  .btn-primary {
    background: linear-gradient(120deg, #f97316, #fb7185, #a855f7);
    color: #fff7ed;
    box-shadow: 0 18px 45px rgba(248, 113, 113, 0.5);
    position: relative;
    overflow: hidden;
    animation: lag-cta-pulse 5.2s ease-in-out infinite;
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(244, 114, 182, 0.78);
  }
  
  @keyframes lag-cta-pulse {
    0%,
    100% {
      box-shadow: 0 18px 45px rgba(248, 113, 113, 0.5);
      transform: translateY(0);
    }
    50% {
      box-shadow: 0 24px 65px rgba(251, 146, 60, 0.8);
      transform: translateY(-1px);
    }
  }
  
  .btn-ghost {
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #ffffff;
    color: #111827;
  }
  
  .btn-ghost:hover {
    background: #f9fafb;
  }
  
  .btn-soft {
    background: var(--accent-soft);
    color: #9a3412;
    border-radius: 999px;
    padding-inline: 1rem;
    border: 1px solid rgba(249, 115, 22, 0.35);
  }
  
  .btn-outline {
    background: transparent;
    color: var(--muted);
    border: 1px dashed rgba(148, 163, 184, 0.7);
  }
  
  .btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
  }
  
  .btn[disabled],
  .btn.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }
  
  /* Hero mini cards */
  .hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.4rem;
  }
  
  .hero-mini-card {
    background:
      radial-gradient(circle at top, rgba(251, 191, 36, 0.25), transparent 65%),
      #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(248, 165, 66, 0.65);
    padding: 0.8rem 1rem;
    font-size: 0.84rem;
    box-shadow: var(--shadow-soft);
  }
  
  .hero-mini-label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #b45309;
    margin-bottom: 0.2rem;
  }
  
  .hero-disclaimer {
    font-size: 0.78rem;
    color: var(--muted);
  }
  
  /* Hero visual / phone mockups */
  .hero-visual {
    position: relative;
  }
  
  .phone-frame {
    border-radius: 2.2rem;
    padding: 0.85rem;
    background: linear-gradient(145deg, #ffffff, #fef3c7);
    border: 1px solid rgba(248, 165, 66, 0.55);
    width: min(310px, 100%);
    box-shadow: 0 24px 60px rgba(248, 171, 104, 0.35);
  }
  
  .phone-main {
    margin-left: auto;
  }
  
  .phone-secondary {
    position: absolute;
    left: -8%;
    bottom: -8%;
    transform: scale(0.75);
    transform-origin: bottom left;
    opacity: 0.9;
  }
  
  .phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  .phone-pill {
    font-size: 0.7rem;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #4b5563;
  }
  
  .phone-pill.subtle {
    opacity: 0.75;
  }
  
  .phone-body {
    background:
      radial-gradient(circle at top left, rgba(129, 140, 248, 0.27), transparent 60%),
      radial-gradient(circle at bottom right, rgba(52, 211, 153, 0.32), transparent 60%),
      #ffffff;
    border-radius: 1.8rem;
    padding: 1rem 1rem 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(248, 250, 252, 0.9);
  }
  
  /* Chips */
  .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
  }
  
  .chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 0.7rem;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #4b5563;
    overflow: hidden;
  }
  
  .chip::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at top left, rgba(252, 211, 77, 0.3), transparent 60%);
    transition: opacity 0.15s ease-out;
    pointer-events: none;
  }
  
  .chip:hover::before {
    opacity: 1;
  }
  
  .chip-soft {
    background: #eef2ff;
    border-color: rgba(129, 140, 248, 0.9);
    color: #4338ca;
  }
  
  .chip-glow {
    box-shadow:
      0 0 0 1px rgba(129, 140, 248, 0.7),
      0 0 18px rgba(129, 140, 248, 0.55);
    color: #1e293b;
  }
  
  /* Numbers row (lottery balls) */
  .numbers-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }
  
  .numbers-row span {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    background:
      radial-gradient(circle at top, #fefce8, #facc15);
    border: 1px solid rgba(234, 179, 8, 0.9);
    color: #111827;
    box-shadow: 0 6px 16px rgba(148, 163, 184, 0.7);
  }
  
  .numbers-row-small span {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.8rem;
  }
  
  .phone-caption {
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 0.7rem;
  }
  
  .phone-actions {
    display: flex;
    gap: 0.5rem;
  }
  
  .dream-text {
    font-size: 0.78rem;
    color: #111827;
    margin-bottom: 0.6rem;
  }
  
  .dream-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
  }
  
  /* Hero ribbon */
  .hero-ribbon {
    margin-top: 1.6rem;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.7rem;
    color: var(--muted);
  }
  
  .hero-ribbon span {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.7);
    background: #ffffffaa;
  }
  
  /* -------------------------
     Sections
     ------------------------- */
  .section {
    padding: 3.5rem 0 3rem;
  }
  
  .section-alt {
    background:
      radial-gradient(circle at 10% 0%, rgba(252, 211, 77, 0.35), transparent 60%),
      radial-gradient(circle at 90% 0%, rgba(244, 114, 182, 0.28), transparent 60%),
      var(--bg-alt);
    border-radius: 2rem;
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
  }
  
  .section-header {
    max-width: 700px;
    margin-bottom: 2rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
    color: var(--muted);
  }
  
  /* Features grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
  }
  
  .feature-card {
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.1rem 1.1rem 1.1rem;
    font-size: 0.86rem;
    box-shadow: var(--shadow-soft);
  }
  
  .feature-card h3 {
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    color: var(--muted);
    margin-bottom: 0.7rem;
  }
  
  .feature-card ul {
    margin: 0.4rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
  }
  
  /* Generators layout */
  .generator-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  
  .generator-column {
    font-size: 0.9rem;
  }
  
  .region-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.8rem 0 0.6rem;
  }
  
  .list-check {
    list-style: none;
    padding-left: 0;
    margin: 0.7rem 0 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
  }
  
  .list-check li {
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.35rem;
  }
  
  .list-check li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.7rem;
    color: var(--accent-3);
  }
  
  .gen-preview {
    margin-top: 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 130, 246, 0.5);
    background:
      radial-gradient(circle at top left, rgba(129, 140, 248, 0.2), transparent 60%),
      var(--card);
    padding: 0.8rem;
    font-size: 0.8rem;
    box-shadow: var(--shadow-soft);
  }
  
  .gen-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .gen-name {
    font-weight: 600;
  }
  
  .gen-tag {
    font-size: 0.7rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid rgba(129, 140, 248, 0.8);
    color: #4338ca;
  }
  
  /* Community */
  .community-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
  }
  
  .community-card {
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.2rem 1.2rem 1rem;
    font-size: 0.86rem;
    box-shadow: var(--shadow-soft);
  }
  
  .community-card h3 {
    margin-bottom: 0.4rem;
  }
  
  .community-card p {
    color: var(--muted);
    margin-bottom: 0.5rem;
  }
  
  .community-card ul {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
  }
  
  /* Safety section */
  .section-safety {
    margin-top: 1rem;
    margin-bottom: 3rem;
  }
  
  .safety-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.2rem 0 2rem;
    font-size: 0.9rem;
  }
  
  .safety-inner h2 {
    margin-bottom: 0.6rem;
  }
  
  .list-bullet {
    margin: 0.7rem 0 0.6rem;
    padding-left: 1.2rem;
    color: var(--muted);
  }
  
  /* FAQ */
  .faq-list {
    max-width: 760px;
  }
  
  .faq-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: #ffffff;
    margin-bottom: 0.7rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }
  
  .faq-question {
    width: 100%;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
  }
  
  .faq-icon {
    font-size: 1.1rem;
    color: var(--muted);
    margin-left: 0.75rem;
    transition: transform 0.2s ease-out;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    font-size: 0.86rem;
    color: var(--muted);
    transition: max-height 0.24s ease-out, padding-bottom 0.24s ease-out;
  }
  
  .faq-item.is-open .faq-answer {
    max-height: 300px;
    padding-bottom: 0.85rem;
  }
  
  .faq-item.is-open .faq-icon {
    transform: rotate(45deg);
  }
  
  /* -------------------------
     Hero CTA + QR layout
     ------------------------- */
  .hero-cta-with-qr {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .hero-cta-main {
    flex: 1 1 0;
  }
  
  .hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
  }
  
  .hero-cta-note {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
  }
  
  /* QR card hover shimmer + tilt-ready */
  .qr-cta-card {
    position: relative;
    overflow: hidden;
    flex: 0 0 320px;
    border-radius: 1.5rem;
    padding: 1.5rem;
    background:
      radial-gradient(circle at top left, rgba(252, 211, 77, 0.4), transparent 60%),
      radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.32), transparent 60%),
      #ffffff;
    border: 1px solid rgba(249, 115, 22, 0.45);
    box-shadow:
      0 24px 60px rgba(248, 171, 104, 0.5),
      0 0 0 1px rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(10px);
  }
  
  /* shimmer overlay */
  .qr-cta-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(252, 211, 77, 0.15) 25%,
      rgba(248, 250, 252, 0.7) 45%,
      rgba(252, 211, 77, 0.15) 65%,
      transparent 100%
    );
    opacity: 0;
    transform: translateX(-40%);
    pointer-events: none;
    transition: opacity 0.25s ease-out;
  }
  
  .qr-cta-card:hover::before {
    opacity: 1;
    animation: lag-qr-shimmer 1.1s ease-out forwards;
  }
  
  @keyframes lag-qr-shimmer {
    0% {
      transform: translateX(-40%);
    }
    60% {
      transform: translateX(10%);
    }
    100% {
      transform: translateX(40%);
      opacity: 0;
    }
  }
  
  .qr-cta-header h2 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }
  
  .qr-cta-header p {
    font-size: 0.9rem;
    color: #4b5563;
  }
  
  /* Pill at top of QR card */
  .qr-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #fefce8;
    border: 1px solid rgba(251, 191, 36, 0.9);
    color: #92400e;
  }
  
  .qr-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: conic-gradient(from 210deg, #22c55e, #f97316, #a855f7, #22c55e);
  }
  
  /* Body area: QR image + meta text */
  .qr-cta-body {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.25rem;
    align-items: center;
  }
  
  .qr-image-wrap {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 1.25rem;
    padding: 0.75rem;
    background:
      radial-gradient(circle at top, rgba(129, 140, 248, 0.35), transparent 60%),
      #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
  }
  
  .qr-image-wrap img {
    max-width: 100%;
    max-height: 100%;
  }
  
  .qr-meta {
    flex: 1 1 0;
  }
  
  .qr-meta-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
  }
  
  .qr-meta-sub {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
  }
  
  /* Store badge row */
  .qr-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
  }
  
  /* Store badges – Google Play / App Store style */
  .store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.85rem;
    border-radius: 0.9rem;
    background:
      linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(244, 114, 182, 0.2));
    border: 1px solid rgba(148, 163, 184, 0.7);
    text-decoration: none;
    color: #111827;
    font-size: 0.8rem;
    line-height: 1.1;
    box-shadow: 0 10px 28px rgba(148, 163, 184, 0.5);
    transition:
      transform 0.15s ease-out,
      box-shadow 0.15s ease-out,
      border-color 0.15s ease-out,
      background 0.15s ease-out,
      color 0.15s ease-out;
  }
  
  .store-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(148, 163, 184, 0.7);
    border-color: rgba(59, 130, 246, 0.8);
  }
  
  .store-badge-play {
    background:
      radial-gradient(circle at top left, rgba(52, 211, 153, 0.3), transparent 60%),
      #ffffff;
    border-color: rgba(52, 211, 153, 0.8);
  }
  
  .store-badge-coming-soon {
    opacity: 0.85;
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.9);
  }
  
  .store-badge-coming-soon:hover {
    opacity: 1;
  }
  
  .store-badge-icon {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: radial-gradient(circle at 10% 0%, #22c55e, #f97316);
    color: #f9fafb;
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.7);
    flex-shrink: 0;
  }
  
  .store-badge-text {
    display: flex;
    flex-direction: column;
  }
  
  .store-badge-label {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #6b7280;
  }
  
  .store-badge-main {
    font-size: 0.86rem;
    font-weight: 600;
  }
  
  /* -------------------------
     Newsletter section
     ------------------------- */
  .newsletter-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    border-radius: 1.5rem;
    background:
      radial-gradient(circle at top, rgba(251, 191, 36, 0.35), transparent 60%),
      #ffffff;
    border: 1px solid rgba(251, 191, 36, 0.7);
    box-shadow: var(--shadow-soft);
  }
  
  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .newsletter-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .newsletter-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #374151;
  }
  
  .newsletter-field input,
  .newsletter-field select {
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid rgba(209, 213, 219, 0.9);
    background: #f9fafb;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    color: #111827;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  
  .newsletter-field input:focus,
  .newsletter-field select:focus {
    border-color: #fb923c;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.4);
  }
  
  .newsletter-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
  }
  
  .newsletter-note {
    font-size: 0.75rem;
    color: #6b7280;
    max-width: 40rem;
  }
  
  /* -------------------------
     Delete account / data removal
     ------------------------- */
  .delete-account-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    border-radius: 1.5rem;
    background:
      radial-gradient(circle at top, rgba(252, 165, 165, 0.3), transparent 60%),
      #fff1f2;
    border: 1px solid rgba(248, 113, 113, 0.8);
    box-shadow: var(--shadow-soft);
  }
  
  .delete-account-card h3 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #7f1d1d;
  }
  
  .delete-steps {
    margin: 0.75rem 0 1rem;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: #7f1d1d;
  }
  
  .delete-steps li + li {
    margin-top: 0.4rem;
  }
  
  .delete-account-card .list-bullet,
  .delete-account-card .list-dash {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .delete-account-card .list-dash li {
    font-size: 0.85rem;
  }
  
  .delete-account-card a {
    color: #b91c1c;
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }
  
  .section#account .muted {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.75rem;
  }
  
  /* -------------------------
     Reveal on scroll
     ------------------------- */
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }
  
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* -------------------------
     Motion helpers
     ------------------------- */
  .float-soft {
    animation: lag-float-soft 6.4s ease-in-out infinite;
    will-change: transform;
  }
  
  @keyframes lag-float-soft {
    0% {
      transform: translate3d(0, 0, 0);
    }
    50% {
      transform: translate3d(0, -6px, 0);
    }
    100% {
      transform: translate3d(0, 0, 0);
    }
  }
  
  /* -------------------------
     Footer
     ------------------------- */
  .lag-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.6rem 0 2rem;
    background:
      radial-gradient(circle at top, rgba(251, 191, 36, 0.32), transparent 60%),
      #fffbeb;
  }
  
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }
  
  .footer-logo-mark {
    width: 30px;
    height: 30px;
  }
  
  .footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
  }
  
  .footer-sub {
    font-size: 0.78rem;
    color: #6b7280;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.8rem;
    color: #6b7280;
  }
  
  .footer-links a:hover {
    color: #111827;
  }
  
  .footer-copy {
    font-size: 0.78rem;
    color: #6b7280;
  }
  
  /* -------------------------
     Responsive tweaks
     ------------------------- */
  @media (max-width: 960px) {
    .hero-grid {
      grid-template-columns: minmax(0, 1.1fr);
    }
  
    .hero-visual {
      order: -1;
    }
  
    .phone-main {
      margin-inline: auto;
    }
  
    .phone-secondary {
      display: none;
    }
  
    .features-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .community-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .generator-layout {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .section-alt {
      border-radius: 1.4rem;
    }
  }
  
  @media (max-width: 768px) {
    .lag-header {
      padding-inline: 1rem;
    }
  
    .lag-shell {
      padding-inline: 1rem;
    }
  
    .lag-nav {
      position: absolute;
      inset: var(--nav-h) 0 auto 0;
      padding: 0.75rem 1.5rem 1rem;
      background: #ffffffee;
      border-bottom: 1px solid rgba(226, 232, 240, 0.95);
      transform-origin: top;
      transform: scaleY(0.9);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    }
  
    .lag-header.nav-open .lag-nav {
      opacity: 1;
      transform: scaleY(1);
      pointer-events: auto;
    }
  
    .lag-nav-links {
      flex-direction: column;
      gap: 0.9rem;
    }
  
    .nav-toggle {
      display: inline-flex;
    }
  
    .features-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .community-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .hero-mini-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .section-alt {
      margin-inline: 0;
      border-radius: 1.4rem;
    }
  
    .phone-main {
      margin-inline: auto;
    }
  
    .hero-cta-with-qr {
      flex-direction: column;
    }
  }
  
  @media (min-width: 720px) {
    .newsletter-fields {
      flex-direction: row;
    }
  
    .newsletter-field {
      flex: 1 1 0;
    }
  }
  
  @media (min-width: 900px) {
    .hero-cta-with-qr {
      flex-direction: row;
      align-items: stretch;
    }
  
    .hero-cta-main {
      padding-right: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .btn {
      padding-inline: 1.1rem;
    }
  }
  