/* =========================================================
   KGP PLACEMENT FORM TRACKER
   Website stylesheet
   Palette inspired by the extension + checkout UI
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  color: #111827;

  background:
    linear-gradient(
      135deg,
      #f7faff 0%,
      #faf8ff 55%,
      #fffaf2 100%
    );

  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid #e7e9f1;
}

.nav-inner {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;

  color: #111827;

  white-space: nowrap;
}

.logo:hover {
  color: #2563eb;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 24px;
}

.nav-links a {
  position: relative;

  color: #5f6878;

  font-size: 14px;
  font-weight: 600;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover {
  color: #2563eb;
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -6px;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #7c3aed
    );

  border-radius: 99px;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 12px 20px;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  border: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;

  background:
    linear-gradient(
      135deg,
      #2563eb,
      #7c3aed
    );

  box-shadow:
    0 8px 20px rgba(99, 102, 241, 0.18);
}

.btn-primary:hover {
  box-shadow:
    0 12px 26px rgba(99, 102, 241, 0.25);
}

.btn-secondary {
  color: #172033;

  background: white;

  border: 1px solid #d9deea;

  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  background: #f8f9fd;
  border-color: #cbd2e1;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  overflow: hidden;

  padding: 105px 0 95px;

  background:
    linear-gradient(
      135deg,
      #eef4ff 0%,
      #f8f3ff 52%,
      #fff8ed 100%
    );
}

.hero::before {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  top: -140px;
  right: -80px;

  background:
    radial-gradient(
      circle,
      rgba(124, 58, 237, 0.12),
      transparent 70%
    );

  pointer-events: none;
}

.hero::after {
  content: "";

  position: absolute;

  width: 280px;
  height: 280px;

  bottom: -160px;
  left: -80px;

  background:
    radial-gradient(
      circle,
      rgba(37, 99, 235, 0.10),
      transparent 70%
    );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;

  max-width: 790px;
}

.badge {
  display: inline-flex;

  align-items: center;

  padding: 6px 12px;

  background: #e8f0ff;

  color: #2456b8;

  border: 1px solid #d6e3ff;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  margin-bottom: 19px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 66px);

  line-height: 1.06;

  letter-spacing: -2.8px;

  margin-bottom: 22px;
}

.hero h1 span {
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #7c3aed
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 720px;

  font-size: 18px;

  color: #5d6678;

  margin-bottom: 31px;
}

.hero-buttons {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 82px 0;
}

.section-title {
  max-width: 760px;

  text-align: center;

  margin: 0 auto 48px;
}

.section-title h2 {
  font-size: 34px;

  line-height: 1.15;

  letter-spacing: -0.8px;

  margin-bottom: 12px;
}

.section-title p {
  color: #687184;

  max-width: 680px;

  margin: 0 auto;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;
}

.card {
  position: relative;

  background: rgba(255, 255, 255, 0.92);

  border: 1px solid #e3e6ef;

  border-radius: 16px;

  padding: 28px;

  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.045);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);

  border-color: #d6dcf1;

  box-shadow:
    0 16px 35px rgba(15, 23, 42, 0.08);
}

.card-icon {
  width: 46px;
  height: 46px;

  display: flex;

  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      #eef4ff,
      #f2edff
    );

  border: 1px solid #e2e8ff;

  border-radius: 12px;

  margin-bottom: 18px;

  font-size: 21px;
}

.card h3 {
  margin-bottom: 9px;

  font-size: 19px;

  letter-spacing: -0.2px;
}

.card p {
  color: #697386;

  font-size: 14px;
}


/* =========================================================
   FREE / PRO PRICING
   ========================================================= */

.pricing {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 24px;

  max-width: 880px;

  margin: 0 auto;
}

.price-card {
  position: relative;

  background: rgba(255, 255, 255, 0.95);

  border: 1px solid #e1e5ee;

  border-radius: 18px;

  padding: 32px;

  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.05);
}

.price-card.pro {
  border: 2px solid transparent;

  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(
      135deg,
      #2563eb,
      #7c3aed,
      #f59e0b
    ) border-box;

  box-shadow:
    0 14px 36px rgba(99, 102, 241, 0.12);
}

.price-card.pro::before {
  content: "PRO";

  position: absolute;

  top: 18px;
  right: 18px;

  padding: 5px 9px;

  border-radius: 999px;

  background: #fff0c2;

  color: #8a6200;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.5px;
}

.price-card h3 {
  font-size: 24px;

  margin-bottom: 6px;
}

.price-description {
  color: #6b7280;

  font-size: 14px;

  margin-bottom: 22px;
}

.price {
  font-size: 34px;

  line-height: 1;

  font-weight: 800;

  letter-spacing: -1px;

  margin-bottom: 24px;
}

