:root {
  --bg: #0c0e12;
  --card: #11151c;
  --muted: #95a2b3;
  --text: #e9eef5;
  --accent: #5aa2ff;
  --accent-2: #9bffcc;
  --border: #1b2230;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    'Helvetica Neue',
    Arial,
    'Noto Sans',
    'Apple Color Emoji',
    'Segoe UI Emoji';
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
}
.header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo {
  width: 28px;
  height: 28px;
}
.nav {
  display: flex;
  gap: 14px;
  margin-left: auto;
}
.cta-header {
  display: flex;
  gap: 10px;
  margin-left: 8px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #0b1220;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.03);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.xl {
  padding: 14px 18px;
  border-radius: 12px;
}
.hero {
  padding: 64px 20px 40px;
  text-align: center;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 12px;
}
.subtitle {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 12px 0 6px;
}
.tiny {
  font-size: 12px;
  color: var(--muted);
}
/* .features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:10px 0 26px} */
/* .feature{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:14px} */
.feature h3 {
  margin: 6px 0 6px;
}
.how h2,
.pricing h2 {
  margin-top: 10px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 10px 0 26px;
  padding: 0;
  list-style: none;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.pricing .muted {
  color: var(--muted);
  margin: 6px 0 16px;
}
/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 30px;
}

.toggle-label {
  font-weight: 600;
  color: var(--text);
}

.discount {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 500;
}

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

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text);
  transition: 0.4s;
  border-radius: 50%;
}

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

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

/* Pricing Table */
.pricing-table-container {
  overflow-x: auto;
  margin: 20px 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.pricing-table th {
  background: var(--bg);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.pricing-table th.custom-plan {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1220;
}

.pricing-table td.feature-label {
  text-align: left;
  font-weight: 600;
  background: var(--bg);
  color: var(--text);
}

.pricing-table td.custom-plan {
  background: rgba(90, 162, 255, 0.1);
  border-left: 3px solid var(--accent);
}

.pricing-table .price {
  font-weight: 700;
  font-size: 20px;
  color: var(--accent-2);
}

.pricing-table .billing-period {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.pricing-table td:not(.feature-label) {
  color: var(--muted);
}

.pricing-table td:not(.feature-label) strong {
  color: var(--text);
}

.pricing-table td:not(.feature-label) {
  color: var(--muted);
}

.pricing-table td:not(.feature-label) strong {
  color: var(--text);
}

.pricing-table td.checkmark {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 900px) {
  .pricing-table th,
  .pricing-table td {
    padding: 12px 8px;
    font-size: 14px;
  }

  .pricing-table .price {
    font-size: 16px;
  }
}

/* Tooltip Styles */
.tooltip-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--accent);
  color: #0b1220;
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
  cursor: help;
  position: relative;
}

.tooltip-icon:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip-icon:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text);
  margin-bottom: -5px;
}
/* Social Proof */
.social-proof {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  margin: 40px auto;
  text-align: center;
}

.social-proof-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.user-count {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1;
}

.count-label {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 8px;
}

.v2-message {
  text-align: left;
  max-width: 400px;
}

.v2-message p {
  margin: 8px 0;
  color: var(--text);
  font-size: 1rem;
}

.v2-message strong {
  color: var(--accent);
}

@media (max-width: 768px) {
  .social-proof-content {
    flex-direction: column;
    gap: 20px;
  }

  .v2-message {
    text-align: center;
  }

  .count-number {
    font-size: 2rem;
  }
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 16px;
  color: var(--muted);
}
.links {
  display: flex;
  gap: 14px;
}
@media (max-width: 900px) {
  /*   .features{grid-template-columns:1fr 1fr} */
  .steps {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
}

.section-title {
  font-size: 28px;
  margin: 0 0 20px;
  text-align: center;
}
/* .feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px} */
/* .feature-grid .feature{text-align:center} */
@media (max-width: 900px) {
  /*   .feature-grid{grid-template-columns:1fr 1fr} */
}

.features .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 10px 0 26px;
  padding: 0;
  list-style: none;
}
.features .step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
@media (max-width: 900px) {
  .features .steps {
    grid-template-columns: 1fr 1fr;
  }
}

.features h2 {
  text-align: center;
  margin: 0 0 20px;
}

/* --- Features section: match How it works layout --- */
/* .features{display:block;margin:10px 0 26px} */
.features h2 {
  margin: 0 0 20px;
  text-align: center;
}

/* Use the same grid as .steps used in the how section */
.features .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 10px 0 26px;
  padding: 0;
  list-style: none;
}
.features .steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

@media (max-width: 900px) {
  .features .steps {
    grid-template-columns: 1fr;
  }
}

/* Force .features to behave like .how */
.features h2 {
  text-align: center;
  margin: 0 0 20px;
}
.features .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 10px 0 26px;
  padding: 0;
  list-style: none;
}
.features .steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
@media (max-width: 900px) {
  .features .steps {
    grid-template-columns: 1fr;
  }
}

