/* TabNest landing page — midnight theme */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-main: #161A2E;
  --bg-soft: #1E2342;
  --bg-card: #232847;
  --bg-card-hover: #2D3358;
  --bg-accent: #353C66;
  --brown-primary: #D4A574;
  --brown-dark: #E8C896;
  --brown-deep: #F4D58D;
  --text-dark: #ECE6D5;
  --text-medium: #B2AB99;
  --text-light: #757062;
  --border: #353C66;
  --gold: #F4D58D;
  --gold-soft: #FFE5A8;
  --green: #9CC4A2;
  --orange: #FF9978;
  --berry: #E07A8A;
  --shadow: rgba(0, 0, 0, 0.30);
  --shadow-md: rgba(0, 0, 0, 0.45);
  --shadow-lg: rgba(0, 0, 0, 0.60);
}

html, body {
  font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background-image:
    radial-gradient(circle at 10% 10%, rgba(212, 165, 116, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(156, 196, 162, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(255, 153, 120, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

.caveat { font-family: 'Caveat', cursive; }

/* ---------- Background leaves ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.leaf {
  position: absolute;
  width: 110px;
  height: 110px;
  opacity: 0.10;
  animation: floaty 24s ease-in-out infinite;
}
.leaf-1 { top: 6%;  left: 4%;  color: var(--green); }
.leaf-2 { top: 18%; right: 6%; color: var(--gold); animation-delay: -6s; transform: rotate(35deg); }
.leaf-3 { bottom: 22%; left: 5%; color: var(--orange); animation-delay: -12s; transform: rotate(120deg); }
.leaf-4 { bottom: 8%;  right: 10%; color: var(--green); animation-delay: -18s; transform: rotate(210deg); }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(22, 26, 46, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px dashed var(--border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brown-deep);
  font-family: 'Caveat', cursive;
  font-size: 28px;
  font-weight: 700;
}
.topbar nav {
  display: flex;
  gap: 22px;
}
.topbar nav a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s;
}
.topbar nav a:hover { color: var(--brown-dark); }

/* ---------- Main layout ---------- */
main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px;
}

.section-title {
  font-size: 52px;
  font-weight: 700;
  color: var(--brown-deep);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.05;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  margin-bottom: 90px;
}
.hero-emoji {
  font-size: 96px;
  line-height: 1;
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 18px rgba(107, 68, 35, 0.25));
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}
.title {
  font-family: 'Caveat', cursive;
  font-size: 82px;
  font-weight: 700;
  color: var(--brown-deep);
  line-height: 1.0;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.subtitle {
  font-size: 20px;
  color: var(--text-medium);
  font-weight: 500;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.trial-pitch {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(122, 155, 126, 0.12));
  border: 1.5px solid var(--gold);
  border-radius: 24px;
  font-size: 14px;
  color: var(--brown-deep);
  margin-bottom: 22px;
  font-weight: 600;
}
.trial-pitch strong { color: var(--brown-deep); font-weight: 700; }

/* ---------- Hero buy card (above the fold) ---------- */
.hero-buy-card {
  max-width: 560px;
  margin: 8px auto 24px;
  padding: 22px 22px 18px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 14px 36px var(--shadow-md);
  text-align: left;
}
.hero-buy-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 6px;
}
.hero-buy-grid input[type="email"] {
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  background: var(--bg-main);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.15s;
}
.hero-buy-grid input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.20);
}
.hero-buy-grid .buy-btn {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.hero-buy-fine {
  font-size: 12px;
  color: var(--text-medium);
  text-align: center;
  line-height: 1.6;
  margin-top: 4px;
}
.hero-already-paid {
  color: var(--brown-primary);
  font-weight: 700;
  text-decoration: none;
}
.hero-already-paid:hover { text-decoration: underline; }

.full-cta {
  display: block;
  text-align: center;
  margin: 18px auto 12px;
  max-width: 360px;
}

@media (max-width: 600px) {
  .hero-buy-card { padding: 18px 16px; }
  .hero-buy-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-buy-grid .buy-btn { width: 100%; }
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 14px;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.cta.primary {
  background: linear-gradient(135deg, var(--brown-primary), var(--brown-dark));
  color: var(--bg-main);
  box-shadow: 0 6px 18px var(--shadow-md);
}
.cta.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--shadow-lg);
}
.cta.ghost {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-dark);
}
.cta.ghost:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--shadow);
}

/* ---------- Hero screenshot ---------- */
.hero-screenshot {
  max-width: 880px;
  margin: 0 auto;
}
.screenshot-frame {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 20px 50px var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.dots-frame {
  display: flex;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 10px;
}
.dots-frame span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}
.dots-frame span:nth-child(2) { background: var(--green); }
.dots-frame span:nth-child(3) { background: var(--orange); }
.screenshot-iframe {
  width: 100%;
  height: 540px;
  border: none;
  border-radius: 10px;
  background: var(--bg-soft);
  pointer-events: none;
}

