/* Upasthiti landing — uses tokens from css/style.css (same palette as Privacy Policy) */

.landing-page {
  background: var(--white, #fff);
  animation: landing-page-fade 0.6s ease-out;
}

html {
  scroll-behavior: smooth;
}

/* ── NAV ── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 5vw;
  min-height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e0e0e0;
  animation: landing-fade-up 0.5s ease both;
}

.landing-nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
  flex-shrink: 0;
  min-width: 0;
}

.landing-nav-logo-img {
  height: clamp(44px, 10vw, 56px);
  width: auto;
  max-width: min(300px, 58vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.landing-nav-brand-name {
  font-size: clamp(15px, 1.7vw, 22px);
  font-weight: 900;
  color: #6200ee;
  margin-left: 14px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  align-self: center;
  transform: translateY(1px);
  white-space: nowrap;
}

.landing-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark, #212529);
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
}

.landing-nav-links a:hover {
  color: var(--primary-purple, #6200ee);
  opacity: 1;
  transform: translateY(-1px);
}

.landing-nav-cta {
  background: var(--primary-purple, #6200ee);
  color: var(--white, #fff) !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm, 8px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.landing-nav-cta:hover {
  background: var(--dark-purple, #3700b3);
  transform: translateY(-1px);
}

/* ── HERO (privacy-style gradient header) ── */
.landing-hero {
  padding: 100px 5vw 72px;
  background: var(--gradient-primary, linear-gradient(135deg, #6200ee 0%, #9c27b0 100%));
  color: var(--white, #fff);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.35;
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.landing-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  animation: landing-fade-up 0.6s ease both;
}

.landing-hero-listing {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 20px;
  font-weight: 500;
  animation: landing-fade-up 0.6s 0.04s ease both;
}

.landing-hero-listing-name {
  color: var(--white, #fff);
  font-weight: 700;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white, #fff);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
}

.landing-hero h1 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0;
  animation: landing-fade-up 0.6s 0.08s ease both;
}

.landing-hero h1 em {
  font-style: normal;
  color: var(--secondary-purple, #bb86fc);
}

.landing-hero-sub {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin: 20px auto 28px;
  font-weight: 400;
  line-height: 1.65;
  animation: landing-fade-up 0.6s 0.16s ease both;
}

.landing-hero-sub strong {
  font-weight: 700;
  color: var(--white, #fff);
}

.landing-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: landing-fade-up 0.6s 0.22s ease both;
}

.landing-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white, #fff);
  color: var(--primary-purple, #6200ee) !important;
  padding: 14px 26px;
  border-radius: var(--radius-md, 12px);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-medium, 0 4px 20px rgba(98, 0, 238, 0.2));
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy, 0 8px 30px rgba(98, 0, 238, 0.28));
}

.landing-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white, #fff) !important;
  padding: 14px 22px;
  border-radius: var(--radius-md, 12px);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.landing-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ── STATS ── */
.landing-stats-wrap {
  padding: 48px 5vw 72px;
  background: var(--light-gray, #f8f9fa);
}

.landing-stats {
  display: flex;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white, #fff);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid #e0e0e0;
  box-shadow: var(--shadow-light, 0 2px 10px rgba(98, 0, 238, 0.08));
  overflow: hidden;
}

.landing-stat {
  flex: 1;
  text-align: center;
  padding: 26px 14px;
  border-right: 1px solid #e0e0e0;
}

.landing-stat:last-child {
  border-right: none;
}

.landing-stat-n {
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-purple, #6200ee);
  letter-spacing: -0.02em;
}

.landing-stat-l {
  font-size: 13px;
  color: var(--text-light, #6c757d);
  margin-top: 4px;
}

/* ── SECTIONS ── */
.landing-screenshots,
.landing-features,
.landing-how,
.landing-privacy {
  padding: 72px 5vw;
}

.landing-screenshots,
.landing-how {
  background: var(--white, #fff);
}

.landing-features {
  background: var(--light-gray, #f8f9fa);
}

.landing-privacy {
  background: var(--light-gray, #f8f9fa);
}

.landing-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.landing-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-purple, #6200ee);
  margin-bottom: 10px;
}

.landing-section-sub {
  font-size: 1rem;
  color: var(--text-light, #6c757d);
  max-width: 520px;
  line-height: 1.65;
  font-weight: 400;
  margin-top: 4px;
}

.landing-screenshots h2,
.landing-features h2,
.landing-how h2,
.landing-privacy h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--text-dark, #212529);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

/* Screenshots grid */
.landing-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}

.landing-shot {
  margin: 0;
  background: var(--white, #fff);
  border-radius: var(--radius-md, 12px);
  border: 1px solid #e0e0e0;
  box-shadow: var(--shadow-light, 0 2px 10px rgba(98, 0, 238, 0.08));
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.landing-shot:hover {
  border-color: rgba(98, 0, 238, 0.35);
  box-shadow: var(--shadow-medium, 0 4px 20px rgba(98, 0, 238, 0.12));
}

.landing-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  background: #f3f0fa;
}

.landing-shot figcaption {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #212529);
  border-top: 1px solid #eee;
}

/* Features */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.landing-feature-card {
  background: var(--white, #fff);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md, 12px);
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.landing-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(98, 0, 238, 0.35);
  box-shadow: var(--shadow-medium, 0 4px 20px rgba(98, 0, 238, 0.12));
}

.landing-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.landing-fi-blue { background: #eff6ff; }
.landing-fi-green { background: #dcfce7; }
.landing-fi-purple { background: #f3e8ff; }
.landing-fi-amber { background: #fef9c3; }
.landing-fi-teal { background: #ccfbf1; }
.landing-fi-red { background: #fee2e2; }

.landing-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark, #212529);
  margin-bottom: 6px;
}

.landing-feature-desc {
  font-size: 14px;
  color: var(--text-light, #6c757d);
  line-height: 1.6;
}

/* Steps */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 40px;
  background: var(--white, #fff);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
}

.landing-step {
  padding: 28px 24px;
  border-right: 1px solid #e0e0e0;
}

.landing-step:last-child {
  border-right: none;
}

.landing-step-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: #e8e8e8;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.landing-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark, #212529);
  margin-bottom: 6px;
}

.landing-step-desc {
  font-size: 13px;
  color: var(--text-light, #6c757d);
  line-height: 1.6;
}

/* Privacy snippet */
.landing-privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.landing-privacy-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white, #fff);
  border-radius: var(--radius-md, 12px);
  padding: 16px;
  border: 1px solid #e0e0e0;
}

.landing-privacy-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.landing-privacy-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark, #212529);
  margin-bottom: 4px;
}

.landing-privacy-desc {
  font-size: 13px;
  color: var(--text-light, #6c757d);
  line-height: 1.55;
}

.landing-privacy-more {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-light, #6c757d);
}

.landing-privacy-more a {
  color: var(--primary-purple, #6200ee);
  font-weight: 600;
  text-decoration: none;
}

.landing-privacy-more a:hover {
  text-decoration: underline;
}

/* ── CTA (same gradient + grain as Privacy Policy .header in style.css) ── */
.landing-cta {
  padding: 88px 5vw;
  background: var(--gradient-primary, linear-gradient(135deg, #6200ee 0%, #9c27b0 100%));
  color: var(--white, #fff);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.landing-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.landing-cta h2 {
  font-family: "Inter", sans-serif;
  color: var(--white, #fff);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.landing-section-label-on-dark {
  color: rgba(255, 255, 255, 0.78);
}

.landing-section-sub-on-dark {
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

.landing-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  background: var(--white, #fff);
  color: var(--primary-purple, #6200ee) !important;
  padding: 14px 28px;
  border-radius: var(--radius-md, 12px);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-heavy, 0 8px 30px rgba(98, 0, 238, 0.25));
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy, 0 8px 30px rgba(98, 0, 238, 0.35));
}

/* ── FOOTER ── */
.landing-footer {
  background: var(--dark-gray, #343a40);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 5vw;
}

.landing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-footer-wordmark {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white, #fff);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.landing-footer-wordmark span {
  color: var(--secondary-purple, #bb86fc);
}

.landing-footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.landing-footer-links a:hover {
  color: var(--white, #fff);
}

.landing-footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes landing-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-page-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .landing-nav-brand-name {
    display: none;
  }

  .landing-nav-links {
    display: none;
  }

  .landing-stats {
    flex-direction: column;
  }

  .landing-stat {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .landing-stat:last-child {
    border-bottom: none;
  }

  .landing-steps {
    grid-template-columns: 1fr;
  }

  .landing-step {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .landing-step:last-child {
    border-bottom: none;
  }

  .landing-footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
