/* ==========================================================================
   SOCIAL HASHTAG DIGITAL — Universal Subpage Layout & Design Tokens
   Obsidian Dark Aesthetic (#050609) | Neon Violet (#8b5cf6) | Cyan (#06b6d4)
   ========================================================================== */

:root {
  --bg-main: #050609;
  --bg-card: rgba(14, 17, 24, 0.75);
  --bg-card-hover: rgba(22, 28, 40, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.28);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-whatsapp: #25d366;
  --grad-primary: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #06b6d4 100%);
  --grad-surface: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

body {
  margin: 0;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Ambient Glow */
.page-bg-glow {
  position: fixed;
  top: -10vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(5, 6, 9, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.page-bg-glow-left {
  position: fixed;
  bottom: 10vw;
  left: -15vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(5, 6, 9, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.subpage-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Universal Header */
.sh-subpage-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 16px;
}

.sh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.sh-brand img {
  height: 40px;
  width: auto;
}

.sh-brand-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sh-brand-text span {
  color: var(--accent-cyan);
}

.sh-nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sh-nav-menu a:hover,
.sh-nav-menu a.active {
  color: var(--text-main);
}

.sh-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.sh-btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.sh-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.sh-btn-outline {
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.sh-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
}

.sh-btn-whatsapp {
  background: var(--accent-whatsapp);
  color: #ffffff;
}

.sh-btn-whatsapp:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Breadcrumb Navigation */
.sh-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.sh-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.sh-breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.sh-breadcrumbs span.sep {
  opacity: 0.5;
}

.sh-breadcrumbs span.curr {
  color: var(--accent-purple-light);
  font-weight: 600;
}

/* Subpage Hero */
.sh-hero {
  padding: 48px 0 36px;
  text-align: center;
}

.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan-light);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.sh-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.sh-hero p {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Content Layouts & Sections */
.sh-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
}

.sh-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.sh-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 12px;
}

.sh-section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.sh-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

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

.sh-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.sh-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.sh-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.1);
}

.sh-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.sh-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #ffffff;
}

.sh-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 16px;
  line-height: 1.6;
}

.sh-card ul {
  padding-left: 18px;
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.sh-card ul li {
  margin-bottom: 8px;
}

/* Legal & Policy Prose Container */
.sh-prose-card {
  background: rgba(14, 17, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 860px;
  margin: 0 auto 60px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sh-prose-card h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  margin: 36px 0 14px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.sh-prose-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--accent-purple-light);
}

.sh-prose-card p,
.sh-prose-card li {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.75;
}

.sh-prose-card a {
  color: var(--accent-cyan-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sh-prose-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.sh-prose-card th,
.sh-prose-card td {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.sh-prose-card th {
  background: rgba(139, 92, 246, 0.12);
  color: #ffffff;
  font-weight: 700;
}

.sh-prose-card td {
  background: rgba(255, 255, 255, 0.02);
  color: #cbd5e1;
}

/* Forms & Interactive Components */
.sh-form-group {
  margin-bottom: 20px;
}

.sh-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.sh-input,
.sh-select,
.sh-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(5, 6, 9, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sh-input:focus,
.sh-select:focus,
.sh-textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
  background: rgba(10, 13, 20, 0.95);
}

/* FAQ Accordion */
.sh-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}

.sh-faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  outline: none;
}

.sh-faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Universal Redesigned Footer (Phase 6 Specs) */
.sh-footer {
  margin-top: 80px;
  background: #020305;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.sh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

.sh-footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
}

.sh-footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  font-size: 0.88rem;
}

.sh-footer-slogan {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan-light);
  letter-spacing: 0.08em;
}

.sh-footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.sh-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sh-footer-links li {
  margin-bottom: 10px;
}

.sh-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.88rem;
}

.sh-footer-links a:hover {
  color: var(--accent-cyan-light);
}

.sh-footer-contact-item {
  margin-bottom: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.sh-footer-contact-item strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.sh-footer-contact-item a {
  color: var(--accent-cyan-light);
  text-decoration: none;
}

.sh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
}

.sh-cookie-trigger-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent-cyan-light);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sh-cookie-trigger-btn:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
}

@media (max-width: 992px) {
  .sh-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sh-nav-menu {
    display: none;
  }
}

@media (max-width: 600px) {
  .sh-footer-grid {
    grid-template-columns: 1fr;
  }
  .sh-prose-card {
    padding: 24px 18px;
  }
  .sh-hero h1 {
    font-size: 2rem;
  }
}

