/* ========================================================
   AICM Light-Mode Premium Marketplace Stylesheet
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-purple: #6c1eb2;
  --secondary-magenta: #d14fa0;
  --primary-gradient: linear-gradient(140deg, #6c1eb2, #d14fa0);
  --bg-light: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #f4faff;
  --border-light: #e2e8f0;
  --border-accent: #d5ecff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.theme-light {
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
  color: var(--text-primary);
  font-family: var(--font-family) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, 
.hero-title, .section-title, .what-is-title, .audits-title, .utility-title, .quarter-title, .nav-item, .project-name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body, p, span, a, input, button, li, 
.hero-subtitle, .section-subtitle, .what-is-desc, .audits-desc, .utility-desc, .quarter-desc, .roadmap-item span {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

* {
  box-sizing: border-box;
}

/* Base Container & Grid */
.aicm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  position: relative;
  z-index: 100;
}

.aicm-logo-link img {
  height: 44px;
  width: auto;
  display: block;
}

.aicm-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  color: #1e293b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.25s ease;
  position: relative;
  cursor: pointer;
}

.nav-item:hover {
  color: var(--primary-purple);
}

.btn-visit-store {
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(108, 30, 178, 0.25);
}

.btn-visit-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 30, 178, 0.35);
}

/* KnowledgeBase Dropdown */
.knowledgebase-dropdown {
  position: relative;
}

.knowledgebase-dropdown::after {
  content: '▼';
  font-size: 9px;
  margin-left: 6px;
  color: #64748b;
  transition: transform 0.25s ease;
  display: inline-block;
  vertical-align: middle;
}

.knowledgebase-dropdown:hover::after {
  transform: rotate(180deg);
  color: var(--primary-purple);
}

.knowledgebase-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
  padding: 8px 0;
  margin-top: 10px;
  z-index: 200;
}

.knowledgebase-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeInDown 0.2s ease-out forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
  color: var(--primary-purple);
}

/* Mobile Nav */
.mobile-header-bar {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.mobile-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero-video-wrap {
  position: relative;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-bottom: 60px;
  background: radial-gradient(circle at 75% 40%, rgba(209, 79, 160, 0.08) 0%, rgba(108, 30, 178, 0.04) 40%, #ffffff 80%);
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.95;
}

.top-play-wrap {
  position: absolute;
  top: 90px;
  right: 32px;
  z-index: 20;
}

.play-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.play-btn:hover {
  background: #ffffff;
  border-color: var(--primary-purple);
  color: var(--primary-purple);
  box-shadow: 0 4px 12px rgba(108, 30, 178, 0.15);
}

.hero-content-container {
  position: relative;
  z-index: 10;
  margin-top: 60px;
  padding: 0 32px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.15;
  color: #0b102b;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 480px;
}

/* Search Capsule Button */
.hero-search-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding: 0 20px;
}

.search-capsule-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #090e24;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(9, 14, 36, 0.22);
  transition: all 0.25s ease;
  cursor: pointer;
}

.search-capsule-btn:hover {
  background: #141b3b;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(9, 14, 36, 0.32);
}

.search-icon-svg {
  stroke: #ffffff;
  flex-shrink: 0;
}

.search-input-capsule {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  width: 155px;
  cursor: pointer;
}

.search-input-capsule::placeholder {
  color: #ffffff;
  opacity: 0.95;
}

.search-input-capsule:focus {
  cursor: text;
  width: 220px;
}

