/* ==========================================================================
   GoBall Info - Design System & Stylesheet
   ========================================================================== */

:root {
  color-scheme: dark;

  /* GoBall Color Palette */
  --auburn-orange: #DD550C;
  --auburn-orange-light: #F26522;
  --auburn-orange-dark: #C04E0A;
  --auburn-navy: #03244D;
  --auburn-navy-light: #0A3A6B;
  --auburn-navy-dark: #021733;

  /* Neutral Dark Scale */
  --bg-black: #08090B;
  --bg-primary: #0D0F12;
  --bg-secondary: #14171D;
  --bg-card: rgba(23, 27, 34, 0.75);
  --bg-card-hover: rgba(30, 36, 45, 0.85);
  --bg-elevated: #1F242D;
  --bg-input: #12151B;

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(221, 85, 12, 0.4);
  --border-focus: var(--auburn-orange);
  --glass-blur: blur(16px);

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #D1D5DB;
  --text-tertiary: #9CA3AF;
  --text-muted: #6B7280;

  /* Accents & States */
  --accent-primary: var(--auburn-orange);
  --accent-hover: var(--auburn-orange-light);
  --accent-glow: rgba(221, 85, 12, 0.35);
  --badge-bg: rgba(221, 85, 12, 0.15);
  --badge-border: rgba(221, 85, 12, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 4px 24px rgba(221, 85, 12, 0.28);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout */
  --header-height: 72px;
  --container-max-width: 1200px;
  --content-max-width: 880px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
}

body {
  font-family: var(--font-family);
  background: radial-gradient(circle at 50% 0%, rgba(10, 58, 107, 0.18) 0%, rgba(8, 9, 11, 1) 70%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 9, 11, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand / Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.brand-link:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-normal);
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 30%, #F26522 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-subtitle svg {
  width: 11px;
  height: 11px;
  stroke: var(--accent-primary);
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  background: rgba(20, 23, 29, 0.9);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 0.25rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.tab-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  opacity: 0.8;
  transition: transform var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--auburn-orange) 0%, var(--auburn-orange-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

.tab-btn.active svg {
  opacity: 1;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-launch-app {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.btn-launch-app:hover {
  background: var(--auburn-orange);
  border-color: var(--auburn-orange-light);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

.btn-launch-app svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.btn-launch-app:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */

main {
  flex: 1;
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Legal Document Layout (ToS & Privacy)
   ========================================================================== */

.doc-hero {
  text-align: center;
  max-width: var(--content-max-width);
  margin: 0 auto 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--badge-bg);
  color: var(--auburn-orange-light);
  border: 1px solid var(--badge-border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.doc-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.doc-meta {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.doc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.doc-meta-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
}

/* Document Grid with Sidebar */
.doc-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--container-max-width);
}

/* Sidebar TOC */
.doc-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-height: calc(100vh - var(--header-height) - 3rem);
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
}

.doc-sidebar::-webkit-scrollbar {
  width: 5px;
}
.doc-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-link {
  display: block;
  padding: 0.45rem 0.65rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  line-height: 1.35;
  text-decoration: none;
}

.toc-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  text-decoration: none;
}

.toc-link.active {
  background: rgba(221, 85, 12, 0.15);
  color: var(--auburn-orange-light);
  font-weight: 600;
  border-left: 3px solid var(--auburn-orange);
}

/* Document Body Content */
.doc-body {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.doc-preamble {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 1.25rem 1.5rem;
  background: rgba(3, 36, 77, 0.25);
  border-left: 4px solid var(--auburn-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2.5rem;
}

.doc-section {
  scroll-margin-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.doc-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.doc-section h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(221, 85, 12, 0.18);
  color: var(--auburn-orange-light);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.doc-section p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.doc-section ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.doc-section ul li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--auburn-orange);
}

.doc-highlight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin: 1.25rem 0;
}

.doc-highlight-card strong {
  color: #FFFFFF;
}

.doc-contact-box {
  background: linear-gradient(135deg, rgba(3, 36, 77, 0.3) 0%, rgba(20, 23, 29, 0.6) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.doc-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  color: var(--text-secondary);
}

.doc-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--auburn-orange);
}

/* ==========================================================================
   About GoBall Page
   ========================================================================== */

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-hero {
  text-align: center;
  padding: 3rem 1rem 3.5rem;
  position: relative;
}

.about-logo-badge {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(221, 85, 12, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.about-title {
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--auburn-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.about-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--auburn-orange) 0%, var(--auburn-orange-dark) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-orange);
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(221, 85, 12, 0.45);
  color: #FFFFFF;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Feature Grid */
.features-section {
  margin: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-tertiary);
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(221, 85, 12, 0.2) 0%, rgba(3, 36, 77, 0.4) 100%);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--auburn-orange-light);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #FFFFFF;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Coming Soon Banner */
.roadmap-banner {
  background: linear-gradient(135deg, rgba(3, 36, 77, 0.5) 0%, rgba(20, 23, 29, 0.8) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 3.5rem 0 1rem;
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.roadmap-banner h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.roadmap-banner p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: rgba(8, 9, 11, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--auburn-orange-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

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

  .doc-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 1.5rem;
  }

  .toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  .header-container {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .nav-tabs {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  .tab-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
  }

  .doc-title {
    font-size: 2.1rem;
  }

  .about-title {
    font-size: 2.35rem;
  }

  .doc-body {
    padding: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Beta Sign-up & Modal Styles
   ========================================================================== */

.beta-banner {
  background: linear-gradient(135deg, rgba(221, 85, 12, 0.15) 0%, rgba(3, 36, 77, 0.5) 100%);
  border: 1px solid var(--badge-border);
  box-shadow: 0 8px 32px rgba(221, 85, 12, 0.18);
}

.beta-badge {
  background: rgba(221, 85, 12, 0.25);
  color: var(--auburn-orange-light);
  border: 1px solid var(--badge-border);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(221, 85, 12, 0.2);
  width: 100%;
  max-width: 480px;
  padding: 2.25rem;
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 1.4rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  transform: scale(1.08);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.modal-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(221, 85, 12, 0.25) 0%, rgba(3, 36, 77, 0.5) 100%);
  border: 1px solid var(--badge-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.modal-icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: var(--auburn-orange-light);
}

.modal-header h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.modal-header p {
  color: var(--text-tertiary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Beta Form */
.beta-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--auburn-orange);
  box-shadow: 0 0 0 3px rgba(221, 85, 12, 0.25);
  background: #181B22;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-helper {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.form-status-msg {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.form-status-msg.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ADE80;
}

.form-status-msg.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.9rem;
  font-size: 1rem;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
  .site-header, .doc-sidebar, .site-footer, .nav-tabs, .btn-launch-app {
    display: none !important;
  }

  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .doc-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .doc-title, .doc-section h3, .doc-section p, .doc-section ul li {
    color: #000000 !important;
  }

  .section-num {
    background: #EEEEEE !important;
    color: #000000 !important;
  }
}
