﻿/* ============ ABOUT US PAGE STYLES ============ */
.about-page {
  padding-top: 80px; /* Navbar space */
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

html.dark .about-page {
  background: #000000;
}

/* Page Hero */
.page-hero {
  padding: clamp(60px, 8vw, 100px) 24px;
  text-align: center;
  border-bottom: 1.2px solid var(--input-border);
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.04) 0%, transparent 80%);
  position: relative;
}

.page-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.page-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Narrative Story */
.about-narrative-section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.about-narrative-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: center;
}

.about-story-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-story-text p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-color);
  margin-bottom: 20px;
  opacity: 0.95;
}

.about-story-text .lead-para {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.6;
}

/* Staggered Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-stat-box {
  padding: 32px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1.2px solid var(--input-border);
  box-shadow: 0 8px 30px var(--shadow-color);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: transform 0.3s ease, border-color 0.3s;
}

html.dark .about-stat-box {
  background: rgba(11, 17, 32, 0.45);
}

.about-stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
}

.about-stat-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 850;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.about-stat-box h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color);
  margin-bottom: 8px;
}

.about-stat-box p {
  font-size: 13.5px;
  color: var(--text-color);
  line-height: 1.45;
  margin: 0;
  opacity: 0.85;
}

/* Guarantee Section */
.guarantee-section {
  padding: 60px 0;
  background: rgba(250, 204, 21, 0.015);
  border-top: 1.2px solid var(--input-border);
  border-bottom: 1.2px solid var(--input-border);
  transition: border-color 0.4s ease;
}

html.dark .guarantee-section {
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.guarantee-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Guarantee Card */
.glass-guarantee-card {
  display: flex;
  gap: 32px;
  align-items: start;
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 32px;
  padding: 44px;
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  box-shadow: 0 12px 40px var(--shadow-color);
  transition: background 0.4s ease, border-color 0.4s ease;
}

html.dark .glass-guarantee-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.48) !important;
}

.guarantee-badge-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.1);
  border: 1.5px solid rgba(250, 204, 21, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-content {
  flex: 1;
}

.guarantee-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 4px;
}

.guarantee-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 24px;
}

.guarantee-policy-box p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 16px;
  opacity: 0.95;
}

.about-policy-callout {
  display: flex;
  gap: 14px;
  background: rgba(250, 204, 21, 0.04);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--input-border);
  border-left-width: 4px;
}

html.dark .about-policy-callout {
  background: rgba(250, 204, 21, 0.02);
}

.about-policy-callout .info-icon {
  font-size: 18px;
  margin-top: 2px;
}

.about-policy-callout p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  opacity: 0.95;
}

/* Core Values / Methodology */
.methodology-section {
  padding: 80px 0;
}

.methodology-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.methodology-section .section-head {
  text-align: center;
  margin-bottom: 48px;
}

.methodology-section .section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  color: var(--text-color);
  margin-bottom: 12px;
}

.methodology-section .section-head h2 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.methodology-section .section-head p {
  font-size: 16.5px;
  color: var(--muted-text);
}

.method-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.method-card {
  padding: 36px 28px;
  border-radius: 24px;
  border: 1.2px solid var(--input-border);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  transition: transform 0.3s, border-color 0.3s;
}

html.dark .method-card {
  background: rgba(11, 17, 32, 0.22);
}

.method-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.method-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 850;
  color: var(--primary);
  opacity: 0.8;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.method-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 12px;
}

.method-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  opacity: 0.85;
}

/* Animations */
.animate-fade-in {
  animation: pageFadeIn 0.5s ease-out forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .about-narrative-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story-text {
    text-align: center;
  }

  .method-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .glass-guarantee-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 24px;
  }

  .about-policy-callout {
    text-align: left;
  }
}

