/* Qlendar — premium landing matched to mobile app & store graphics */
:root {
  --seed: #2563eb;
  --seed-deep: #1e40af;
  --seed-bright: #3b82f6;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --paper: #f4f6f9;
  --line: #e5e7eb;
  --white: #ffffff;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 8px 30px rgba(17, 24, 39, 0.06);
  --shadow-phone: 0 32px 64px rgba(15, 23, 42, 0.35);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ——— Full-bleed blue hero (store graphic language) ——— */
.hero-band {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(ellipse 90% 70% at 78% 18%, rgba(96, 165, 250, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(30, 64, 175, 0.55), transparent 50%),
    linear-gradient(155deg, #1d4ed8 0%, #2563eb 42%, #1e3a8a 100%);
  overflow: hidden;
  padding-bottom: 3.5rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, black 10%, transparent 75%);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  animation: rise 0.7s ease both;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25);
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.15rem;
}

.top-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.top-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 2.75rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  width: 100%;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: calc(100vh - 6.5rem);
  }

  .hero-band {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
}

.hero-copy {
  animation: rise 0.85s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin-bottom: 1.1rem;
  color: #fff;
}

.hero-headline {
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.96);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  max-width: 26rem;
  margin-bottom: 1.85rem;
  line-height: 1.6;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #111827;
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 0.9rem;
  min-width: 10.25rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #030712;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35);
}

.store-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.store-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  box-shadow: none;
}

.store-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-btn-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.72;
  font-weight: 600;
}

.store-btn-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero-guide {
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-guide:hover {
  color: #fff;
  border-color: #fff;
}

/* Phone */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: rise 0.95s 0.08s ease both;
}

.phone-stage {
  position: relative;
  width: min(100%, 278px);
  filter: drop-shadow(var(--shadow-phone));
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.2;
  background: #0b1220;
  border-radius: 2.45rem;
  padding: 0.48rem;
  border: 2px solid #1f2937;
}

.phone-notch {
  position: absolute;
  top: 0.62rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 0.9rem;
  background: #000;
  border-radius: 999px;
  z-index: 5;
  pointer-events: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--paper);
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(14px) scale(0.99);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.slider-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.slider-btn svg {
  width: 1rem;
  height: 1rem;
}

.dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.dot.is-active {
  width: 1.25rem;
  background: #fff;
}

.slide-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  min-height: 1.2em;
  text-align: center;
}

/* ——— Light app-like content ——— */
.section-heading {
  font-weight: 800;
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 34rem;
}

.how {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  width: 100%;
}

.how-steps {
  list-style: none;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.how-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.45rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.how-steps li:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.how-num {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--seed);
  margin-bottom: 0.2rem;
}

.how-steps strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.how-steps span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

.showcase {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4.5rem;
  width: 100%;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

.showcase-item {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 800px) {
  .showcase-item {
    grid-template-columns: minmax(0, 240px) 1fr;
    gap: 3.25rem;
  }

  .showcase-item.reverse {
    grid-template-columns: 1fr minmax(0, 240px);
  }

  .showcase-item.reverse .showcase-phone {
    order: 2;
  }

  .showcase-item.reverse .showcase-copy {
    order: 1;
    text-align: right;
  }

  .showcase-item.reverse .showcase-copy a {
    justify-content: flex-end;
  }
}

.showcase-phone {
  width: min(100%, 240px);
  margin: 0 auto;
  padding: 0.55rem;
  border-radius: 1.75rem;
  background: linear-gradient(160deg, #1e40af, #2563eb 55%, #1d4ed8);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.28);
}

.showcase-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.3rem;
  background: var(--white);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--seed);
  margin-bottom: 0.45rem;
}

.showcase-copy h3 {
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.showcase-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  max-width: 28rem;
  margin-bottom: 0.9rem;
}

.showcase-item.reverse .showcase-copy p:not(.eyebrow) {
  margin-left: auto;
}

.showcase-copy a {
  display: inline-flex;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--seed);
}

.showcase-copy a:hover {
  text-decoration: underline;
}

.docs-band {
  padding: 0 1.5rem 4.5rem;
}

.docs-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.4rem 1.75rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(59, 130, 246, 0.18), transparent 55%),
    linear-gradient(145deg, #1e40af, #2563eb 50%, #1d4ed8);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
}

.docs-band-inner h2 {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.docs-band-inner > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.35rem;
  font-weight: 500;
}

.docs-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.docs-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 1.1rem;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--seed-deep);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.docs-links a:hover {
  transform: translateY(-1px);
  background: #eff6ff;
}

.docs-links a:nth-child(n + 2) {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.docs-links a:nth-child(n + 2):hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.page-footer {
  text-align: center;
  padding: 0.5rem 1.5rem 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--paper);
}

.page-footer a {
  color: var(--seed);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.15rem;
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--seed);
}

@media (max-width: 899px) {
  .hero {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .store-row {
    justify-content: center;
  }

  .phone-stage {
    width: min(100%, 248px);
  }
}

@media (max-width: 640px) {
  .top-links .top-link:nth-child(3),
  .top-links .top-link:nth-child(4) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-stage,
  .hero-copy,
  .hero-visual,
  .topbar {
    animation: none;
  }
}
