/* Pin Observer Landing Page — Premium Light/Warm Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@700;800;900&display=swap');

:root {
  --bg-dark: #fbfbfc;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border: rgba(15, 23, 42, 0.07);
  --border-hover: rgba(15, 23, 42, 0.15);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent-rose: #f43f5e;
  --accent-pink: #db2777;
  --accent-sky: #0ea5e9;
  --gradient-brand: linear-gradient(135deg, #f43f5e, #db2777 56%, #0ea5e9);
  --gradient-accent: linear-gradient(135deg, #ff3366 0%, #ff7b00 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(251, 251, 252, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon svg { width: 36px; height: 36px; }
.logo-text {
  font-family: var(--font-heading); font-weight: 800; font-size: 22px;
  background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 32px; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s; position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient-brand); transition: width 0.3s; border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
  background: var(--gradient-brand); color: white; transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(244,63,94,0.3); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; transition: 0.3s; border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 24px 80px; max-width: 1200px; margin: 0 auto;
  gap: 60px;
}
.hero-bg-orbs { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(150px); opacity: 0.08;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--accent-rose); top: -100px; right: -200px; }
.orb-2 { width: 500px; height: 500px; background: var(--accent-pink); bottom: 10%; left: -150px; animation-delay: -7s; }
.orb-3 { width: 400px; height: 400px; background: var(--accent-sky); top: 40%; right: 20%; animation-delay: -14s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  background: rgba(244,63,94,0.06); border: 1px solid rgba(244,63,94,0.15);
  border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--accent-rose);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10b981;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-family: var(--font-heading); font-size: clamp(38px, 5vw, 68px);
  font-weight: 900; line-height: 1.1; letter-spacing: -1.8px; margin-bottom: 24px;
}
.gradient-text {
  background: var(--gradient-brand); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18.5px; line-height: 1.7; color: var(--text-muted);
  max-width: 540px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border-radius: 50px; font-size: 15px; font-weight: 600; border: none;
  cursor: pointer; transition: all 0.25s; font-family: var(--font-body);
}
.btn-icon { width: 20px; height: 20px; }
.btn-primary {
  background: var(--gradient-brand); color: white;
  box-shadow: 0 4px 20px rgba(244,63,94,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(244,63,94,0.3); }
.btn-secondary {
  background: white; color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(15,23,42,0.03);
}
.btn-secondary:hover { background: #f8f9fa; border-color: var(--border-hover); transform: translateY(-1px); }
.btn-lg { padding: 18px 36px; font-size: 17px; }

.hero-trust { display: flex; align-items: center; gap: 14px; }
.trust-avatars { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 800; color: white;
  border: 2px solid white; margin-right: -8px;
}
.hero-trust span { font-size: 13.5px; color: var(--text-muted); }

/* Hero Visual */
.hero-visual { flex: 1; min-width: 0; }
.browser-mockup {
  background: #ffffff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(15,23,42,0.08), 0 0 0 1px rgba(15,23,42,0.02);
  animation: mockFloat 6s ease-in-out infinite;
}
@keyframes mockFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.browser-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  background: #f8fafc; border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.browser-url {
  display: flex; align-items: center; gap: 6px; background: white;
  border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 8px; font-size: 12px; color: var(--text-muted); flex: 1;
}
.lock-icon { width: 12px; height: 12px; color: #10b981; }
.browser-content { padding: 18px; background: #f1f5f9; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-pin {
  border-radius: 12px; position: relative; overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.pin-1 { background: linear-gradient(135deg, #f97316, #ec4899); height: 200px; }
.pin-2 { background: linear-gradient(135deg, #8b5cf6, #3b82f6); height: 200px; }
.pin-3 { background: linear-gradient(135deg, #10b981, #06b6d4); height: 140px; }
.pin-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); height: 140px; }
.pin-5 { background: linear-gradient(135deg, #6366f1, #a855f7); height: 140px; }
.pin-6 { background: linear-gradient(135deg, #ec4899, #f43f5e); height: 140px; }

.mock-overlay {
  position: absolute; top: 6px; left: 6px;
  display: flex; flex-direction: column; gap: 3px;
}
.mock-brand {
  background: var(--gradient-brand); color: white; font-size: 9px; font-weight: 800;
  padding: 3px 8px; border-radius: 6px; text-align: center;
  letter-spacing: 0.3px; margin-bottom: 2px;
}
.mock-metric {
  display: flex; align-items: center; gap: 4px;
  background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(8px);
  padding: 2.5px 7px; border-radius: 6px;
}
.m-icon { font-size: 9px; }
.m-val { font-size: 9px; font-weight: 700; color: white; }

/* ========== FEATURES ========== */
.features { padding: 120px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 13px;
  font-weight: 700; background: rgba(244,63,94,0.06); color: var(--accent-rose);
  border: 1px solid rgba(244,63,94,0.12); margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(30px, 4vw, 46px);
  font-weight: 900; letter-spacing: -1px; margin-bottom: 16px;
}
.section-subtitle { font-size: 17.5px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; transition: all 0.35s;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.02);
  opacity: 0; transform: translateY(30px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover {
  background: white; border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 24px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-family: var(--font-heading); font-size: 20px; font-weight: 800;
  margin-bottom: 12px;
}
.feature-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }

/* ========== HOW IT WORKS ========== */
.how-it-works { padding: 120px 0; background: rgba(15,23,42,0.01); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.step-card {
  flex: 1; max-width: 320px; text-align: center; padding: 44px 28px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.35s; position: relative;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.02);
  opacity: 0; transform: translateY(30px);
}
.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:hover { background: white; transform: translateY(-5px); box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07); }
.step-number {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 15px; font-weight: 800;
  background: var(--gradient-brand); color: white;
  box-shadow: 0 4px 12px rgba(244,63,94,0.25);
}
.step-icon { color: var(--accent-rose); margin: 16px auto 20px; }
.step-icon svg { width: 48px; height: 48px; margin: 0 auto; }
.step-card h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.step-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }
.step-connector { display: flex; align-items: center; padding-top: 80px; width: 80px; flex-shrink: 0; }
.step-connector svg { width: 100%; }

/* ========== CTA BANNER ========== */
.cta-banner {
  padding: 120px 24px; text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-container {
  max-width: 700px; margin: 0 auto; position: relative; z-index: 1;
}
.cta-bg-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,63,94,0.06), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-heading); font-size: clamp(32px, 4vw, 44px);
  font-weight: 900; margin-bottom: 18px; letter-spacing: -0.8px;
}
.cta-banner p { font-size: 18px; color: var(--text-muted); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ========== FAQ ========== */
.faq { padding: 120px 0; border-top: 1px solid var(--border); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden; transition: all 0.3s;
  background: white;
  box-shadow: 0 4px 12px rgba(15,23,42,0.01);
  opacity: 0; transform: translateY(20px);
}
.faq-item.visible { opacity: 1; transform: translateY(0); }
.faq-item:hover { border-color: var(--border-hover); box-shadow: 0 8px 24px rgba(15,23,42,0.04); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--text); font-family: var(--font-body);
  text-align: left;
}
.faq-chevron {
  width: 22px; height: 22px; color: var(--text-muted); transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 28px 22px; font-size: 15px; color: var(--text-muted); line-height: 1.8;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border); padding: 80px 0 0; background: #f8fafc;
}
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; gap: 60px;
}
.footer-brand { max-width: 400px; }
.footer-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin-top: 18px; }
.footer-links { display: flex; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 6px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px; margin: 64px auto 0; padding: 24px 24px;
  border-top: 1px solid var(--border); text-align: center;
}
.footer-bottom p { font-size: 13.5px; color: var(--text-muted); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding-top: 110px; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector { display: none; }
  .footer-container { flex-direction: column; gap: 40px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; width: 100%; flex-direction: column; background: rgba(255,255,255,0.98); padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-title { font-size: 34px; }
  .footer-links { flex-direction: column; gap: 32px; }
}

/* ========== PRICING ========== */
.pricing { padding: 120px 0; position: relative; background: rgba(15,23,42,0.005); }
.pricing-grid {
  display: flex; justify-content: center; gap: 32px; max-width: 900px; margin: 48px auto 0;
}
.pricing-card {
  flex: 1; background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px 38px; display: flex; flex-direction: column; transition: all 0.35s; position: relative;
  max-width: 420px; box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.02);
  opacity: 0; transform: translateY(30px);
}
.pricing-card.visible {
  opacity: 1; transform: translateY(0);
}
.pricing-card:hover {
  background: white; border-color: var(--border-hover);
  transform: translateY(-5px); box-shadow: 0 24px 64px rgba(15,23,42,0.08);
}
.pricing-card.plan-pro {
  border: 1px solid rgba(244,63,94,0.15);
  box-shadow: 0 12px 40px rgba(244,63,94,0.04);
}
.pricing-card.plan-pro::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, #f43f5e, #db2777, #0ea5e9);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-popular-badge {
  position: absolute; top: -14px; right: 28px;
  background: var(--gradient-brand); color: white; font-size: 11px; font-weight: 800;
  padding: 5px 14px; border-radius: 50px; box-shadow: 0 4px 12px rgba(244,63,94,0.25);
  z-index: 5;
}
.pricing-header h3 {
  font-family: var(--font-heading); font-size: 25px; font-weight: 800; margin-bottom: 8px;
  color: var(--text);
}
.pricing-header p {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 24px;
}
.pricing-price {
  display: flex; align-items: baseline; margin-bottom: 32px;
}
.price-currency {
  font-size: 24px; font-weight: 700; color: var(--text); margin-right: 4px;
}
.price-amount {
  font-family: var(--font-heading); font-size: 56px; font-weight: 900; color: var(--text);
  line-height: 1;
}
.price-period {
  font-size: 14.5px; color: var(--text-muted); margin-left: 8px; font-weight: 500;
}
.pricing-features-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; flex-grow: 1;
  padding: 0;
}
.pricing-features-list li {
  display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text);
  text-align: left;
}
.pricing-btn {
  display: block; text-align: center; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 700;
  background: #f1f5f9; color: var(--text); border: 1px solid var(--border);
  transition: all 0.25s; cursor: pointer; text-decoration: none;
}
.pricing-btn:hover {
  background: #e2e8f0; border-color: var(--border-hover);
}
.plan-pro .pricing-btn {
  background: var(--gradient-brand); color: white; border: none;
  box-shadow: 0 4px 20px rgba(244,63,94,0.2);
}
.plan-pro .pricing-btn:hover {
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(244,63,94,0.3);
}

@media (max-width: 768px) {
  .pricing-grid { flex-direction: column; align-items: center; gap: 40px; }
  .pricing-card { width: 100%; max-width: 420px; }
}