@media (max-width: 500px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}
/* ============ BLOG JOURNAL PAGE STYLES ============ */
.blog-page {
  padding-top: 80px;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

html.dark .blog-page {
  background: #000000;
}

/* Compact Page Hero (Redesigned to be less spacy and clean) */
.blog-hero {
  padding: clamp(35px, 4.5vw, 55px) 24px;
  text-align: center;
  border-bottom: 1.2px solid var(--input-border);
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.03) 0%, transparent 80%);
}

.blog-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.blog-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.blog-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-color);
  margin-bottom: 10px;
  letter-spacing: -0.8px;
}

.blog-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-hero p {
  font-size: clamp(14.5px, 1.8vw, 16.5px);
  line-height: 1.5;
  color: var(--text-color);
  font-weight: 500;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Blog Content Section */
.blog-content-section {
  padding: clamp(30px, 4vw, 50px) 0;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Category Filter Bar (Scrollable Wrapper) */
.category-scroll-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 32px;
  padding-bottom: 8px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.category-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.category-scroll-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.category-filter-bar {
  display: inline-flex;
  gap: 10px;
  min-width: 100%;
  justify-content: center;
}

.filter-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.2px solid var(--input-border);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--input-bg);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0b1120;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.25);
}

/* Evenly Distributed Grid of Compact Cards (No excessive spacing) */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Glassmorphism Grid Card */
.blog-grid-card {
  display: flex;
  flex-direction: column;
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.45) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 25px var(--shadow-color);
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  overflow: hidden;
  height: 100%;
}

html.dark .blog-grid-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.35) !important;
}

.blog-grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.06);
}

/* Card Featured Thumbnail Backgrounds */
.blog-card-thumbnail {
  position: relative;
  overflow: hidden;
  height: 170px;
  flex-shrink: 0;
  width: 100%;
}

.blog-card-thumbnail.abacus-brain-hemispheres-thumb {
  background: radial-gradient(circle at 30% 20%, rgba(250, 204, 21, 0.15) 0%, transparent 60%), #080d19;
}

.blog-card-thumbnail.vedic-maths-speed-exams-thumb {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, transparent 70%), #060b13;
}

.blog-card-thumbnail.sensory-activation-focus-thumb {
  background: radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 60%), #0c0f1d;
}

html.dark .blog-card-thumbnail {
  background-color: #000;
}

.thumb-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
}

.thumb-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--primary);
  color: #0b1120;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Compact Card Details */
.blog-card-details {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 11.5px;
  color: var(--text-color);
  opacity: 0.8;
}

.category-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.2);
  color: var(--primary);
  text-transform: uppercase;
}

.blog-card-details h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card-details p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-color);
  margin-bottom: 18px;
  opacity: 0.85;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--input-border);
  padding-top: 14px;
  margin-top: auto;
}

.read-more-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--primary);
}

.post-date {
  font-size: 11.5px;
  color: var(--text-color);
  opacity: 0.75;
}

/* ============ EDITORIAL SINGLE POST VIEW ============ */
.single-blog-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Breadcrumbs Styling */
.blog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-color);
  opacity: 0.85;
  margin-bottom: 16px;
}

.blog-breadcrumbs a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-breadcrumbs a:hover {
  color: var(--primary);
}

.bc-separator {
  opacity: 0.5;
}

.bc-clickable {
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s;
}

.bc-clickable:hover {
  color: var(--primary);
}

.bc-active {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.blog-back-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 750;
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.2px solid var(--input-border);
  transition: all 0.25s ease;
  margin-bottom: 12px;
}

.blog-back-btn:hover {
  background: var(--input-bg);
  border-color: var(--primary);
  transform: translateX(-2px);
}

.single-blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Editorial Main Area */
.editorial-main-content {
  padding-right: 16px;
}

/* Proper Featured Header Image */
.article-featured-header-img {
  width: 100%;
  height: clamp(240px, 30vw, 420px);
  border-radius: 32px;
  border: 1.2px solid var(--input-border);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.article-featured-header-img.abacus-brain-hemispheres-header {
  background: radial-gradient(circle at 30% 20%, rgba(250, 204, 21, 0.15) 0%, transparent 60%), #080d19;
}

.article-featured-header-img.vedic-maths-speed-exams-header {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, transparent 70%), #060b13;
}

