/**
 * Bytescribe site – consolidated styles
 * Extracted from root PHP files and util/nav_bottom_nx.php
 */

/* ========== Variables ========== */
:root {
  --primary-color: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #e6f2ff;
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

/* ========== Reset & base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== Page header & breadcrumb ========== */
.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.page-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.page-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

/* ========== Hero (index) ========== */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-section::before {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-video-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: fadeInRight 1s ease-out 0.8s both;
}

.hero-video-container video,
.hero-video-container .hero-landing-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-image-container .hero-landing-img {
  min-height: 280px;
  border-radius: var(--radius-xl);
}

/* ========== Section modern (shared) ========== */
.section-modern {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-title.text-start {
  text-align: left;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 0;
  line-height: 1.7;
}

.bg-light-modern {
  background: var(--bg-light);
}

/* Page intro centering (DocShuttle, WebShuttle, WavPlayer, Speech) */
/*
.ds-page-intro .section-subtitle,
.ws-page-intro .section-subtitle,
.wp-page-intro .section-subtitle,
.speech-page-intro .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
*/
.section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ========== Dark gradient sections (DocShuttle, WebShuttle, WavPlayer) ========== */
.ds-section-dark,
.ws-section-dark,
.wp-section-dark {
  background: linear-gradient(135deg, #0047a0 0%, #003366 100%);
  color: #ffffff;
}

.ds-section-dark .section-label,
.ws-section-dark .section-label,
.wp-section-dark .section-label {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.ds-section-dark .section-title,
.ws-section-dark .section-title,
.wp-section-dark .section-title {
  color: #ffffff;
}

.ds-section-dark .speech-section-body,
.ds-section-dark .speech-section-body ul li,
.ws-section-dark .speech-section-body,
.ws-section-dark .speech-section-body ul li,
.wp-section-dark .speech-section-body,
.wp-section-dark .speech-section-body ul li {
  color: rgba(255, 255, 255, 0.9);
}

.ds-section-dark .speech-section-body ul li strong,
.ws-section-dark .speech-section-body ul li strong,
.wp-section-dark .speech-section-body ul li strong {
  color: #ffffff;
}

.ds-section-dark .speech-section-body ul li i,
.ws-section-dark .speech-section-body ul li i,
.wp-section-dark .speech-section-body ul li i {
  color: rgba(255, 255, 255, 0.95);
}

/* ========== Speech / product section body ========== */
.speech-section-body {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
}

.speech-section-body + .speech-section-body {
  margin-top: 1.25rem;
}

.speech-section-body a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}

.speech-section-body a:hover {
  text-decoration: underline;
}

.speech-section-body ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.speech-section-body ul li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.speech-section-body ul li i {
  color: var(--primary-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.speech-section-body ul li strong {
  color: var(--text-primary);
}

.speech-section-text-only .speech-section-body {
  max-width: 800px;
}

/* ========== Speech section image column ========== */
.speech-section-img {
  max-width: 800px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speech-section-img,
.speech-section-img a {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.speech-section-img img,
.speech-section-img .img-fluid {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .speech-section-img {
    margin-left: 0;
    margin-right: auto;
  }
}

.speech-section-image-left .speech-section-img {
  margin-left: 0;
  margin-right: auto;
}

.speech-section-image-below .row {
  flex-direction: column;
}

.speech-section-image-below .speech-section-img {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  max-width: 900px;
}

/* ========== Speech section CTA & buttons ========== */
.speech-section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.speech-section-cta .btn-modern {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

/* ========== Buttons ========== */
.btn-modern {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-modern.btn-primary-modern {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-modern.btn-primary-modern:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-modern.btn-outline-modern {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-modern.btn-outline-modern:hover {
  background: var(--primary-color);
  color: white;
}

.btn-primary-modern {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-outline-modern {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-modern:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* ========== DocShuttle-specific ========== */
.ds-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 0;
  border-left: 4px solid var(--primary-color);
  background: var(--bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.ds-gallery-item {
  margin: 1.5rem 0 0;
}

.ds-gallery-item img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
}

.ds-logo-img {
  height: 56px;
  margin-bottom: 2rem;
}

.ds-popup,
.speech-popup,
.wp-popup,
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  text-align: center;
  cursor: pointer;
}

.popup {
  background-color: rgba(0, 0, 0, 0.9);
}

.ds-popup img,
.speech-popup img,
.wp-popup img,
.popup img {
  margin: 5vh auto;
  max-width: 90%;
  max-height: 90vh;
  display: block;
  object-fit: contain;
}

.popup img {
  margin: 5% auto;
  max-height: 90%;
  border-radius: var(--radius-md);
}

.ds-resource-cards .card,
.wp-resource-cards .card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  height: 100%;
}

.ds-resource-cards .card h4,
.wp-resource-cards .card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.ds-resource-cards .card ul,
.wp-resource-cards .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ds-resource-cards .card ul li,
.wp-resource-cards .card ul li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.ds-resource-cards .card ul li a,
.wp-resource-cards .card ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ds-resource-cards .card ul li a:hover,
.wp-resource-cards .card ul li a:hover {
  color: var(--primary-color);
}

.ds-resource-cards .card .btn-modern,
.wp-resource-cards .card .btn-modern {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ========== WavPlayer-specific ========== */
.ws-logo-img,
.wp-logo-img {
  height: 56px;
  margin-bottom: 2rem;
}

.wp-alert-info {
  background: var(--primary-light);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0 0;
}

.wp-alert-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wp-alert-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-alert-info ul li {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.wp-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-secondary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 0;
  border-left: 4px solid var(--primary-color);
  background: var(--bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.wp-gallery-item {
  margin: 1.5rem 0 0;
}

.wp-gallery-item img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
}

/* ========== Section accent (optional) ========== */
.section-modern.section-accent {
  position: relative;
}

.section-modern.section-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 0 0 4px 4px;
}

/* ========== Content pages (privacy, terms, etc.) ========== */
.content-section {
  padding: 4rem 0;
  padding-top: 8rem;
}

.content-card {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.content-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--text-primary);
}

.content-card h2:first-of-type {
  margin-top: 0;
}

.content-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.content-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-style: italic;
}

.content-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.content-card strong {
  color: var(--text-primary);
  font-weight: 700;
}

.content-card blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
}

.content-card blockquote p {
  margin-bottom: 0;
}

.content-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.content-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.content-card ul {
  list-style: none;
  padding: 0;
}

.content-card ul li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-card ul li i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.sidebar-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.sidebar-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.75rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card ul li {
  padding: 0.5rem 0;
}

.sidebar-card ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.sidebar-card ul li a:hover {
  color: var(--primary-color);
}

.sidebar-card ul li a i {
  color: var(--primary-color);
}

.gallery-item {
  margin: 2rem 0;
}

.gallery-item img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

.video-container {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 600px;
}

.video-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.logo-img {
  height: 60px;
  margin-bottom: 1.5rem;
}

/* ========== Download section ========== */
.download-section {
  padding: 4rem 0;
  padding-top: 8rem;
}

.download-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.download-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.download-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.download-page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.download-page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.download-page-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.download-page-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.download-page-breadcrumb a:hover {
  text-decoration: underline;
}

.accessories-page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.accessories-page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.accessories-page-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.accessories-page-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.accessories-page-breadcrumb a:hover {
  text-decoration: underline;
}

.download-body {
  padding: 2rem;
}

.download-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.download-logo img {
  height: 60px;
}

.download-body p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control-modern {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control-modern {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.loading,
.error-message,
.sent-message {
  display: none;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.loading {
  color: var(--primary-color);
}

.error-message {
  color: #ff6b6b;
  background: #ffe0e0;
}

.sent-message {
  color: #51cf66;
  background: #e0ffe0;
}

/* ========== Signup form ========== */
.signup-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

.signup-form-card .form-control {
  border-radius: var(--radius-sm);
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.signup-form-card .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.signup-form-card .form-group {
  margin-bottom: 0;
}

input[type="text"]#zip {
  display: none;
}

#wait-win {
  position: fixed;
  top: 95px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  padding: 1rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 9999;
}

/* ========== Blog ========== */
.blog-entry {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.blog-entry img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.blog-entry h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.blog-entry h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-entry h4 a:hover {
  color: var(--primary-color);
}

.blog-entry p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.read-more::after {
  content: '→';
}

/* Blog single post */
.blog-meta {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--primary-light);
}

.blog-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.blog-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--text-primary);
}

.blog-content h2:first-of-type {
  margin-top: 0;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: var(--text-primary);
}

.blog-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.blog-content a:hover {
  text-decoration: underline;
}

/* ========== Index: feature grid, stats, use cases, pricing, testimonials, CTA ========== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon img {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.stats-section {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: lightgray;
}

.stat-item p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .use-case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.use-case-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.use-case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.use-case-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.use-case-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.badge-modern {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 1rem 0;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.25rem;
}

.pricing-features a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}

.pricing-features a:hover {
  text-decoration: underline;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary-light);
  font-weight: 700;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-author-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.cta-section {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
  border-radius: var(--radius-xl);
  margin: 4rem 0;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Footer (from nav_bottom_nx.php) ========== */
.footer-modern {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3), transparent);
}

.footer-container {
  position: relative;
  z-index: 1;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-contact {
  line-height: 1.8;
}

.footer-address {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-contact-info {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-contact-info strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: #0066ff;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-column-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #0066ff, #0052cc);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #0066ff;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-links a:hover::before {
  width: 4px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
  text-align: center;
}

.footer-copyright strong {
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.125rem;
}

.social-link:hover {
  background: #0066ff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========== Utility classes (replace common inline styles) ========== */
.pt-section {
  padding-top: 2rem;
}

.section-title-fs {
  font-size: 2rem;
}

.btn-no-margin {
  margin-right: 0;
}

.speech-section-body-tight {
  font-size: 0.95rem;
  margin-top: 0;
}

.img-pad {
  padding: 2rem;
}

.img-pad-sm {
  padding: 1rem;
}

.signup-btn-max {
  max-width: 320px;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .hero-section .hero-content {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }

  .section-modern {
    padding: 4rem 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-modern {
    width: 100%;
    justify-content: center;
  }

  .speech-section-cta .btn-modern {
    width: 100%;
    justify-content: center;
  }

  .content-section {
    padding: 2rem 0;
    padding-top: 6rem;
  }

  .content-card {
    padding: 2rem;
  }

  .download-section {
    padding: 2rem 0;
    padding-top: 6rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .blog-entry {
    padding: 1.5rem;
  }

  .signup-form-card {
    padding: 2rem 1.5rem;
  }

  .footer-modern {
    padding: 3rem 0 1.5rem;
  }

  .footer-company-name {
    font-size: 1.25rem;
  }

  .footer-column {
    margin-bottom: 2.5rem;
  }

  .footer-column-title {
    font-size: 1rem;
  }

  .footer-social {
    margin-top: 1.5rem;
  }

  .footer-copyright {
    text-align: center;
    margin-bottom: 1rem;
  }

  .video-container iframe {
    height: 250px;
  }
}

@media (min-width: 769px) {
  .footer-copyright {
    text-align: left;
  }

  .footer-social {
    justify-content: flex-end;
    margin-top: 0;
  }
}