/* ---------- Features ---------- */
.features {
  margin-bottom: 90px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.feature {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 14px var(--shadow);
  transition: transform 0.2s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px var(--shadow-md);
}
.feature-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 12px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.55;
}
.pro-pill {
  display: inline-block;
  padding: 2px 9px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  border-radius: 10px;
}

/* ---------- Pricing ---------- */
.pricing {
  margin-bottom: 90px;
}
.pricing-card {
  max-width: 620px;
  margin: 36px auto 0;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 14px 36px var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '🪺';
  position: absolute;
  font-size: 240px;
  right: -40px;
  top: -50px;
  opacity: 0.05;
  pointer-events: none;
  transform: rotate(-10deg);
}
.pricing-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.pricing-logo {
  font-size: 42px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 165, 116, 0.20);
  border-radius: 16px;
}
.pricing-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pro-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: white;
  border-radius: 8px;
  letter-spacing: 1px;
}
.pricing-desc {
  font-size: 14px;
  color: var(--text-medium);
  margin-top: 2px;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  margin-bottom: 22px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--brown-deep);
}
.rupee {
  font-size: 26px;
  font-weight: 600;
}
.amount {
  font-family: 'Caveat', cursive;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}
.pricing-period {
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-medium);
  font-weight: 600;
}

.pricing-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}
.pricing-list li {
  padding: 4px 0;
}

.buy-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.buy-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-main);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.15s;
}
.buy-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.18);
}
.buy-btn {
  padding: 13px 26px;
  font-size: 15px;
}

.buy-status {
  text-align: center;
  font-size: 13px;
  color: var(--text-medium);
  font-weight: 600;
  min-height: 20px;
  margin: 6px 0 12px;
}

.pricing-fine {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 720px;
  margin: 0 auto 80px;
}
.faq details {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.faq details[open] {
  border-color: var(--gold);
  box-shadow: 0 4px 12px var(--shadow);
}
.faq summary {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--brown-primary);
  font-weight: 700;
}
.faq details[open] summary::after {
  content: '–';
}
.faq summary::-webkit-details-marker { display: none; }
.faq p {
  font-size: 14px;
  color: var(--text-medium);
  margin-top: 10px;
  line-height: 1.6;
}
.faq a {
  color: var(--brown-primary);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px dashed var(--border);
  padding: 30px 32px;
  margin-top: 60px;
}
.footer-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 600;
  font-size: 14px;
}
.footer-links a:hover { color: var(--brown-dark); }
.footer-bottom {
  max-width: 1100px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

/* ---------- Privacy & Success page generic ---------- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 32px 90px;
}
.page h1 {
  font-family: 'Caveat', cursive;
  font-size: 56px;
  color: var(--brown-deep);
  margin-bottom: 22px;
  text-align: center;
}
.page h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brown-deep);
  margin-top: 28px;
  margin-bottom: 10px;
}
.page p, .page li {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.7;
}
.page ul {
  margin-left: 24px;
  margin-bottom: 16px;
}
.page strong { color: var(--brown-dark); }
.page a { color: var(--brown-primary); font-weight: 700; }

.success-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold);
  border-radius: 22px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 12px 30px var(--shadow-md);
  margin: 28px 0;
}
.success-emoji {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 16px;
}
.success-card h2 {
  font-family: 'Caveat', cursive;
  font-size: 40px;
  color: var(--brown-deep);
  margin: 0 0 10px;
  text-align: center;
}
.success-card .email-hl {
  background: var(--bg-accent);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--brown-dark);
}

.instant-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(122, 155, 126, 0.18), rgba(212, 165, 116, 0.10));
  border: 1.5px solid var(--green);
  border-radius: 14px;
  margin: 18px 0 22px;
  text-align: left;
}
.instant-banner strong {
  display: block;
  font-size: 15px;
  color: var(--brown-deep);
  font-weight: 700;
}
.instant-banner span {
  display: block;
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 2px;
  line-height: 1.4;
}
.dot-pulse {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: dot-pulse-anim 1.4s ease-in-out infinite;
}
@keyframes dot-pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 155, 126, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(122, 155, 126, 0); }
}
.steps {
  text-align: left;
  background: var(--bg-soft);
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}
.steps ol {
  margin-left: 20px;
}
.steps li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--text-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .topbar { padding: 12px 18px; }
  .topbar nav { gap: 14px; }
  .topbar nav a { font-size: 13px; }
  main { padding: 40px 18px; }
  .title { font-size: 56px; }
  .hero-emoji { font-size: 72px; }
  .subtitle { font-size: 17px; }
  .section-title { font-size: 40px; }
  .pricing-card { padding: 24px; border-radius: 18px; }
  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .buy-form { flex-direction: column; }
  .buy-btn { width: 100%; }
  .amount { font-size: 60px; }
  .screenshot-iframe { height: 380px; }
}
