/* ==========================================================================
   CYVORA STUDIO - COMPLETE CONSOLIDATED HOMEPAGE STYLESHEET
   Combines homepage-new.css and enhanced-theme.css into ONE unified file.
   Leaves global styles.css 100% untouched for other pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --bg-deep: #060a08;
  --bg-surface: #0c1411;
  --bg-surface-elevated: #111c18;
  --bg-surface-hover: #16241f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(20, 244, 244, 0.25);
  --border-accent: rgba(20, 244, 244, 0.45);
  
  --cyan-primary: #14f4f4;
  --cyan-glow: rgba(20, 244, 244, 0.18);
  --cyan-dark: #0891b2;
  --emerald-accent: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.16);
  --amber-accent: #f59e0b;
  --indigo-accent: #6366f1;
  --purple-accent: #a855f7;
  
  --text-main: #f4f7f5;
  --text-muted: #8e9e97;
  --text-dim: #5c6c65;
  
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 25px rgba(20, 244, 244, 0.15);
}

/* --------------------------------------------------------------------------
   2. SCROLLBAR REMOVAL (EXTREME RIGHT SIDE) & BODY ATMOSPHERE
   -------------------------------------------------------------------------- */
html, body {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE / Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Edge, Opera */
  width: 0 !important;
  height: 0 !important;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  background-image: 
    radial-gradient(ellipse 80% 500px at 50% -80px, rgba(20, 244, 244, 0.09), transparent 70%),
    radial-gradient(ellipse 60% 400px at 90% 40%, rgba(16, 185, 129, 0.04), transparent 70%);
  background-attachment: fixed;
  font-family: var(--font-display);
  overflow-x: hidden;
}

/* Base Headings & Gradients */
h1, h2, h3, h4 {
  color: #ffffff;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.highlight-cyan,
.hero-gradient-text {
  background: linear-gradient(135deg, #14f4f4 0%, #38bdf8 50%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   3. PAGE LAYOUT & BALANCED LEFT ALIGNMENT
   -------------------------------------------------------------------------- */
.main-content {
  margin-left: 78px !important;
  min-height: 100vh;
  padding: 36px 32px 80px 20px !important;
  max-width: 1340px !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.hero.hero-container,
.section,
.footer {
  width: 100%;
  max-width: 1260px;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.section-header {
  margin-left: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 700;
}

.section-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
}

@media (max-width: 960px) {
  .main-content {
    margin-left: 0 !important;
    padding: 24px 16px 100px !important;
  }

  .hero.hero-container,
  .section,
  .footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero.hero-container {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 72px;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(20, 244, 244, 0.06);
  border: 1px solid rgba(20, 244, 244, 0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-primary);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(20, 244, 244, 0.08);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-accent);
  box-shadow: 0 0 10px var(--emerald-accent);
  animation: pulse-beacon 2s infinite ease-in-out;
}

@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.25); }
}

.hero-heading {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: #9cb0a6;
  max-width: 550px;
  margin: 0 0 24px;
}

.hero-community-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(16, 26, 22, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 24px;
  text-decoration: none;
  color: #d1fae5;
  font-size: 13px;
  margin-bottom: 24px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.hero-community-pill:hover {
  background: rgba(20, 36, 30, 0.95);
  border-color: var(--emerald-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

.community-avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #060a08;
  margin-left: -6px;
  font-size: 11px;
}

.avatar-circle:first-child {
  margin-left: 0;
}

.community-pill-text strong {
  color: #ffffff;
}

.hero-community-pill svg {
  stroke: var(--emerald-accent);
  transition: transform 0.2s ease;
}

.hero-community-pill:hover svg {
  transform: translateX(3px);
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary-cyan {
  background: linear-gradient(135deg, #14f4f4 0%, #06b6d4 100%);
  color: #04100c;
  border: 1px solid #14f4f4;
  box-shadow: 0 8px 24px -4px rgba(20, 244, 244, 0.4);
}

.btn-primary-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(20, 244, 244, 0.55);
  filter: brightness(1.06);
}

.btn-secondary-dark {
  background: rgba(18, 28, 24, 0.7);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-secondary-dark:hover {
  background: rgba(26, 40, 34, 0.9);
  border-color: rgba(20, 244, 244, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-stat-chip strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cyan-primary);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.75));
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.hero-visual:hover .hero-image {
  transform: translateY(-4px) scale(1.01);
}

@media (max-width: 960px) {
  .hero.hero-container {
    grid-template-columns: 1fr;
    padding: 36px 20px 50px;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   5. DISCOVERY & PATHWAY CARDS
   -------------------------------------------------------------------------- */
.discovery-grid.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.discovery-card.visual-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  text-decoration: none;
  color: var(--text-main);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.discovery-card.visual-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), 0 0 20px rgba(20, 244, 244, 0.08);
  background: var(--bg-surface-elevated);
}

.card-image-wrapper {
  width: 100%;
  height: 145px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: #070e0b;
}

.card-image-wrapper.article-thumbnail {
  height: auto;
  aspect-ratio: 3 / 2;
}

.card-image-wrapper.article-thumbnail img.card-image {
  object-fit: contain;
}

.card-image-wrapper img,
.discovery-card.visual-card .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.discovery-card.visual-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.discovery-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.discovery-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 16px;
  flex: 1;
}

.discovery-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.discovery-card.visual-card:hover .discovery-card-link {
  gap: 10px;
}

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

@media (max-width: 640px) {
  .discovery-grid.visual-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   6. AI LEARNING JOURNEY (6-STAGE CIRCULAR DESIGN + STATIC INSPECTOR PANELS)
   -------------------------------------------------------------------------- */
#ai-learning {
  width: 100%;
}

.ai-journey-preview {
  position: relative;
  width: 100% !important;
  max-width: 1260px !important;
  margin: 0 auto;
  padding: 34px 38px 30px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(20, 244, 244, 0.025),
      transparent 55%
    ),
    #070b0d;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
}

.ai-journey-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #00e5ff 0%,
    #1683ff 25%,
    #a855f7 50%,
    #22c55e 75%,
    #f59e0b 100%
  );
}