/* Support Form Styles */
.support-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.support-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group label.muted {
  color: var(--muted);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.privacy-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.attachments-placeholder {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type='checkbox'] {
  width: auto;
  margin: 2px 0 0;
}

#form-status {
  margin: 20px 0;
  padding: 16px;
  border-radius: 8px;
}

#form-status.success {
  background: rgba(155, 255, 204, 0.1);
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
}

#form-status.success h3 {
  margin: 0 0 8px;
  color: var(--accent-2);
}

#form-status.success p {
  margin: 0 0 16px;
  color: var(--text);
}

#form-status.error {
  background: rgba(255, 90, 90, 0.1);
  border: 1px solid #ff5a5a;
  color: #ff5a5a;
}

#form-status.error p {
  margin: 0;
}

@media (min-width: 900px) {
  .form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .form-group:not(:has(input[type='checkbox'])) label {
    padding-top: 12px;
  }

  .form-group:has(textarea) {
    grid-template-columns: 1fr;
  }

  .form-group:has(input[type='checkbox']) {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 899px) {
  .support-form {
    padding: 20px;
  }
}

/* Migration Page Styles */
.migration-safety {
  margin: 3rem auto;
}

.safety-banner {
  background: rgba(76, 175, 80, 0.1);
  border: 2px solid #4caf50;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.safety-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.safety-content h3 {
  margin: 0 0 0.5rem 0;
  color: #4caf50;
  font-size: 1.5rem;
}

.safety-content p {
  margin: 0.5rem 0;
  color: var(--text);
}

.safety-content strong {
  font-weight: 600;
}

.migration-steps {
  padding: 4rem 0;
}

.migration-steps h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.step-card.highlight {
  border: 2px solid var(--accent);
  background: rgba(90, 162, 255, 0.1);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #0b1220;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step-card h3 {
  margin: 0 0 1rem 0;
  color: var(--text);
  font-size: 1.25rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.step-card .tip {
  background: rgba(255, 179, 0, 0.1);
  border-left: 3px solid #ffb300;
  padding: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: left;
}

.pro-tip {
  background: rgba(33, 150, 243, 0.1);
  border: 2px solid #2196f3;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.pro-tip h4 {
  margin: 0 0 1rem 0;
  color: #2196f3;
}

.pro-tip ol {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text);
}

.pro-tip li {
  margin: 0.5rem 0;
}

.migration-plans {
  padding: 4rem 0;
  background: var(--card);
  border-radius: 12px;
  margin: 2rem auto;
}

.migration-plans h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.plans-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 0 1rem;
}

.plan-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.plan-card.popular {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(90, 162, 255, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0b1220;
  padding: 0.25rem 1rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-card h4 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: var(--text);
}

.plan-retention {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent);
  margin: 0.5rem 0;
}

.plan-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

.plans-note {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0 1rem;
  padding: 0 1rem;
}

.plans-cta {
  text-align: center;
  margin-top: 2rem;
}

.migration-cta {
  padding: 4rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0b1220;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-box h2 {
  color: #0b1220;
  margin: 0 0 1rem 0;
}

.cta-box p {
  color: rgba(11, 18, 32, 0.9);
  font-size: 1.125rem;
  margin: 0 0 2rem 0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background: #0b1220;
  color: var(--accent);
}

.cta-buttons .btn.ghost {
  background: transparent;
  border: 2px solid #0b1220;
  color: #0b1220;
}

.cta-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .safety-banner {
    flex-direction: column;
    text-align: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .plans-comparison {
    grid-template-columns: 1fr 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .plans-comparison {
    grid-template-columns: 1fr;
  }
}

/* File input styling */
.form-group input[type='file'] {
  padding: 8px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.form-group input[type='file']:hover {
  border-color: var(--accent);
  background: var(--bg);
}

.file-info {
  margin-top: 8px;
}

.file-info p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px 0;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}

.file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: var(--muted);
  margin-left: 8px;
  font-size: 12px;
}

.file-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  margin-left: 8px;
}

.file-remove:hover {
  color: var(--error);
  background: var(--bg);
}

.file-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 4px;
}

/* FAQ Section */
.faq .section-title {
  font-size: 28px;
  margin: 0 0 20px;
  text-align: center;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.faq-item h4 {
  margin: 6px 0 8px;
}
.faq-item p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Unsubscribe page styles */
.confirmation-message {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  color: var(--accent-2);
  margin-bottom: 24px;
}

.confirmation-message h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.confirmation-message > p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.additional-info,
.next-steps {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  text-align: left;
}

.additional-info h3,
.next-steps h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text);
}

.additional-info ul {
  margin: 0;
  padding-left: 20px;
}

.additional-info li {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

.success-icon {
  color: var(--accent-2);
  margin-bottom: 24px;
}

.confirmation-message h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.confirmation-message > p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.additional-info,
.next-steps {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  text-align: left;
}

.additional-info h3,
.next-steps h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text);
}

.additional-info ul {
  margin: 0;
  padding-left: 20px;
}

.additional-info li {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}