.article-featured-header-img.sensory-activation-focus-header {
  background: radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 60%), #0c0f1d;
}

html.dark .article-featured-header-img {
  background-color: #000;
}

.featured-overlay {
  position: absolute;
  top: 24px;
  right: 24px;
}

.featured-badge-estd {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 850;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--primary);
  color: #0b1120;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.post-header-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.category-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 750;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.2);
  color: var(--primary);
  text-transform: uppercase;
}

.read-time {
  font-size: 13.5px;
  color: var(--text-color);
  opacity: 0.8;
}

.editorial-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4.5vw, 48px);
  line-height: 1.15;
  color: var(--text-color);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.editorial-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1.2px solid var(--input-border);
  padding-bottom: 24px;
}

.author-badge {
  display: flex;
  gap: 12px;
  align-items: center;
}

.author-avatar {
  font-size: 24px;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-details span {
  font-size: 14.5px;
}

.author-details .estd-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 750;
  color: var(--primary);
  text-transform: uppercase;
}

.pub-date {
  font-size: 13.5px;
  color: var(--text-color);
  opacity: 0.75;
}

/* Editorial Body */
.editorial-body p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-color);
  margin-bottom: 28px;
  opacity: 0.95;
}

.editorial-body .article-intro {
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.65;
}

.editorial-body h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 750;
  color: var(--text-color);
  margin: 44px 0 16px;
  letter-spacing: -0.2px;
}

/* Callout Box inside Editorial */
.article-callout-box {
  background: rgba(11, 17, 32, 0.02);
  border: 1px solid var(--input-border);
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  padding: 28px;
  margin: 36px 0;
}

html.dark .article-callout-box {
  background: rgba(255, 255, 255, 0.02);
}

.article-callout-box h5 {
  margin-top: 0;
  margin-bottom: 14px;
}

.article-callout-box ul {
  padding-left: 20px;
  margin: 0;
}

.article-callout-box li {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 10px;
  opacity: 0.95;
}

.article-callout-box li:last-child {
  margin-bottom: 0;
}

/* Article Visual Illustration Placeholders */
.article-visual-container {
  margin: 36px 0;
}

.article-visual-placeholder {
  width: 100%;
  height: 280px;
  border-radius: 24px;
  border: 1.2px solid var(--input-border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-visual-placeholder.abacus-waves {
  background: radial-gradient(circle at 30% 20%, rgba(250, 204, 21, 0.12) 0%, transparent 60%), #080d19;
}

.article-visual-placeholder.math-grid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, transparent 70%), #060b13;
}

.article-visual-placeholder.sensory-brain {
  background: radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 60%), #0c0f1d;
}

html.dark .article-visual-placeholder {
  background-color: #000;
}

.visual-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--primary);
  color: #0b1120;
  letter-spacing: 0.5px;
}

.visual-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 750;
  color: #FFFFFF;
}

.visual-caption {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 8px;
  display: block;
  text-align: center;
  font-style: italic;
}

/* Trust CTA Card at bottom of Article */
.editorial-trust-cta-card {
  margin-top: 56px;
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 10px 30px var(--shadow-color);
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

html.dark .editorial-trust-cta-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.38) !important;
}

.trust-cta-info h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 8px;
}

.trust-cta-info p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  opacity: 0.95;
}

.trust-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px dashed var(--input-border);
  padding-top: 20px;
}

.whatsapp-support-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  background: #10B981;
  color: #FFFFFF !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.28);
}

.whatsapp-support-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38);
}

.helpline-number {
  font-size: 13.5px;
  color: var(--text-color);
}

