/* 10xSocial — Shared Brand Styles
   Used by all pages outside the (heavily animated) homepage.
   Keep this file lean: the heavy glass/animation stack on the homepage stays inline there. */

:root {
  --tx-bg:         #0A0A0A;
  --tx-bg-soft:    #0F0F10;
  --tx-text:       #ffffff;
  --tx-text-muted: rgba(255,255,255,.65);
  --tx-text-dim:   rgba(255,255,255,.45);
  --tx-primary:    #FF2D78;
  --tx-primary-2:  #FF4D8E;
  --tx-glass-bg:     rgba(255,255,255,.04);
  --tx-glass-border: rgba(255,255,255,.10);
  --tx-radius:     14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  background: var(--tx-bg);
  color: var(--tx-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--tx-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--tx-primary) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .025;
}

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.015em; color: var(--tx-text); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; margin: 0 0 1.5rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; margin: 3rem 0 1.25rem; }
h3 { font-size: 1.4rem; line-height: 1.3; margin: 2rem 0 .75rem; }
h4 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
p, li { color: var(--tx-text-muted); }
p { margin: 0 0 1rem; }

a { color: var(--tx-primary); text-decoration: none; }
a:hover { color: var(--tx-primary-2); text-decoration: underline; }

.tx-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--tx-primary);
}

.tx-container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.tx-container--narrow { max-width: 760px; }

/* Navigation */
.tx-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(10,10,10,.7); border-bottom: 1px solid var(--tx-glass-border); }
.tx-nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.tx-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; text-decoration: none; color: var(--tx-text); letter-spacing: -0.02em; }
.tx-logo:hover { text-decoration: none; }
.tx-nav__links { display: flex; gap: 1.5rem; align-items: center; }
.tx-nav__links a { color: var(--tx-text-muted); font-size: .95rem; text-decoration: none; }
.tx-nav__links a:hover { color: var(--tx-text); }
@media (max-width: 720px) { .tx-nav__links a:not(.tx-btn) { display: none; } }

/* Buttons */
.tx-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  border: 1px solid var(--tx-glass-border);
  background: var(--tx-glass-bg);
  color: var(--tx-text);
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.tx-btn:hover { border-color: var(--tx-primary); background: rgba(255,45,120,.08); text-decoration: none; transform: translateY(-1px); }
.tx-btn--primary {
  background: linear-gradient(135deg, var(--tx-primary), var(--tx-primary-2));
  border: none;
  color: white;
  box-shadow: 0 8px 24px rgba(255,45,120,.25);
}
.tx-btn--primary:hover { background: linear-gradient(135deg, var(--tx-primary-2), var(--tx-primary)); box-shadow: 0 12px 32px rgba(255,45,120,.4); }

/* Hero for sub-pages */
.tx-hero {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--tx-glass-border);
  position: relative;
  overflow: hidden;
}
.tx-hero__eyebrow { display: inline-block; padding: .35rem 1rem; background: var(--tx-glass-bg); border: 1px solid var(--tx-glass-border); border-radius: 999px; font-size: .8rem; color: var(--tx-text-muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.tx-hero__lead { max-width: 640px; margin: 1rem auto 0; font-size: 1.15rem; color: var(--tx-text-muted); }

/* Cards / Glass */
.tx-card {
  background: var(--tx-glass-bg);
  border: 1px solid var(--tx-glass-border);
  border-radius: var(--tx-radius);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s, background .2s;
}
.tx-card:hover { border-color: rgba(255,45,120,.4); transform: translateY(-2px); background: rgba(255,255,255,.05); }
.tx-card a { color: var(--tx-text); text-decoration: none; }
.tx-card__meta { font-size: .8rem; color: var(--tx-text-dim); letter-spacing: .04em; text-transform: uppercase; }
.tx-card__title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin: .5rem 0; color: var(--tx-text); }
.tx-card__excerpt { color: var(--tx-text-muted); font-size: .95rem; margin: 0; }

.tx-grid { display: grid; gap: 1.5rem; }
.tx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Article body */
.tx-article { padding: 3rem 1.5rem 5rem; max-width: 760px; margin: 0 auto; }
.tx-article img { max-width: 100%; height: auto; border-radius: var(--tx-radius); margin: 1.5rem 0; }
.tx-article blockquote {
  border-left: 3px solid var(--tx-primary);
  margin: 1.5rem 0;
  padding: 0 0 0 1.25rem;
  color: var(--tx-text);
  font-style: italic;
  font-size: 1.1rem;
}
.tx-article ul, .tx-article ol { padding-left: 1.5rem; margin: 0 0 1rem; }
.tx-article li + li { margin-top: .35rem; }
.tx-article code { background: rgba(255,45,120,.1); color: var(--tx-primary-2); padding: .15rem .4rem; border-radius: 4px; font-size: .9em; }

/* Tables */
.tx-table {
  width: 100%; border-collapse: collapse;
  margin: 2rem 0;
  font-size: .95rem;
  background: var(--tx-glass-bg);
  border-radius: var(--tx-radius);
  overflow: hidden;
}
.tx-table th, .tx-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--tx-glass-border); }
.tx-table th { background: rgba(255,45,120,.08); color: var(--tx-text); font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }
.tx-table tr:last-child td { border-bottom: none; }
.tx-table tr:hover td { background: rgba(255,255,255,.03); }

/* Breadcrumb */
.tx-breadcrumb { font-size: .85rem; color: var(--tx-text-dim); padding: 1rem 1.5rem; max-width: 1120px; margin: 0 auto; }
.tx-breadcrumb a { color: var(--tx-text-muted); }
.tx-breadcrumb a:hover { color: var(--tx-primary); }
.tx-breadcrumb span[aria-current] { color: var(--tx-text); }

/* FAQ accordion (plain <details>) */
.tx-faq { margin: 2rem 0; }
.tx-faq details {
  border: 1px solid var(--tx-glass-border);
  border-radius: var(--tx-radius);
  padding: 1rem 1.25rem;
  background: var(--tx-glass-bg);
  margin-bottom: .75rem;
}
.tx-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--tx-text);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.tx-faq summary::after { content: '+'; color: var(--tx-primary); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.tx-faq details[open] summary::after { content: '–'; }
.tx-faq details[open] { border-color: rgba(255,45,120,.3); }
.tx-faq summary::-webkit-details-marker { display: none; }

/* CTA-Box */
.tx-cta {
  border: 1px solid rgba(255,45,120,.3);
  background: linear-gradient(135deg, rgba(255,45,120,.08), rgba(255,77,142,.04));
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.tx-cta h2 { margin-top: 0; }

/* Footer */
.tx-footer {
  border-top: 1px solid var(--tx-glass-border);
  padding: 3rem 1.5rem 2rem;
  background: var(--tx-bg-soft);
  color: var(--tx-text-dim);
  font-size: .9rem;
  margin-top: 4rem;
}
.tx-footer__grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.tx-footer h4 { font-size: 1rem; color: var(--tx-text); margin-bottom: 1rem; }
.tx-footer ul { list-style: none; padding: 0; margin: 0; }
.tx-footer li { margin-bottom: .5rem; }
.tx-footer a { color: var(--tx-text-muted); }
.tx-footer__bottom { max-width: 1120px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--tx-glass-border); text-align: center; }
@media (max-width: 720px) { .tx-footer__grid { grid-template-columns: 1fr; } }
