/* Adaren ICT — public landing page (red brand theme) */

.landing-page {
  --brand-red: #dc2626;
  --brand-red-dark: #b91c1c;
  --brand-red-soft: #fef2f2;
  --brand-black: #0a0a0a;
  --brand-charcoal: #171717;
  --landing-ink: #0f172a;
  --landing-muted: #64748b;
  --landing-border: #e5e7eb;
  background: #ffffff;
  color: var(--landing-ink);
  font-family: Inter, system-ui, sans-serif;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--landing-border);
}

.landing-nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.landing-brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 0.75rem;
  background: var(--brand-black);
  padding: 0.35rem;
}

.landing-brand span {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.landing-brand em {
  color: var(--brand-red);
  font-style: normal;
}

.landing-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.landing-menu a {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease;
}

.landing-menu a:hover,
.landing-menu a.is-active {
  color: var(--brand-red);
}

.landing-menu a.is-active {
  box-shadow: inset 0 -3px 0 0 var(--brand-red);
  padding-bottom: 0.15rem;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.landing-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.landing-btn-login:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.landing-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--landing-border);
  border-radius: 0.65rem;
  background: #fff;
  color: #334155;
}

.landing-mobile-menu {
  display: none;
  border-top: 1px solid var(--landing-border);
  padding: 0.75rem 1.25rem 1rem;
  background: #fff;
}

.landing-mobile-menu.open {
  display: block;
}

.landing-mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

/* Hero */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.25rem 4rem;
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(220, 38, 38, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(220, 38, 38, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.landing-hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(7rem, 22vw, 16rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(220, 38, 38, 0.05);
  user-select: none;
}

.landing-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.landing-hero-copy {
  text-align: center;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-red-soft);
  border: 1px solid #fecaca;
  color: var(--brand-red-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.landing-hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--landing-ink);
}

.landing-hero h1 .accent {
  background: linear-gradient(135deg, var(--brand-red) 0%, #991b1b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero p {
  margin: 1.15rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--landing-muted);
}

.landing-hero-actions {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.landing-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.landing-btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.landing-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 0.85rem;
  border: 2px solid var(--brand-black);
  background: #fff;
  color: var(--brand-black);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.landing-btn-secondary:hover {
  background: var(--brand-black);
  color: #fff;
}

.landing-btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.landing-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Hero visual — teacher photo + portal mockup */
.landing-showcase {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
  min-height: 26rem;
}

.landing-showcase-glow {
  position: absolute;
  inset: 15% -8% 5%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.22) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.landing-teacher-photo {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 22rem;
  padding: 0 0.5rem 7.5rem;
}

.landing-teacher-photo img {
  width: min(100%, 20rem);
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.14));
}

.landing-teacher-badge {
  position: absolute;
  right: 0;
  bottom: 8.25rem;
  z-index: 2;
  padding: 0.7rem 0.95rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--landing-border);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  text-align: left;
}

.landing-teacher-badge strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--landing-ink);
}

.landing-teacher-badge span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.landing-portal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  max-width: 92%;
  margin: 0 auto;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #171717 0%, #0a0a0a 55%, #1a0505 100%);
  box-shadow:
    0 30px 80px rgba(10, 10, 10, 0.35),
    0 0 0 1px rgba(220, 38, 38, 0.15);
}

.landing-portal-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-portal-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #404040;
}

.landing-portal-dot.red { background: var(--brand-red); }
.landing-portal-dot.amber { background: #f59e0b; }
.landing-portal-dot.green { background: #22c55e; }

.landing-portal-title {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #737373;
  letter-spacing: 0.02em;
}

.landing-portal-body {
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.landing-portal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.landing-portal-tile {
  border-radius: 0.85rem;
  padding: 0.85rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-portal-tile.highlight {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.22) 0%, rgba(220, 38, 38, 0.08) 100%);
  border-color: rgba(220, 38, 38, 0.25);
}

.landing-portal-tile-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.55rem;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.landing-portal-tile-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.landing-portal-tile-value {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f5f5f5;
}

.landing-portal-list {
  border-radius: 0.85rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-portal-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.landing-portal-list-head span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d4d4d4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.landing-portal-list-head em {
  font-style: normal;
  font-size: 0.65rem;
  color: #22c55e;
  font-weight: 700;
}

.landing-portal-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-portal-line:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.landing-portal-line-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand-red);
  flex-shrink: 0;
}

.landing-portal-line-text {
  flex: 1;
  min-width: 0;
}

.landing-portal-line-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e5e5e5;
}