/* Section Headings */
.section-heading-wrap {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  font-weight: 700 !important;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Categories Section */
.categories-section {
  padding: 90px 0 110px 0;
  background: #ffffff;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.category-card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card-wrap {
  width: 100%;
  border: none;
  box-shadow: none;
  background: transparent;
}

.category-video-box {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  background: linear-gradient(135deg, #f5f3ff 0%, #fae8ff 50%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card-col:hover .category-video-box {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(108, 30, 178, 0.12);
}

.category-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-top: 24px;
}

.category-card-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0b102b !important;
  margin: 0 0 14px 0 !important;
  letter-spacing: -0.01em;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.btn-explore {
  background: #090e24;
  color: #ffffff;
  border: none;
  padding: 12px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(9, 14, 36, 0.18);
  display: inline-block;
}

.btn-explore:hover {
  background: #17224d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(9, 14, 36, 0.25);
  color: #ffffff;
}

/* Listed Projects Section */
/* Listed Projects Section */
.listed-projects-section {
  padding: 90px 0;
  background: #ffffff;
  overflow: hidden;
}

.projects-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 8px;
  cursor: grab;
  user-select: none;
}

.projects-slider-wrapper:active {
  cursor: grabbing;
}

.projects-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.projects-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 8px 4px;
  transition: transform 0.3s ease;
}

.project-slide-item {
  flex: 0 0 310px;
  width: 310px;
  min-width: 310px;
  display: flex;
}

.project-slide-item > a {
  width: 100%;
  display: flex;
  text-decoration: none;
  color: inherit;
}

.project-card-content {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e0e7ff;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card-content:hover {
  transform: translateY(-4px);
  border-color: #a855f7;
  box-shadow: 0 10px 28px rgba(108, 30, 178, 0.12);
}

.project-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
}

.amazon-logo-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
}

.project-name {
  font-size: 20px;
  font-weight: 700;
  color: #0b102b;
  margin: 0;
}

.slider-controls-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.slider-nav-btn,
.slider-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  user-select: none;
}

.slider-nav-btn:hover,
.slider-arrow-btn:hover {
  background: #f8fafc;
  border-color: #6c1eb2;
  color: #6c1eb2;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(108, 30, 178, 0.18);
}

.slider-nav-btn:active,
.slider-arrow-btn:active {
  transform: scale(0.96);
}

/* What is AICM / About Sai Section */
.what-is-section {
  padding: 100px 0;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}

.what-is-content-wrap {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.what-is-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(108, 30, 178, 0.08);
  border: 1px solid rgba(108, 30, 178, 0.25);
  color: #6c1eb2;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 22px;
}

.what-is-pill-tag .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

.what-is-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.what-is-video-wrapper {
  width: 320px;
  height: 110px;
  border-radius: 9999px;
  overflow: hidden;
  margin: 0 auto 36px auto;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 32px rgba(11, 16, 43, 0.08);
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}

.what-is-capsule-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.what-is-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem) !important;
  font-weight: 800 !important;
  color: #0b102b !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: center;
}

.what-is-desc {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0 auto 32px auto;
  max-width: 760px;
  text-align: center;
}

.btn-whitepaper {
  background: #ffffff;
  color: #0b102b;
  border: 1.5px solid #bfdbfe;
  padding: 14px 34px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(191, 219, 254, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whitepaper:hover {
  background: #eff6ff;
  border-color: #6c1eb2;
  color: #6c1eb2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 30, 178, 0.15);
}

/* Audits Section */
.audits-section {
  padding: 80px 0;
  background: #ffffff;
}

.audits-card {
  background: #f4faff;
  border: 1px solid #d5ecff;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.audits-text-col {
  flex: 1;
}

.audits-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #0f172a;
  margin-bottom: 14px;
}

.audits-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  max-width: 520px;
}

.audits-badges-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.solidproof-logo {
  width: 240px;
  height: auto;
}

.tier-badge {
  width: 140px;
  height: auto;
  transition: transform 0.2s ease;
}

.tier-badge:hover {
  transform: scale(1.04);
}

