/* Public information pages (/about, /contact, /terms, /privacy, /refund, /data-deletion, /faq).
   Modern High-End SaaS design matching the creator studio aesthetic. */

:root {
  --brand: #ea580c;
  --brand-dark: #c2410c;
  --teal: #0f766e;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(234, 88, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.info-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1200px 600px at 50% -120px, rgba(234, 88, 12, 0.08), transparent 70%), #f8fafc;
  color: #0f172a;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Glass Header */
.info-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(24px, calc((100vw - 960px) / 2));
  border-bottom: 1.5px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}
.info-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  text-decoration: none;
}
.info-header .brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 6px rgba(234, 88, 12, 0.25));
  transition: transform 0.2s ease;
}
.info-header .brand:hover img {
  transform: scale(1.06);
}
.info-header .brand strong {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #0f172a;
}
.info-header .button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.info-header .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}

/* Main Container */
.info-main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 20px 80px;
}

/* Eyebrow badge */
.info-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.2px solid #fed7aa;
  color: #c2410c;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}
.info-eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ea580c;
  display: inline-block;
  animation: pulse 2s infinite;
}

/* Headings */
.info-main h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
}
.info-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1.2px solid #e2e8f0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.info-lead {
  margin: 0 0 36px;
  color: #334155;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.75;
  font-weight: 500;
  max-width: 860px;
}
.info-main h2 {
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #e2e8f0;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 90px;
}
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1.2px solid #fed7aa;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-main h3 {
  margin: 28px 0 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.info-main p, .info-main li {
  color: #334155;
  line-height: 1.75;
  font-size: 0.96rem;
}
.info-main ul, .info-main ol {
  padding-left: 24px;
  margin: 16px 0;
}
.info-main li::marker {
  color: #ea580c;
  font-weight: 800;
}
.info-main li + li {
  margin-top: 8px;
}
.info-main li strong {
  color: #0f172a;
  font-weight: 700;
}
.info-main a {
  color: #ea580c;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}
.info-main a:hover {
  color: #c2410c;
  text-decoration: underline;
}

/* Feature & Service Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 36px;
}
.info-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #f97316, #ea580c);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  border-color: #fdba74;
  box-shadow: 0 12px 36px -4px rgba(234, 88, 12, 0.14);
}
.info-card:hover::before {
  opacity: 1;
}
.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 6px;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.1);
  flex-shrink: 0;
}
.info-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.info-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}
.info-card a {
  color: #ea580c;
  font-weight: 700;
  word-break: break-word;
}

/* Table of Contents */
.info-toc {
  background: linear-gradient(180deg, #fffbf7 0%, #ffffff 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 20px;
  padding: 26px 28px;
  margin: 0 0 40px;
  box-shadow: 0 4px 20px -2px rgba(234, 88, 12, 0.06);
}
.info-toc strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #9a3412;
  letter-spacing: -0.01em;
}
.info-toc strong::before {
  content: "📑";
  font-size: 1.15rem;
}
.info-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 24px;
}
.info-toc li {
  color: #ea580c;
  font-weight: 700;
  font-size: 0.92rem;
}
.info-toc a {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.info-toc a:hover {
  color: #ea580c;
  text-decoration: underline;
}

/* Callouts */
.info-callout {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  border-left: 5px solid #ea580c;
  border-radius: 16px;
  padding: 20px 24px;
  color: #7c2d12;
  line-height: 1.7;
  font-size: 0.96rem;
  margin: 28px 0;
  box-shadow: 0 2px 12px rgba(234, 88, 12, 0.05);
}

/* Tables in Terms/Privacy */
.info-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}
.info-main table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  background: #ffffff;
}
.info-main th {
  background: #f8fafc;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  padding: 14px 18px;
  border-bottom: 1.5px solid #e2e8f0;
  text-align: left;
}
.info-main td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  line-height: 1.6;
  vertical-align: top;
}
.info-main tr:last-child td {
  border-bottom: none;
}

/* Contact Form */
.info-form {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 6px 28px -4px rgba(15, 23, 42, 0.06);
  margin: 20px 0 16px;
  display: grid;
  gap: 20px;
}
.info-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.info-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}
.info-form input,
.info-form select {
  width: 100%;
  min-height: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}
.info-form input:focus,
.info-form select:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 3.5px rgba(234, 88, 12, 0.15);
  outline: none;
}
.info-form textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
  resize: vertical;
  min-height: 140px;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}
.info-form textarea:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 3.5px rgba(234, 88, 12, 0.15);
  outline: none;
}
.info-form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.info-form-note {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}
.info-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}
.info-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 48px;
  padding: 0 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.info-form .button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}
