:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --bg-page: #f4f7fb;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.88);
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --brand-50: #f5f3ff;
  --brand-100: #ede9fe;
  --brand-200: #ddd6fe;
  --brand-500: #8b5cf6;
  --brand-600: #7c3aed;
  --brand-700: #6d28d9;
  --brand-800: #5b21b6;

  --accent-sky: #d97706;
  --cta-bg: #6d28d9;
  --cta-hover: #5b21b6;
  --cta-text: #ffffff;

  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-600: #dc2626;
  --red-700: #b91c1c;

  --card-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  --hero-glow: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(139, 92, 246, 0.13), rgba(245, 158, 11, 0.08) 45%, transparent 75%);
}

[data-theme="dark"] {
  --bg-page: #0b1120;
  --bg-surface: #111827;
  --bg-subtle: #1e293b;
  --bg-header: rgba(15, 23, 42, 0.88);
  --border-subtle: #1f2937;
  --border-strong: #334155;

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --brand-50: rgba(139, 92, 246, 0.14);
  --brand-100: rgba(139, 92, 246, 0.22);
  --brand-200: rgba(167, 139, 250, 0.35);
  --brand-500: #a78bfa;
  --brand-600: #8b5cf6;
  --brand-700: #a78bfa;
  --brand-800: #c4b5fd;

  --cta-bg: #7c3aed;
  --cta-hover: #6d28d9;
  --cta-text: #ffffff;

  --red-50: rgba(220, 38, 38, 0.15);
  --red-100: rgba(220, 38, 38, 0.25);
  --red-200: rgba(248, 113, 113, 0.35);
  --red-600: #f87171;
  --red-700: #ef4444;

  --card-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  --hero-glow: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(139, 92, 246, 0.18), rgba(245, 158, 11, 0.1) 45%, transparent 75%);
}

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

html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  background-image: var(--hero-glow);
  background-repeat: no-repeat;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 54px;
  background-color: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.25);
}