.ai-journey-header {
  margin-bottom: 28px;
  max-width: 680px;
}

.ai-journey-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f5f7fa;
}

.ai-journey-subtitle {
  margin: 0;
  max-width: 650px;
  font-size: 15px;
  line-height: 1.6;
  color: #9ba7b4;
}

.ai-journey {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 32px
    minmax(0, 1fr) 32px
    minmax(0, 1fr) 32px
    minmax(0, 1fr) 32px
    minmax(0, 1fr) 32px
    minmax(0, 1fr);
  align-items: start;
  width: 100%;
}

.journey-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0 4px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.journey-step:hover {
  transform: translateY(-3px);
}

.journey-step.active-step .journey-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 0 24px currentColor, 0 0 8px currentColor;
  border-color: currentColor;
}

.journey-step.active-step .journey-number {
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 0 12px currentColor;
}

.journey-step.active-step .journey-content h3 {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.journey-number {
  width: 34px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-sizing: border-box;
}

.journey-icon-wrap {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(7, 12, 15, 0.95);
  border: 1px solid currentColor;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journey-step:hover .journey-icon-wrap {
  transform: scale(1.04);
}

.journey-icon {
  width: 30px;
  height: 30px;
}

.journey-content {
  width: 100%;
  text-align: center;
}

.journey-content h3 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #f3f5f7;
}

.journey-content p {
  margin: 0 auto;
  max-width: 155px;
  font-size: 12px;
  line-height: 1.5;
  color: #8f9aa7;
}

.journey-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  margin-top: 34px;
  min-width: 0;
  opacity: 0.85;
}

.journey-connector span {
  width: 7px;
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.45;
}

