/* ============================================================
   clowdai — landing page
   Airy white canvas with a violet→pink brand gradient and a
   rich aurora "coming soon" band. Nit is featured as a product.
   ============================================================ */

:root {
  --white: #ffffff;
  --snow: #f7f7fb;
  --mist: #eeeef4;
  --silver: #d4d4dd;
  --smoke: #6e6e79;
  --ink: #101014;
  --black: #000000;

  /* clowdai brand — dreamy cloud/ai gradient */
  --brand: linear-gradient(120deg, #6d5efc 0%, #8b5cf6 45%, #ec4899 100%);
  --violet: #7c6cff;
  --violet-hover: #6a58f5;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive;

  --max-width: 1120px;
  --shadow-soft: rgba(16, 16, 20, 0.08) 0px 12px 40px 0px;
  --shadow-card: rgba(16, 16, 20, 0.10) 0px 20px 60px 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ============ Wordmark ============ */

.wordmark {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark__ai {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark--sm { font-size: 22px; }

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--mist);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--silver);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav__link:hover { border-color: var(--violet); color: var(--violet); }

/* ============ Hero ============ */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 32px 60px;
  text-align: center;
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--violet);
  background: rgba(124, 108, 255, 0.10);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__headline {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero__subtext {
  max-width: 560px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--smoke);
}

/* ============ Featured product (Nit) ============ */

.feature {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 32px 100px;
}
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--snow) 100%);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: rgba(16, 16, 20, 0.14) 0px 28px 70px 0px;
}
.product__shot {
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(124, 108, 255, 0.18) 0%, transparent 55%),
    radial-gradient(120% 120% at 80% 90%, rgba(236, 72, 153, 0.14) 0%, transparent 55%),
    var(--snow);
}
.product__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--violet);
}
.product__name {
  font-family: var(--font-script);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  margin: 8px 0 16px;
}
.product__desc {
  font-size: 17px;
  color: var(--smoke);
  margin-bottom: 28px;
  max-width: 40ch;
}
.product__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: var(--violet);
  padding: 12px 26px;
  border-radius: 100px;
  transition: background 0.15s ease;
}
.product:hover .product__cta { background: var(--violet-hover); }

/* ===== Nit menu bar panel (static screenshot recreation) ===== */

.mockup {
  position: relative;
  width: 320px;
  max-width: 100%;
  padding: 24px 20px 16px;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 30% -10%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(165deg, #5a9be6 0%, #3f7ccd 55%, #3468b8 100%);
  box-shadow: var(--shadow-soft);
  color: #ffffff;
}
.mockup__notch {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #5a9be6;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
}
.mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.mockup__title { font-weight: 700; font-size: 16px; letter-spacing: -0.3px; }
.mockup__gear { color: rgba(255, 255, 255, 0.7); }
.mockup__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mockup__label { display: inline-flex; align-items: center; gap: 8px; color: #eaf2fd; font-size: 15px; font-weight: 500; }
.mockup__glyph { color: #dbe8fa; }
.mockup__value { font-weight: 700; font-size: 15px; }
.mockup__reset { color: rgba(255, 255, 255, 0.6); font-weight: 400; margin-left: 4px; }
.mockup__track {
  position: relative;
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.28);
  margin-bottom: 24px;
}
.mockup__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 100px;
  background: #f4d38a;
}
.mockup__thumb {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
}
.mockup__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.mockup__wordmark {
  font-family: var(--font-script);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
}
.mockup__quit {
  font-size: 13px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 6px 14px;
}

/* ============ Coming soon (aurora band) ============ */

.soon {
  padding: 40px 20px;
}
.soon__inner {
  position: relative;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 32px;
  border-radius: 40px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(60% 90% at 18% 20%, rgba(139, 92, 246, 0.55) 0%, transparent 55%),
    radial-gradient(55% 80% at 82% 25%, rgba(236, 72, 153, 0.45) 0%, transparent 55%),
    radial-gradient(70% 90% at 50% 100%, rgba(99, 102, 241, 0.55) 0%, transparent 55%),
    #0d0a1a;
}
.soon__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.soon__headline {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.soon__text {
  max-width: 520px;
  margin: 0 auto;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
}

/* ============ Footer ============ */

.footer {
  border-top: 1px solid var(--mist);
  padding: 44px 32px;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 15px; color: var(--smoke); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { font-size: 14px; color: var(--silver); width: 100%; order: 3; }

/* ============ Responsive ============ */

@media (max-width: 820px) {
  .product {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 28px;
    text-align: center;
  }
  .product__shot { order: -1; }
  .product__desc { margin-left: auto; margin-right: auto; }
  .soon__inner { padding: 80px 24px; border-radius: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
