/* ===================== RESET & BASE ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #000000;
  --card: #171717;
  --card-2: #1c1c1e;
  --inner: #0f0f0f;
  --border: rgba(255, 255, 255, 0.09);
  --red: #FB3D36;
  --red-bright: #FF4B45;
  --white: #ffffff;
  --grey: #8e8e93;
  --grey-2: #a2a2a7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Content sections: full width with 120px side padding */
.container {
  width: 100%;
  padding: 0 120px;
}

a { color: inherit; text-decoration: none; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
}

/* Navbar: full width with 24px side padding (overrides .container padding) */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.appstore-badge { height: 44px; width: auto; border-radius: 8px; }
.brand-icon { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -0.2px; }

.header-nav { display: flex; align-items: center; gap: 18px; }
.nav-links { font-size: 15px; color: var(--grey); white-space: nowrap; }

/* Allow doc-toggle text to truncate on small screens */
.doc-toggle span { 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap; 
  max-width: 200px;
}

/* Contact button + modal wrapper */
.contact-wrap { position: relative; }

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  /* Liquid glass */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(255, 255, 255, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.12s ease;
}
.contact-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(255, 255, 255, 0.12),
    0 8px 26px rgba(0, 0, 0, 0.4);
}
.contact-btn:active { transform: scale(0.97); }
.contact-btn svg { width: 20px; height: 20px; color: var(--white); }

/* ===================== CONTACT MODAL ===================== */
.contact-modal {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 380px;
  max-width: 88vw;
  background: #1b1b1d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 26px;
  padding: 24px 22px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.contact-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.contact-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.contact-modal-head h3 { font-size: 26px; font-weight: 700; }
.contact-close {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  padding: 2px;
  opacity: 0.9;
}
.contact-close:hover { opacity: 1; }

.contact-sub {
  text-align: center;
  color: var(--grey);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 18px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #232325;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.contact-row:last-child { margin-bottom: 0; }
.contact-ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; }
.contact-lines a {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.2px;
}
.contact-lines a:hover { color: var(--red); }

/* ===================== HERO ===================== */
.hero { margin-top: 24px; }
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* ===================== TAGLINE ===================== */
.tagline { margin-top: 34px; }
.tagline p {
  text-align: center;
  color: var(--red);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

/* ===================== APP SCREENSHOT ===================== */
.app-shot { margin-top: 34px; display: flex; justify-content: center; }
.app-shot img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 22px;
}

/* ===================== KEY FEATURES ===================== */
.features { margin-top: 44px; }
.features h2 { font-size: 22px; font-weight: 700; margin-bottom: 18px; }

.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.feature-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  margin-top: 10px;
  flex-shrink: 0;
}
.feature-list h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.feature-list p { font-size: 14px; color: var(--grey-2); line-height: 1.55; }

/* ===================== CLOSING ===================== */
.closing { margin-top: 30px; text-align: center; }
.closing p {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  max-width: none;
  margin: 0 auto 12px;
}

/* ===================== PRICING ===================== */
.pricing { margin-top: 54px; margin-bottom: 60px; }

.pro-card {
  background: linear-gradient(180deg, #161616 0%, #101010 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 36px 30px 30px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.shield { margin-bottom: 10px; }
.shield img { display: block; margin: 0 auto; width: 96px; height: auto; filter: drop-shadow(0 6px 16px rgba(230, 164, 19, 0.3)); }

.pro-title { font-size: 46px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.pro-slogan { color: var(--red); font-size: 20px; font-weight: 500; margin-top: 4px; margin-bottom: 22px; }

.trial-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, #3a1512 0%, #2a1210 100%);
  border: 1px solid rgba(251, 61, 54, 0.25);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 10px 26px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.trial-pill strong { font-weight: 700; }
.trial-pill .gift { width: 20px; height: 20px; margin-right: 8px; }

.plan-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 22px 26px;
  text-align: left;
  margin-bottom: 20px;
}
.plan-label { font-size: 24px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.price .amount { font-size: 46px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.price .per { font-size: 18px; color: var(--grey-2); font-weight: 400; }

.plan-features { list-style: none; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
  white-space: nowrap;
}
.plan-features li:last-child { margin-bottom: 0; }
.plan-features .check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}
.cta-btn:hover { filter: brightness(1.06); }
.cta-btn:active { transform: scale(0.99); }

.renew-note { color: var(--grey); font-size: 14px; margin-top: 12px; }

/* ===================== FOOTER ===================== */
.site-footer { padding: 24px 0 40px; text-align: center; }
.site-footer p { color: #4a4a4d; font-size: 12px; }

/* ===================== RESPONSIVE ===================== */

/* Tablet / small desktop */
@media (max-width: 1100px) {
  .container { padding: 0 48px; }
}

/* Medium screens — shrink header elements gradually */
@media (max-width: 820px) {
  .header-inner { padding: 14px 20px; }
  .brand { gap: 8px; }
  .brand-name { display: none; }
  .appstore-badge { height: 34px; }
  .brand-icon { width: 34px; height: 34px; }
  .header-nav { gap: 12px; }
  .contact-btn {
    font-size: 13px;
    padding: 8px 16px;
    gap: 6px;
  }
  .contact-btn svg { width: 16px; height: 16px; }
  .doc-toggle { font-size: 13px; gap: 5px; }
  .doc-toggle span { max-width: 160px; }
}

/* Small screens (phone landscape / large phone) */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 12px 16px; }
  .appstore-badge { height: 30px; }
  .brand-icon { width: 30px; height: 30px; }
  .brand { gap: 6px; }
  .header-nav { gap: 8px; }
  .contact-btn {
    font-size: 12px;
    padding: 7px 13px;
    gap: 4px;
    border-radius: 999px;
  }
  .contact-btn svg { width: 14px; height: 14px; }
  .doc-toggle { font-size: 12px; }
  .doc-toggle span { max-width: 130px; }
}

/* Extra small phones */
@media (max-width: 480px) {
  .header-inner { padding: 10px 12px; }
  .appstore-badge { height: 26px; }
  .brand-icon { width: 26px; height: 26px; }
  .brand { gap: 5px; }
  .header-nav { gap: 5px; }
  .doc-toggle { font-size: 11px; gap: 3px; padding: 3px 0; }
  .doc-toggle span { max-width: 80px; }
  .contact-btn {
    font-size: 11px;
    padding: 5px 10px;
    gap: 3px;
  }
  .contact-btn svg { width: 12px; height: 12px; }
}

/* Original 560px rules (kept) */
@media (max-width: 560px) {
  .nav-links { display: none; }
  .pro-title { font-size: 36px; }
  .pro-slogan { font-size: 17px; }
  .plan-box { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tagline p { font-size: 16px; }
  .contact-modal { position: fixed; top: 70px; right: 12px; left: 12px; width: auto; max-width: none; }
  .contact-lines a { font-size: 18px; }
  .contact-sub { font-size: 18px; }
}