.brand-wordmark {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-wordmark span {
  color: var(--brand-600);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.header-nav a {
  padding: 6px 12px;
  border-radius: 9999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.header-nav a:hover {
  background-color: var(--brand-50);
  color: var(--brand-700);
}

@media (min-width: 640px) {
  .header-nav {
    display: flex;
  }
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-200);
  color: var(--brand-600);
}

/* Layout Containers */
.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.container-content {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero Section */
.hero-section {
  padding-top: 26px;
  padding-bottom: 10px;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.hero-center {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  margin-bottom: 14px;
  border-radius: 9999px;
  background-color: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.hero-title {
  margin: 0 0 18px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.15;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

.email-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.email-display-wrap {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.email-display {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-all;
  user-select: all;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .email-display {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .email-display {
    font-size: 2rem;
  }
}

.email-user {
  color: var(--text-main);
}

.email-domain {
  color: var(--brand-600);
}

.email-card-copy-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.email-card-copy-btn:hover {
  background-color: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-200);
}

@media (min-width: 640px) {
  .email-card-copy-btn {
    display: inline-flex;
  }
}

.hero-subtitle {
  margin: 14px auto 0;
  max-width: 580px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Action Bar */
.action-bar-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.action-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-surface);
  padding: 8px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-dark {
  background: linear-gradient(135deg, #7c3aed, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-dark:hover {
  filter: brightness(1.05);
}

.btn-primary-soft {
  background-color: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-800);
}

.btn-primary-soft:hover {
  background-color: var(--brand-100);
}

.btn-neutral-soft {
  background-color: var(--bg-subtle);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-neutral-soft:hover {
  border-color: var(--border-strong);
}

.btn-danger-soft {
  background-color: var(--red-50);
  border-color: var(--red-200);
  color: var(--red-600);
}

.btn-danger-soft:hover {
  background-color: var(--red-100);
}

.btn-danger {
  background-color: var(--red-600);
  color: #ffffff;
}

.btn-danger:hover {
  background-color: var(--red-700);
}

.hidden {
  display: none !important;
}

/* AdSense Slots */
.ad-slot {
  display: none;
  flex-shrink: 0;
  border-radius: 16px;
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  font-size: 0.75rem;
}

.ad-slot.ad-live {
  border: none;
  background-color: transparent;
}

.ad-hero-left {
  width: 300px;
  height: 250px;
}

.ad-hero-right {
  width: 248px;
  height: 200px;
}

.ad-skyscraper {
  width: 160px;
  height: 600px;
}

@media (min-width: 1024px) {
  .ad-slot.ad-live.ad-hero-left,
  .ad-slot.ad-live.ad-hero-right {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .ad-slot.ad-live.ad-skyscraper {
    display: flex;
  }
}

/* Inbox Section */
.inbox-section {
  margin-top: 24px;
}

.inbox-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.inbox-card {
  width: 100%;
  max-width: 780px;
  height: 580px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inbox-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inbox-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.inbox-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.inbox-active-pill {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .inbox-active-pill {
    display: inline-flex;
  }
}

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 9999px;
  background-color: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-800);
  font-size: 0.75rem;
  font-weight: 700;
}

.inbox-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-test-btn {
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--brand-200);
  background-color: var(--brand-50);
  color: var(--brand-800);
  font-size: 0.75rem;
  font-weight: 600;
}

.demo-test-btn:hover {
  background-color: var(--brand-100);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background-color: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.inbox-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Empty State */
.inbox-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;
}

.empty-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background-color: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.empty-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
}

.empty-subtitle {
  margin: 0 0 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.refresh-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.refresh-pill-btn:hover:not(:disabled) {
  border-color: var(--brand-200);
  background-color: var(--brand-50);
}

.refresh-pill-btn:disabled {
  cursor: wait;
  color: var(--text-muted);
}

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid var(--brand-200);
  border-top-color: var(--brand-600);
  border-radius: 9999px;
  animation: spin 0.75s linear infinite;
}

.spin-icon {
  animation: spin 0.75s linear infinite;
}

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

/* Message List */
.message-list {
  display: flex;
  flex-direction: column;
}

.message-item {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: background-color 0.12s ease;
  text-align: left;
  background: var(--bg-surface);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
}

.message-item:hover {
  background-color: var(--bg-subtle);
}

.message-item.unread {
  background-color: var(--brand-50);
}

.message-item-main {
  flex: 1;
  min-width: 0;
}

.message-sender-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--brand-500);
  flex-shrink: 0;
}

.message-sender {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-subject {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.message-preview {
  font-size: 0.825rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Message Reader */
.message-reader {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.reader-toolbar {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.reader-meta {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.reader-subject {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}

.reader-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.otp-banner {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background-color: var(--brand-50);
  border: 1px solid var(--brand-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.otp-code {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-800);
  letter-spacing: 0.08em;
}

.reader-content {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
  background-color: #ffffff;
}

.reader-iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  background: #ffffff;
}

.reader-plaintext {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #0f172a;
  line-height: 1.6;
}

/* Content / SEO Sections */
.seo-content {
  margin-top: 56px;
  padding-bottom: 64px;
}

.section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px;
}

.section-h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .section-h2 {
    font-size: 1.8rem;
  }
}

.section-p {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.inline-link {
  color: var(--brand-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--brand-600);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.surface-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.card-h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-icon {
  color: var(--brand-600);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-800);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-stack {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 26px;
}

.article-block h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.article-block p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.72;
}

.article-block p:last-child {
  margin-bottom: 0;
}

.bullet-list {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.65;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.why-pill {
  background-color: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.why-pill strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
}

/* FAQ Accordion */
.faq-section {
  margin-top: 56px;
}

.faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

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

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

.faq-item[open] {
  border-color: var(--brand-200);
}

.faq-summary {
  list-style: none;
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background-color: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* Deep Slate Branded Footer */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
  padding: 52px 0 28px;
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer-brand-text span {
  color: #a78bfa;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 290px;
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #a78bfa;
}

.footer-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: #94a3b8;
}

.footer-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-features .check-icon {
  color: #a78bfa;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-bottom strong {
  color: #ffffff;
}

.heart {
  color: #f43f5e;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-surface);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-body {
  padding: 20px 22px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-page);
  color: var(--text-main);
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

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

.form-error {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--red-600);
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

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

.w-full {
  width: 100%;
}

.switch-list {
  margin-top: 14px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.switch-item {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.switch-item:hover {
  background-color: var(--bg-subtle);
}

.switch-item.active {
  background-color: var(--brand-50);
  border-color: var(--brand-200);
}

.switch-item.active .switch-user {
  color: var(--brand-800);
  font-weight: 700;
}

.modal-footer {
  padding: 14px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 64px;
  right: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  animation: toastIn 0.18s ease-out;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subpages */
.subpage-main {
  max-width: 820px;
  margin: 40px auto 64px;
  padding: 0 16px;
}

.subpage-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

@media (min-width: 640px) {
  .subpage-card {
    padding: 36px;
  }
}

.subpage-card h1 {
  margin: 0 0 12px;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.subpage-card h2 {
  margin: 26px 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.subpage-card p, .subpage-card li {
  color: var(--text-secondary);
  line-height: 1.7;
}


/* Trust chips under the hero actions */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.trust-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  padding: 5px 12px;
}

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 16px; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--brand-50);
  color: var(--brand-800);
}
.compare-table tbody th {
  background: var(--bg-subtle);
  color: var(--text-main);
  white-space: nowrap;
}
.compare-table td { color: var(--text-secondary); }

/* Section accents */
.article-block h2 { color: var(--brand-800); }
.why-pill { border-top: 3px solid var(--brand-500); }
.hero-title { letter-spacing: -0.02em; }
