@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --lp-navy: #0f1f3d;
  --lp-cyan: #00b4d8;
  --lp-cyan2: #0077b6;
  --lp-danger: #e63946;
  --lp-success: #2ec4b6;
  --lp-warning: #f4a261;
  --lp-glass: rgba(255, 255, 255, 0.72);
  --lp-glass-border: rgba(255, 255, 255, 0.55);
  --lp-shadow: 0 8px 32px rgba(15, 31, 61, 0.10);
}

/* ── Reset scoped to landing ── */
.lp-root * {
  box-sizing: border-box;
}

.lp-root {
  font-family: 'DM Sans', sans-serif;
}

/* ── Ambient background ── */
.lp-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f4fd 0%, #f0f7ff 40%, #faf5ff 70%, #fff5f0 100%);
}

.lp-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.18) 0%, transparent 70%);
  animation: lp-float1 8s ease-in-out infinite;
}

.lp-bg::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 80, 240, 0.10) 0%, transparent 70%);
  animation: lp-float2 10s ease-in-out infinite;
}

.lp-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.07) 0%, transparent 70%);
  animation: lp-float1 12s ease-in-out infinite reverse;
}

@keyframes lp-float1 {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  50% {
    transform: translateY(-30px) scale(1.05)
  }
}

@keyframes lp-float2 {

  0%,
  100% {
    transform: translateY(0) scale(1)
  }

  50% {
    transform: translateY(25px) scale(0.97)
  }
}

/* ── Wrapper ── */
.lp-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 0;
  animation: lp-fadeUp 0.7s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes lp-fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ── Hero header ── */
.lp-hero {
  text-align: center;
  padding: 2.25rem 1.5rem 2rem;
  background: var(--lp-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--lp-glass-border);
  border-radius: 28px;
  box-shadow: var(--lp-shadow), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lp-cyan2), var(--lp-cyan), #7c3aed, var(--lp-cyan));
  background-size: 200% 100%;
  animation: lp-shimmer 3s linear infinite;
}

@keyframes lp-shimmer {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 200%
  }
}

.lp-logo {
  height: 76px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 6px 18px rgba(0, 119, 182, 0.22));
  animation: lp-popIn 0.6s cubic-bezier(.34, 1.56, .64, 1) 0.15s both;
}

@keyframes lp-popIn {
  from {
    opacity: 0;
    transform: scale(0.75)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.lp-app-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--lp-navy);
  letter-spacing: -0.5px;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.lp-app-fullname {
  font-size: 0.82rem;
  font-weight: 400;
  color: #6b7a99;
  margin: 0 0 1.2rem;
  letter-spacing: 0.01em;
}

.lp-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.lp-divider span {
  flex: 1;
  height: 1px;
  background: rgba(15, 31, 61, 0.08);
}

.lp-divider i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-cyan);
  display: block;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.18);
}

.lp-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lp-navy);
  margin: 0 0 0.1rem;
  letter-spacing: -0.2px;
}

.lp-tagline-bar {
  width: 44px;
  height: 3px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, var(--lp-cyan2), var(--lp-cyan));
  border-radius: 999px;
}

/* ── Cards Grid ── */
.lp-grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* ── Service card ── */
.lp-card {
  display: block;
  text-decoration: none;
  background: var(--lp-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--lp-glass-border);
  border-radius: 22px;
  padding: 1.4rem 1.2rem 1.25rem;
  box-shadow: var(--lp-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow 0.22s ease;
}

.lp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, transparent 60%);
  pointer-events: none;
}

.lp-card:hover,
.lp-card:active {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 16px 40px rgba(15, 31, 61, 0.14);
}

/* coloured top accent */
.lp-card .lp-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  border-radius: 22px 22px 0 0;
}

