/* ==========================================================================
   KALYTERA — Launch design system (light)
   Bold-red brand identity. Clean modern SaaS aesthetic matching the app.
   Hero zone reads --h-* tokens, body zone reads --b-* tokens.
   Shared components (.kal-page-hero, .kal-section, .kal-card …) are reused
   across every public page.
   ========================================================================== */

:root {
  --kal-red-50:  #fef2f2;
  --kal-red-100: #fee2e2;
  --kal-red-200: #fecaca;
  --kal-red-300: #fca5a5;
  --kal-red-400: #f87171;
  --kal-red-500: #ef4444;
  --kal-red-600: #dc2626;
  --kal-red-700: #b91c1c;
  --kal-red-800: #991b1b;
  --kal-red-900: #7f1d1d;
  --kal-red-grad:      linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --kal-red-grad-soft: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  --kal-ink:    #0a0e17;
  --kal-ink-2:  #0f1623;
  --kal-radius: 1.4rem;

  /* Hero zone tokens */
  --h-bg:        radial-gradient(ellipse 90% 70% at 72% 6%, rgba(239,68,68,0.16) 0%, transparent 58%),
                 radial-gradient(ellipse 70% 55% at 6% 78%, rgba(220,38,38,0.10) 0%, transparent 55%),
                 linear-gradient(180deg, #fff8f7 0%, #ffffff 70%);
  --h-card:      #ffffff;
  --h-card-2:    #fef6f5;
  --h-border:    #f1d9d6;
  --h-text:      #475569;
  --h-muted:     #64748b;
  --h-heading:   #0f172a;
  --h-frame:     #ffffff;
  --h-frame-bd:  #e7e1df;

  /* Body zone tokens */
  --b-bg:        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --b-card:      #ffffff;
  --b-card-2:    #f8fafc;
  --b-border:    #e7e5e4;
  --b-text:      #475569;
  --b-muted:     #64748b;
  --b-heading:   #0f172a;
  --b-shot-bd:   #e7e5e4;
}

/* ----- Page shell -------------------------------------------------------- */
.launch-page {
  position: relative;
  overflow: hidden;
}

.launch-hero,
.launch-cta {
  background: var(--h-bg);
  color: var(--h-text);
  position: relative;
}

.launch-band,
.launch-comparison,
.launch-story {
  background: var(--b-bg);
  color: var(--b-text);
  position: relative;
}

/* ----- Hero -------------------------------------------------------------- */
.launch-hero { padding: 6rem 0 5rem; }

.launch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--kal-red-200);
  background: var(--kal-red-50);
  color: var(--kal-red-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch-eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--kal-red-500);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.9);
  animation: kal-pulse 2.4s ease-in-out infinite;
}

.launch-title {
  margin: 1.5rem 0 1.25rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--h-heading);
  max-width: 16ch;
}