.landing-portal-line-text small {
  display: block;
  font-size: 0.68rem;
  color: #737373;
  margin-top: 0.1rem;
}

.landing-portal-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  flex-shrink: 0;
}

/* Floating pills — icons only, no numbers */
.landing-pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--landing-border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.landing-pill-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.landing-pill--tl { top: -0.5rem; left: -0.25rem; }
.landing-pill--tr { top: 12%; right: -0.5rem; }
.landing-pill--bl { bottom: 8%; left: -0.75rem; }

/* Pill row under hero */
.landing-pill-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.landing-pill-row .landing-pill-static {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--landing-border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #475569;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.landing-pill-row .landing-pill-static svg {
  color: var(--brand-red);
  flex-shrink: 0;
}

/* Features */
.landing-features {
  padding: 5rem 1.25rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.landing-features-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.landing-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.landing-section-sub {
  text-align: center;
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: var(--landing-muted);
  line-height: 1.6;
}

.landing-feature-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.landing-feature-card {
  background: #fff;
  border: 1px solid var(--landing-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.landing-feature-card:hover {
  border-color: #fecaca;
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.08);
}

.landing-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 0.85rem;
}

.landing-feature-card p {
  margin-top: 0.5rem;
  color: var(--landing-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.landing-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Contact */
.landing-contact {
  padding: 4rem 1.25rem 5rem;
}

.landing-contact-inner {
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-black) 0%, #1a0505 50%, var(--brand-red-dark) 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.25);
}

.landing-contact-inner h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
}

.landing-contact-inner p {
  margin-top: 0.75rem;
  color: #d4d4d4;
  line-height: 1.6;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-contact-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.landing-footer {
  border-top: 1px solid var(--landing-border);
  padding: 1.25rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

.landing-wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.landing-wa-float svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 900px) {
  .landing-menu {
    display: flex;
  }

  .landing-menu-toggle {
    display: none;
  }

  .landing-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .landing-hero-copy {
    text-align: left;
  }

  .landing-hero p {
    margin-left: 0;
    margin-right: 0;
  }

  .landing-hero-actions {
    justify-content: flex-start;
  }

  .landing-pill-row {
    justify-content: flex-start;
  }

  .landing-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-showcase {
    margin: 0;
    min-height: 30rem;
  }

  .landing-teacher-photo {
    min-height: 26rem;
    padding-bottom: 8.5rem;
  }

  .landing-teacher-photo img {
    width: min(100%, 22rem);
  }

  .landing-teacher-badge {
    right: 0.5rem;
    bottom: 9.25rem;
  }
}

@media (max-width: 899px) {
  .landing-showcase {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.25rem;
  }

  .landing-showcase-glow {
    inset: 0 0 40%;
  }

  .landing-teacher-photo {
    min-height: auto;
    padding: 0;
    width: 100%;
    order: 1;
    flex-direction: column;
    align-items: center;
  }

  .landing-teacher-photo img {
    width: min(100%, 17.5rem);
    margin: 0 auto;
  }

  .landing-teacher-badge {
    position: static;
    margin-top: 0.75rem;
    align-self: center;
    padding: 0.55rem 0.85rem;
  }

  .landing-teacher-badge strong {
    font-size: 0.82rem;
  }

  .landing-teacher-badge span {
    font-size: 0.68rem;
  }

  .landing-portal {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: 100%;
    width: 100%;
    order: 2;
  }

  .landing-portal-list {
    display: none;
  }

  .landing-portal-body {
    padding: 1rem;
  }

  .landing-pill--tl,
  .landing-pill--tr,
  .landing-pill--bl {
    display: none;
  }
}
