/* ========================================
   SERVICE CHAT REVIEW - MINIMAL STYLES
   Navigation, Footer, and Hero Section Only
   ======================================== */

/* ── RIPPLE EFFECT ── */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── HERO CTA BUTTON ARROW ANIMATION ── */
.service-hero-cta {
  color: #FFFFFF !important;
}

.service-hero-cta span {
  color: #FFFFFF !important;
}

.service-hero-cta * {
  color: #FFFFFF !important;
}

.service-hero-cta .hero-cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.service-hero-cta .hero-arrow-icon {
  transition: transform 0.4s ease, stroke 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-hero-cta:hover .hero-cta-icon {
  background: white;
}

.service-hero-cta:hover .hero-arrow-icon {
  stroke: #A855F7;
  stroke-width: 2.5;
  animation: arrowSlide 0.8s ease infinite;
}

.service-hero-cta:hover span {
  color: #FFFFFF !important;
}

@keyframes arrowSlide {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  45% {
    transform: translateX(10px);
    opacity: 0;
  }
  55% {
    transform: translateX(-10px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-ghost {
  color: var(--text-on-white);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  background: transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-ghost:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.05);
}

/* Button variants for navy section */
.section-navy .btn-primary {
  background: var(--white);
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.section-navy .btn-primary:hover {
  background: var(--white);
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.section-navy .btn-ghost {
  border-color: var(--border-navy);
  color: var(--white);
}

.section-navy .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* ── HERO GRADIENT BUTTON ── */
.hero-gradient-btn {
  background: linear-gradient(90deg, #60A5FA 0%, #A855F7 100%);
  background-size: 200% auto;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { 
    background-position: 0% center; 
  }
  50% { 
    background-position: 100% center; 
  }
}

.hero-gradient-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(96,165,250,0.5);
}

/* ── SILENT TRAP CARDS ── */
.silent-trap-card {
  position: relative;
  cursor: pointer;
  background: #FFFFFF;
}

.silent-trap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #60A5FA 0%, #A855F7 50%, #EC4899 100%);
  border-radius: 16px;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.silent-trap-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.silent-trap-card:hover::before {
  opacity: 1;
}

.silent-trap-card:hover .card-number {
  background: linear-gradient(135deg, #60A5FA 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── METHODOLOGY SECTION ── */
.section-black {
  background: #000;
  color: #E5E5E5;
}

.methodology-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.methodology-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   WHY REVALABS - COMPARISON SECTION
   ======================================== */

.comparison-table-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Table Wrapper with Outer Border */
.comparison-table-wrapper-new {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  position: relative;
}

/* Header Row */
.comparison-table-header {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  position: relative;
}

.header-col {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B7280;
  padding: 32px 0 24px 0;
  position: relative;
}

.header-revalabs {
  background: linear-gradient(
    90deg,
    #EC4899 0%,
    #60A5FA 25%,
    #60A5FA 75%,
    #FFFFFF 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.125rem;
  font-weight: 800;
  padding: 32px 32px 24px 20px;
  margin: 0 -32px 0 0;
  position: relative;
  z-index: 2;
}

/* Table Body */
.comparison-table-body {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Each Row */
.comparison-table-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.comparison-table-row:last-child {
  border-bottom: none;
}

/* Feature Column */
.col-feature h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Traditional Column */
.col-traditional h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #D1D5DB;
  margin-bottom: 6px;
  line-height: 1.5;
}

.col-traditional p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* RevaLabs Column - Highlighted with Gradient Border */
.col-revalabs-new {
  position: relative;
  padding: 24px 28px 24px 20px;
  margin: -24px -32px -24px 0;
}

/* Gradient Border for Entire RevaLabs Column INCLUDING HEADER */
.comparison-table-wrapper-new::after {
  content: '';
  position: absolute;
  right: 40px;
  top: 40px;
  bottom: 40px;
  width: calc(((100% - 160px - 60px - 80px) / 2) * 1 + 32px);
  background: rgba(10, 31, 68, 0.3);
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}

.comparison-table-wrapper-new::before {
  content: '';
  position: absolute;
  right: 40px;
  top: 40px;
  bottom: 40px;
  width: calc(((100% - 160px - 60px - 80px) / 2) * 1 + 32px);
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.header-revalabs,
.col-revalabs-new {
  position: relative;
  z-index: 2;
}

/* RevaLabs Item */
.revalabs-item-new {
  display: flex;
  gap: 14px;
  align-items: start;
}

/* Check Icon */
.check-icon-new {
  width: 24px;
  height: 24px;
  background: #3B82F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon-new svg {
  width: 14px;
  height: 14px;
  color: #FFFFFF;
}

.revalabs-item-new h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
  background: linear-gradient(90deg, #22D3EE 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 280px;
}

.revalabs-item-new p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 280px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .comparison-table-header,
  .comparison-table-row {
    grid-template-columns: 140px 1fr 1fr;
    gap: 24px;
  }
  
  .comparison-table-wrapper-new::after,
  .comparison-table-wrapper-new::before {
    width: calc(((100% - 140px - 48px - 64px) / 2) * 1 + 32px);
    right: 32px;
    top: 32px;
    bottom: 32px;
  }
  
  .header-revalabs {
    padding: 28px 28px 20px 18px;
    margin: 0 -28px 0 0;
  }
  
  .col-revalabs-new {
    padding: 20px 28px 20px 18px;
    margin: -20px -28px -20px 0;
  }
}

@media (max-width: 768px) {
  .comparison-table-wrapper-new {
    padding: 24px;
  }
  
  .comparison-table-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .header-traditional {
    display: none;
  }
  
  .comparison-table-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .col-traditional {
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
    border-radius: 8px;
  }
  
  .col-revalabs-new {
    margin: 0;
    padding: 20px;
  }
  
  .comparison-table-wrapper-new::after,
  .comparison-table-wrapper-new::before {
    display: none;
  }
  
  .header-revalabs {
    background: rgba(10, 31, 68, 0.3);
    border: 1.5px solid;
    border-image: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%) 1;
    border-radius: 12px 12px 0 0;
    padding: 20px;
    margin: 0;
  }
  
  .col-revalabs-new {
    background: rgba(10, 31, 68, 0.3);
    border: 1.5px solid;
    border-image: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%) 1;
    border-radius: 0;
    padding: 20px;
    margin: 0;
  }
  
  .comparison-table-row:last-child .col-revalabs-new {
    border-radius: 0 0 12px 12px;
  }
}

/* ========================================
   AI PROMISE SECTION
   ======================================== */

.ai-promise-section {
  padding: 6rem 0;
  background: #172443;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ai-promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.ai-promise-content {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ai-promise-content.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.ai-promise-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: #fff;
}

.ai-promise-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.ai-promise-cta {
  display: inline-block;
  background: linear-gradient(90deg, #60A5FA 0%, #A855F7 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(96, 165, 250, 0.4);
}

.ai-promise-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.6);
}

.ai-promise-image {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  padding-right: 2rem;
  margin-left: 3rem;
}

.ai-promise-image.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.ai-promise-image::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(96, 165, 250, 0.3) 30%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: siri-wave 4s ease-in-out infinite;
  filter: blur(40px);
}

.ai-promise-image img {
  max-width: 120%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  animation: rotate-sphere 20s linear infinite;
  transform-origin: center center;
  margin-right: -3rem;
  margin-top: -2rem;
}

@keyframes rotate-sphere {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes siri-wave {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

@media (max-width: 968px) {
  .ai-promise-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .ai-promise-content,
  .ai-promise-image {
    transform: translateY(30px);
  }
  
  .ai-promise-content.animate-in,
  .ai-promise-image.animate-in {
    transform: translateY(0);
  }
}

/* ========================================
   CHAT ANIMATION
   ======================================== */

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ── EYEBROW PILL ── */
.eyebrow-pill {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.section-navy .eyebrow-pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--border-navy);
}

/* ── SECTION STYLES ── */
section {
  position: relative;
  padding: var(--space-24) 0;
  z-index: 1;
}

.section-navy {
  background: var(--navy-blue);
  color: var(--text-on-navy);
}

/* ── HERO CHAT REVIEW SECTION ── */
.hero-chat-review {
  position: relative;
  overflow: hidden;
}

.hero-chat-review::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-chat-review .container {
  position: relative;
  z-index: 2;
}

.hero-chat-review h1,
.hero-chat-review p,
.hero-chat-review .eyebrow-pill {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ── MAIN CONTENT ── */
#main-content {
  position: relative;
  z-index: 1;
}

/* ── PARTICLE BACKGROUND ── */
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  section {
    padding: var(--space-16) 0;
  }
  
  .silent-trap-card {
    margin-bottom: 1.5rem;
  }

  /* ── WHY REVALABS COMPARISON - MOBILE ACCORDION ── */
  
  /* Hide desktop table on mobile */
  #why-revalabs .comparison-table-wrapper-new {
    display: none !important;
  }

  /* Section header */
  #why-revalabs h2:first-of-type {
    font-size: 0.75rem !important;
  }

  #why-revalabs .section-title {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
  }

  /* Mobile Accordion Container (will be added via JS or visible class) */
  .mobile-accordion-container {
    display: block !important;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Tab Buttons at Top */
  .mobile-comparison-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .mobile-tab-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-tab-btn.active {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: #FFFFFF;
    border-color: transparent;
  }

  /* Accordion Cards - Simple border like desktop */
  .mobile-accordion-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
  }

  /* Card Header (clickable) */
  .mobile-accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    user-select: none;
  }

  .mobile-accordion-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #A855F7 !important;
  }

  .mobile-accordion-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
  }

  .mobile-accordion-chevron {
    width: 20px;
    height: 20px;
    color: #60A5FA;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .mobile-accordion-card.expanded .mobile-accordion-chevron {
    transform: rotate(180deg);
  }

  /* Card Content (expandable) */
  .mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
  }

  .mobile-accordion-card.expanded .mobile-accordion-content {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  /* Traditional Section - No background, no X icon */
  .mobile-traditional-section {
    margin-bottom: 1.5rem;
    background: transparent !important;
  }

  .mobile-traditional-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
  }

  .mobile-traditional-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
  }

  /* Remove X icon display */
  .mobile-x-icon {
    display: none !important;
  }

  .mobile-traditional-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #D1D5DB;
  }

  /* RevaLabs Section - No background */
  .mobile-revalabs-section {
    margin-bottom: 0.5rem;
    background: transparent !important;
  }

  .mobile-revalabs-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #60A5FA;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
  }

  .mobile-revalabs-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .mobile-check-icon {
    width: 20px;
    height: 20px;
    color: #60A5FA !important;
    flex-shrink: 0;
    margin-top: 0.125rem;
  }

  .mobile-revalabs-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #E5E7EB;
  }

  /* Remove Summary Card */
  .mobile-summary-card {
    display: none;
  }

  /* ── THE METHODOLOGY SECTION - MOBILE ── */
  
  /* Section title */
  #methodology h2 {
    font-size: 1.5rem !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
  }

  /* Change grid to single column - image first, steps below */
  #methodology div[style*="grid-template-columns:1fr 1fr"][style*="gap:4rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  /* Steps container */
  #methodology div[style*="padding-left:3rem"] {
    padding-left: 2rem !important;
    gap: 1.25rem !important;
  }

  /* Timeline line */
  #methodology .timeline-line {
    width: 1.5px !important;
    left: 6px !important;
  }

  #methodology .timeline-line-segment {
    width: 1.5px !important;
    left: 6px !important;
  }

  /* Timeline dots */
  #methodology div[style*="left:9.09px"] {
    left: 7px !important;
  }

  /* Step Cards */
  #methodology .methodology-card {
    padding: 1rem !important;
    gap: 1rem !important;
  }

  /* Timeline circles */
  #methodology .timeline-circle {
    width: 14px !important;
    height: 14px !important;
    left: -2.03rem !important;
    border-width: 2px !important;
  }

  /* Card numbers */
  #methodology .methodology-card .card-number {
    font-size: 2rem !important;
  }

  /* Card titles */
  #methodology .methodology-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
  }

  /* Card descriptions */
  #methodology .methodology-card p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }

  /* Image container - remove scale and margin */
  #methodology div[style*="transform:scale(1.15)"] {
    transform: scale(1) !important;
    margin-left: 0 !important;
  }

  /* Gradient border container */
  #methodology div[style*="padding:3px"][style*="linear-gradient"] {
    padding: 2px !important;
  }

  /* Inner black container */
  #methodology div[style*="padding:3px"] > div {
    padding: 1rem !important;
    min-height: 300px !important;
  }

  /* Image */
  #methodology div[style*="padding:3px"] img {
    height: 300px !important;
  }

  /* ── IMMUTABLE EVIDENCE SECTION - MOBILE ── */
  
  /* Section header */
  #immutable-evidence h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  #immutable-evidence > div > p {
    font-size: 0.875rem !important;
    margin-bottom: 2rem !important;
  }

  /* Change grid from 2 columns to 1 column (chat UI on top, features below) */
  #immutable-evidence div[style*="grid-template-columns:1fr 1fr"][style*="gap:4rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Chat UI Card */
  #immutable-evidence div[style*="background:#C4BEB9"] {
    padding: 1.25rem !important;
  }

  /* Chat UI Header */
  #immutable-evidence div[style*="background:#000"][style*="padding:1rem 1.5rem"] {
    padding: 0.75rem 1rem !important;
  }

  #immutable-evidence div[style*="background:#000"][style*="padding:1rem 1.5rem"] span {
    font-size: 0.75rem !important;
  }

  #immutable-evidence div[style*="background:#000"][style*="padding:1rem 1.5rem"] svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Chat Messages Container */
  #immutable-evidence div[style*="background:#000000"][style*="min-height:300px"] {
    min-height: 250px !important;
    padding: 1.25rem !important;
  }

  /* Chat Message Bubbles */
  #immutable-evidence .chat-message {
    padding: 0.75rem 1rem !important;
    max-width: 90% !important;
  }

  #immutable-evidence .chat-message p {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }

  /* Violation Alert */
  #immutable-evidence .violation-message {
    padding: 1rem !important;
    margin-top: 0.75rem !important;
  }

  #immutable-evidence .violation-message svg {
    width: 16px !important;
    height: 16px !important;
  }

  #immutable-evidence .violation-message span {
    font-size: 0.75rem !important;
  }

  #immutable-evidence .violation-message p {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }

  /* Feature List */
  #immutable-evidence .feature-item {
    gap: 0.75rem !important;
  }

  #immutable-evidence .feature-item > div:first-child {
    width: 24px !important;
    height: 24px !important;
  }

  #immutable-evidence .feature-item svg {
    width: 14px !important;
    height: 14px !important;
  }

  #immutable-evidence .feature-item h3 {
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
  }

  #immutable-evidence .feature-item p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }

  #immutable-evidence div[style*="gap:2rem"][style*="flex-direction:column"] {
    gap: 1.5rem !important;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  /* The Methodology - Tablet */
  #methodology h2 {
    font-size: 2rem !important;
    text-align: center !important;
  }

  /* Stack to single column - image first, steps below */
  #methodology div[style*="grid-template-columns:1fr 1fr"][style*="gap:4rem"] {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  #methodology div[style*="transform:scale(1.15)"] {
    transform: scale(1) !important;
    margin-left: 0 !important;
  }

  #methodology .methodology-card .card-number {
    font-size: 2.5rem !important;
  }

  #methodology .methodology-card h3 {
    font-size: 1.125rem !important;
  }

  #methodology .methodology-card p {
    font-size: 0.9rem !important;
  }

  #methodology div[style*="padding:3px"] > div {
    min-height: 400px !important;
  }

  #methodology div[style*="padding:3px"] img {
    height: 400px !important;
  }

  /* Immutable Evidence - Tablet */
  #immutable-evidence div[style*="grid-template-columns:1fr 1fr"][style*="gap:4rem"] {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  #immutable-evidence h2 {
    font-size: 2rem !important;
  }

  #immutable-evidence div[style*="background:#C4BEB9"] {
    padding: 1.5rem !important;
  }

  #immutable-evidence .chat-message p {
    font-size: 0.85rem !important;
  }

  #immutable-evidence .feature-item h3 {
    font-size: 1.125rem !important;
  }

  #immutable-evidence .feature-item p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 1024px) {
  .container > div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── ACCESSIBILITY ── */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--accent-blue);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 99999;
  transition: top var(--transition-base);
}

.skip-to-main:focus {
  top: var(--space-4);
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

a:focus,
button:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ── REDUCED MOTION SUPPORT ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.reduce-motion .fade-up {
  opacity: 1 !important;
  transform: none !important;
}

/* ── SMOOTH SCROLL ── */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
