/* ============================================
   Shared Styles for All Pages
   ============================================ */

/* Base Styles */
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: #fff;
  color: #0f172a;
}

.main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
.app-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5000;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 40px;
  transition: padding 0.25s ease, min-height 0.25s ease, box-shadow 0.25s ease;
}

.header-logo-tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.site-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.tagline {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  text-align: left;
  margin: 0;
  margin-top: 4px;
  margin-bottom: 3px;
  margin-left: 10px;
  font-weight: 400;
  max-width: calc(100% - 10px);
}

.beta-badge {
  background: #2F80ED !important;
  color: white !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  margin-left: 8px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
  position: relative;
  z-index: 10000;
}

/* Footer Styles */
.site-footer {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 16px;
  font-size: 12px;
  color: #94A3B8;
  text-align: center;
}

.site-footer a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Content Page Styles */
.content-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.content-page main {
  padding: 2rem 1.5rem;
}

/* Back to Home Navigation */
.back-to-home {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.5rem 0;
}

.back-to-home a {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.back-to-home a:hover {
  color: #2563eb;
}

.back-to-home a::before {
  content: "←";
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* Page Title Area */
.page-title-area {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1.5rem 2rem;
}

.page-pre-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem 0;
  font-family: 'Inter', sans-serif;
}

.page-title-area h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}

.page-subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* Content Sections */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 1rem 0;
  font-family: 'Inter', sans-serif;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.5rem 0 0.75rem 0;
  font-family: 'Inter', sans-serif;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 1rem 0;
}

.content-section ul,
.content-section ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0.5rem 0;
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA Section */
.cta-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/cta-background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
  border-radius: 12px;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.cta-section p {
  font-size: 1rem;
  color: #475569;
  margin: 0 0 1.5rem 0;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  min-height: 44px;
  box-sizing: border-box;
}

.cta-link:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem 2rem;
}

.faq-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Feature Navigation Links */
.feature-nav-links {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem 2rem;
}

.feature-nav-links h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
}

.feature-links-enhanced {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-links-enhanced li {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.feature-links-enhanced li:last-child {
  border-bottom: none;
}

.feature-links-enhanced a {
  display: block;
  text-decoration: none;
  color: #475569;
  pointer-events: auto;
}

.feature-links-enhanced a strong {
  color: #2563eb;
  font-weight: 600;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 2px;
  margin-right: 0.5rem;
  text-decoration: none;
  pointer-events: auto;
}

.feature-links-enhanced a strong::after {
  content: "\00a0→";
  margin-left: 0.25rem;
}

.feature-links-enhanced a:hover strong {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.feature-links-enhanced p {
  margin: 0.5rem 0 0 0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .app-header {
    padding: 12px 16px;
    min-height: 90px;
  }

  .site-logo {
    height: 50px;
  }

  .tagline {
    font-size: 12px;
    margin-left: 0;
    max-width: 100%;
  }

  .content-page main {
    padding: 1.5rem 1rem;
  }

  .back-to-home {
    padding: 1rem 1rem 0;
  }

  .page-title-area {
    padding: 1rem 1rem 1.5rem;
  }

  .page-title-area h1 {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.875rem;
    font-weight: 300;
  }

  .content-section {
    padding: 0 1rem 1.5rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem 0;
  }

  .cta-section {
    padding: 1.5rem 1rem;
    margin: 2rem auto;
  }

  .feature-nav-links {
    padding: 0 1rem 1.5rem;
  }

  .feature-links-enhanced li {
    padding: 0.875rem 0;
  }
}

