/* ============================================
   DeBugExPress - Page-Specific Styles
   ============================================ */

/* ============================================
   HOMEPAGE - HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-base) 50%, var(--primary-dark) 100%);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
}

.hero-subtitle {
  font-size: var(--body-large-size);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .hero-cta {
    justify-content: center;
  }
}

.hero-cta .btn-primary {
  background: var(--primary-base);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.hero-cta .btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.hero-cta .btn-secondary {
  border-color: white;
  color: white;
}

.hero-cta .btn-secondary:hover {
  background: white;
  color: var(--secondary-base);
}

.hero-trust-badges {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-trust-badges {
    justify-content: center;
  }
}

.hero-trust-badges .trust-badge {
  color: rgba(255, 255, 255, 0.8);
}

.hero-trust-badges .trust-badge::before {
  color: var(--success-light);
}

.hero-visual {
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   HOMEPAGE - SOCIAL PROOF SECTION
   ============================================ */
.social-proof {
  background: var(--surface);
  padding: var(--space-4xl) 0;
}

.social-proof-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .social-proof-content {
    grid-template-columns: 1fr;
  }
}

.social-proof-text .section-title {
  margin-bottom: var(--space-lg);
}

.social-proof-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

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

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   HOMEPAGE - HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: var(--space-4xl) 0;
}

.timeline-summary {
  text-align: center;
  margin-top: var(--space-2xl);
}

.summary-box {
  display: inline-block;
  background: var(--primary-base);
  color: white;
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--radius-lg);
  font-size: var(--body-large-size);
}

/* ============================================
   HOMEPAGE - LANGUAGES SECTION
   ============================================ */