.journey-connector svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-step-cyan, .connector-cyan { color: #00d9ff; }
.journey-step-blue, .connector-blue { color: #2979ff; }
.journey-step-purple, .connector-purple { color: #a855f7; }
.journey-step-green, .connector-green { color: #22c55e; }
.journey-step-orange, .connector-orange { color: #f59e0b; }

.journey-step-cyan .journey-number {
  background: rgba(0, 217, 255, 0.14);
  border-color: rgba(0, 217, 255, 0.25);
}
.journey-step-blue .journey-number {
  background: rgba(41, 121, 255, 0.16);
  border-color: rgba(41, 121, 255, 0.28);
}
.journey-step-purple .journey-number {
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(168, 85, 247, 0.28);
}
.journey-step-green .journey-number {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.28);
}
.journey-step-orange .journey-number {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.28);
}

.ai-journey-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #00e5ff;
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.ai-journey-cta:hover {
  gap: 12px;
  opacity: 0.85;
}

/* Static Inspector Panels */
.journey-inspector-container {
  position: relative;
  width: 100%;
}

.journey-inspector-panel {
  display: none;
  margin-top: 32px;
  background: #0b120f;
  border: 1px solid rgba(20, 244, 244, 0.28);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(20, 244, 244, 0.05);
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
  position: relative;
  animation: inspector-fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-inspector-panel.active {
  display: grid;
}

@keyframes inspector-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.inspector-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.inspector-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.inspector-level {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.inspector-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #a1b2a9;
  margin: 0 0 16px;
}

.inspector-takeaways {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inspector-takeaways li {
  font-size: 13px;
  color: #d1dcd6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bullet-check {
  color: var(--cyan-primary);
  font-weight: bold;
}

.inspector-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tech-tag {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #94a3b8;
}

.inspector-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 28px;
}

.inspector-tip {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
}

@media (max-width: 1100px) {
  .ai-journey-preview {
    padding: 30px 24px 28px;
  }
  .ai-journey {
    grid-template-columns:
      minmax(0, 1fr) 22px
      minmax(0, 1fr) 22px
      minmax(0, 1fr) 22px
      minmax(0, 1fr) 22px
      minmax(0, 1fr) 22px
      minmax(0, 1fr);
  }
  .journey-icon-wrap {
    width: 68px;
    height: 68px;
  }
  .journey-icon {
    width: 26px;
    height: 26px;
  }
  .journey-content h3 {
    font-size: 14px;
  }
  .journey-content p {
    font-size: 11px;
    max-width: 135px;
  }
}

@media (max-width: 900px) {
  .journey-inspector-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .inspector-action-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
  }
}

@media (max-width: 850px) {
  .ai-journey-preview {
    padding: 28px 20px;
  }
  .ai-journey {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 4px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .journey-step {
    flex: 0 0 145px;
    scroll-snap-align: start;
  }
  .journey-connector {
    flex: 0 0 24px;
    height: 68px;
    margin-top: 34px;
  }
  .journey-icon-wrap {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 600px) {
  .ai-journey-preview {
    padding: 26px 16px 24px;
    border-radius: 14px;
  }
  .ai-journey-title {
    font-size: 27px;
  }
  .ai-journey-subtitle {
    font-size: 14px;
  }
  .journey-step {
    flex-basis: 135px;
  }
  .journey-icon-wrap {
    width: 62px;
    height: 62px;
  }
  .journey-icon {
    width: 24px;
    height: 24px;
  }
  .journey-content h3 {
    font-size: 13px;
  }
  .journey-content p {
    font-size: 11px;
  }
  .ai-journey-cta {
    margin-top: 22px;
  }
}

/* --------------------------------------------------------------------------
   7. FEATURED TOOLS & LIVE CALCULATOR SHOWCASE
   -------------------------------------------------------------------------- */
.tools-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
  width: 100% !important;
  max-width: 1260px !important;
  margin: 0 auto;
}

.featured-tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.interactive-calc-box {
  background: #090e0c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: 22px 0 20px;
}

.calc-slider-group {
  margin-bottom: 18px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-label {
  font-size: 13px;
  color: var(--text-muted);
}

.calc-value-badge {
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan-primary);
  font-family: var(--font-mono);
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #182420;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.regime-switch-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.regime-btn {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.regime-btn.active {
  background: rgba(20, 244, 244, 0.14);
  border-color: var(--cyan-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(20, 244, 244, 0.15);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.calc-result-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px;
}

.calc-result-card.highlight {
  background: rgba(20, 244, 244, 0.06);
  border-color: rgba(20, 244, 244, 0.25);
}

.calc-result-card span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-result-card strong {
  display: block;
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
}

.calc-result-card.highlight strong {
  color: var(--cyan-primary);
}

.calc-progress-wrap {
  margin-top: 14px;
}

.calc-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.calc-multi-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a2521;
}

.bar-segment {
  height: 100%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-takehome { background: var(--cyan-primary); }
.bar-tax { background: #8b5cf6; }
.bar-pf { background: var(--amber-accent); }

.upcoming-tools-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tool-preview-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.tool-preview-tile:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.tool-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  flex-shrink: 0;
}

.tool-tile-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #ffffff;
}

.tool-tile-info p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.badge-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: auto;
}

.badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-beta {
  background: rgba(20, 244, 244, 0.12);
  color: var(--cyan-primary);
  border: 1px solid rgba(20, 244, 244, 0.25);
}

.badge-soon {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 960px) {
  .tools-showcase {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. CYVORA AI DIAGNOSTIC CONSOLE (PURE HTML / CSS TABS)
   -------------------------------------------------------------------------- */
.ai-terminal-wrapper {
  background: #080d0b;
  border: 1px solid rgba(20, 244, 244, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  margin-top: 32px;
}

.terminal-topbar {
  background: #0d1512;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-tabs {
  display: flex;
  gap: 8px;
}

.terminal-tab-btn {
  padding: 5px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.terminal-tab-btn.active {
  background: rgba(20, 244, 244, 0.12);
  border-color: rgba(20, 244, 244, 0.3);
  color: var(--cyan-primary);
}

.terminal-body {
  padding: 24px;
}

.terminal-example-view {
  display: none;
}

.terminal-example-view.active {
  display: block;
}

.terminal-error-box {
  background: rgba(239, 68, 68, 0.07);
  border-left: 3px solid #ef4444;
  padding: 14px 18px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fca5a5;
  margin-bottom: 18px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.terminal-analysis-box {
  background: rgba(20, 244, 244, 0.05);
  border: 1px solid rgba(20, 244, 244, 0.18);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
}

.badge-cause {
  display: inline-block;
  font-weight: 800;
  color: #f59e0b;
  margin-right: 6px;
}

.badge-action {
  display: inline-block;
  font-weight: 800;
  color: var(--cyan-primary);
  margin-right: 6px;
}

.terminal-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.terminal-code-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.terminal-copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.terminal-copy-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-accent);
  color: var(--emerald-accent);
}

.terminal-code-pre {
  background: #040806;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: #86efac;
  overflow-x: auto;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. CATEGORY FILTER & PRACTICAL GUIDES (DESKTOP + MOBILE)
   -------------------------------------------------------------------------- */
.articles-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.article-filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.article-filter-btn.active {
  background: rgba(20, 244, 244, 0.12);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

.featured-blog-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 24px;
}

.featured-blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), 0 0 25px rgba(20, 244, 244, 0.08);
}

.featured-blog-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 240px;
  background: #070e0b;
}

.featured-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-blog-card:hover .featured-blog-image img {
  transform: scale(1.04);
}

.featured-blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-blog-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.featured-badge {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(20, 244, 244, 0.12);
  border: 1px solid rgba(20, 244, 244, 0.3);
  color: var(--cyan-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-read-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.featured-blog-title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #ffffff;
}

.featured-blog-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.featured-blog-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* --------------------------------------------------------------------------
   10. CAREER ROADMAPS HUB
   -------------------------------------------------------------------------- */
.career-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.career-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.career-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), 0 0 20px rgba(20, 244, 244, 0.08);
}

.career-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(20, 244, 244, 0.08);
  border: 1px solid rgba(20, 244, 244, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  margin-bottom: 18px;
}

.career-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.career-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 20px;
  flex: 1;
}

.career-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 960px) {
  .career-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   11. TRUST BENTO & VALUE PROPOSITIONS
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s ease;
}

.trust-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-accent);
  margin-bottom: 16px;
}