/* Technical Expertise & Stack / Token Utility Section */
.token-utility-section {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.utility-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.utility-left-col {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.utility-card {
  background: #ffffff;
  border: 1.5px solid #e0e7ff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(108, 30, 178, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-align: left;
}

.utility-card:hover {
  transform: translateY(-2px);
  border-color: #a855f7;
  box-shadow: 0 8px 24px rgba(108, 30, 178, 0.1);
}

.utility-card-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0b102b !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.01em;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.utility-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  font-family: 'Inter', sans-serif !important;
}

.utility-card-desc strong {
  color: #0f172a;
  font-weight: 700;
}

.contract-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  color: #334155;
  margin-top: 8px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.contract-copy-pill:hover {
  border-color: #6c1eb2;
  background: #f1f5f9;
}

.contract-copy-pill .contract-label {
  font-weight: 700;
  color: #6c1eb2;
}

.contract-copy-pill .contract-hash {
  font-family: monospace;
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
}

.contract-copy-pill .contract-copy-icon {
  display: flex;
  align-items: center;
  margin-left: 4px;
}

.contract-copy-pill .contract-copy-icon img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.contract-copy-pill:hover .contract-copy-icon img {
  opacity: 1;
}

.copy-tooltip {
  position: absolute;
  top: -34px;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(4px);
  white-space: nowrap;
}

.copy-tooltip.active {
  opacity: 1;
  transform: translateY(0);
}

.utility-right-col {
  flex: 1 1 42%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coin-3d-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  animation: floatCoin 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 20px 35px rgba(108, 30, 178, 0.15));
}

@keyframes floatCoin {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 1024px) {
  .utility-content-row {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .utility-right-col {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Roadmap Section */
.roadmap-section {
  padding: 100px 0 120px 0;
  background: #ffffff;
}

.roadmap-tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.roadmap-tab-btn {
  padding: 10px 24px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.roadmap-tab-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(108, 30, 178, 0.25);
}

.roadmap-content-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.roadmap-quarters-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 0px;
  border-bottom: none;
  padding-bottom: 0;
}

.quarter-header-item {
  padding-right: 12px;
}

.quarter-title {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: #0b102b !important;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.quarter-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Horizontal Timeline Bar with Vertical Ticks */
.roadmap-timeline-bar-wrap {
  position: relative;
  width: 100%;
  height: 48px;
  margin: 16px 0 28px 0;
  display: flex;
  align-items: center;
}

.roadmap-timeline-line {
  width: 100%;
  height: 2.5px;
  background: #60a5fa;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.roadmap-timeline-tick {
  position: absolute;
  width: 2.5px;
  height: 38px;
  background: #60a5fa;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 2px;
}

.tick-q2 {
  left: 0;
}

.tick-q3 {
  left: calc(33.333% + 9px);
}

.tick-q4 {
  left: calc(66.666% + 18px);
}

.roadmap-columns-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.roadmap-column-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roadmap-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fbff;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid #dbeafe;
  box-shadow: 0 2px 6px rgba(191, 219, 254, 0.15);
  transition: all 0.2s ease;
}

.roadmap-item-card:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191, 219, 254, 0.3);
}

.milestone-concentric-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.milestone-card-text {
  color: #1e293b !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

/* ========================================================
   REFINED CONTACT CARDS & ALIGNMENT
   ======================================================== */
.contact-section-wrap {
  padding: 90px 0 100px 0;
  background: #fbfcfe;
  border-top: 1px solid #eef2f6;
}

.contact-container-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 36px;
  align-items: stretch;
}