.languages {
  background: var(--surface);
  padding: var(--space-4xl) 0;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

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

.coming-soon {
  text-align: center;
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

/* ============================================
   HOMEPAGE - FEATURES SECTION
   ============================================ */
.features {
  padding: var(--space-4xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================
   HOMEPAGE - PRICING PREVIEW
   ============================================ */
.pricing-preview {
  background: var(--surface);
  padding: var(--space-4xl) 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.pricing-footer {
  margin-top: var(--space-2xl);
}

/* ============================================
   HOMEPAGE - FINAL CTA
   ============================================ */
.final-cta {
  background: linear-gradient(135deg, var(--primary-base) 0%, var(--primary-dark) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.cta-title {
  color: white;
  font-size: var(--h2-size);
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--body-large-size);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary-base);
}

.cta-buttons .btn-primary:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.cta-note {
  margin-top: var(--space-xl);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--body-small-size);
}

.cta-note a {
  color: white;
  text-decoration: underline;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-page {
  padding-top: 72px;
}

.pricing-hero {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-base));
  color: white;
  padding: var(--space-3xl) 0;
  text-align: center;
}

.pricing-hero .page-title {
  color: white;
}

.pricing-hero .page-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-table-section {
  padding: var(--space-3xl) 0;
}

.pricing-faq {
  background: var(--surface);
  padding: var(--space-3xl) 0;
}

.pricing-faq .section-title {
  margin-bottom: var(--space-2xl);
}

.pricing-cta {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.pricing-note {
  font-size: var(--body-small-size);
  color: var(--text-secondary);
  margin-top: var(--space-lg);
  font-style: italic;
}

/* ============================================
   BUY PAGE
   ============================================ */
.buy-page {
  padding-top: 72px;
  min-height: 100vh;
  background: var(--surface);
}

.buy-section {
  padding: var(--space-3xl) 0;
}

.buy-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .buy-container {
    grid-template-columns: 1fr;
  }
}

.buy-header {
  margin-bottom: var(--space-2xl);
}

.checkout-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-section {
  margin-bottom: var(--space-2xl);
}

.form-section-title {
  font-size: var(--h4-size);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.form-actions {
  margin-top: var(--space-xl);
}

.security-badges {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.security-badge {
  font-size: var(--body-small-size);
  color: var(--text-secondary);
}

.buy-sidebar {
  position: sticky;
  top: 100px;
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-page {
  padding-top: 72px;
  min-height: 100vh;
  background: var(--surface);
}

.success-section {
  padding: var(--space-3xl) 0;
}

.success-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  color: white;
  font-size: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
}

.success-title {
  margin-bottom: var(--space-md);
}

.success-message {
  font-size: var(--body-large-size);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.next-steps {
  text-align: left;
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.next-steps h2 {
  font-size: var(--h4-size);
  margin-bottom: var(--space-lg);
}

.success-resources {
  margin-top: var(--space-2xl);
}

.success-resources h2 {
  font-size: var(--h4-size);
  margin-bottom: var(--space-lg);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

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

.success-support {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

/* ============================================
   DOWNLOAD PAGE
   ============================================ */
.download-page {
  padding-top: 72px;
  min-height: 100vh;
  background: var(--surface);
}

.download-section {
  padding: var(--space-3xl) 0;
}

.download-container {
  max-width: 700px;
  margin: 0 auto;
}

.download-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.download-content .page-title {
  margin-bottom: var(--space-xl);
}

.license-info {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
}

.download-box {
  border: 2px solid var(--primary-base);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.version-info h2 {
  margin-bottom: var(--space-sm);
}

.version-meta {
  font-size: var(--body-small-size);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.download-meta {
  margin-top: var(--space-md);
}

.changelog {
  margin-top: var(--space-2xl);
}

.changelog h3 {
  margin-bottom: var(--space-md);
}

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

.changelog li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.next-steps-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.next-steps-box h3 {
  margin-bottom: var(--space-md);
}

.next-steps-box ol {
  margin-bottom: var(--space-lg);
}

.license-form {
  max-width: 400px;
  margin: 0 auto;
}

.download-help {
  margin-top: var(--space-2xl);
  text-align: center;
}

.download-help h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  padding-top: 72px;
  min-height: 100vh;
}

.contact-section {
  padding: var(--space-3xl) 0;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-2xl);
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: var(--h5-size);
  margin-bottom: var(--space-sm);
}

.contact-card p {
  font-size: var(--body-small-size);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.contact-footer {
  margin-top: var(--space-2xl);
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-page {
  padding-top: 72px;
  min-height: 100vh;
}

.faq-section {
  padding: var(--space-3xl) 0;
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.faq-category {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.category-title {
  font-size: var(--h4-size);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--primary-base);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
  padding-top: 72px;
  min-height: 100vh;
}

.about-section {
  padding: var(--space-3xl) 0;
}

.about-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

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

.team-section {
  margin-top: var(--space-3xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

.team-member {
  text-align: center;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  object-fit: cover;
}

.team-member h3 {
  font-size: var(--h5-size);
  margin-bottom: var(--space-xs);
}

.team-member p {
  font-size: var(--body-small-size);
  color: var(--text-secondary);
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page {
  padding-top: 72px;
  min-height: 100vh;
}

.blog-section {
  padding: var(--space-3xl) 0;
}

.blog-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: var(--space-lg);
}

.blog-card-meta {
  font-size: var(--caption-size);
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: var(--h5-size);
  margin-bottom: var(--space-sm);
}

.blog-card p {
  font-size: var(--body-small-size);
  color: var(--text-secondary);
}

/* ============================================
   LEGAL PAGES (License, Privacy, Terms)
   ============================================ */
.legal-page {
  padding-top: 72px;
  min-height: 100vh;
}

.legal-section {
  padding: var(--space-3xl) 0;
}

/* Legal pages - BEM content classes */
.legal-header {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-base));
  color: white;
  padding: var(--space-3xl) 0;
  text-align: center;
  /* Offset for fixed nav on legacy pages */
  padding-top: calc(72px + var(--space-3xl));
}

.legal-header__title {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  color: white;
  margin-bottom: var(--space-md);
}

.legal-header__subtitle {
  font-size: var(--body-large-size);
  color: rgba(255, 255, 255, 0.85);
}

.legal-content {
  padding: var(--space-3xl) 0;
}

.container--narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.legal-toc {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.legal-toc ol,
.legal-toc ul {
  padding-left: var(--space-xl);
}

.legal-toc a {
  color: var(--primary-base);
}

.legal-cta {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  margin-top: var(--space-2xl);
}

.legal-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* ============================================
   DOCS PAGES
   ============================================ */
.docs-page {
  padding-top: 72px;
  min-height: 100vh;
}

.docs-section {
  padding: var(--space-2xl) 0;
}

/* Docs pages - BEM content classes */
.docs-header {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-base));
  color: white;
  padding: var(--space-3xl) 0;
  text-align: center;
  /* Offset for fixed nav on legacy pages */
  padding-top: calc(72px + var(--space-3xl));
}

.docs-header__title {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  color: white;
  margin-bottom: var(--space-md);
}

.docs-header__subtitle {
  font-size: var(--body-large-size);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}

.docs-header__search {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.docs-content {
  padding: var(--space-3xl) 0;
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
}

.docs-sidebar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: 90px;
}

.docs-nav h3 {
  font-size: var(--body-small-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.docs-nav h3:first-child {
  margin-top: 0;
}

.docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-sm);
}

.docs-nav li {
  margin: 0;
}

.docs-nav__link {
  display: block;
  color: var(--text-secondary);
  padding: 6px 0;
  font-size: var(--body-small-size);
  transition: color var(--transition-fast);
}

.docs-nav__link:hover,
.docs-nav__link--active {
  color: var(--primary-base);
}

.docs-main {
  min-width: 0;
}

.docs-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.docs-card--featured {
  border-left: 4px solid var(--primary-base);
}

.docs-card__icon {
  color: var(--primary-base);
  margin-bottom: var(--space-md);
}

/* ============================================
   LEGACY NAV (BEM-style - license, docs, legal pages)
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: var(--shadow-sm);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--text-primary);
  font-size: 24px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary-base);
}

@media (max-width: 768px) {
  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: block;
  }
}

/* ============================================
   LEGACY FOOTER (BEM-style - license, docs, legal pages)
   ============================================ */
.footer {
  background: var(--text-primary);
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer__brand img {
  margin-bottom: var(--space-md);
  height: 36px;
  width: auto;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--body-small-size);
  margin-bottom: 0;
}

.footer__links h4 {
  color: white;
  font-size: var(--body-small-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links ul li {
  margin-bottom: var(--space-sm);
}

.footer__links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--body-small-size);
  transition: color var(--transition-fast);
}

.footer__links ul li a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--body-small-size);
  margin-bottom: 0;
}

/* ============================================
   PAGE TITLE STYLES
   ============================================ */
.page-title {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  margin-bottom: var(--space-md);
}

.page-subtitle {
  font-size: var(--body-large-size);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .page-title {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
  }
}