/* css/landing.css — HIDaaS landing page design system + login card */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,700;1,700&family=Poppins:wght@300;400;500;600&display=swap');

/* ── Login card (login.php reuses this file) ── */
.login-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-10);
  max-width: 400px;
  margin-inline: auto;
}

/* ── Hidden elements ── */
body.page-landing .gold-rule,
body.page-landing .hero-sub,
body.page-landing .cta-row,
body.page-landing .trust-strip { display: none !important; }

/* ── Design tokens ── */
body.page-landing {
  --red-950:   #6B0F1A;
  --blue-900:  #0D3B66;
  --gold:      #C9A84C;
  --white:     #FFFFFF;
  --white-60:  rgba(255,255,255,0.6);
  --white-20:  rgba(255,255,255,0.2);
  --white-08:  rgba(255,255,255,0.08);
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);

  overflow: hidden;
  height: 100svh;
  background: #0a0305;
  font-family: 'Poppins', system-ui, sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
}

/* ── Hero shell ── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Background layers ── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a0305;
  background-image:
    radial-gradient(ellipse 50% 60% at 80% 30%,  rgba(13,59,102,0.40) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(107,15,26,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 70%,  rgba(13,59,102,0.28) 0%, transparent 55%),
    var(--hero-bg-img, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(13,59,102,0.18) 100%);
  z-index: 1;
}

.hero-diagonals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.hero-diagonals::before,
.hero-diagonals::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.20), transparent);
}

.hero-diagonals::before {
  top: 30%;
  left: -50%;
  transform: rotate(-12deg);
}

.hero-diagonals::after {
  top: 65%;
  left: -50%;
  transform: rotate(-8deg);
}

/* ── SVG logo sizing & colours ── */
.hidaas-svg {
  display: block;
  height: 40px;
  width: auto;
}

/* Landing page: brand colours */
.nav-logo .hidaas-svg .lp { fill: #0D3B66; }
.nav-logo .hidaas-svg .la { fill: #6B0F1A; }

/* ── Nav ── */
.lp-nav {
  position: absolute;
  top: 24px;
  left: 48px;
  z-index: 10;
  animation: fadeIn 0.6s var(--ease-out) both;
}

.nav-logo {
  display: block;
  text-decoration: none;
  line-height: 1;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}

/* ── Hero body ── */
.hero-body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px 0 80px;
  max-width: 760px;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: #C9A84C;
  margin-bottom: 16px;
  animation: fadeIn 0.5s var(--ease-out) 0.20s both;
}

.eyebrow {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B0F1A;
  margin: 0 0 16px;
  animation: fadeUp 0.6s var(--ease-out) 0.30s both;
}

.hero-headline {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  color: #C9A84C;
  margin: 0 0 24px;
  animation: fadeUp 0.7s var(--ease-out) 0.45s both;
}

.hero-headline em {
  font-style: italic;
  color: #0D3B66;
}

.hero-sub {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  margin: 0 0 32px;
  animation: fadeUp 0.7s var(--ease-out) 0.60s both;
}

/* ── CTAs ── */
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s var(--ease-out) 0.75s both;
}

.btn-gold {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a0508;
  background: #C9A84C;
  padding: 14px 32px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}

.btn-gold:hover {
  background: #d9bc62;
  transform: translateY(-1px);
  color: #1a0508;
  text-decoration: none;
}

.btn-ow {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 14px 32px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-ow:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}

/* ── Trust strip ── */
.trust-strip {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 48px;
  flex-wrap: wrap;
  animation: fadeIn 0.7s var(--ease-out) 1.00s both;
}

.trust-label {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-right: 6px;
}

.trust-pill {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
}

/* ── Landing footer ── */
.lp-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  background: rgba(10,3,5,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeIn 0.6s var(--ease-out) 1.30s both;
}

.footer-email {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #C9A84C;
  text-decoration: none;
  opacity: 0.80;
  transition: opacity 0.2s;
}

.footer-email:hover {
  opacity: 1;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lp-nav { left: 32px; top: 16px; }

  .trust-strip,
  .lp-footer { padding-inline: 32px; }

  .hero-body {
    padding: 0 32px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body.page-landing {
    overflow-y: auto;
    height: auto;
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .lp-nav { left: 20px; top: 12px; }

  .trust-strip { padding-inline: 20px; }

  .hero-body {
    padding: 8px 20px 40px;
  }

  .cta-row { flex-direction: column; }

  .btn-gold,
  .btn-ow { text-align: center; }

  .lp-footer {
    position: relative;
    padding: 16px 20px;
  }
}
