@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --page-bg: radial-gradient(circle at 10% 20%, #081226 0%, #01030c 60%);
  --surface: rgba(10, 14, 24, 0.85);
  --highlight: #00d0ff;
  --accent: #f08d24;
  --text-primary: #f5f5f5;
  --text-muted: #b7bed4;
  --border-color: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body.landing-body {
  margin: 0;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
  min-height: 100vh;
}

.top-login {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.6rem 1.4rem;
  background: rgba(3, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}

.top-login:hover {
  transform: translateY(-2px);
  border-color: var(--highlight);
}

.landing-wrapper {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  padding: 3rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(13, 21, 41, 0.95), rgba(2, 30, 44, 0.75));
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(0, 208, 255, 0.2), transparent 55%);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-eyebrow,
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--highlight);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem;
}

.hero-lead,
.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.cta {
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.cta.primary {
  background: linear-gradient(120deg, var(--highlight), #28e3b6);
  color: #03111a;
  box-shadow: 0 15px 35px rgba(0, 208, 255, 0.3);
}

.cta.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-primary);
}

.cta:hover {
  transform: translateY(-3px);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text-muted);
}

.hero-points li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(4, 10, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(16px);
}

.hero-logo {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: 180px;
  max-width: 100%;
}

.hero-panel-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hero-panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-panel-badges span {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 208, 255, 0.12);
  color: var(--highlight);
  font-size: 0.85rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.module-section,
.audience,
.reasons,
.login-block,
.highlights,
.contact-section {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.module-grid,
.reason-grid,
.login-grid,
.highlight-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.module-card,
.reason-card,
.login-card,
.highlight-card,
.contact-card {
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-muted);
}

.module-card h3,
.reason-card h3,
.login-card h3,
.highlight-card h3,
.contact-card h3 {
  margin: 0;
  color: var(--text-primary);
}

.highlight-card {
  background: rgba(240, 141, 36, 0.08);
  border-color: rgba(240, 141, 36, 0.3);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  min-height: auto;
  gap: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-list span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-list a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--highlight);
}

.contact-note {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-card .cta.ghost {
  width: fit-content;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-primary);
  text-decoration: none;
}

.legal-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
}

.legal-links a:hover {
  color: var(--highlight);
  border-color: var(--highlight);
}

.audience-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.audience-card {
  padding: 1.25rem;
  border-radius: 16px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reason-card {
  background: rgba(0, 208, 255, 0.05);
}

.login-card {
  justify-content: space-between;
}

.auth-alert {
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 87, 87, 0.5);
  background: rgba(255, 87, 87, 0.08);
  color: #ffd2d2;
  width: min(760px, 100%);
}

@media (max-width: 992px) {
  .hero,
  .module-section,
  .audience,
  .reasons,
  .login-block {
    padding: 2rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .landing-wrapper {
    width: 94vw;
    padding: 3rem 0 2rem;
  }

  .module-card,
  .reason-card,
  .login-card {
    min-height: auto;
  }
}