/* Sidebar Navigation */
.blog-sidebar {
  background: rgba(255, 255, 255, 0.45);
  border: 1.2px solid var(--input-border);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 30px var(--shadow-color);
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

html.dark .blog-sidebar {
  background: rgba(11, 17, 32, 0.45);
}

.blog-sidebar h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar Trust Credentials Widget */
.sidebar-trust-widget {
  border-bottom: 1.2px solid var(--input-border);
  padding-bottom: 16px;
}

.trust-badges-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-badge-node {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.t-badge-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.t-badge-text h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 2px;
}

.t-badge-text p {
  font-size: 12px;
  color: var(--text-color);
  line-height: 1.35;
  margin: 0;
  opacity: 0.85;
}

/* Sidebar 24/7 Helpline Card */
.sidebar-support-card {
  background: rgba(250, 204, 21, 0.04);
  border: 1px solid var(--input-border);
  border-radius: 20px;
  padding: 24px;
}

.sidebar-support-card h5 {
  margin-bottom: 10px !important;
}

.sidebar-support-card p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-color);
  margin-bottom: 14px;
  opacity: 0.95;
}

.support-email-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 750;
  color: var(--primary);
}

/* Sidebar Related Links Widget */
.sidebar-related-widget {
  margin-bottom: 0;
}

.sidebar-related-widget h5 {
  margin-bottom: 16px !important;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-link-node {
  cursor: pointer;
  border-bottom: 1px dashed var(--input-border);
  padding-bottom: 16px;
  transition: transform 0.25s ease;
}

.sidebar-link-node:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-link-node:hover {
  transform: translateX(3px);
}

.sidebar-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.sidebar-link-node h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color 0.25s;
}

.sidebar-link-node:hover h5 {
  color: var(--primary);
}

.sidebar-meta {
  font-size: 11px;
  color: var(--text-color);
  opacity: 0.75;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .category-filter-bar {
    justify-content: flex-start;
    padding: 0 16px;
  }
  
  .single-blog-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .editorial-main-content {
    padding-right: 0;
  }
  
  .blog-sidebar {
    position: relative;
    top: 0;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .editorial-author-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .trust-cta-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .whatsapp-support-btn {
    width: 100%;
    justify-content: center;
  }
}
/* ============ CALCULATOR PAGE STYLES ============ */
.calculator-page {
  padding-top: 80px;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

html.dark .calculator-page {
  background: #000000;
}

/* Page Hero */
.calc-hero {
  padding: clamp(60px, 8vw, 100px) 24px;
  text-align: center;
  border-bottom: 1.2px solid var(--input-border);
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.04) 0%, transparent 80%);
}

.calc-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.calc-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.calc-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.calc-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.calc-hero p {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Workspace Layout */
.calc-workspace-section {
  padding: 60px 0;
}

.calc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tab buttons */
.simulator-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sim-tab-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1.2px solid var(--input-border);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s;
}

.sim-tab-btn:hover {
  background: var(--input-bg);
  border-color: var(--primary);
}

.sim-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0b1120;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.28);
}

/* Glassmorphism Workspace Container — scoped to the standalone /calculator/
   page only. This used to be a bare global selector, which meant it also
   applied to the homepage's math simulator (id="mathSimulator"), forcing a
   fixed 360px sidebar and a nested glass-card-inside-a-glass-card look onto
   a section that was designed for a fluid two-column layout. */
.calculator-page .simulator-workspace-container {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 32px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 12px 40px var(--shadow-color);
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
}

html.dark .calculator-page .simulator-workspace-container {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.38) !important;
}

.calculator-page .sim-workspace {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}

/* Control Panel */
.sim-control-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.control-head h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 750;
  color: var(--text-color);
}

.autoplay-toggle-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 750;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.2px solid var(--input-border);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.autoplay-toggle-btn.active {
  border-color: var(--primary);
  color: var(--primary);
}

.pulse-dot {
  color: #10B981;
  animation: pulseBeat 1.5s infinite;
}