.feature-list {
  list-style: none;

  margin-bottom: 26px;
}

.feature-list li {
  display: flex;

  align-items: flex-start;

  margin: 12px 0;

  font-size: 14px;

  color: #273244;
}

.feature-list li::before {
  content: "✓";

  flex-shrink: 0;

  color: #2563eb;

  font-weight: 800;

  margin-right: 9px;
}


/* =========================================================
   PRIVACY / SECURITY BOX
   ========================================================= */

.privacy-box {
  max-width: 880px;

  margin: 0 auto;

  padding: 28px 30px;

  background:
    linear-gradient(
      135deg,
      #eef4ff,
      #f8f3ff
    );

  border: 1px solid #dbe3f8;

  border-radius: 16px;

  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.04);
}

.privacy-box h3 {
  margin-bottom: 9px;

  font-size: 19px;
}

.privacy-box p {
  color: #596579;

  font-size: 14px;
}


/* =========================================================
   GENERAL TEXT PAGES
   Privacy / Terms / Refund / Contact
   ========================================================= */

.page {
  padding: 74px 0;
}

.page-content {
  max-width: 880px;

  margin: 0 auto;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid #e2e6ef;

  border-radius: 18px;

  padding: 44px;

  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.05);
}

.page-content h1 {
  font-size: 40px;

  line-height: 1.15;

  letter-spacing: -1px;

  margin-bottom: 13px;
}

.page-content h2 {
  position: relative;

  font-size: 22px;

  line-height: 1.25;

  margin-top: 34px;

  margin-bottom: 11px;

  padding-left: 13px;
}

.page-content h2::before {
  content: "";

  position: absolute;

  left: 0;
  top: 4px;
  bottom: 4px;

  width: 3px;

  background:
    linear-gradient(
      180deg,
      #2563eb,
      #7c3aed
    );

  border-radius: 99px;
}

.page-content p {
  color: #596273;

  margin-bottom: 14px;

  font-size: 15px;
}

.page-content ul {
  margin-left: 23px;

  color: #596273;

  margin-bottom: 14px;
}

.page-content li {
  margin: 7px 0;

  font-size: 15px;
}

.page-content a {
  color: #2563eb;

  font-weight: 600;
}

.page-content a:hover {
  text-decoration: underline;
}


/* =========================================================
   CONTACT / EMAIL
   ========================================================= */

.page-content a[href^="mailto:"] {
  display: inline-block;

  padding: 11px 15px;

  border-radius: 10px;

  background: #eef4ff;

  border: 1px solid #dbe5ff;

  color: #2456b8;

  font-size: 15px;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.page-content a[href^="mailto:"]:hover {
  background: #e4edff;

  text-decoration: none;

  transform: translateY(-1px);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  margin-top: 20px;

  padding: 42px 0 34px;

  background:
    linear-gradient(
      135deg,
      #111827,
      #1e1b4b
    );

  color: white;
}

.footer-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 25px;

  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 800;

  font-size: 15px;
}

.footer-links {
  display: flex;

  gap: 20px;

  flex-wrap: wrap;

  color: #cbd2df;

  font-size: 14px;
}

.footer-links a {
  transition:
    color 0.2s ease;
}

.footer-links a:hover {
  color: white;

  text-decoration: none;
}

.footer-bottom {
  margin-top: 26px;

  padding-top: 21px;

  border-top: 1px solid #30384a;

  color: #98a2b3;

  font-size: 12px;

  line-height: 1.7;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

  .nav-inner {
    padding: 14px 0;

    align-items: flex-start;

    gap: 15px;
  }

  .nav-links {
    gap: 13px;

    flex-wrap: wrap;

    justify-content: flex-end;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;

    max-width: 600px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 78px 0 70px;
  }

  .hero h1 {
    letter-spacing: -1.8px;
  }

  .page-content {
    padding: 32px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .container {
    width: min(94%, 1120px);
  }

  .nav-inner {
    flex-direction: column;

    align-items: flex-start;
  }

  .logo {
    white-space: normal;

    font-size: 18px;
  }

  .nav-links {
    width: 100%;

    justify-content: flex-start;

    gap: 11px 17px;
  }

  .hero {
    padding: 64px 0 58px;
  }

  .hero h1 {
    font-size: 40px;

    letter-spacing: -1.5px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 14px;
  }

  .page {
    padding: 46px 0;
  }

  .page-content {
    padding: 25px 21px;

    border-radius: 15px;
  }

  .page-content h1 {
    font-size: 32px;
  }

  .page-content h2 {
    font-size: 20px;
  }

  .footer-inner {
    align-items: flex-start;

    flex-direction: column;
  }

  .footer-links {
    gap: 12px 18px;
  }
}