/* Auth Landing Pages CSS - Dark Mode */

:root {
  --primary-color: #ED166C;
  --primary-hover: #c41058;
  --bg-dark: #1e1e1e;
  --bg-darker: #000;
  --bg-card: #282828;
  --bg-input: #333333;
  --border-color: #444;
  --text-primary: #fff;
  --text-secondary: #ccc;
  --text-muted: #b0b0b0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-darker);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Brand name always reads LTR: "DevOpser Stores" */
  direction: ltr;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.nav-cta:hover {
  opacity: 0.9;
}

.nav-links .lang-toggle {
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  min-height: 36px;
}

.nav-links .lang-toggle:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 500px;
}

/* Login Card */
.login-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

/* Form Elements */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.875rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(237, 22, 108, 0.15);
}

/* Auth Button */
.auth-button {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.auth-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(237, 22, 108, 0.3);
}

.auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-button.secondary {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.auth-button.secondary:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.button-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.button-group .auth-button {
  flex: 1;
}

/* Social Auth */
.social-auth {
  margin-bottom: 1rem;
}

.google-auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.google-auth-button:hover {
  background: var(--border-color);
  border-color: var(--text-muted);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.divider span {
  padding: 0 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Magic Link Steps */
#magic-link-code-step {
  display: none;
}

#magic-link-code-step.show {
  display: block;
}

#magic-link-email-step.hide {
  display: none;
}

.magic-code-input {
  font-size: 1.5rem !important;
  letter-spacing: 0.5rem;
  text-align: center;
  font-family: 'Courier New', monospace;
  touch-action: manipulation;
}

.form-group input {
  touch-action: manipulation;
}