@keyframes pulseBeat {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.sim-inputs-wrapper {
  background: rgba(11, 17, 32, 0.03);
  border: 1px solid var(--input-border);
  border-radius: 20px;
  padding: 20px;
}

html.dark .sim-inputs-wrapper {
  background: rgba(255, 255, 255, 0.02);
}

/* Number selector grid */
.number-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.num-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 750;
  padding: 10px 0;
  border-radius: 10px;
  border: 1px solid var(--input-border);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s;
}

.num-btn:hover {
  border-color: var(--primary);
  background: rgba(250, 204, 21, 0.05);
}

.num-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #0b1120;
}

/* Range slider styling */
.range-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sutra-range-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.range-indicator {
  font-size: 14.5px;
  text-align: center;
}

.formula-box {
  background: rgba(250, 204, 21, 0.04);
  border: 1.2px solid var(--input-border);
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  padding: 20px;
}

.formula-box span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.formula-box h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16.5px;
  font-weight: 750;
  color: var(--text-color);
  margin: 6px 0 2px;
}

.formula-box p {
  font-size: 12px;
  font-style: italic;
  margin: 0;
}

/* Visual Playground and Display */
.sim-visual-display {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Stepper indicators */
.sim-stepper-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 17, 32, 0.03);
  border: 1px solid var(--input-border);
  border-radius: 16px;
  padding: 12px 20px;
}

html.dark .sim-stepper-control {
  background: rgba(255, 255, 255, 0.02);
}

.step-nav-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 750;
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.step-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.step-indicators {
  display: flex;
  gap: 8px;
}

.step-dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--input-border);
  cursor: pointer;
  padding: 0;
}

.step-dot-indicator.active {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

/* Equations Playground */
.visual-playground {
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080d19;
  border: 1.2px solid var(--input-border);
  border-radius: 24px;
  position: relative;
  padding: 24px;
}

html.dark .visual-playground {
  background: #000;
}

.playground-equation-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.formula-header-overlay {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.math-block-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.math-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(75px, 13vw, 110px);
  height: clamp(75px, 13vw, 110px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all 0.30s cubic-bezier(0.25, 1, 0.5, 1);
}

.math-block.empty {
  border-style: dashed;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
}

.math-block.highlight-left {
  background: rgba(250, 204, 21, 0.15);
  border-color: var(--primary);
}

.math-block.highlight-right {
  background: rgba(6, 182, 212, 0.15);
  border-color: #06B6D4;
}

.math-block.consecutive-block {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
}

.math-block.left-result-block {
  background: rgba(250, 204, 21, 0.25);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.math-block.right-result-block {
  background: rgba(6, 182, 212, 0.25);
  border-color: #06B6D4;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.math-block.final-result-block {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.3) 0%, rgba(16, 185, 129, 0.3) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.4);
  width: clamp(95px, 15vw, 130px);
  height: clamp(95px, 15vw, 130px);
}

.b-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 850;
  color: #FFFFFF;
}

.b-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.math-sign {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #FFFFFF;
}

.instruction-box-display {
  background: rgba(11, 17, 32, 0.03);
  border: 1.2px solid var(--input-border);
  border-radius: 16px;
  padding: 18px 24px;
  min-height: 72px;
}

html.dark .instruction-box-display {
  background: rgba(255, 255, 255, 0.02);
}

.instruction-box-display p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

/* Detailed Math Step Breakdown card */
.detailed-breakdown-card {
  background: rgba(250, 204, 21, 0.03);
  border: 1.2px solid var(--input-border);
  border-left: 4px solid var(--primary);
  border-radius: 20px;
  padding: 24px;
  margin-top: 8px;
}

.detailed-breakdown-card h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.breakdown-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.breakdown-node h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 750;
  color: var(--text-color);
  opacity: 0.8;
}

.breakdown-node p {
  font-size: 13.5px;
  line-height: 1.4;
  margin: 0;
  color: var(--text-color);
}

/* Animations */
.animate-scale-up {
  animation: scaleUp 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-pulse-scale {
  animation: pulseScale 1.8s infinite;
}

.animate-slide-left {
  animation: slideLeft 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-slide-right {
  animation: slideRight 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pulseScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideLeft {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Guide Section */
.calc-guide-section {
  padding: clamp(50px, 8vw, 100px) 0;
  border-top: 1.2px solid var(--input-border);
  background: rgba(250, 204, 21, 0.015);
}

.calc-guide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.guide-intro {
  text-align: center;
  margin-bottom: 56px;
}

.guide-intro h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--text-color);
  margin-bottom: 12px;
}

.guide-intro h2 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.guide-lead {
  font-size: 16.5px;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.guide-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.guide-feature-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1.2px solid var(--input-border);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

html.dark .guide-feature-card {
  background: rgba(11, 17, 32, 0.45);
}

.gf-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.guide-feature-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 12px;
}

.guide-feature-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  opacity: 0.9;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .calculator-page .sim-workspace {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .guide-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .breakdown-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* ============ CONTACT PAGE STYLES ============ */
.contact-page {
  padding-top: 80px;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

html.dark .contact-page {
  background: #000000;
}

/* Page Hero */
.contact-hero {
  padding: clamp(60px, 8vw, 100px) 24px;
  text-align: center;
  border-bottom: 1.2px solid var(--input-border);
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.04) 0%, transparent 80%);
}

.contact-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.contact-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.contact-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero p {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Content Container */
.contact-content-section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.contact-content-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

/* Glassmorphism Form Panel */
.contact-form-panel {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 10px 30px var(--shadow-color);
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  transition: background 0.4s ease, border-color 0.4s ease;
}

html.dark .contact-form-panel {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.38) !important;
}

.contact-form h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 32px;
  opacity: 0.85;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--input-bg);
  border: 1.2px solid var(--input-border);
  color: var(--text-color);
  outline: none;
  transition: all 0.3s;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: var(--placeholder-color);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.15);
}

