/* AI Unsubscribe – Marketing site (Datashake-inspired) */
:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5f6368;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-border: #e5e7eb;
  --color-card-bg: #f9fafb;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.header-menu-btn:hover {
  color: var(--color-text);
  background: var(--color-card-bg);
}

.header-menu-btn .fa-xmark {
  display: none;
}

.header-menu-btn[aria-expanded="true"] .fa-bars {
  display: none;
}

.header-menu-btn[aria-expanded="true"] .fa-xmark {
  display: block;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text);
}

.logo:hover {
  color: var(--color-text);
}

.logo img {
  display: block;
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: none;
}

.btn-ghost:hover {
  color: var(--color-text);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  max-width: 520px;
}

.hero-rotate {
  color: var(--color-accent);
  display: inline-block;
}

.hero-sub {
  margin: 0 0 36px;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

.hero-visual {
  margin: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Social proof */
.social-proof {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

.social-proof-label {
  margin: 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Section common */
.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

.section-text {
  margin: 0 0 24px;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 680px;
}

/* Problem */
.problem {
  padding: 80px 0;
  background: var(--color-card-bg);
}

.problem .section-text {
  margin-bottom: 0;
}

/* Solution */
.solution {
  padding: 80px 0;
}

.solution .section-text {
  margin-bottom: 32px;
}

/* Stats */
.stats {
  padding: 60px 0;
  background: var(--color-card-bg);
  border-top: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stat-card {
  padding: 24px;
  background: var(--color-bg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-accent);
}

.stat-icon svg,
.stat-icon i {
  flex-shrink: 0;
  font-size: 1.35rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--color-text);
}

.stat-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Use cases */
.use-cases {
  padding: 80px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  padding: 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
}

.feature-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-accent);
}

.feature-card-icon svg {
  flex-shrink: 0;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Gmail extension hero */
.extension-hero {
  padding: 80px 0;
  background: var(--color-card-bg);
  border-top: 1px solid var(--color-border);
}

.extension-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.extension-hero-content .section-text {
  margin-bottom: 24px;
}

.extension-benefits {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.extension-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.benefit-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
}

.benefit-icon svg {
  width: 14px;
  height: 14px;
}

.extension-hero-figure {
  margin: 0;
}

.extension-hero-figure .screenshot-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.screenshot-caption {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Screenshots section */
.screenshots {
  padding: 80px 0;
}

.screenshots .section-title {
  margin-bottom: 40px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.screenshot-card {
  margin: 0;
  padding: 0;
}

.screenshot-card .screenshot-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.screenshot-card figcaption {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.screenshot-card figcaption strong {
  color: var(--color-text);
}

/* Features (product) */
.features {
  padding: 80px 0;
  background: var(--color-card-bg);
}

.features-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-block {
  padding: 24px;
  background: var(--color-bg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.feature-block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-accent);
}

.feature-block-icon svg {
  flex-shrink: 0;
}

.feature-block h3 {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.feature-block p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Pricing */
.pricing {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 40px auto 0;
}

.pricing-card {
  position: relative;
  padding: 32px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card-featured {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.12);
}

.pricing-card .badge {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-accent);
  color: #fff;
  border-radius: 6px;
}

.pricing-card h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-card .price {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-card .price-amount {
  color: var(--color-accent);
}

.pricing-card .price-desc {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.pricing-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  padding-left: 24px;
  position: relative;
}

.pricing-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: var(--color-card-bg);
}

.faq .section-title {
  margin-bottom: 40px;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-of-type {
  padding-top: 0;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--color-accent);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Final CTA */
.cta-final {
  padding: 80px 0;
  text-align: center;
}

.cta-final .section-title {
  margin-bottom: 12px;
}

.cta-final .section-text {
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }

  .logo {
    flex: 1;
    min-width: 0;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-menu-btn {
    display: flex;
    order: 2;
  }

  .nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    margin-top: 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .header-actions {
    order: 3;
    gap: 8px;
  }

  .header-actions .btn {
    padding: 8px 14px;
    font-size: 0.875rem;
  }

  .header-actions .btn-ghost:first-of-type {
    display: none;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    max-width: none;
  }

  .hero-sub {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

  .hero-ctas {
    flex-direction: column;
    justify-content: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .extension-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .extension-hero-figure {
    order: -1;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}
