@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --brand-yellow: #FFD84D;
  --brand-yellow-soft: #FFE98A;
  --headline-top-color: #F3F4F6;
  --headline-subtle: #7C89A8;
  --headline-grad-1: #A78BFA;
  --headline-grad-2: #C084FC;
  --headline-grad-3: #E879F9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(236,72,153,.23), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(96,165,250,.17), transparent),
    #080e1d;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.landing-page-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-decoration: none;
  animation: fadeUp .5s ease both;
}

.landing-page-logo-img {
  height: 65px;
  width: auto;
}

.landing-page-card {
  width: min(460px, 100%);
  background: rgba(15,23,42,.8);
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 28px;
  padding: 32px 40px 28px;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(236,72,153,.06),
    0 32px 80px rgba(0,0,0,.4);
  animation: fadeUp .5s .1s ease both;
}

.landing-page-headline {
  font-family: 'DM Serif Display', serif;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  text-align: center;
  line-height: 1.12;
}

.landing-page-headline-top {
  display: block;
  white-space: nowrap;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #F3F4F6;
}

.landing-page-headline-main {
  display: block;
  white-space: nowrap;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
  background: linear-gradient(
    90deg,
    #A78BFA 0%,
    #C084FC 52%,
    #E879F9 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.landing-page-feature.ai .landing-page-feature-icon {
  color: var(--brand-yellow);
  filter: drop-shadow(0 0 6px rgba(255, 216, 77, 0.35));
}

.landing-page-sub {
  margin: 18px 0 24px;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: var(--headline-subtle);
  line-height: 1.85;
}

.landing-page-app-summary {
  margin: 24px auto 28px;
  max-width: 60ch;
  color: #CBD5E1;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-align: center;
}

@media (prefers-contrast: more) {
  .landing-page-app-summary { color: #F3F4F6; }
}

.landing-page-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.landing-page-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(148,163,184,.1);
}

.landing-page-feature-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.landing-page-feature-text {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.5;
}

.landing-page-feature-text strong {
  display: block;
  color: #cbd5e1;
  margin-bottom: 2px;
}

.landing-page-divider {
  height: 1px;
  background: rgba(148,163,184,.1);
  margin: 16px 0;
}

.login-btn {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  border: none;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .01em;
  box-shadow: 0 8px 24px rgba(236,72,153,.32);
  transition: opacity .15s, transform .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  opacity: 0;
  transition: opacity .15s;
}

.login-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(236,72,153,.4);
}

.login-btn:hover::before { opacity: 1; }
.login-btn:active { transform: translateY(0); }

.landing-page-legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
}

.landing-page-legal-links a {
  font-size: 13px;
  transition: color .15s;
}

.landing-page-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.9;
  animation: fadeUp .5s .2s ease both;
}

.landing-page-footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.landing-page-footer-links a {
  transition: color .15s;
}

.landing-page-legal-links a,
.landing-page-footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-page-legal-links a:hover,
.landing-page-footer-links a:hover {
  color: #ffffff;
}

.landing-page-legal-links a:focus-visible,
.landing-page-footer-links a:focus-visible {
  color: #ffffff;
  outline: 2px solid rgba(217, 179, 255, 0.7);
  outline-offset: 4px;
  border-radius: 6px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .landing-page-headline {
    line-height: 1.18;
  }
  .landing-page-headline-top {
    font-size: clamp(22px, 5vw, 30px);
  }
  .landing-page-headline-main {
    font-size: clamp(24px, 5.6vw, 32px);
  }
}

@media (max-width: 480px) {
  .landing-page-card {
    padding: 32px 24px 28px;
    border-radius: 24px;
  }
  .landing-page-features {
    grid-template-columns: 1fr;
  }
  .landing-page-headline-top { font-size: 22px; }
  .landing-page-headline-main { font-size: 24px; }
  .landing-page-sub { font-size: 14px; }
}