html.dark .form-group input:focus, 
html.dark .form-group select:focus, 
html.dark .form-group textarea:focus {
  background: #000;
}

.contact-submit-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #0b1120;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-submit-btn:hover {
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.3);
  transform: translateY(-1px);
}

/* Success State */
.contact-success-state {
  text-align: center;
  padding: 30px 10px;
}

.success-icon-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 1.5px solid rgba(16, 185, 129, 0.2);
}

.contact-success-state h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 12px;
}

.contact-success-state p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 28px;
  opacity: 0.95;
}

.submit-reset-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.2px solid var(--input-border);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.25s;
}

.submit-reset-btn:hover {
  background: var(--input-bg);
  border-color: var(--text-color);
}

/* Info Panel (Right Column) */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Glassmorphism Info Node */
.info-glass-node {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  transition: border-color 0.3s;
}

html.dark .info-glass-node {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.22) !important;
}

.info-glass-node:hover {
  border-color: var(--primary);
}

.info-glass-node h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 16px;
}

.info-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-lines p {
  font-size: 14.5px;
  color: var(--text-color);
  margin: 0;
  display: flex;
  gap: 8px;
  opacity: 0.95;
}

.info-lines a {
  color: var(--text-color);
  transition: color 0.25s;
}

.info-lines a:hover {
  color: var(--primary);
}

/* Glassmorphism Guarantee Badge */
.info-glass-guarantee-badge {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(250, 204, 21, 0.04) !important;
  border: 1.2px solid var(--input-border);
  border-left: 4px solid var(--primary);
  border-left-width: 4px;
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
}

html.dark .info-glass-guarantee-badge {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(250, 204, 21, 0.02) !important;
}

.info-glass-guarantee-badge h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 8px;
}

.info-glass-guarantee-badge p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
  opacity: 0.95;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .contact-content-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 500px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: auto;
  }
  
  .contact-form-panel {
    padding: 24px 16px;
  }
}
/* ============ COURSES PAGE STYLES ============ */
.courses-page {
  padding-top: 80px;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

html.dark .courses-page {
  background: #000000;
}

/* Page Hero */
.courses-hero {
  padding: clamp(60px, 8vw, 100px) 24px;
  text-align: center;
  border-bottom: 1.2px solid var(--input-border);
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.04) 0%, transparent 80%);
}