.launch-title .highlight {
  background: var(--kal-red-grad-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.launch-subtitle {
  color: var(--h-muted);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 40rem;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.2rem 0;
}

.launch-btn-primary,
.launch-btn-secondary {
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.launch-btn-primary {
  background: var(--kal-red-grad);
  color: #fff;
  box-shadow: 0 16px 40px rgba(220, 38, 38, 0.42);
}
.launch-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(220, 38, 38, 0.55);
}

.launch-btn-secondary {
  background: var(--h-card-2);
  border-color: var(--h-border);
  color: var(--h-heading);
}
.launch-btn-secondary:hover {
  color: var(--h-heading);
  transform: translateY(-2px);
  border-color: var(--kal-red-400);
}

.launch-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 36rem;
}

.launch-proof-card {
  padding: 1.1rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid var(--h-border);
  background: var(--h-card);
}
.launch-proof-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--h-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.launch-proof-card span {
  color: var(--h-muted);
  font-size: 0.92rem;
}

/* ----- Hero visual / screenshot frame ----------------------------------- */
.launch-visual-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.launch-screen-card {
  position: relative;
  border-radius: var(--kal-radius);
  padding: 0.8rem;
  border: 1px solid var(--h-frame-bd);
  background: var(--h-frame);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

.launch-screen-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.5rem 0.7rem;
  color: var(--h-muted);
}
.launch-screen-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--h-muted);
  opacity: 0.5;
}
.launch-screen-bar span:first-child { background: #ef4444; opacity: 0.85; }
.launch-screen-bar small {
  margin-left: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.launch-main-shot {
  width: 100%;
  display: block;
  border-radius: 0.9rem;
  border: 1px solid var(--b-shot-bd);
}

.launch-floating-chip {
  position: absolute;
  top: -1.1rem;
  right: 1.2rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--kal-red-grad);
  box-shadow: 0 14px 34px rgba(220, 38, 38, 0.5);
  animation: kal-float 7s ease-in-out infinite;
}

.launch-side-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.launch-side-card {
  border-radius: 1.1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--h-border);
  background: var(--h-card);
}
.launch-side-card strong {
  color: var(--h-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.launch-side-card span {
  display: block;
  margin-top: 0.5rem;
  color: var(--h-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

/* ----- Section labels / titles ------------------------------------------ */
.launch-section-label {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--kal-red-200);
  background: var(--kal-red-50);
  color: var(--kal-red-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-side-label,
.launch-compare-title {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--kal-red-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-section-title,
.launch-band-shell h2,
.launch-cta-shell h2,
.launch-story-card h3 {
  color: var(--b-heading);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.launch-cta .launch-cta-shell h2 { color: var(--h-heading); }

.launch-section-copy {
  color: var(--b-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 42rem;
}

/* ----- Band -------------------------------------------------------------- */
.launch-band { padding: 4.5rem 0; }
.launch-band-shell {
  border-radius: var(--kal-radius);
  padding: 2.2rem 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.4rem;
  border: 1px solid var(--b-border);
  background: var(--b-card);
}
.launch-band-shell h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin: 0.85rem 0 0;
}
.launch-band-points {
  display: grid;
  gap: 1rem;
  align-content: center;
  color: var(--b-text);
  font-size: 1.02rem;
}
.launch-band-points i { color: var(--kal-red-500); margin-right: 0.4rem; }

/* ----- Comparison -------------------------------------------------------- */
.launch-comparison { padding: 1rem 0 4.5rem; }
.launch-compare-card {
  height: 100%;
  padding: 2.1rem;
  border-radius: var(--kal-radius);
  border: 1px solid var(--b-border);
  background: var(--b-card);
}
.launch-compare-accent {
  border-color: var(--kal-red-300);
  box-shadow: 0 24px 60px rgba(220, 38, 38, 0.14);
}
.launch-compare-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 1rem;
  color: var(--b-text);
  line-height: 1.6;
}
.launch-compare-card li::marker { color: var(--kal-red-500); }

/* ----- Story grid -------------------------------------------------------- */
.launch-story { padding: 1rem 0 5rem; }
.launch-story-card {
  padding: 2.1rem;
  border-radius: var(--kal-radius);
  border: 1px solid var(--b-border);
  background: var(--b-card);
  height: 100%;
}
.launch-story-card h3 { font-size: 1.55rem; margin: 0.85rem 0 0.6rem; }
.launch-story-card p { color: var(--b-muted); line-height: 1.7; }
.launch-story-card img {
  border: 1px solid var(--b-shot-bd);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
}

.launch-mini-stack { display: grid; gap: 0.8rem; margin-top: 1.6rem; }
.launch-mini-stack div,
.launch-icon-row span {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: var(--b-card-2);
  border: 1px solid var(--b-border);
  color: var(--b-text);
  font-size: 0.96rem;
}
.launch-icon-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.launch-icon-row i { margin-right: 0.4rem; color: var(--kal-red-500); }

/* ----- CTA --------------------------------------------------------------- */
.launch-cta { padding: 4.5rem 0 5.5rem; }
.launch-cta-shell {
  border-radius: 1.8rem;
  padding: 3.5rem 1.5rem;
  text-align: center;
  border: 1px solid var(--h-border);
  background:
    radial-gradient(circle at top, rgba(239, 68, 68, 0.18), transparent 55%),
    var(--h-card);
}
.launch-cta-shell h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 0.9rem 0 0; }
.launch-cta-shell p { color: var(--h-muted); margin: 1rem auto 0; max-width: 40rem; line-height: 1.7; }

/* ==========================================================================
   SHARED SECONDARY-PAGE COMPONENTS
   Used by Features, Pricing, Downloads, About, Contact, Support, etc.
   ========================================================================== */

/* ----- Page hero (compact) ---------------------------------------------- */
.kal-page-hero {
  background: var(--h-bg);
  border-bottom: 1px solid var(--b-border);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}
.kal-page-hero .kal-eyebrow { margin-bottom: 1.1rem; }
.kal-page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--h-heading);
  margin: 0 0 1rem;
}
.kal-page-hero h1 .highlight {
  background: var(--kal-red-grad-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kal-page-hero p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--h-muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* ----- Reusable eyebrow / labels ---------------------------------------- */
.kal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--kal-red-200);
  background: var(--kal-red-50);
  color: var(--kal-red-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ----- Generic sections -------------------------------------------------- */
.kal-section { padding: 4.5rem 0; background: var(--b-bg); color: var(--b-text); }
.kal-section-alt { background: var(--b-card-2); }
.kal-section-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }
.kal-section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--b-heading);
  margin: 1rem 0 0.75rem;
}
.kal-section-head p { color: var(--b-muted); font-size: 1.08rem; line-height: 1.7; margin: 0; }

/* ----- Cards ------------------------------------------------------------- */
.kal-card {
  background: var(--b-card);
  border: 1px solid var(--b-border);
  border-radius: 1.1rem;
  padding: 1.9rem;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.kal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(220, 38, 38, 0.1);
  border-color: var(--kal-red-300);
}
.kal-card h3 { color: var(--b-heading); font-weight: 700; font-size: 1.2rem; margin: 0 0 0.6rem; letter-spacing: -0.01em; }
.kal-card p { color: var(--b-muted); line-height: 1.65; margin: 0; }

.kal-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.3rem;
  color: var(--kal-red-600);
  background: var(--kal-red-50);
  border: 1px solid var(--kal-red-100);
}

/* ----- Buttons (shared) -------------------------------------------------- */
.kal-btn-primary,
.kal-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.kal-btn-primary {
  background: var(--kal-red-grad);
  color: #fff;
  box-shadow: 0 14px 34px rgba(220, 38, 38, 0.4);
}
.kal-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 48px rgba(220, 38, 38, 0.52); }
.kal-btn-secondary {
  background: #fff;
  border-color: var(--b-border);
  color: var(--b-heading);
}
.kal-btn-secondary:hover { color: var(--kal-red-700); transform: translateY(-2px); border-color: var(--kal-red-300); }

/* ----- Animations -------------------------------------------------------- */
@keyframes kal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes kal-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ----- Responsive -------------------------------------------------------- */
@media (max-width: 991.98px) {
  .launch-hero { padding: 3.5rem 0 3rem; }
  .launch-band-shell { grid-template-columns: 1fr; gap: 1.4rem; }
  .launch-floating-chip { top: -0.8rem; right: 0.8rem; }
}
@media (max-width: 767.98px) {
  .launch-title { max-width: none; }
  .launch-proof-grid { grid-template-columns: 1fr; }
  .launch-side-cards-row { grid-template-columns: 1fr; }
  .launch-band-shell,
  .launch-compare-card,
  .launch-story-card,
  .launch-cta-shell { padding: 1.5rem; }
}
