:root {
  --color-primary: #d4403a;
  --color-primary-hover: #c82b25;
  --color-primary-gradient: linear-gradient(264deg, #d4403a 0%, #ce177b 100%);
  --color-secondary: #fdf5f5;
  --color-primary-light: #fff8f8;
  --color-whitesmoke: #f5f5f5;
  --text-dark: #0a0909;
  --text-body: #252533;
  --text-muted: #757575;
  --border-light: #dadada;
  --results-bg: #eef7f7;
  --results-border: #dbeaea;
  --accent-blue: #0066ff;
  --accent-orange: #f58220;
  --danger-red: #dc2626;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto Slab', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-dark);
  background: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Sticky Navbar */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0e6e6;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  text-decoration: none;
  color: #252533;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active-nav {
  color: var(--color-primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #252533;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.nav-dropdown-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #252533;
  font-size: 13.5px;
}

.dropdown-menu a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-upgrade-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 40px;
  background: var(--color-primary-gradient);
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(212, 64, 58, 0.25);
  transition: opacity 0.15s ease, transform 0.12s ease;
}

.btn-upgrade-nav:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.btn-login-nav {
  padding: 9px 20px;
  border-radius: 40px;
  border: none;
  background: #000000;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-login-nav:hover {
  background: #252533;
}

.mobile-menu-btn {
  display: none;
  background: #f5f5f5;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 18px;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 20px 18px;
  border-top: 1px solid #f0e6e6;
  background: #ffffff;
  gap: 10px;
}

.mobile-nav a {
  text-decoration: none;
  color: #252533;
  font-size: 14.5px;
  padding: 6px 0;
}

/* Hero & Tool Backdrop */
.hero-backdrop {
  background: radial-gradient(ellipse 92% 420px at 50% 0%, #fdeaea 0%, #fdf5f5 45%, #ffffff 80%);
  padding: 36px 0 48px;
}

.page-header {
  text-align: center;
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #0a0909;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.page-header .subtitle {
  font-size: 15.5px;
  color: #252533;
  max-width: 780px;
  margin: 0 auto;
}

/* Tool Card */
.checker-card {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 4px 20px 6px rgba(246, 201, 199, 0.22);
  overflow: hidden;
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.mode-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tab-pill {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: var(--color-whitesmoke);
  color: #898989;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-pill.active {
  background: var(--color-secondary);
  color: #000000;
  border-color: var(--color-primary);
}

.api-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid #eceff3;
  background: #ffffff;
  color: #0a0909;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease;
}

.api-btn:hover {
  transform: translateY(-1px);
}

.api-icon {
  font-family: monospace;
  font-weight: 700;
}

.api-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  display: inline-block;
}

.api-dot.connected {
  background: #16a34a;
}

/* Textarea + Paste Overlay */
.textarea-wrapper {
  position: relative;
}

#urlInput {
  width: 100%;
  min-height: 245px;
  border: none;
  outline: none;
  resize: vertical;
  padding: 20px 56px 20px 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #0a0909;
  display: block;
}

#urlInput::placeholder {
  color: #acacac;
}

.paste-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1.5px dashed #d4403a;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.paste-overlay-btn:hover {
  background: #fde8e8;
  transform: translate(-50%, -52%);
}

.clear-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: inline-flex;
}

.clear-btn:hover {
  background: #fee2e2;
}

/* Card Footer */
.card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: #252533;
}

.divider {
  width: 1px;
  height: 16px;
  background: #dadada;
  display: inline-block;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* Domain Age Toggle */
.domain-age-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
}

.pro-badge {
  background: var(--color-primary);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 40px;
}

.domain-age-text {
  font-size: 13px;
  color: #252533;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-block;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #c6b5b1;
  border-radius: 40px;
  transition: background 0.2s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(16px);
}

/* CTA Button */
.cta-row {
  display: flex;
  justify-content: center;
  margin: 22px 0 24px;
}

.check-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 245px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 14px 48px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(212, 64, 58, 0.28);
  transition: background 0.15s ease, transform 0.12s ease;
}

.check-btn:hover:not(:disabled) {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.check-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Alert Banner */
.alert-banner {
  max-width: 960px;
  margin: 0 auto 20px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14px;
}

.alert-banner.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-banner.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* Results & Filters */
.results-shell {
  background: var(--results-bg);
  border: 1px solid var(--results-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.filter-bar {
  background: #ffffff;
  border-radius: 22px;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  margin-bottom: 16px;
}

.enable-filters-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 6px;
  border-radius: 40px;
  border: 1.5px solid var(--accent-orange);
  background: #e9ecef;
  cursor: pointer;
  user-select: none;
}

.enable-filters-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.enable-knob {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.enable-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.enable-filters-pill.active {
  background: var(--accent-orange);
}

.enable-filters-pill.active .enable-label {
  color: #ffffff;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.filter-group.disabled {
  opacity: 0.6;
}

.filter-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.filter-title {
  font-size: 13px;
  color: #4b5563;
  white-space: nowrap;
}

.blue-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 105px;
  height: 5px;
  background: #e5e7eb;
  border-radius: 40px;
  outline: none;
  cursor: pointer;
}

.blue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-blue);
  cursor: pointer;
}

.filter-num {
  width: 52px;
  height: 34px;
  border: 1px solid #d5dae0;
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
}

.export-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.results-meta {
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}

.export-actions {
  display: flex;
  gap: 8px;
}

.export-btn {
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1f2937;
  cursor: pointer;
}

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

.export-btn.primary:hover {
  background: var(--color-primary-hover);
}

.table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #d7dde3;
  border-radius: 6px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.results-table th,
.results-table td {
  border: 1px solid #dfe4ea;
  padding: 13px 14px;
  text-align: center;
  white-space: nowrap;
}