.code-instruction {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.code-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Flash Messages */
.flash {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: none;
  font-size: 0.9rem;
}

.flash.show {
  display: block;
}

.flash.error {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.flash.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.flash.info {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: block;
}

/* Signup Info */
.signup-info {
  background: rgba(237, 22, 108, 0.1);
  border: 1px solid rgba(237, 22, 108, 0.2);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.signup-info p {
  margin: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Signup Link */
.signup-link {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.signup-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section-header .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
  color: var(--primary-color);
}

.scroll-indicator i {
  font-size: 1rem;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Features Section */
.features-section {
  padding: 5rem 2rem;
  background: var(--bg-dark);
}

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

.feature-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #fff;
}

.feature-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Section */
.about-section {
  padding: 5rem 2rem;
  background: var(--bg-darker);
}

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

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Audience Section */
.audience-section {
  padding: 5rem 2rem;
  background: var(--bg-dark);
}

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

.audience-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.audience-icon {
  width: 48px;
  height: 48px;
  background: rgba(237, 22, 108, 0.15);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.audience-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.audience-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 2rem;
  background: var(--bg-darker);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-item {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 0.75rem;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.pricing-item:hover {
  transform: translateY(-4px);
}

.pricing-item.highlighted {
  border-color: var(--primary-color);
  position: relative;
}

.pricing-item.highlighted::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-weight: bold;
}

/* Platform (transaction) fee line — emphasized so the graded reduction reads
   at a glance across the cards. Keeps the inherited checkmark marker. */
.pricing-features li.pricing-fee {
  font-weight: 700;
  color: var(--text-primary, #111);
}
.enterprise-fee {
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
}
.pricing-fee-footnote {
  max-width: 70ch;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  opacity: 0.85;
}

.pricing-cta {
  display: inline-block;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(237, 22, 108, 0.3);
}

.pricing-cta.current-plan-btn {
  background: #6c757d;
  cursor: default;
  pointer-events: none;
  opacity: 0.8;
}

.pricing-cta.current-plan-btn:hover {
  transform: none;
  box-shadow: none;
}

.pricing-more {
  text-align: center;
  margin-top: 2rem;
}

.pricing-more a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.pricing-more a:hover {
  text-decoration: underline;
}

/* Pricing Page Specific */
.pricing-page-header {
  padding: 6rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.pricing-page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-page-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.pricing-page-section {
  padding: 3rem 2rem 5rem;
  background: var(--bg-dark);
}

.pricing-full-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-full-grid .pricing-item {
  padding: 1.5rem;
}

.pricing-full-grid .pricing-price {
  font-size: 2rem;
}

.pricing-full-grid .pricing-features li {
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

.pricing-item-free {
  border-color: var(--border-color);
}

.pricing-item-free .pricing-price {
  color: var(--text-primary);
}

.pricing-cta-free {
  background: var(--bg-card);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.pricing-cta-free:hover {
  background: var(--primary-color);
  color: #fff;
}

.pricing-feature-excluded {
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-feature-excluded::before {
  content: '\2717' !important;
  color: var(--text-muted) !important;
}

.all-plans-include {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  text-align: center;
}

.all-plans-include h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.all-plans-include ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 0;
}

.all-plans-include li {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.all-plans-include li::before {
  content: '\2713';
  color: var(--primary-color);
  margin-right: 0.5rem;
  font-weight: bold;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.5em;
}

.enterprise-callouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.enterprise-callout {
  padding: 2rem;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  text-align: center;
}

.enterprise-callout h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.enterprise-callout p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.enterprise-hosted {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.enterprise-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.enterprise-link:hover {
  color: var(--primary-hover);
}

.enterprise-cta {
  display: inline-block;
  width: auto;
  padding: 0.75rem 2rem;
}

.trial-note {
  max-width: 600px;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.trial-note strong {
  color: var(--primary-color);
}

@media (max-width: 1400px) {
  .pricing-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .pricing-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing-full-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .enterprise-callouts {
    grid-template-columns: 1fr;
  }
  .pricing-page-header {
    padding: 5rem 1rem 2rem;
  }
  .pricing-page-header h1 {
    font-size: 2rem;
  }
}

/* Legal Pages (Terms, Privacy) */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-page .last-updated {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
}

.legal-page a {
  color: var(--primary-color);
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-page th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
}

/* Support page layout — push footer to bottom */
.support-page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.support-page-body main {
  flex: 1;
}

/* Blog page layout */
.blog-page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #111;
}

.blog-page-body main {
  flex: 1;
}

.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}

.blog-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #222;
}

.blog-card-placeholder {
  background: linear-gradient(135deg, #ED166C 0%, #c41058 100%);
}

.blog-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0 0 1rem;
  line-height: 1.5;
  flex: 1;
}

.blog-card-date {
  font-size: 0.8rem;
  color: #666;
}

.blog-empty {
  color: #888;
  text-align: center;
  padding: 3rem 0;
  font-size: 1.1rem;
}

/* Single article view */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
}

.blog-back-link {
  display: inline-block;
  color: #ED166C;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-back-link:hover {
  text-decoration: underline;
}

.blog-back-bottom {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.blog-article-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.blog-article-date {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.blog-article-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 2rem;
  max-height: 420px;
  object-fit: cover;
}

.blog-article-content {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 2rem 0 0.75rem;
}

.blog-article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 1.5rem 0 0.5rem;
}

.blog-article-content p {
  margin: 0 0 1.25rem;
}

.blog-article-content a {
  color: #ED166C;
  text-decoration: underline;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.blog-article-content li {
  margin-bottom: 0.4rem;
}

.blog-article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

.blog-article-content blockquote {
  border-left: 3px solid #ED166C;
  margin: 1.5rem 0;
  padding: 0.5rem 1rem;
  color: #bbb;
  background: #1a1a1a;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-heading {
    font-size: 1.6rem;
  }
  .blog-article-title {
    font-size: 1.5rem;
  }
}

/* Support page contact cards */
.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.support-card:hover,
.support-card:focus {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.support-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(237, 22, 108, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.support-card-icon-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.support-card h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.support-card p {
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.support-card-detail {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Focus visible styles for keyboard navigation (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to main content link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus {
  top: 0;
}

/* Reduced motion support (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Footer */
.site-footer {
  padding: 3rem 2rem;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.site-footer .footer-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.site-footer .footer-content p a,
.site-footer .footer-content p a:visited {
  color: var(--primary-color) !important;
  text-decoration: none;
}

.site-footer .footer-content p a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer .footer-links a,
.site-footer .footer-links a:visited {
  color: #ccc !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover {
  color: #fff !important;
}

/* Hamburger Toggle (Mobile) */
.hamburger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-toggle.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    max-width: none;
    margin: 0 auto;
  }

  .login-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    padding: 1rem;
  }

  .hamburger-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

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

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .nav-cta {
    text-align: center;
    margin: 0.5rem 0;
    display: block;
  }

  .nav-links .lang-toggle {
    text-align: center;
    margin: 0.5rem 0;
    width: fit-content;
  }

  .hero-section {
    padding: 6rem 1rem 3rem;
    min-height: auto;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .features-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .audience-item {
    padding: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .about-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .pricing-item {
    padding: 1.5rem;
  }
}

/* Scroll margin for anchor links */
section[id] {
  scroll-margin-top: 80px;
}

/* Marketing Verification Page */
.marketing-verify-container {
  max-width: 500px;
  margin: 80px auto;
  padding: 40px 24px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.marketing-verify-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketing-verify-icon.success {
  background: #10b981;
}

.marketing-verify-icon.error {
  background: #ef4444;
}

.marketing-verify-container h1 {
  font-size: 24px;
  color: #1f2937;
  margin: 0 0 12px;
}

.marketing-verify-container p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
}

.marketing-verify-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  background: #ED166C;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.marketing-verify-cta:hover {
  opacity: 0.9;
}

/* ── Pricing billing-interval toggle (monthly / yearly) ───────────── */
.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 2.5rem auto 2.75rem;
  padding: 4px;
  gap: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}
.billing-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.billing-toggle-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  box-shadow: 0 2px 12px rgba(237, 22, 108, 0.35);
}
.billing-save {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
}
.billing-toggle-btn.is-active .billing-save {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  animation: billingSavePulse 2.2s ease-in-out infinite;
}
@keyframes billingSavePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
}

/* "Best value" flag pointing at the (default) yearly tab */
.best-value-flag {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 5px 16px rgba(237, 22, 108, 0.4);
  animation: bestValueBob 1.9s ease-in-out infinite;
  pointer-events: none;
}
.best-value-flag::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--primary-color);
}
@keyframes bestValueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .best-value-flag, .billing-toggle-btn.is-active .billing-save { animation: none; }
}

/* Monthly/yearly price display — toggled by data-billing on the grid.
   The .price-monthly/.price-yearly wrappers are spans, so the
   `.pricing-price span { font-size: 1rem }` rule above would shrink the
   amount — restore the large price size on the wrappers (suffix spans and
   sub-labels keep their own smaller sizing). */
.pricing-price .price-monthly,
.pricing-price .price-yearly {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.pricing-price .price-yearly { display: none; }
.pricing-full-grid[data-billing="year"] .pricing-price .price-monthly { display: none; }
.pricing-full-grid[data-billing="year"] .pricing-price .price-yearly {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}
.price-was {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--primary-color);
  opacity: 0.85;
  margin-bottom: 1px;
}
.billed-annually {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #777;
  margin-top: 4px;
}
.you-save-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary-color);
  background: rgba(237, 22, 108, 0.1);
  border: 1px solid rgba(237, 22, 108, 0.25);
}
