/* Brayne DualPrice for WooCommerce landing page */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --radius-btn: 5px;
  --radius-card: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus-visible {
  color: var(--primary-dark);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 10000;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 800px;
}

/* Header */
.header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--bg);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.logo:hover,
.logo:focus-visible {
  color: var(--text);
}

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

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--primary);
  color: var(--primary);
}

.nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 4px;
}

.nav.is-open {
  display: flex;
}

.nav a {
  color: var(--text-light);
  font-weight: 500;
  padding: 10px 0;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

@media (min-width: 768px) {
  .header {
    padding: 20px 0;
  }

  .logo {
    font-size: 20px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 30px;
  }

  .nav a {
    padding: 0;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

/* Hero */
.hero {
  padding: 48px 0 56px;
  background: var(--bg-alt);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-image {
  order: -1;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-trial {
  color: var(--text-light);
  font-size: 14px;
}

.hero-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .hero {
    padding: 80px 0;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero-image {
    order: 0;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 21px;
    margin-bottom: 30px;
  }

  .hero-cta {
    flex-direction: row;
    gap: 15px;
    margin-bottom: 15px;
  }
}

/* Shared section titles */
.features,
.gallery,
.how-it-works,
.pricing,
.faq,
.cta-final,
.compat {
  padding: 56px 0;
}

.features h2,
.gallery h2,
.how-it-works h2,
.pricing h2,
.faq h2,
.compat h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .features,
  .gallery,
  .how-it-works,
  .pricing,
  .faq,
  .cta-final,
  .compat {
    padding: 80px 0;
  }

  .features h2,
  .gallery h2,
  .how-it-works h2,
  .pricing h2,
  .faq h2,
  .compat h2 {
    font-size: 38px;
    margin-bottom: 50px;
  }
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
}

.coming-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 20px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* Gallery */
.gallery {
  background: var(--bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.gallery-item {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  width: 100%;
  transition: transform 0.2s;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-caption {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}

.gallery-item-wide img {
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .gallery-item-wide {
    grid-column: 1 / -1;
  }
}


/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 15px;
  font-size: 18px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  opacity: 0.7;
}

/* How it works */
.how-it-works {
  background: var(--bg-alt);
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  margin-bottom: 32px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--text-light);
}

@media (min-width: 768px) {
  .step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .step-content h3 {
    font-size: 22px;
  }
}

/* Pricing */
.pricing-subtitle,
.pricing-note {
  text-align: center;
  color: var(--text-light);
}

.pricing-subtitle {
  margin-top: -20px;
  margin-bottom: 24px;
  font-size: 18px;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  overflow: hidden;
  width: fit-content;
}

.billing-toggle button {
  appearance: none;
  border: 0;
  background: var(--bg);
  color: var(--text-light);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
}

.billing-toggle button.is-active {
  background: var(--primary);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pricing-card {
  padding: 32px 24px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.price {
  text-align: center;
  margin-bottom: 20px;
}

.price .amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
}

.price .period {
  font-size: 16px;
  color: var(--text-light);
}

.price .alt-price {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-light);
}

.features-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.features-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 16px;
}

.features-list li:last-child {
  border-bottom: none;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  margin-top: 28px;
  font-size: 15px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 700px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .pricing-card {
    padding: 36px 20px 28px;
  }

  .price .amount {
    font-size: 34px;
  }

  .features-list li {
    font-size: 15px;
  }
}

/* Compatibility */
.compat {
  background: var(--bg);
  padding-top: 0;
}

.compat-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.compat h2 {
  margin-bottom: 20px;
}

.compat-card p {
  color: var(--text-light);
}

.compat-card p + p {
  margin-top: 12px;
}

/* FAQ */
.faq {
  background: var(--bg-alt);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-light);
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Final CTA */
.cta-final {
  text-align: center;
}

.cta-final h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-final p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.trial-note {
  margin-top: 15px;
  font-size: 14px;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .cta-final h2 {
    font-size: 36px;
  }

  .cta-final p {
    font-size: 20px;
    margin-bottom: 30px;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}

.footer .container {
  text-align: center;
}

.footer-brand,
.footer-meta {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-nav a {
  color: var(--text-light);
  font-size: 14px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

@media (min-width: 768px) {
  .footer {
    padding: 40px 0;
  }

  .footer-nav {
    flex-direction: row;
    gap: 30px;
  }
}

/* Privacy */
.privacy-page {
  padding: 40px 0 64px;
  min-height: 60vh;
}

.privacy-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}

.privacy-lede {
  margin-bottom: 8px;
  color: var(--text-light);
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.privacy-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.privacy-content p {
  margin-bottom: 14px;
  color: var(--text-light);
}

.privacy-content ul {
  margin: 0 0 16px 20px;
}

.privacy-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

.privacy-confirm {
  margin-top: 36px;
  padding: 20px 20px 8px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  border-radius: var(--radius-card);
}

.privacy-confirm h2 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .privacy-page {
    padding: 60px 0 80px;
  }

  .privacy-content h1 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .privacy-content h2 {
    font-size: 24px;
    margin-top: 40px;
  }

  .privacy-content h3 {
    font-size: 20px;
  }
}

.nowrap {
  white-space: nowrap;
}


/* Demo store merge */
.demo-store-banner {
  background: #16302b;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.45;
}

.hero-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: unset;
    gap: 15px;
    margin-bottom: 15px;
  }

  .hero-cta .btn {
    padding: 12px 18px;
    font-size: 15px;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px;
}

.cta-final .cta-actions .btn {
  margin: 0;
}