.accent-danger {
  background: linear-gradient(90deg, #e63946, #ff6b6b);
}

.accent-cyan {
  background: linear-gradient(90deg, #0077b6, #00b4d8);
}

.accent-success {
  background: linear-gradient(90deg, #2ec4b6, #80ffdb);
}

.accent-warning {
  background: linear-gradient(90deg, #f4a261, #ffd166);
}

.lp-card-icon {
  font-size: 2.1rem;
  margin-bottom: 0.7rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

.lp-card:hover .lp-card-icon {
  transform: scale(1.18) rotate(-4deg);
}

.lp-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lp-navy);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.lp-card p.lp-card-desc {
  font-size: 0.8rem;
  color: #6b7a99;
  line-height: 1.55;
  margin: 0;
}

.lp-card p.lp-card-desc strong {
  color: var(--lp-danger);
  font-weight: 600;
}

.lp-info-btn {
  display: none;
  /* Hidden by default, shown on mobile */
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(107, 122, 153, 0.03);
  border: 1px solid rgba(107, 122, 153, 0.08);
  color: #8a99ad;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 5;
  transition: all 0.2s;
}

.lp-info-btn svg {
  width: 11px;
  height: 11px;
}

.lp-info-btn:hover {
  background: rgba(107, 122, 153, 0.18);
  border-color: rgba(107, 122, 153, 0.28);
  color: #5c6982;
  transform: scale(1.08);
}


/* ── Primary card ── */
.lp-card-primary {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem;
}

.lp-card-primary .lp-card-icon {
  font-size: 2.8rem;
  margin: 0;
  flex-shrink: 0;
}

.lp-card-primary .lp-card-body {
  flex: 1;
}

.lp-card-primary h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.lp-card-primary p.lp-card-desc {
  font-size: 0.85rem;
}

.lp-card-primary .lp-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-danger), #ff6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1);
}

.lp-card-primary:hover .lp-arrow {
  transform: translateX(4px);
}

/* ── Wide card (Track) ── */
.lp-card-wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lp-card-wide .lp-card-icon {
  margin: 0;
}

/* ── Fade-in stagger ── */
.lp-card {
  animation: lp-fadeUp 0.55s cubic-bezier(.22, 1, .36, 1) both;
}

.lp-card:nth-child(1) {
  animation-delay: 0.12s;
}

.lp-card:nth-child(2) {
  animation-delay: 0.20s;
}

.lp-card:nth-child(3) {
  animation-delay: 0.28s;
}

/* ── Footer note ── */
.lp-footer {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.74rem;
  color: #a0abc0;
  letter-spacing: 0.03em;
}

/* ── Responsive Mobile ── */
@media screen and (max-width: 640px) {
  .lp-wrap {
    padding: 0.75rem 0.75rem 0;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .lp-hero {
    padding: 1rem 1rem 0.75rem;
    margin-bottom: 0.75rem;
    border-radius: 20px;
  }

  .lp-logo {
    height: 48px;
    margin-bottom: 0.5rem;
  }

  .lp-app-name {
    font-size: 1.25rem;
  }

  .lp-app-fullname {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .lp-divider {
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .lp-tagline {
    font-size: 0.85rem;
  }

  .lp-tagline-bar {
    margin-top: 0.5rem;
    height: 2px;
  }

  .lp-grid-main {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    flex: 1;
  }

  .lp-card {
    padding: 1rem 0.75rem;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .lp-card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.4rem;
  }

  .lp-card h3 {
    font-size: 0.75rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
  }

  /* Hide descriptions on mobile cards */
  .lp-card p.lp-card-desc {
    display: none;
  }

  /* Show info button on mobile */
  .lp-info-btn {
    display: flex;
  }

  .lp-card-primary,
  .lp-card-wide {
    grid-column: span 1;
    flex-direction: column;
    padding: 1rem 0.75rem;
  }

  .lp-card-primary .lp-card-icon,
  .lp-card-wide .lp-card-icon {
    font-size: 1.75rem;
  }

  .lp-card-primary .lp-arrow {
    display: none;
  }
}

/* ── Tooltip Styles ── */
.lp-tooltip {
  position: absolute;
  z-index: 10000;
  width: calc(100% - 24px);
  max-width: 280px;
  background: rgba(15, 31, 61, 0.95);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: 0 20px 40px rgba(15, 31, 61, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: scale(0.95) translateY(5px);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #f7fafc;
}

.lp-tooltip.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.lp-tooltip-arrow {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(15, 31, 61, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotate(45deg);
  z-index: -1;
}

/* Adjust border for placement orientation */
.lp-tooltip.place-top .lp-tooltip-arrow {
  bottom: -5px;
  border-top: none;
  border-left: none;
}

.lp-tooltip.place-bottom .lp-tooltip-arrow {
  top: -5px;
  border-bottom: none;
  border-right: none;
}

.lp-tooltip-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: none;
  border: none;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lp-tooltip-close:hover {
  color: #fff;
}

.lp-tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding-right: 1.25rem;
}

#lp-tooltip-icon {
  font-size: 1.25rem;
}

#lp-tooltip-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.lp-tooltip-body p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

.lp-tooltip-body strong {
  color: #ffd166;
  font-weight: 600;
}