/* ============================================================
   KubeGet — Apple-style design system (shared across public pages)
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

h1, h2, h3 { letter-spacing: -0.025em; }

/* Offset anchored sections so the sticky nav doesn't cover headings */
section[id] { scroll-margin-top: 6rem; }

/* ============ Hero background ============ */
.hero-bg {
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(30,217,139,0.20), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(80,200,255,0.12), transparent 60%),
    radial-gradient(900px 500px at 20% 70%, rgba(30,217,139,0.10), transparent 60%),
    #ffffff;
}

/* ============ Buttons ============ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #1d1d1f;
  color: #fff;
  font-weight: 500; font-size: 0.95rem;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.35);
  text-decoration: none;
}
.btn-primary:hover { background: #0fb874; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  color: #1d1d1f;
  font-weight: 500; font-size: 0.95rem;
  transition: color .2s ease, transform .2s ease;
  text-decoration: none;
}
.btn-ghost:hover { color: #0fb874; transform: translateX(2px); }

/* Pill-style outline button (store links, etc.) */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.12);
  color: #1d1d1f;
  font-weight: 500; font-size: 0.9rem;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
  text-decoration: none;
}
.btn-outline:hover { border-color: rgba(30,217,139,0.6); color: #0fb874; transform: translateY(-1px); }

/* ============ Nav active state ============ */
.nav-link.is-active { color: #1d1d1f; font-weight: 500; }

/* ============ Generic cards ============ */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
  border-color: rgba(30,217,139,0.35);
}
.icon-tile {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8fff5, #c7ffe5);
  color: #0a8f5b;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-tile svg { width: 22px; height: 22px; }
.card-title { font-size: 1.05rem; font-weight: 600; color: #1d1d1f; }
.card-text  { margin-top: 0.5rem; font-size: 0.95rem; color: #86868b; line-height: 1.55; }

/* Feature list inside service cards */
.feature-list {
  margin-top: 1.1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.88rem; color: #86868b;
}
.feature-list li { position: relative; padding-left: 1.25rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem;
  width: 6px; height: 6px; border-radius: 9999px;
  background: #1ed98b;
}

/* ============ Stats strip ============ */
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat-num { font-size: 2.25rem; font-weight: 600; color: #1d1d1f; letter-spacing: -0.03em; }
.stat-label { margin-top: 0.35rem; font-size: 0.9rem; color: #86868b; }

/* ============ App showcase cards ============ */
.app-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,217,139,0.4);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}
.app-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.05);
}
.app-name { margin-top: 1rem; font-size: 1.05rem; font-weight: 600; color: #1d1d1f; }
.app-cat  { margin-top: 0.15rem; font-size: 0.82rem; color: #86868b; }
.app-stores {
  margin-top: auto;
  padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  width: 100%;
}
.store-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 0.8rem; font-weight: 500;
  color: #1d1d1f; text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.store-link:hover {
  border-color: rgba(30,217,139,0.6);
  color: #0fb874;
  transform: translateY(-1px);
}
.store-glyph { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

/* ============ Contact details ============ */
.contact-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8fff5, #c7ffe5);
  color: #0a8f5b;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #86868b; }
.contact-value { margin-top: 0.25rem; font-size: 1rem; color: #1d1d1f; }
.contact-value a { color: #0a8f5b; text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* ============ Reveal-on-scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Slow bounce for hero chevron ============ */
@keyframes bounce-slow {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}
.animate-bounce-slow { animation: bounce-slow 2.4s ease-in-out infinite; }

/* ============ Hero logo subtle float ============ */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-cube {
  animation: hero-float 5s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(15,184,116,0.25));
}

/* ============ Legal / long-form content ============ */
.legal-content h2 {
  margin-top: 2.5rem; margin-bottom: 1rem;
  font-size: 1.4rem; font-weight: 600; color: #1d1d1f;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content ul { color: #424245; line-height: 1.75; font-size: 1rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: #0a8f5b; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-content .last-updated { color: #86868b; font-style: italic; }

/* ============ Responsive tweaks ============ */
@media (max-width: 640px) {
  .stat-num { font-size: 1.85rem; }
}
