/* ── Hero ── */
.hero {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 88px 0 108px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 152, 190, 0.35) 0%, rgba(2, 7, 17, 0.25) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 152, 190, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-tagline {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.hero-copy {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Shared Section ── */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 52px;
  font-size: 15px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ── Features ── */
.features {
  background: var(--color-bg-soft);
}

.feature-card {
  height: 100%;
  text-align: center;
  padding: 40px 28px;
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--color-text-dark);
  font-size: 17px;
}

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

/* ── How It Works ── */
.how-it-works {
  background: #fff;
}

.steps-row {
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.25;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
}

.step h3 {
  color: var(--color-text-dark);
  margin-bottom: 10px;
  font-size: 16px;
}

.step p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Trust & Safety ── */
.trust {
  background: var(--color-bg-secondary);
  color: #fff;
}

.trust .section-title {
  color: #fff;
}

.trust .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.trust-item {
  height: 100%;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid rgba(33, 152, 190, 0.12);
}

.trust-item .trust-icon {
  font-size: 40px;
  margin-bottom: 18px;
  display: block;
}

.trust-item h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.6;
}

.trust-links {
  text-align: center;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.trust-links a {
  color: var(--color-accent-blue);
}

.trust-links a:hover {
  text-decoration: underline;
}

/* ── Download CTA ── */
.download-cta {
  background: var(--color-bg-dark);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
  pointer-events: none;
}

.download-cta-content {
  position: relative;
  z-index: 1;
}

.download-cta h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.download-cta p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  font-size: 16px;
}

.download-cta .hero-ctas {
  justify-content: center;
}

/* ── Legal Pages ── */
.legal-page {
  padding: 52px 0 80px;
  background: var(--color-bg-soft);
  min-height: calc(100vh - var(--header-height));
}

.legal-content h1 {
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.last-updated {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(33, 152, 190, 0.2);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
  font-size: 18px;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
  font-size: 15px;
}

.legal-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-content p {
  margin-bottom: 1rem;
  text-align: justify;
  color: var(--color-text-body);
  font-size: 14px;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 6px;
  color: var(--color-text-body);
  font-size: 14px;
  line-height: 1.6;
}

.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style: decimal;
}

.legal-content ol li {
  margin-bottom: 8px;
  color: var(--color-text-body);
  font-size: 14px;
  line-height: 1.6;
}

.legal-content a {
  color: var(--color-link);
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.legal-content strong {
  font-weight: 600;
  color: var(--color-text-dark);
}

/* ── Warning Box ── */
.warning-box {
  background: rgba(235, 50, 50, 0.05);
  border: 2px solid var(--color-error);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.warning-box p {
  color: var(--color-error) !important;
  margin-bottom: 0 !important;
  font-weight: 500;
  text-align: left !important;
}

/* ── Delete Account Table ── */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.delete-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.delete-table th,
.delete-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(33, 152, 190, 0.15);
}

.delete-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: var(--color-text-dark);
}

.delete-table tr:last-child td {
  border-bottom: none;
}

.delete-table td:last-child {
  color: var(--color-text-muted);
}

/* ── Method Steps ── */
.method-steps {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.method-steps h2 {
  margin-top: 0 !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(33, 152, 190, 0.2);
  font-size: 17px !important;
  margin-bottom: 16px !important;
}

/* ── Contact Page ── */
.contact-page {
  padding: 52px 0 80px;
  background: var(--color-bg-soft);
  min-height: calc(100vh - var(--header-height));
}

.contact-header {
  text-align: center;
  margin-bottom: 52px;
}

.contact-header h1 {
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

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

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 0;
}

.info-block h2 {
  font-size: 15px;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(33, 152, 190, 0.1) 0%, rgba(2, 7, 17, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-info-text strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 13px;
  color: var(--color-text-muted);
  display: inline-block;
  max-width: 100%;
}

.contact-info-text a {
  color: var(--color-link);
}

.contact-info-text a:hover {
  text-decoration: underline;
}

.help-list {
  list-style: disc !important;
  padding-left: 1.2rem !important;
}

.help-list li {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 6px !important;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Match left column (2 cards) height to right form card on desktop */
@media (min-width: 992px) {
  .contact-page .row.g-4 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    align-items: stretch;
  }

  .contact-page .row.g-4 > [class*='col-'] {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .contact-info-card,
  .contact-form-card {
    flex: 1;
    height: 100%;
  }

  .contact-info-card .info-block {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}

.contact-form-card h2 {
  font-size: 18px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(33, 152, 190, 0.35);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text-body);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary-1);
  box-shadow: 0 0 0 3px rgba(33, 152, 190, 0.08);
}

.form-group input.is-error,
.form-group select.is-error,
.form-group textarea.is-error {
  border-color: var(--color-error);
}

.form-group textarea {
  resize: vertical;
}

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

.form-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 12px;
  font-style: italic;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.form-note a {
  display: inline;
  max-width: 100%;
}

/* ── Responsive (Bootstrap 5.3 breakpoints) ── */

/* xs: <576px */
@media (max-width: 575.98px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-store {
    width: 190px;
  }

  .download-cta .hero-ctas {
    justify-content: center;
    align-items: center;
  }

  .section-title {
    font-size: 23px;
  }

  .download-cta h2 {
    font-size: 26px;
  }

  .legal-page,
  .contact-page {
    padding: 32px 0 56px;
  }

  .container-xl {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card,
  .contact-form-card,
  .info-block,
  .method-steps {
    padding: 20px 16px;
  }

  .delete-table th,
  .delete-table td {
    font-size: 13px;
    padding: 10px 12px;
    word-break: break-word;
  }
}

/* sm: 576px–767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 52px;
  }

  .steps-row::before {
    display: none;
  }
}

/* md: 768px–991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 56px;
  }

  .steps-row::before {
    display: none;
  }
}

/* lg: 992px–1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 64px;
  }
}

/* xl+: ≥1200px */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 72px;
  }
}