.trust-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
}

.trust-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

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

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

/* --------------------------------------------------------------------------
   12. COMMUNITY HUB SECTION
   -------------------------------------------------------------------------- */
.community-preview {
  background: linear-gradient(135deg, rgba(16, 26, 22, 0.9) 0%, rgba(10, 18, 15, 0.95) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: left;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(20, 244, 244, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.community-icon-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.community-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 244, 244, 0.08);
  border: 1px solid rgba(20, 244, 244, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
}

.community-title {
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 0 0 12px;
  color: #ffffff;
}

.community-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 24px;
}

.community-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #14f4f4 0%, #06b6d4 100%);
  color: #04100c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20, 244, 244, 0.35);
  transition: all 0.2s ease;
  width: fit-content;
}

.community-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 244, 244, 0.5);
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  transition: all 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(20, 244, 244, 0.35);
  background: var(--bg-surface-elevated);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--cyan-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item p {
  font-size: 14px;
  line-height: 1.65;
  color: #9cb0a6;
  margin: 14px 0 0;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo img {
  border-radius: 6px;
}

.footer-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-text {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan-primary);
}

/* --------------------------------------------------------------------------
   15. MOBILE RESPONSIVE ADAPTATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .articles-filter-bar {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .articles-filter-bar::-webkit-scrollbar {
    display: none;
  }
  
  .article-filter-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 13px;
  }

  .featured-blog-card {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
  }
  
  .featured-blog-image {
    min-height: 150px;
    height: 150px;
    border-radius: var(--radius-sm);
  }
  
  .featured-blog-title {
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 8px;
  }
  
  .featured-blog-excerpt {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .featured-blog-link {
    font-size: 12px;
  }

  .discovery-grid.visual-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  
  .discovery-card.visual-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  
  .discovery-card.visual-card .card-image-wrapper {
    height: 140px !important;
    border-radius: var(--radius-sm);
  }

  .discovery-card.visual-card .card-image-wrapper.article-thumbnail {
    height: auto !important;
  }
  
  .discovery-card-title {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 6px;
  }
  
  .discovery-card-desc {
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .community-preview {
    padding: 32px 20px;
  }
  
  .community-title {
    font-size: 22px;
  }
  
  .community-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
}