.results-table thead th {
  background: #f4f6f8;
  font-weight: 700;
  user-select: none;
}

.results-table th.sortable {
  cursor: pointer;
}

.th-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.th-inner.left {
  justify-content: flex-start;
  width: 100%;
}

.col-check {
  width: 16px;
  height: 16px;
  accent-color: #f3c89c;
  cursor: pointer;
}

.sort-arrows {
  font-size: 11px;
  letter-spacing: -1px;
}

.results-table td.url-cell {
  text-align: left;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results-table td.url-cell a {
  color: #1f2937;
  text-decoration: none;
}

.results-table td.url-cell a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.ss-high { color: var(--danger-red); font-weight: 700; }
.ss-med { color: #d97706; font-weight: 600; }
.ss-low { color: #15803d; font-weight: 600; }

/* Two-Column Content + Sticky Sidebar */
.content-section {
  padding: 40px 0 60px;
}

.two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: start;
}

.content-block {
  margin-bottom: 36px;
}

.content-block h2 {
  font-size: 25px;
  font-weight: 700;
  color: #0a0909;
  margin-bottom: 14px;
}

.content-block p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 12px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.step-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #f0e6e6;
  background: #fffcfc;
}

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

.step-body h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #0a0909;
}

.step-body p {
  margin-bottom: 0;
  font-size: 14px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: #374151;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Related Tools Sidebar */
.sidebar-col {
  position: sticky;
  top: 84px;
}

.related-tools-card {
  background: var(--color-secondary);
  border: 1px solid #f3dada;
  border-radius: 14px;
  padding: 22px 18px;
}

.related-tools-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0a0909;
}

.related-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-pill-link {
  display: block;
  padding: 10px 16px;
  border-radius: 40px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: #252533;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.tool-pill-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateX(2px);
}

/* Plans & Pricing */
.pricing-section {
  background: #fffafa;
  border-top: 1px solid #f3e4e4;
  border-bottom: 1px solid #f3e4e4;
  padding: 64px 0;
}

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

.section-heading h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-card-shell {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.pricing-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.billing-toggle {
  display: inline-flex;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 40px;
  gap: 4px;
}

.billing-btn {
  border: none;
  background: transparent;
  padding: 7px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
}

.billing-btn.active {
  background: #ffffff;
  color: #0a0909;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.save-tag {
  background: #fee2e2;
  color: var(--color-primary);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 4px;
}

.plan-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.plan-option {
  display: block;
  padding: 18px;
  border: 2px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.plan-option input {
  display: none;
}

.plan-option.active {
  border-color: #ff4d4d;
  background: #fff5f5;
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.plan-name {
  font-size: 17px;
  font-weight: 700;
}

.plan-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.plan-price small {
  font-size: 12.5px;
  font-weight: 400;
  color: #6b7280;
}

.plan-meta {
  font-size: 13px;
  color: #4b5563;
}

.premium-perks {
  border-top: 1px solid #eee;
  padding-top: 18px;
  margin-bottom: 22px;
}

.premium-perks h4 {
  font-size: 15px;
  margin-bottom: 12px;
}

.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 13.5px;
  color: #374151;
}

.pricing-cta {
  text-align: center;
}

.btn-upgrade-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: 50px;
  border: none;
  background: var(--color-primary-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(212, 64, 58, 0.25);
}

/* FAQ Accordion */
.faq-section {
  padding: 64px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15.5px;
  font-weight: 600;
  color: #0a0909;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 700;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: #4b5563;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Recent Blogs */
.blogs-section {
  padding: 20px 0 70px;
}

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

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0ecec;
  box-shadow: 0 3px 26px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.thumb-spam { background: linear-gradient(135deg, #d4403a, #991b1b); }
.thumb-pa { background: linear-gradient(135deg, #1e293b, #475569); }
.thumb-da { background: linear-gradient(135deg, #d4403a, #ce177b); }

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-body h3 {
  font-size: 16.5px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-body p {
  font-size: 13.5px;
  color: #4b5563;
  margin-bottom: 16px;
  flex: 1;
}

.blog-read-btn {
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 40px;
  border: 1px solid var(--color-primary);
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.blog-read-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Red App / API Banner */
.app-banner {
  background: var(--color-primary);
  color: #ffffff;
  padding: 44px 0;
}

.app-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-banner-text h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.app-banner-text p {
  font-size: 15px;
  opacity: 0.92;
}

.app-banner-actions {
  display: flex;
  gap: 12px;
}

.banner-pill-btn {
  padding: 12px 24px;
  border-radius: 40px;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.banner-pill-btn.outline {
  background: transparent;
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: var(--color-secondary);
  padding-top: 52px;
  border-top: 1px solid #f2dfdf;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-tagline {
  font-size: 13.5px;
  color: #4b5563;
  margin: 12px 0 18px;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e6d5d5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #252533;
  font-size: 13px;
  font-weight: 700;
}

.social-circle:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: #0a0909;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  text-decoration: none;
  color: #4b5563;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid #ebd7d7;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  font-size: 18px;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
}

.modal-body {
  padding: 20px 22px;
  font-size: 14px;
  color: #374151;
}

.modal-desc {
  margin-bottom: 16px;
}

.auth-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-tab {
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #4b5563;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--color-secondary);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.auth-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.field-label input {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.modal-status {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.modal-status.ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.modal-status.err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.modal-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.modal-btn.secondary {
  background: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}

.modal-btn.primary {
  background: var(--color-primary);
  color: #ffffff;
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-block;
  }
  .two-col-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-col {
    position: static;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-header h1 {
    font-size: 28px;
  }
  .plan-options,
  .perks-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-upgrade-nav {
    display: none;
  }
}