.info-form .button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.info-form-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}
.info-form-status[data-kind="success"] { color: #059669; }
.info-form-status[data-kind="error"] { color: #dc2626; }

/* FAQ Accordion */
.info-faq details {
  margin: 14px 0;
  padding: 18px 24px;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}
.info-faq details:hover {
  border-color: #cbd5e1;
}
.info-faq details[open] {
  border-color: #fdba74;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.08);
  background: #ffffff;
}
.info-faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}
.info-faq summary::-webkit-details-marker {
  display: none;
}
.info-faq summary::after {
  content: "▾";
  font-size: 1.25rem;
  color: #ea580c;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.info-faq details[open] summary::after {
  transform: rotate(180deg);
}
.info-faq details p {
  margin: 14px 0 0;
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* Shared Modern Dark SaaS Footer */
.site-footer {
  border-top: 1px solid #1e293b;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.88rem;
  padding-top: 52px;
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 44px;
}
.site-footer strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.site-footer p {
  margin: 0 0 6px;
  line-height: 1.6;
  color: #94a3b8;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li {
  margin: 0 0 8px;
}
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer a:hover {
  color: #f97316;
  text-decoration: none;
}
.site-footer-copy {
  max-width: 960px;
  margin: 0 auto;
  padding: 22px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
}

/* Inside the app shell */
.app-footer {
  margin-top: 48px;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.auth-legal {
  margin: 10px auto 0;
  max-width: 480px;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
}
.auth-legal a {
  color: var(--brand, #ea580c);
  font-weight: 600;
  text-decoration: none;
}
.auth-legal a:hover {
  text-decoration: underline;
}

html[data-theme="dark"] .info-page {
  background: radial-gradient(1200px 600px at 50% -120px, rgba(234, 88, 12, 0.14), transparent 70%), #090d16;
  color: #f1f5f9;
}
html[data-theme="dark"] .info-header {
  background: rgba(15, 23, 42, 0.88);
  border-bottom-color: rgba(51, 65, 85, 0.8);
}
html[data-theme="dark"] .info-header .brand,
html[data-theme="dark"] .info-header .brand strong,
html[data-theme="dark"] .info-main h1,
html[data-theme="dark"] .info-main h2,
html[data-theme="dark"] .info-main h3,
html[data-theme="dark"] .info-main li strong,
html[data-theme="dark"] .info-card h3,
html[data-theme="dark"] .info-faq summary {
  color: #f8fafc;
}
html[data-theme="dark"] .info-main h2 {
  border-bottom-color: #1e293b;
}
html[data-theme="dark"] .info-lead,
html[data-theme="dark"] .info-main p,
html[data-theme="dark"] .info-main li,
html[data-theme="dark"] .info-card p,
html[data-theme="dark"] .info-faq details p {
  color: #cbd5e1;
}
html[data-theme="dark"] .info-eyebrow,
html[data-theme="dark"] .section-icon,
html[data-theme="dark"] .info-card-icon {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.35);
  color: #fdba74;
}
html[data-theme="dark"] .info-meta {
  background: #161f33;
  border-color: #283548;
  color: #94a3b8;
}
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .info-form,
html[data-theme="dark"] .info-faq details,
html[data-theme="dark"] .info-faq details[open],
html[data-theme="dark"] .info-main table {
  background: #111827;
  border-color: #1e293b;
}
html[data-theme="dark"] .info-toc,
html[data-theme="dark"] .info-callout {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12) 0%, #111827 100%);
  border-color: rgba(249, 115, 22, 0.35);
  color: #fed7aa;
}
html[data-theme="dark"] .info-toc strong {
  color: #fdba74;
}
html[data-theme="dark"] .info-toc a {
  color: #cbd5e1;
}
html[data-theme="dark"] .info-main th {
  background: #0f172a;
  border-bottom-color: #1e293b;
  color: #94a3b8;
}
html[data-theme="dark"] .info-main td {
  border-bottom-color: #1e293b;
  color: #cbd5e1;
}
html[data-theme="dark"] .info-faq details p {
  border-top-color: #1e293b;
}
html[data-theme="dark"] .info-form label {
  color: #cbd5e1;
}
html[data-theme="dark"] .info-form input,
html[data-theme="dark"] .info-form select,
html[data-theme="dark"] .info-form textarea {
  background: #0b1120;
  border-color: #283548;
  color: #f8fafc;
}
html[data-theme="dark"] .app-footer {
  border-color: rgba(51, 65, 85, 0.85);
}

@media (max-width: 720px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .info-form-grid { grid-template-columns: 1fr; }
  .info-form { padding: 20px; }
  .info-cards { grid-template-columns: 1fr; }
  .info-main { padding-top: 28px; }
}