.courses-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.courses-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.courses-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.courses-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.courses-hero p {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Course Listing Grid */
.courses-list-section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.courses-list-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

.course-detail-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.course-detail-row.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.course-detail-row.reverse .course-main-info {
  grid-column: 2;
}

.course-detail-row.reverse .case-study-glass-card {
  grid-column: 1;
  grid-row: 1;
}

/* Metadata pills */
.course-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.age-pill, .levels-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 750;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.age-pill {
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.2);
  color: var(--primary);
}

.levels-pill {
  background: rgba(11, 17, 32, 0.04);
  border: 1px solid var(--input-border);
  color: var(--text-color);
}

html.dark .levels-pill {
  background: rgba(255, 255, 255, 0.04);
}

.course-main-info h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--text-color);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.course-description {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-color);
  margin-bottom: 24px;
  opacity: 0.95;
}

.syllabus-highlights {
  margin-bottom: 28px;
}

.syllabus-highlights h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.syllabus-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.syllabus-highlights li {
  font-size: 14.5px;
  color: var(--text-color);
  opacity: 0.95;
}

.enroll-btn-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1.2px solid var(--primary);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-flex;
}

.enroll-btn-pill:hover {
  background: var(--primary);
  color: #0b1120;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.28);
  transform: translateY(-1.5px);
}

/* Glassmorphism Case Study Card */
.case-study-glass-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 10px 30px var(--shadow-color);
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  border-left: 5px solid var(--accent);
  transition: transform 0.3s ease;
}

html.dark .case-study-glass-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.38) !important;
}

.case-study-glass-card:hover {
  transform: translateY(-4px);
}

.cs-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.case-study-glass-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 14px;
}

.cs-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 18px;
  font-style: italic;
  opacity: 0.95;
}

.cs-footer {
  border-top: 1px dashed var(--input-border);
  padding-top: 14px;
}

.cs-student {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-color);
}

.row-divider {
  border: none;
  border-top: 1.2px solid var(--input-border);
  margin: 40px 0;
  opacity: 0.6;
}

/* Glassmorphism Performance Guarantee Card */
.courses-guarantee {
  padding: 60px 0 100px;
}

.courses-guarantee-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.c-glass-guarantee-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 8px 30px var(--shadow-color);
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
}

html.dark .c-glass-guarantee-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.38) !important;
}

.c-guarantee-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 12px;
}

.c-guarantee-info p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  opacity: 0.95;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .course-detail-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .course-detail-row.reverse {
    grid-template-columns: 1fr;
  }

  .course-detail-row.reverse .course-main-info {
    grid-column: auto;
  }

  .course-detail-row.reverse .case-study-glass-card {
    grid-column: auto;
    grid-row: auto;
  }
}
/* ============ PRIVACY POLICY PAGE STYLES ============ */
.privacy-page {
  padding-top: 80px;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

html.dark .privacy-page {
  background: #000000;
}

/* Page Hero Header */
.privacy-hero {
  padding: clamp(60px, 8vw, 100px) 24px;
  text-align: center;
  border-bottom: 1.2px solid var(--input-border);
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.04) 0%, transparent 80%);
}

.privacy-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.privacy-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.privacy-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.privacy-hero p {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Grid Layout */
.privacy-content-section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.privacy-content-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(30px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

/* Sticky Index Table of Contents */
.privacy-toc {
  position: sticky;
  top: 120px;
  background: rgba(255, 255, 255, 0.45);
  border: 1.2px solid var(--input-border);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 30px var(--shadow-color);
}

html.dark .privacy-toc {
  background: rgba(11, 17, 32, 0.45);
}

.privacy-toc h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-toc a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.25s ease;
  line-height: 1.35;
  display: block;
  opacity: 0.8;
}

.privacy-toc a:hover {
  color: var(--primary);
  opacity: 1;
  transform: translateX(3px);
}

/* Articles */
.privacy-articles {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.privacy-articles article {
  border-bottom: 1.2px solid var(--input-border);
  padding-bottom: 40px;
}

.privacy-articles article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.privacy-articles h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.privacy-articles p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-color);
  margin-bottom: 18px;
  opacity: 0.95;
}

