/* ============================================
   ScreenSnapShot — Marketing Site Styles
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Accent */
  --accent-blue: #4688F1;
  --accent-blue-hover: #3570d4;
  --accent-blue-glow: rgba(70, 136, 241, 0.3);
  --accent-pro: #ffab00;
  --accent-pro-bg: rgba(255, 171, 0, 0.15);

  /* Text */
  --text-primary: #f0f0f0;
  --text-secondary: #ccc;
  --text-muted: #888;
  --text-dim: #666;

  /* Status */
  --success: #22c55e;
  --error: #ef4444;

  /* Spacing */
  --section-pad: 80px 24px;
  --container-max: 1100px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-blue-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; }

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-blue-glow);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-blue-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(45, 45, 45, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 16px;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta .btn {
  padding: 8px 18px;
  font-size: 13px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-blue-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 160px;
  margin: 0 auto 16px;
}

.hero-brand-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-pills {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* --- How It Works --- */
.how-it-works {
  padding: var(--section-pad);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.15s ease;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-icon {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
  color: var(--accent-blue);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* --- Features Grid --- */
.features {
  padding: var(--section-pad);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.15s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(70, 136, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-content h3 {
  font-size: 15px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.pro-badge {
  display: inline-block;
  background: var(--accent-pro-bg);
  color: var(--accent-pro);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Pricing / Free vs Pro --- */
.pricing {
  padding: var(--section-pad);
}

.pricing-table-wrap {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table thead th {
  background: var(--bg-secondary);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-table thead th:first-child {
  text-align: left;
}

.pricing-table thead th:not(:first-child) {
  text-align: center;
  width: 100px;
}

.pricing-table tbody td {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody td:not(:first-child) {
  text-align: center;
}

.pricing-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.check {
  color: var(--success);
  font-size: 16px;
}

.dash {
  color: var(--text-dim);
}

.pricing-footer {
  text-align: center;
  margin-top: 32px;
}

.pricing-footer p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 8px;
}

.pricing-footer .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* --- Privacy Section --- */
.privacy-section {
  padding: var(--section-pad);
}

.privacy-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.privacy-list .icon-check {
  color: var(--success);
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 2px;
}

.privacy-link {
  text-align: center;
  margin-top: 24px;
}

/* --- FAQ --- */
.faq {
  padding: var(--section-pad);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* --- Final CTA --- */
.final-cta {
  padding: var(--section-pad);
}

.cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #252525 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  margin-bottom: 20px;
}

.cta-banner .btn {
  margin-bottom: 16px;
}

.cta-banner .cta-sub {
  color: var(--text-muted);
  font-size: 13px;
}

/* --- Footer --- */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 12px;
}

/* --- Privacy Policy Page --- */
.policy-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.policy-content h1 {
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.policy-content .effective-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.policy-content .intro {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.7;
}

.policy-content h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-content h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.policy-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.policy-content ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 0;
}

.policy-content ul li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  padding: 4px 0;
}

.policy-content a {
  color: var(--accent-blue);
}

.policy-content strong {
  color: var(--text-primary);
}

/* --- Contact Page --- */
.contact-page {
  padding: 120px 24px 80px;
}

.contact-page .section-heading h1 {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.contact-form-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.captcha-row {
  max-width: 260px;
}

.captcha-row label {
  white-space: nowrap;
}

.captcha-row input {
  max-width: 100px;
}

.form-feedback {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.form-success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.form-error {
  background: rgba(239, 68, 68, 0.12);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.contact-submit {
  width: 100%;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  :root {
    --section-pad: 56px 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding: 120px 20px 56px;
  }

  .hero-logo {
    width: 120px;
  }

  .hero-brand-name {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-table-wrap {
    border-radius: 8px;
  }

  .pricing-table thead th,
  .pricing-table tbody td {
    padding: 10px 14px;
    font-size: 13px;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .trust-pills {
    gap: 12px;
  }

  .trust-pill {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }

  .hero {
    padding: 110px 16px 48px;
  }

  .hero-logo {
    width: 100px;
  }

  .hero-brand-name {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .feature-card {
    padding: 18px;
  }
}
