/* ── Animations ── */
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp      { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeDown    { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight  { from { opacity: 0; transform: translateX(110%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(110%); } }
@keyframes scaleIn  { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes scaleOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.92); } }
@keyframes slideInLeft  { from { opacity: 0; transform: translateX(-100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutLeft { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-100%); } }
@keyframes toastPop { 0% { opacity:0; transform:translateY(-12px) scale(.95); } 100% { opacity:1; transform:translateY(0) scale(1); } }
@keyframes toastDie { 0% { opacity:1; transform:translateY(0) scale(1); } 100% { opacity:0; transform:translateY(-10px) scale(.95); } }
@keyframes dropdownIn { 0% { opacity:0; transform:translateY(-6px) scale(.97); } 100% { opacity:1; transform:translateY(0) scale(1); } }
@keyframes pulseGreen { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
@keyframes pulseRed   { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }  70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } }
@keyframes shimmer    { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes barProgress { from { width: 0; } to { width: 100%; } }
@keyframes authIconFloat {
  0%,100% { transform: translateY(0) scale(1);    filter: drop-shadow(0 0 10px rgba(34,197,94,.25)); }
  50%     { transform: translateY(-10px) scale(1.07); filter: drop-shadow(0 0 20px rgba(34,197,94,.45)); }
}
@keyframes authIconPulseRing {
  0%   { transform: scale(.95); box-shadow: 0 0 0 0 rgba(34,197,94,.35); }
  70%  { transform: scale(1);   box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes heartBeat {
  0%,100% { transform: scale(1); }
  14%     { transform: scale(1.35); }
  28%     { transform: scale(1); }
  42%     { transform: scale(1.2); }
  70%     { transform: scale(1); }
}
@keyframes heartColor {
  0%   { color: #ef4444; }
  20%  { color: #22c55e; }
  40%  { color: #f3f4f6; }
  60%  { color: #a855f7; }
  80%  { color: #3b82f6; }
  100% { color: #ef4444; }
}

.auth-icon-float {
  width:72px; height:72px;
  background: rgba(34,197,94,.08);
  border: 1.5px solid rgba(34,197,94,.22);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem;
  animation: authIconFloat 3.2s ease-in-out infinite;
}
.auth-icon-float.yellow {
  background: rgba(234,179,8,.08);
  border-color: rgba(234,179,8,.22);
  filter: drop-shadow(0 0 6px rgba(234,179,8,.2));
}

.heart-beat {
  display: inline-block;
  font-family: Arial, sans-serif;
  color: #ef4444;
  animation: heartBeat 1.2s ease-in-out infinite, heartColor 5s linear infinite;
}

.animate-fade-in   { animation: fadeIn   .4s  cubic-bezier(.22,1,.36,1) both; }
.animate-fade-up   { animation: fadeUp   .55s cubic-bezier(.22,1,.36,1) both; }
.animate-fade-down { animation: fadeDown .4s  cubic-bezier(.22,1,.36,1) both; }
.animate-scale-in  { animation: scaleIn  .35s cubic-bezier(.34,1.56,.64,1) both; }
.animate-slide-in-right { animation: slideInRight .35s ease both; }
.animate-slide-in-left  { animation: slideInLeft  .3s  ease both; }

.delay-50  { animation-delay: 50ms;   }
.delay-100 { animation-delay: 100ms;  }
.delay-150 { animation-delay: 150ms;  }
.delay-200 { animation-delay: 200ms;  }
.delay-250 { animation-delay: 250ms;  }
.delay-300 { animation-delay: 300ms;  }
.delay-350 { animation-delay: 350ms;  }
.delay-400 { animation-delay: 400ms;  }
.delay-450 { animation-delay: 450ms;  }
.delay-500 { animation-delay: 500ms;  }
.delay-550 { animation-delay: 550ms;  }
.delay-600 { animation-delay: 600ms;  }
.delay-650 { animation-delay: 650ms;  }
.delay-700 { animation-delay: 700ms;  }
.delay-750 { animation-delay: 750ms;  }
.delay-800 { animation-delay: 800ms;  }
.delay-850 { animation-delay: 850ms;  }
.delay-900 { animation-delay: 900ms;  }
.delay-950 { animation-delay: 950ms;  }
.delay-1000{ animation-delay: 1000ms; }
.delay-1100{ animation-delay: 1100ms; }
.delay-1200{ animation-delay: 1200ms; }

/* ── Auth entrance animations ── */
@keyframes wordReveal {
  from { opacity:0; transform:translateY(16px); filter:blur(4px); }
  to   { opacity:1; transform:translateY(0);    filter:blur(0);   }
}
@keyframes authCardRise {
  from { opacity:0; transform:translateY(32px) scale(.95); }
  to   { opacity:1; transform:translateY(0)    scale(1);   }
}
@keyframes authPanelSlide {
  from { opacity:0; transform:translateX(-28px); }
  to   { opacity:1; transform:translateX(0);     }
}
@keyframes authItemSlide {
  from { opacity:0; transform:translateX(-20px); }
  to   { opacity:1; transform:translateX(0);     }
}
@keyframes authFieldRise {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0);    }
}
@keyframes authIconDrop {
  0%   { opacity:0; transform:translateY(-28px) scale(.7); }
  65%  { transform:translateY(6px) scale(1.08); }
  100% { opacity:1; transform:translateY(0)     scale(1);  }
}
@keyframes authBgPulse {
  0%,100% { opacity:.05; transform:scale(1); }
  50%     { opacity:.14; transform:scale(1.2); }
}
@keyframes authDividerGrow {
  from { transform:scaleX(0); opacity:0; transform-origin:left; }
  to   { transform:scaleX(1); opacity:1; }
}
@keyframes authGlowBorder {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.0), 0 20px 60px rgba(0,0,0,.4); }
  50%     { box-shadow: 0 0 0 1px rgba(34,197,94,.12), 0 20px 60px rgba(0,0,0,.4); }
}

.word-reveal {
  display: inline-block;
  opacity: 0;
  animation: wordReveal .55s cubic-bezier(.22,.68,0,1.28) both;
}
.auth-panel-in  { animation: authPanelSlide .6s  cubic-bezier(.22,.68,0,1.15) both; }
.auth-card-in   { animation: authCardRise   .65s cubic-bezier(.22,.68,0,1.12) both; }
.auth-item-in   { opacity:0; animation: authItemSlide .5s  cubic-bezier(.22,.68,0,1.2) both; }
.auth-field-in  { opacity:0; animation: authFieldRise .45s cubic-bezier(.22,.68,0,1.2) both; }
.auth-divider-in{ animation: authDividerGrow .6s ease both; }
.auth-bg-pulse  { animation: authBgPulse 5s ease-in-out infinite; }
.auth-card-glow { animation: authGlowBorder 4s ease-in-out infinite; }

.auth-icon-wrap {
  animation:
    authIconDrop 0.65s cubic-bezier(.34,1.56,.64,1) both,
    authIconFloat 3.2s ease-in-out 1.1s infinite;
}
.auth-icon-wrap.yellow {
  background: rgba(234,179,8,.08);
  border-color: rgba(234,179,8,.22);
  animation:
    authIconDrop 0.65s cubic-bezier(.34,1.56,.64,1) both,
    authIconFloat 3.2s ease-in-out 1.1s infinite;
}

.auth-input { transition: border-color .2s, box-shadow .25s, transform .2s; }
.auth-input:focus {
  transform: translateY(-1px);
  border-color: rgba(34,197,94,.5) !important;
  box-shadow: 0 4px 20px rgba(34,197,94,.1), 0 0 0 2.5px rgba(34,197,94,.18) !important;
}

.auth-btn { position: relative; overflow: hidden; transition: all .25s cubic-bezier(.22,.68,0,1.2); }
.auth-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.auth-btn:hover::before { opacity: 1; }
.auth-btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(34,197,94,.35); }
.auth-btn:active { transform: scale(.97) translateY(0); }

/* ── Toast ── */
#toast-root {
  position: fixed; top: .875rem; right: .875rem; z-index: 9999;
  display: flex; flex-direction: column; gap: .4rem;
  max-width: 340px; width: calc(100vw - 1.75rem);
  pointer-events: none;
}
@media (max-width: 480px) {
  #toast-root { right: .5rem; left: .5rem; max-width: none; width: auto; }
}
.gm-toast {
  pointer-events: all;
  display: flex; align-items: flex-start; gap: 10px;
  background: #161c28; border: 1px solid #1e2740;
  border-radius: 12px; padding: 11px 13px;
  box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03);
  animation: toastPop .3s cubic-bezier(.34,1.56,.64,1) both;
}
.gm-toast.dying { animation: toastDie .25s ease forwards; }
.gm-toast-icon  { font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.gm-toast-body  { flex: 1; min-width: 0; }
.gm-toast-title { font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.gm-toast-msg   { font-size: 11.5px; color: #9ca3af; line-height: 1.4; }
.gm-toast-close { background: none; border: none; cursor: pointer; color: #6b7280; font-size: 14px; padding: 0; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.gm-toast-close:hover { color: #d1d5db; }
.gm-toast-progress { position: absolute; bottom: 0; left: 0; height: 2px; border-radius: 0 0 12px 12px; animation: barProgress linear forwards; }
.gm-toast { position: relative; overflow: hidden; }
.gm-toast.success .gm-toast-title { color: #4ade80; }
.gm-toast.success .gm-toast-progress { background: #22c55e; }
.gm-toast.error   .gm-toast-title { color: #f87171; }
.gm-toast.error   .gm-toast-progress { background: #ef4444; }
.gm-toast.info    .gm-toast-title { color: #60a5fa; }
.gm-toast.info    .gm-toast-progress { background: #3b82f6; }
.gm-toast.warning .gm-toast-title { color: #facc15; }
.gm-toast.warning .gm-toast-progress { background: #eab308; }

/* ── User dropdown ── */
.user-dropdown {
  animation: dropdownIn .2s cubic-bezier(.34,1.56,.64,1) both;
  transform-origin: top right;
}

/* ── Status dots ── */
.dot-up      { background: #22c55e; animation: pulseGreen 2s infinite; }
.dot-down    { background: #ef4444; animation: pulseRed   1s infinite; }
.dot-unknown { background: #6b7280; }

/* ── History ticks ── */
.htick-up      { background: #22c55e; }
.htick-down    { background: #ef4444; }
.htick-unknown { background: #1e2740; }

/* ── OTP inputs ── */
.otp-digit {
  width: 46px; height: 54px; text-align: center;
  font-size: 22px; font-weight: 700;
  background: #0d1117; border: 2px solid #1e2740;
  border-radius: 10px; color: #f3f4f6; outline: none;
  transition: border-color .15s;
  -webkit-appearance: none; appearance: none;
}
.otp-digit:focus { border-color: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }

/* ── Sidebar ── */
#sidebar { transition: transform .28s cubic-bezier(.4,0,.2,1); }
#sidebar-overlay { transition: opacity .28s ease; }

/* ── Spinner ── */
.gm-spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid #1e2740; border-top-color: #22c55e;
  animation: spin .7s linear infinite;
}

/* ── Toggle ── */
.gm-toggle       { transition: background .2s; }
.gm-toggle-thumb { transition: transform .2s; }

/* ── Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, #161c28 25%, #1e2740 50%, #161c28 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1e2740; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2d3a54; }
* { scrollbar-width: thin; scrollbar-color: #1e2740 transparent; }

/* ── Focus ring ── */
input:focus, select:focus, textarea:focus, button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34,197,94,.35);
}

/* ── Global input/select/textarea focus glow + lift ── */
input:not([type=checkbox]):not([type=radio]):not(.otp-digit):not([class*=gm-toggle]),
select,
textarea {
  transition: border-color .2s ease, box-shadow .22s ease, transform .18s ease !important;
}
input:not([type=checkbox]):not([type=radio]):not(.otp-digit):not([class*=gm-toggle]):focus,
select:focus,
textarea:focus {
  transform: translateY(-1px);
  border-color: rgba(34,197,94,.45) !important;
  box-shadow: 0 4px 18px rgba(34,197,94,.1), 0 0 0 2px rgba(34,197,94,.15) !important;
}

/* ── Monitor / site card hover ── */
.gm-monitor-card {
  transition: transform .25s cubic-bezier(.22,.68,0,1.2), border-color .22s ease, box-shadow .25s ease !important;
}
.gm-monitor-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(34,197,94,.22) !important;
  box-shadow: 0 14px 44px rgba(0,0,0,.5), 0 4px 20px rgba(34,197,94,.09) !important;
}
.gm-monitor-card:active { transform: translateY(-2px) !important; }

/* ── Stat / summary card hover ── */
.gm-stat-card {
  transition: transform .22s cubic-bezier(.22,.68,0,1.2), border-color .22s ease, box-shadow .22s ease;
}
.gm-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.4), 0 4px 16px rgba(34,197,94,.07);
}

/* ── Primary green button (lift + shimmer + glow) ── */
.gm-btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform .22s cubic-bezier(.22,.68,0,1.2), box-shadow .22s ease !important;
}
.gm-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.13) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.gm-btn-primary:hover::before { opacity: 1; }
.gm-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(34,197,94,.38) !important;
}
.gm-btn-primary:active { transform: scale(.97) translateY(0) !important; }

/* ── Ghost / outline button ── */
.gm-btn-ghost {
  transition: transform .2s ease, border-color .2s ease, color .18s ease !important;
}
.gm-btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(107,114,128,.55) !important;
  color: #d1d5db !important;
}
.gm-btn-ghost:active { transform: scale(.98) !important; }

/* ── Action chip (Details / Edit / Delete) ── */
.gm-action-chip {
  transition: transform .18s cubic-bezier(.22,.68,0,1.2), background .15s ease, color .15s ease !important;
}
.gm-action-chip:hover { transform: translateY(-2px); }
.gm-action-chip:active { transform: translateY(0); }

/* ── Close / X button spin on hover ── */
.gm-close-btn {
  transition: transform .22s cubic-bezier(.22,.68,0,1.2), color .18s ease !important;
}
.gm-close-btn:hover { transform: rotate(90deg) !important; color: #f87171 !important; }

/* ── Breadcrumb bar ── */
.gm-breadcrumb-bar {
  background: linear-gradient(to bottom, #111824, #0d1117);
  border-top: 1px solid rgba(30,39,64,.5);
  border-bottom: 1px solid rgba(30,39,64,.8);
  padding: 9px 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.gm-bc-link {
  color: #6b7280;
  text-decoration: none;
  transition: color .15s ease;
  padding: 2px 4px;
  border-radius: 4px;
}
.gm-bc-link:hover { color: #4ade80; background: rgba(34,197,94,.07); }
.gm-bc-sep { color: #374151; margin: 0 2px; font-size: 14px; }
.gm-bc-active {
  color: #4ade80;
  font-weight: 600;
  padding: 2px 6px;
  background: rgba(34,197,94,.1);
  border-radius: 6px;
  border: 1px solid rgba(34,197,94,.18);
}

/* ── Tick tooltip ── */
.gm-tick-tooltip {
  position: fixed;
  z-index: 99999;
  display: none;
  pointer-events: none;
  background: #111620;
  border: 1px solid #1e2740;
  border-radius: 10px;
  padding: 9px 12px;
  min-width: 148px;
  max-width: 240px;
  box-shadow: 0 10px 32px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity .15s ease;
  font-family: inherit;
  line-height: 1.5;
}

/* ── Bright link color ── */
main a[href]:not([class*=gm-btn]):not([class*=action-chip]):not([class*=flex]):not([class*=text-green]):not([class*=text-blue]):not([class*=text-red]):not([class*=text-gray]):not([class*=text-white]):not([class*=group]) {
  color: #4ade80;
  transition: color .15s ease, text-decoration-color .15s ease;
}
main a[href]:not([class*=gm-btn]):not([class*=action-chip]):not([class*=flex]):not([class*=text-green]):not([class*=text-blue]):not([class*=text-red]):not([class*=text-gray]):not([class*=text-white]):not([class*=group]):hover {
  color: #86efac;
  text-decoration: underline;
}

/* ── Mobile performance ── */
@media (max-width: 768px) {
  .gm-monitor-card {
    will-change: auto;
    transform: none !important;
  }
  .gm-monitor-card:hover { transform: none !important; box-shadow: 0 4px 16px rgba(0,0,0,.4) !important; }
  .gm-btn-primary:hover { transform: translateY(-1px) !important; }
}

/* ── Standard footer ── */
.gm-footer-std {
  border-top: 1px solid #1e2740;
  background: #0d1117;
  padding: 10px 24px;
  flex-shrink: 0;
  border-radius: 0;
}

/* ── Scroll-to-top button ── */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(34,197,94,.35);
  transition: opacity .25s ease, transform .25s ease;
  opacity: 1;
}
.scroll-top-btn.hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
.scroll-top-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,197,94,.45); }

/* ── User actions dropdown ── */
.ua-dropdown {
  position: fixed;
  min-width: 168px;
  background: #111620;
  border: 1px solid #1e2740;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  z-index: 9500;
  overflow: hidden;
  animation: dropdownIn .18s ease both;
}
.ua-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  font-size: 13px;
  color: #9ca3af;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
  text-align: left;
}
.ua-dropdown button:hover { background: rgba(255,255,255,.05); color: #f3f4f6; }
.ua-dropdown button.danger:hover { color: #f87171; background: rgba(239,68,68,.08); }
.ua-dropdown .ua-sep { height: 1px; background: #1e2740; margin: 4px 0; }

/* ════════════════════════════════════════════
   Landing Page — Scroll-reveal (to & fro)
   ════════════════════════════════════════════ */
.lp-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s cubic-bezier(0.16, 1, 0.3, 1),
              transform .75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
/* Animation variants — initial hidden states */
.lp-reveal.lp-left      { transform: translateX(-60px); }
.lp-reveal.lp-right     { transform: translateX(60px); }
.lp-reveal.lp-scale     { transform: scale(.86) translateY(16px); }
.lp-reveal.lp-fade-down { transform: translateY(-48px); }
.lp-reveal.lp-zoom-in   { transform: scale(0.78); opacity: 0; }
.lp-reveal.lp-zoom-out  { transform: scale(1.18); opacity: 0; }
.lp-reveal.lp-flip-x    { transform: translateX(-44px) scale(0.94); opacity: 0; }
.lp-reveal.lp-flip-rx   { transform: translateX(44px) scale(0.94); opacity: 0; }
/* Visible state — added by IntersectionObserver */
.lp-reveal.lp-in {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) rotateY(0deg) !important;
}
.lp-d1 { transition-delay: .08s; }
.lp-d2 { transition-delay: .16s; }
.lp-d3 { transition-delay: .24s; }
.lp-d4 { transition-delay: .32s; }
.lp-d5 { transition-delay: .40s; }
.lp-d6 { transition-delay: .48s; }

/* Landing stats responsive grid */
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 480px) {
  .lp-stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Landing mobile responsive overrides */
@media (max-width: 640px) {
  .lp-stat-num { font-size: clamp(2rem, 12vw, 3rem); }
  .lp-feat-card { padding: 1.25rem; }
  .lp-footer { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 480px) {
  .lp-nav-link { padding: .3rem .5rem; font-size: .8125rem; }
}

/* Landing navbar */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lp-nav.scrolled {
  background: rgba(6,12,20,.94);
  box-shadow: 0 1px 32px rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}
.lp-nav-link {
  color: #9ca3af;
  font-size: .875rem;
  font-weight: 500;
  padding: .35rem .75rem;
  border-radius: .5rem;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.lp-nav-link:hover { color: #f3f4f6; background: rgba(255,255,255,.06); }
.lp-nav-link.active { color: #4ade80; }

/* Animated gradient text */
@keyframes lpGradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.lp-grad-text {
  background: linear-gradient(120deg, #4ade80, #22d3ee, #a78bfa, #4ade80);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lpGradShift 5s ease infinite;
}

/* Hero glow orbs — GPU-composited, no layout thrash */
@keyframes lpOrb {
  0%,100% { transform: translate3d(0,0,0); opacity: .42; }
  50%     { transform: translate3d(18px,-14px,0); opacity: .6; }
}
.lp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform, opacity;
}
.lp-orb-1 { width:480px;height:480px;background:rgba(28,180,80,.1);  animation:lpOrb 14s ease-in-out infinite; }
.lp-orb-2 { width:340px;height:340px;background:rgba(20,160,200,.08); animation:lpOrb 18s ease-in-out 3s infinite reverse; }
.lp-orb-3 { width:280px;height:280px;background:rgba(130,100,230,.06);animation:lpOrb 16s ease-in-out 6s infinite; }

/* Grid overlay — subtle, non-animated */
.lp-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Film-grain noise overlay — static, zero cost */
.lp-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9990;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Floating mockup card — no rotate, no drop-shadow (expensive) */
@keyframes lpFloat {
  0%,100% { transform: translate3d(0,0,0); }
  50%     { transform: translate3d(0,-13px,0); }
}
.lp-mockup {
  animation: lpFloat 7s ease-in-out infinite;
  will-change: transform;
  box-shadow: 0 32px 80px rgba(0,0,0,.65), 0 0 40px rgba(28,180,80,.1);
}

/* Feature cards */
.lp-feat-card {
  background: linear-gradient(145deg, rgba(13,17,23,.9), rgba(10,14,20,.95));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.22,.68,0,1.2),
              border-color .22s ease,
              box-shadow .28s ease;
}
.lp-feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}
.lp-feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34,197,94,.2);
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 4px 16px rgba(34,197,94,.07);
}
.lp-feat-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: .875rem;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Step connector */
.lp-step-line {
  position: absolute;
  top: 24px; left: calc(50% + 48px); right: calc(-50% + 48px);
  height: 1px;
  background: linear-gradient(90deg, rgba(34,197,94,.4), rgba(34,197,94,.1));
}

/* CTA gradient section */
.lp-cta-bg {
  background: linear-gradient(135deg, #040e07 0%, #081a0c 35%, #050b18 70%, #040c12 100%);
  border-top: 1px solid rgba(34,197,94,.09);
  border-bottom: 1px solid rgba(34,197,94,.09);
  position: relative; overflow: hidden;
}
.lp-cta-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(28,180,80,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(20,100,200,.08) 0%, transparent 55%);
  pointer-events: none;
}

/* Landing footer */
.lp-footer {
  background: #04080f;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lp-footer-link {
  color: #5a6270;
  font-size: .8125rem;
  transition: color .2s;
}
.lp-footer-link:hover { color: #4ade80; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .lp-orb, .lp-mockup, .lp-grad-text { animation: none !important; }
  .lp-reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Hero CTA buttons — stay on same line on small screens */
.lp-hero-btns { display: flex; flex-wrap: nowrap; gap: .75rem; align-items: center; }
@media (max-width: 640px) {
  .lp-hero-btns { gap: .5rem; }
  .lp-hero-btns a { font-size: .76rem !important; padding: .6rem .8rem !important; white-space: nowrap; min-width: 0; }
}

/* Hero inner container — tighter top padding on mobile */
.lp-hero-inner { padding: 2rem 1.25rem 3rem; }
@media (max-width: 768px) {
  .lp-hero-inner { padding: 1.25rem 1.25rem 2.5rem; }
}

/* Hero section — remove excess vertical centering on mobile */
.lp-hero-section { min-height: 100vh; display: flex; align-items: center; }
@media (max-width: 767px) {
  .lp-hero-section { min-height: auto !important; align-items: flex-start !important; padding-top: calc(68px + 1.5rem) !important; padding-bottom: 3rem !important; }
}

/* Info pages — proper word wrap for legal/long content */
.info-page-content {
  word-break: break-word;
  overflow-wrap: break-word;
}
.info-page-content h2, .info-page-content h3 { overflow-wrap: break-word; }
.info-page-content ul li { overflow-wrap: break-word; }

/* Info page hero — responsive top padding */
.info-hero { padding: 4rem 1.25rem 2.5rem !important; }
@media (max-width: 640px) {
  .info-hero { padding: 2.5rem 1.25rem 2rem !important; }
}

/* Info page content area — responsive padding on mobile */
@media (max-width: 640px) {
  .info-page-content { padding: 2.5rem 1rem !important; }
}

/* Mobile menu */
.lp-mobile-menu {
  position: fixed; inset: 0; z-index: 8999;
  background: rgba(6,12,20,.97);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,.68,0,1.1);
}
.lp-mobile-menu.open { transform: translateX(0); }
.lp-mobile-menu a {
  font-size: 1.5rem; font-weight: 700; color: #9ca3af;
  transition: color .18s;
}
.lp-mobile-menu a:hover { color: #4ade80; }

/* History tick bar mini */
.lp-tick { display:inline-block; width:7px; border-radius:2px; flex-shrink:0; }

/* Stat counter section */
.lp-stat-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

/* ── Info pages (About/Contact/Privacy/Terms) ── */
.info-page-content h2 { font-size: 1.375rem; font-weight: 700; color: #f3f4f6; margin: 2rem 0 .75rem; }
.info-page-content h3 { font-size: 1.125rem; font-weight: 600; color: #d1d5db; margin: 1.5rem 0 .5rem; }
.info-page-content p  { color: #9ca3af; line-height: 1.75; margin-bottom: 1rem; }
.info-page-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }
.info-page-content ul li { color: #9ca3af; padding: .375rem 0; padding-left: 1.5rem; position: relative; line-height: 1.6; }
.info-page-content ul li::before { content: '›'; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.info-page-content a { color: #4ade80; text-decoration: none; }
.info-page-content a:hover { text-decoration: underline; }

/* Hamburger button — our own reliable class, never depends on Tailwind CDN */
.hamburger-btn { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 1024px) { .hamburger-btn { display: none !important; } }

/* Desktop nav links container — always flex at desktop, hidden on mobile */
.desktop-nav { display: none !important; }
@media (min-width: 1024px) { .desktop-nav { display: flex !important; } }

/* Nav login/signup buttons — visible at sm+ */
.nav-auth-btn { display: none; }
@media (min-width: 640px) { .nav-auth-btn { display: inline-flex !important; } }

/* Nav always has background on mobile for visibility */
@media (max-width: 1023px) {
  .lp-nav { background: rgba(6,12,20,.97) !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; backdrop-filter: blur(16px) !important; }
}

/* Prevent horizontal overflow on all pages */
html, body { overflow-x: hidden; max-width: 100%; }