.privacy-articles ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.privacy-articles li {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.95;
}

.privacy-articles strong {
  font-weight: 700;
}

/* Glassmorphism Shield Card (US Trust Focus) */
.glass-shield-card {
  display: flex;
  gap: 24px;
  align-items: start;
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  box-shadow: 0 12px 35px var(--shadow-color);
  border-left: 5px solid var(--primary);
  margin-top: 20px;
}

html.dark .glass-shield-card {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.48) !important;
}

.shield-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.shield-text h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 10px;
}

.shield-text p {
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.shield-text p:last-child {
  margin-bottom: 0;
}

/* Animations */
.animate-fade-in {
  animation: pageFade 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Rules */
@media (max-width: 992px) {
  .privacy-content-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .privacy-toc {
    position: relative;
    top: 0;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .glass-shield-card {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
}
/* ============ TERMS & CONDITIONS PAGE STYLES ============ */
.terms-page {
  padding-top: 80px;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

html.dark .terms-page {
  background: #000000;
}

/* Page Hero */
.terms-hero {
  padding: clamp(60px, 8vw, 100px) 24px;
  text-align: center;
  border-bottom: 1.2px solid var(--input-border);
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.04) 0%, transparent 80%);
}

.terms-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.terms-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.terms-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.terms-hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.terms-hero p {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Grid Layout */
.terms-content-section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.terms-content-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(30px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

/* Sticky Index Table of Contents */
.terms-toc {
  position: sticky;
  top: 120px;
  background: rgba(255, 255, 255, 0.45);
  border: 1.2px solid var(--input-border);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 30px var(--shadow-color);
}

html.dark .terms-toc {
  background: rgba(11, 17, 32, 0.45);
}

.terms-toc h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.terms-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.terms-toc a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.25s ease;
  line-height: 1.35;
  display: block;
  opacity: 0.8;
}

.terms-toc a:hover {
  color: var(--primary);
  opacity: 1;
  transform: translateX(3px);
}

/* Articles */
.terms-articles {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.terms-articles article {
  border-bottom: 1.2px solid var(--input-border);
  padding-bottom: 40px;
}

.terms-articles article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.terms-articles h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.terms-articles p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-color);
  margin-bottom: 18px;
  opacity: 0.95;
}

/* Glassmorphism Guarantee Card */
.glass-guarantee-box {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px),
    rgba(255, 255, 255, 0.48) !important;
  border: 1.2px solid var(--input-border);
  border-left: 5px solid var(--primary);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  box-shadow: 0 12px 35px var(--shadow-color);
  margin-top: 20px;
}

html.dark .glass-guarantee-box {
  background: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.005) 0px, rgba(255, 255, 255, 0.005) 1px, transparent 1px, transparent 8px),
    rgba(11, 17, 32, 0.48) !important;
}

.glass-guarantee-box h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 750;
  color: var(--text-color);
  margin-bottom: 16px;
}

.glass-guarantee-box ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.glass-guarantee-box li {
  font-size: 14.5px;
  color: var(--text-color);
  line-height: 1.55;
  margin-bottom: 12px;
}

.refund-caution {
  font-size: 13.5px !important;
  color: var(--text-color) !important;
  font-weight: 600;
  margin: 0 !important;
  border-top: 1px dashed var(--input-border);
  padding-top: 18px;
  opacity: 0.95;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .terms-content-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .terms-toc {
    position: relative;
    top: 0;
    width: 100%;
  }
}
