/* ─── Kalan School OS — Design System & Core Hero Styles ─── */
:root {
  --color-primary: #0284c7;
  --color-primary-hover: #0369a1;
  --color-primary-light: #e0f2fe;
  --color-indigo: #4338ca;
  --color-emerald: #10b981;
  --color-emerald-light: #ecfdf5;
  --color-amber: #f59e0b;
  --color-amber-light: #fef08a;
  --color-orange: #ea580c;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;

  --border-light: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(15, 23, 42, 0.16);

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-secondary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Minimalist Top Nav ─────────────────────────────────────── */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.landing-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.landing-logo-icon {
  width: 26px;
  height: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.landing-logo-dot {
  width: 8.5px;
  height: 8.5px;
  border-radius: 2.5px;
  background-color: #0f172a;
}

.landing-logo-dot--accent {
  background-color: var(--color-primary);
}

.landing-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.landing-nav-links a:hover {
  color: var(--color-primary);
}

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

.btn-nav-login {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  color: var(--text-primary);
}

.btn-nav-cta {
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-nav-cta:hover {
  background-color: #f1f5f9;
  border-color: var(--border-focus);
}

/* ─── Hero Dome Wrap (Pixel-Perfect Signature) ───────────────── */
.hero-dome-wrap {
  position: relative;
  max-width: 1200px;
  margin: 1.25rem auto 3.5rem auto;
  padding: 5rem 2rem 5.5rem 2rem;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  overflow: hidden;
  text-align: center;
}

.hero-center-badge {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.hero-center-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.hero-center-dot {
  width: 9.5px;
  height: 9.5px;
  border-radius: 3px;
  background-color: #0f172a;
}

.hero-center-dot--blue {
  background-color: var(--color-primary);
}

.hero-h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 820px;
  margin: 0 auto 1.15rem auto;
}

.hero-h1-muted {
  color: var(--text-muted);
  font-weight: 700;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.15s ease;
}

.btn-hero-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* ─── 4 Floating 3D Micro-Cards ──────────────────────────────── */
.hero-float-card {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 3px 10px rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-light);
  padding: 0.95rem 1.15rem;
  text-align: left;
  z-index: 10;
  transition: transform 0.2s ease;
}

.hero-float-card:hover {
  transform: translateY(-3px);
}

/* Top Left: Sticky Note with Red Pin & Floating Checkmark */
.hero-float-tl {
  top: 3.2rem;
  left: 2.5rem;
  width: 225px;
  background-color: var(--color-amber-light);
  transform: rotate(-4deg);
  box-shadow: 0 14px 28px rgba(161, 98, 7, 0.12);
  border: none;
}

.hero-pin {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dc2626;
  margin: 0 auto 0.45rem auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-sticky-text {
  font-size: 0.80rem;
  color: #713f12;
  line-height: 1.35;
  font-weight: 600;
}

.hero-sticky-subcard {
  position: absolute;
  bottom: -20px;
  left: -14px;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

/* Top Right: Clock & Rooms Widget */
.hero-float-tr {
  top: 3.2rem;
  right: 2.5rem;
  width: 215px;
}

.hero-float-clock {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid var(--border-light);
}

.hero-remind-title {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.hero-remind-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-remind-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.70rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-top: 0.4rem;
  font-weight: 600;
}

/* Bottom Left: Today's Tasks Progress Bars */
.hero-float-bl {
  bottom: 2.8rem;
  left: 2.5rem;
  width: 235px;
}

.hero-task-tag {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: var(--color-orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.35rem;
}

.hero-task-bar {
  height: 4px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  overflow: hidden;
  margin-top: 0.3rem;
}

/* Bottom Right: Gateways Squircle Icons */
.hero-float-br {
  bottom: 2.8rem;
  right: 2.5rem;
  width: 230px;
}

.hero-int-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.hero-int-sq {
  flex: 1;
  height: 32px;
  border-radius: var(--radius-xs);
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.70rem;
}

@media (max-width: 1024px) {
  .hero-float-card {
    display: none;
  }

  .hero-h1 {
    font-size: 2.4rem;
  }

  .hero-dome-wrap {
    padding: 3.5rem 1.5rem;
  }
}