.contact-card-item {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.contact-card-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 165px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.contact-card-box:hover {
  transform: translateY(-3px);
  border-color: #6c1eb2;
  box-shadow: 0 8px 24px rgba(108, 30, 178, 0.12);
}

.contact-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

.contact-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(108, 30, 178, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c1eb2;
  flex-shrink: 0;
}

.contact-card-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #6c1eb2;
  letter-spacing: 0.6px;
  background: rgba(108, 30, 178, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(108, 30, 178, 0.15);
}

.contact-card-main-val {
  font-size: 12.8px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card-gradient {
  background: linear-gradient(140deg, #6c1eb2, #d14fa0);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(108, 30, 178, 0.25);
}

.contact-card-gradient:hover {
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(108, 30, 178, 0.38);
}

.contact-icon-circle-white {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.contact-tag-white {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact-val-white {
  color: #ffffff;
}

/* Footer Section */
.aicm-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 70px 0 36px 0;
}

.footer-container-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.footer-contract-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 8px 18px;
  font-family: monospace !important;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-contract-pill:hover {
  border-color: #6c1eb2;
  background: #f1f5f9;
}

.footer-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.footer-copy-btn img {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-copy-btn:hover img {
  opacity: 1;
}

.footer-mid-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-desc-col {
  max-width: 380px;
}

.footer-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.footer-links-group {
  display: contents;
}

.footer-col-header {
  font-size: 14px;
  font-weight: 700 !important;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.footer-link {
  display: block;
  font-size: 13.5px;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 11px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-purple);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
  padding-right: 140px;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon-btn img {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.social-icon-btn:hover img {
  opacity: 1;
}

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

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #475569;
}

@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-mid-row {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-mid-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding-right: 0;
  }
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #475569;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .category-cards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .token-utility-grid {
    flex-direction: column;
    text-align: center;
  }
  .utility-badges-container {
    max-width: 480px;
    margin: 0 auto;
  }
  .audits-card {
    flex-direction: column;
    text-align: center;
  }
  .roadmap-quarters-header,
  .roadmap-columns-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .aicm-nav-links {
    display: none;
  }
  .mobile-header-bar {
    display: flex;
  }
  .footer-mid-row {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links-group {
    flex-direction: column;
    gap: 24px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}


/* Enhancements for Sai's Portfolio */
.audits-desc {
  color: #334155 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.audits-desc em {
  color: #6c1eb2 !important;
  font-style: normal !important;
  font-weight: 700 !important;
}
.audits-desc strong {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.roadmap-item-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: #ffffff !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
}

.roadmap-item-card:hover {
  border-color: #c084fc !important;
  box-shadow: 0 6px 18px rgba(108, 30, 178, 0.12) !important;
  transform: translateY(-2px) !important;
}

.milestone-concentric-icon {
  margin-top: 2px !important;
}

.milestone-card-text {
  color: #1e293b !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}


/* ========================================================
   HIGH-CONTRAST THEME TOGGLE BUTTONS (100% VISIBLE)
   ======================================================== */

/* Header Toggle Button */
.theme-toggle-header-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  text-decoration: none !important;
  user-select: none !important;
}

/* Floating Toggle Button */
.theme-toggle-floating-btn {
  position: fixed !important;
  bottom: 26px !important;
  right: 26px !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 12px 22px !important;
  border-radius: 9999px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  text-decoration: none !important;
  user-select: none !important;
}

/* Light Theme: Solid deep midnight buttons that contrast powerfully against white */
body.theme-light .theme-toggle-header-btn,
body:not(.dark-theme) .theme-toggle-header-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1.5px solid #334155 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}
body.theme-light .theme-toggle-header-btn:hover,
body:not(.dark-theme) .theme-toggle-header-btn:hover {
  background: #1e1b4b !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35) !important;
  transform: translateY(-2px) !important;
}

body.theme-light .theme-toggle-floating-btn,
body:not(.dark-theme) .theme-toggle-floating-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1.5px solid #334155 !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35) !important;
}
body.theme-light .theme-toggle-floating-btn:hover,
body:not(.dark-theme) .theme-toggle-floating-btn:hover {
  background: #1e1b4b !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.45) !important;
  transform: translateY(-2px) scale(1.03) !important;
}

/* Dark Theme: Solid luminous white buttons that contrast powerfully against black */
body.dark-theme .theme-toggle-header-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25) !important;
}
body.dark-theme .theme-toggle-header-btn:hover {
  background: #f8fafc !important;
  border-color: #ffb703 !important;
  box-shadow: 0 6px 24px rgba(255, 183, 3, 0.45) !important;
  transform: translateY(-2px) !important;
}

body.dark-theme .theme-toggle-floating-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 183, 3, 0.35) !important;
}
body.dark-theme .theme-toggle-floating-btn:hover {
  background: #f8fafc !important;
  border-color: #ffb703 !important;
  box-shadow: 0 12px 36px rgba(255, 183, 3, 0.55) !important;
  transform: translateY(-2px) scale(1.03) !important;
}

/* ========================================================
   FULL DARK THEME SYSTEM (SEAMLESS 0MS IN-PAGE SWITCH)
   ======================================================== */

body.dark-theme {
  background-color: #070614 !important;
  color: #f8fafc !important;
  transition: background-color 0.25s ease, color 0.25s ease !important;
}

body.dark-theme .css-xmmhxk {
  background-color: #070614 !important;
}

body.dark-theme .hero-video-wrap {
  background: radial-gradient(circle at 50% 30%, rgba(108, 30, 178, 0.3) 0%, rgba(7, 6, 20, 0.98) 75%) !important;
}

body.dark-theme .aicm-header {
  background: rgba(7, 6, 20, 0.8) !important;
  backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .nav-item {
  color: #cbd5e1 !important;
}

body.dark-theme .nav-item:hover {
  color: #ff148d !important;
}

body.dark-theme .hero-title {
  color: #ffffff !important;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.2) !important;
}

body.dark-theme .hero-subtitle {
  color: #94a3b8 !important;
}

body.dark-theme .hero-subtitle strong {
  color: #ff148d !important;
}

body.dark-theme .categories-section {
  background: #0a091a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .section-title {
  color: #ffffff !important;
}

body.dark-theme .section-subtitle {
  color: #94a3b8 !important;
}

body.dark-theme .category-card-wrap {
  background: rgba(22, 19, 48, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme .category-card-title {
  color: #ffffff !important;
}

body.dark-theme .category-card-info p {
  color: #94a3b8 !important;
}

body.dark-theme .btn-explore {
  background: rgba(255, 20, 141, 0.15) !important;
  color: #ff148d !important;
  border: 1px solid rgba(255, 20, 141, 0.4) !important;
}

body.dark-theme .btn-explore:hover {
  background: #ff148d !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 20, 141, 0.4) !important;
}

body.dark-theme .listed-projects-section {
  background: #070614 !important;
}

body.dark-theme .project-card-content {
  background: rgba(22, 19, 48, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .project-name {
  color: #ffffff !important;
}

body.dark-theme .project-tag {
  color: #ff148d !important;
}

body.dark-theme .slider-nav-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

body.dark-theme .what-is-section {
  background: #0a091a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .what-is-title {
  color: #ffffff !important;
}

body.dark-theme .what-is-desc {
  color: #cbd5e1 !important;
}

body.dark-theme .btn-whitepaper {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.dark-theme .btn-whitepaper:hover {
  background: #ff148d !important;
  border-color: #ff148d !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 20, 141, 0.4) !important;
}

body.dark-theme .audits-section {
  background: #070614 !important;
}

body.dark-theme .audits-card {
  background: rgba(22, 19, 48, 0.85) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(168, 85, 247, 0.18) !important;
}

body.dark-theme .audits-title {
  color: #ffffff !important;
}

body.dark-theme .audits-desc {
  color: #cbd5e1 !important;
}

body.dark-theme .audits-desc strong {
  color: #ffffff !important;
}

body.dark-theme .audits-desc em,
body.dark-theme .audits-desc a {
  color: #c084fc !important;
}

body.dark-theme .utility-section {
  background: #0a091a !important;
}

body.dark-theme .utility-title {
  color: #ffffff !important;
}

body.dark-theme .utility-desc {
  color: #94a3b8 !important;
}

body.dark-theme .utility-card {
  background: rgba(22, 19, 48, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .utility-card-title {
  color: #ffffff !important;
}

body.dark-theme .utility-card-desc {
  color: #94a3b8 !important;
}

body.dark-theme .roadmap-section {
  background: #070614 !important;
}

body.dark-theme #Contact,
body.dark-theme .contact-section-wrap {
  background: #0a091a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .contact-card-box:not(.contact-card-gradient) {
  background: rgba(22, 19, 48, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .contact-card-box:not(.contact-card-gradient):hover {
  border-color: #ff148d !important;
  box-shadow: 0 8px 28px rgba(255, 20, 141, 0.25) !important;
}

body.dark-theme .contact-icon-circle:not(.contact-icon-circle-white) {
  background: rgba(255, 20, 141, 0.12) !important;
  color: #ff148d !important;
}

body.dark-theme .contact-card-tag:not(.contact-tag-white) {
  color: #ff148d !important;
  background: rgba(255, 20, 141, 0.12) !important;
  border-color: rgba(255, 20, 141, 0.3) !important;
}

body.dark-theme .contact-card-main-val:not(.contact-val-white) {
  color: #ffffff !important;
}

body.dark-theme .aicm-footer {
  background: #05040d !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
}

body.dark-theme .footer-top-row,
body.dark-theme .footer-bottom-row {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-theme .footer-description {
  color: #94a3b8 !important;
}

body.dark-theme .footer-link {
  color: #cbd5e1 !important;
}

body.dark-theme .footer-link:hover {
  color: #ff148d !important;
}

body.dark-theme .footer-col-header {
  color: #ffffff !important;
}

body.dark-theme .footer-contract-pill {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-theme .footer-contract-text {
  color: #cbd5e1 !important;
}


/* ========================================================
   IEEE RESEARCH PAPER INTERACTIVE STYLING
   ======================================================== */

.audits-card {
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.audits-card:hover {
  transform: translateY(-3px) !important;
  border-color: #6c1eb2 !important;
  box-shadow: 0 16px 40px rgba(108, 30, 178, 0.15) !important;
}

body.dark-theme .audits-card:hover {
  border-color: #ff148d !important;
  box-shadow: 0 16px 48px rgba(255, 20, 141, 0.25), 0 0 28px rgba(168, 85, 247, 0.2) !important;
}

.btn-read-ieee-paper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #6c1eb2, #d14fa0) !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(108, 30, 178, 0.25) !important;
  transition: all 0.2s ease !important;
}

.btn-read-ieee-paper:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(108, 30, 178, 0.38) !important;
  color: #ffffff !important;
}

body.dark-theme .btn-read-ieee-paper {
  background: linear-gradient(135deg, #ff148d, #6c1eb2) !important;
  box-shadow: 0 4px 16px rgba(255, 20, 141, 0.3) !important;
}

body.dark-theme .btn-read-ieee-paper:hover {
  box-shadow: 0 8px 24px rgba(255, 20, 141, 0.5) !important;
}


/* ========================================================
   REFINED CAREER ROADMAP & TIMELINE (CHRONOLOGICAL)
   ======================================================== */

.roadmap-tabs-container {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 36px !important;
  flex-wrap: wrap !important;
}

.roadmap-tab-btn {
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.roadmap-tab-btn:hover {
  border-color: #6c1eb2 !important;
  color: #6c1eb2 !important;
  transform: translateY(-1px) !important;
}

.roadmap-tab-btn.active {
  background: linear-gradient(135deg, #6c1eb2, #d14fa0) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(108, 30, 178, 0.25) !important;
}

body.dark-theme .roadmap-tab-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

body.dark-theme .roadmap-tab-btn:hover {
  border-color: #ff148d !important;
  color: #ff148d !important;
}

body.dark-theme .roadmap-tab-btn.active {
  background: linear-gradient(135deg, #ff148d, #6c1eb2) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 18px rgba(255, 20, 141, 0.35) !important;
}

/* Timeline Cards Grid */
.roadmap-timeline-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  position: relative !important;
}

.timeline-milestone-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 24px 28px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.25s ease !important;
  position: relative !important;
}

.timeline-milestone-card:hover {
  border-color: #6c1eb2 !important;
  box-shadow: 0 8px 24px rgba(108, 30, 178, 0.12) !important;
  transform: translateY(-2px) !important;
}

body.dark-theme .timeline-milestone-card {
  background: rgba(22, 19, 48, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .timeline-milestone-card:hover {
  border-color: #ff148d !important;
  box-shadow: 0 8px 28px rgba(255, 20, 141, 0.25) !important;
}

.milestone-header-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  margin-bottom: 8px !important;
  flex-wrap: wrap !important;
}

.milestone-company-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.milestone-company-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: rgba(108, 30, 178, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6c1eb2 !important;
  flex-shrink: 0 !important;
}

body.dark-theme .milestone-company-icon {
  background: rgba(255, 20, 141, 0.12) !important;
  color: #ff148d !important;
}

.milestone-company-name {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.3px !important;
}

body.dark-theme .milestone-company-name {
  color: #ffffff !important;
}

.milestone-date-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(108, 30, 178, 0.08) !important;
  border: 1px solid rgba(108, 30, 178, 0.2) !important;
  color: #6c1eb2 !important;
  padding: 5px 14px !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

body.dark-theme .milestone-date-pill {
  background: rgba(255, 20, 141, 0.12) !important;
  border-color: rgba(255, 20, 141, 0.25) !important;
  color: #ff148d !important;
}

.milestone-sub-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  flex-wrap: wrap !important;
}

.milestone-role-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

body.dark-theme .milestone-role-title {
  color: #cbd5e1 !important;
}

.milestone-location-badge {
  font-size: 12.5px !important;
  color: #64748b !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

body.dark-theme .milestone-location-badge {
  color: #94a3b8 !important;
}

.milestone-bullets-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
}

.milestone-bullet-item {
  position: relative !important;
  padding-left: 20px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin-bottom: 8px !important;
}

.milestone-bullet-item::before {
  content: '◆' !important;
  position: absolute !important;
  left: 0 !important;
  top: 1px !important;
  color: #6c1eb2 !important;
  font-size: 11px !important;
}

body.dark-theme .milestone-bullet-item {
  color: #cbd5e1 !important;
}

body.dark-theme .milestone-bullet-item::before {
  color: #ff148d !important;
}

.milestone-tags-row {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.milestone-tag {
  background: #f1f5f9 !important;
  color: #475569 !important;
  padding: 3px 10px !important;
  border-radius: 8px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  border: 1px solid #e2e8f0 !important;
}

body.dark-theme .milestone-tag {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.milestone-paper-link-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(108, 30, 178, 0.08) !important;
  border: 1.5px solid rgba(108, 30, 178, 0.25) !important;
  color: #6c1eb2 !important;
  padding: 4px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.milestone-paper-link-btn:hover {
  background: #6c1eb2 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

body.dark-theme .milestone-paper-link-btn {
  background: rgba(255, 20, 141, 0.15) !important;
  border-color: rgba(255, 20, 141, 0.4) !important;
  color: #ff148d !important;
}

body.dark-theme .milestone-paper-link-btn:hover {
  background: #ff148d !important;
  color: #ffffff !important;
}


/* Explicit text styling for Theme Toggle buttons in both modes */
body.theme-light .theme-toggle-header-btn span,
body.theme-light .theme-toggle-floating-btn span,
body:not(.dark-theme) .theme-toggle-header-btn span,
body:not(.dark-theme) .theme-toggle-floating-btn span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.dark-theme .theme-toggle-header-btn span,
body.dark-theme .theme-toggle-floating-btn span {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body {
  transform: none !important;
}
