:root {
  /* Updated Palette: More contrast, more "Tech" */
  --color-bg: #f2f4f7; /* Light grey surface */
  --color-surface: #ffffff;
  --color-primary: #111827; /* Almost Black */
  --color-accent: #c4f43d; /* Acid Lime */
  --color-text: #374151;
  --color-text-muted: #9ca3af;
  --color-border: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif; /* Modern Tech feel */
  --font-body: 'Manrope', sans-serif;

  --header-height: 72px;
}

body {
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  margin: 0;
  padding-top: 100px; /* Space for floating header */
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- FLOATING HEADER --- */
.header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.header__glass {
  width: 100%;
  max-width: 1280px;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  border-radius: 100px; /* Pill shape */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 32px; /* Less padding on right for button */
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

/* Nav Links with "Dot" hover effect */
.nav__list {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.03);
  padding: 6px;
  border-radius: 50px;
}

.nav__link {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 40px;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  background-color: var(--color-white); /* Fallback */
  background-color: var(--color-surface);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Header Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-accent);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.btn--small {
  padding: 10px 24px;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Burger Menu */
.header__burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.burger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  transition: 0.3s;
}

/* --- DETACHED FOOTER --- */
.footer-wrapper {
  padding: 0 20px 20px 20px;
  margin-top: 100px;
}

.footer {
  background-color: #1a1d21; /* Off-black */
  border-radius: 40px;
  padding: 80px 60px 40px;
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  position: relative;
  z-index: 2;
  margin-bottom: 80px;
}

.footer__brand-col {
  max-width: 320px;
}

.logo__text--large {
  font-size: 28px;
  color: var(--color-white);
}

.footer__mission {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #9ca3af;
}

.text-highlight {
  color: var(--color-accent);
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
}

.footer__nav-grid {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer__heading {
  font-family: var(--font-heading);
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: 18px;
}

.footer__links li {
  margin-bottom: 14px;
}

.footer__links a {
  color: #9ca3af;
  font-size: 15px;
}

.footer__links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.address-row {
  align-items: flex-start;
}

.address-row i {
  margin-top: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
  position: relative;
  z-index: 2;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a:hover {
  color: var(--color-accent);
  transform: scale(1.1);
}

/* Background Decor */
.footer__decor {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-heading);
  font-size: 200px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.02);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav__list {
    display: none;
  }
  .header__burger {
    display: flex;
  }
  .footer__top {
    flex-direction: column;
    gap: 50px;
  }

  /* Mobile Menu styles would be injected via JS logic usually, 
       but here is base CSS for active state handling */
  .header.menu-open .nav {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  .header.menu-open .nav__list {
    display: flex;
    flex-direction: column;
    background: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0 16px;
    top: 16px;
  }
  .header__glass {
    padding-left: 16px;
  }
  .footer {
    padding: 40px 24px;
  }
  .footer__nav-grid {
    gap: 40px;
    flex-direction: column;
  }
  .footer__decor {
    font-size: 100px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh; /* Full screen height */
  display: flex;
  align-items: center;
  padding-top: var(--header-height); /* Offset for fixed header */
  overflow: hidden;
  background-color: #f8fafc; /* Fallback */
}

/* Technical Background Grid */
.hero__bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  animation: moveGrid 60s linear infinite;
  transform: perspective(500px) rotateX(20deg); /* 3D effect on floor */
  transform-origin: top center;
}

@keyframes moveGrid {
  0% {
    transform: perspective(500px) rotateX(20deg) translateY(0);
  }
  100% {
    transform: perspective(500px) rotateX(20deg) translateY(-40px);
  }
}

/* Ambient Glow */
.hero__glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 244, 61, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  filter: blur(60px);
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
}

/* Content Column */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #e2e8f0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444; /* Red for 'Active' */
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 24px;
  font-weight: 700;
}

.scramble-text {
  color: var(--color-accent-hover); /* Darker lime for text */
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  min-width: 300px; /* Prevent layout jump */
}

.hero__desc {
  font-size: 18px;
  color: var(--color-text);
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0; /* JS will reveal */
  animation: fadeIn 0.8s ease forwards 0.5s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.btn--hero {
  padding: 16px 32px;
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.hero__info-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}

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

.stat-line {
  width: 1px;
  height: 40px;
  background-color: var(--color-border);
}

/* Visual Column (Right) */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  position: absolute;
  transition: transform 0.1s ease-out; /* For mouse parallax */
}

.visual-card--main {
  width: 380px;
  height: 440px;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: rotate(-3deg);
  animation: floatMain 6s ease-in-out infinite;
}

@keyframes floatMain {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-15px);
  }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

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

.card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e2e8f0;
}

.card-dots span:nth-child(1) {
  background-color: #ef4444;
}
.card-dots span:nth-child(2) {
  background-color: #f59e0b;
}
.card-dots span:nth-child(3) {
  background-color: #10b981;
}

.card-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.user-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  background-color: #e2e8f0;
}

.skeleton-line {
  height: 10px;
  background-color: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 8px;
}
.w-80 {
  width: 140px;
}
.w-50 {
  width: 90px;
}

.chart-area {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
}

.bar {
  width: 15%;
  background-color: #cbd5e1;
  border-radius: 4px;
  height: 0;
  animation: growBar 1s ease-out forwards;
}

.bar:nth-child(1) {
  height: var(--h);
  animation-delay: 0.2s;
}
.bar:nth-child(2) {
  height: var(--h);
  animation-delay: 0.4s;
}
.bar:nth-child(3) {
  height: var(--h);
  animation-delay: 0.6s;
}
.bar.active {
  background-color: var(--color-primary);
  height: var(--h);
  animation-delay: 0.8s;
}

@keyframes growBar {
  from {
    height: 0;
  }
}

.card-badge {
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Small Floating Card */
.visual-card--float {
  z-index: 3;
  bottom: 60px;
  right: -20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
  animation: floatSmall 5s ease-in-out infinite reverse;
}

@keyframes floatSmall {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.float-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.float-content {
  display: flex;
  flex-direction: column;
}

.float-content span {
  font-size: 12px;
  color: var(--color-text-muted);
}
.float-content strong {
  font-size: 16px;
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    padding-top: 40px;
    text-align: center;
  }

  .hero__content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__visual {
    display: none; /* Hide complex 3D visual on small screens or simplify it */
  }

  .hero__desc {
    margin: 0 auto 30px;
  }
}

/* --- SECTION GENERAL --- */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
  max-width: 600px;
}

.tag {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent-hover);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.text-accent {
  color: #64748b; /* Muted text for contrast part */
}

.section-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- BENTO GRID --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; /* 2 rows */
  gap: 24px;
  /* Custom layout map */
  /* [ 1 ][ 1 ][ 3 ]
       [ 2 ][ 4 ][ 3 ]
    */
}

.bento-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
  opacity: 0; /* Hidden initially for JS reveal */
  transform: translateY(30px);
}

.bento-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
  border-color: rgba(196, 244, 61, 0.5); /* Accent border on hover */
}

/* Grid Spans */
.bento-card--large {
  grid-column: span 2;
}

.bento-card--tall {
  grid-column: span 1;
  grid-row: span 2;
  background: #f8fafc;
}

.bento-card--wide {
  grid-column: span 2; /* Changed to fit remaining space */
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  flex-direction: row;
  align-items: center;
}

.bento-card--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Content Styling */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box--primary {
  background-color: #f1f5f9;
  color: var(--color-primary);
}

.icon-box--accent {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.bento-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.bento-card--dark p {
  color: #94a3b8;
}

/* Visual Elements inside cards */
.bento-visual--graph {
  margin-top: 20px;
  height: 60px;
  position: relative;
  border-bottom: 1px solid #e2e8f0;
}

.graph-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 244, 61, 0.2) 100%);
  clip-path: polygon(0 100%, 100% 100%, 100% 20%, 70% 40%, 40% 60%, 0 80%);
}

.bento-bg-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  color: rgba(255, 255, 255, 0.03);
  transform: rotate(-15deg);
}

.bento-bg-icon svg {
  width: 150px;
  height: 150px;
}

/* Tall Card Elements */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #dcfce7;
  color: #166534;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  background-color: #166534;
  border-radius: 50%;
}

.mini-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mini-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.mini-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* Circle Button */
.circle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.circle-btn:hover {
  transform: scale(1.1) rotate(-45deg);
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* RESPONSIVE BENTO */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-card--large,
  .bento-card--tall,
  .bento-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .section-title {
    font-size: 36px;
  }
}

.container {
  width: 100%;
  max-width: 1280px; /* Трохи ширше для сучасності */
  margin: 0 auto;
  padding: 0 40px; /* Було 20px, стало 40px - набагато більше повітря */
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px; /* На мобільному теж трохи більше */
  }
}

/* --- BLOG SECTION --- */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary);
  position: relative;
}

.link-arrow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.link-arrow:hover::after {
  width: 100%;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  group: hover; /* for tailwind habits, standard css uses parent:hover child */
}

/* Image Wrapper with Zoom Effect */
.blog-card__img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 24px;
  display: block;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.08);
}

.blog-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Content */
.blog-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.dot-separator {
  width: 4px;
  height: 4px;
  background-color: #cbd5e1;
  border-radius: 50%;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 700;
}

.blog-card__title a {
  color: var(--color-primary);
  transition: color 0.3s;
}

.blog-card__title a:hover {
  color: var(--color-accent-hover);
}

.blog-card__excerpt {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card__link:hover {
  color: var(--color-accent-hover);
  gap: 10px; /* Slight movement */
}

/* Responsive Blog */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- DARK SECTION VARIANT --- */
.section--dark {
  background-color: #0b1120; /* Darker than primary */
  color: var(--color-white);
  position: relative;
}

/* Add decorative gradient blobs for dark mode */
.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.8) 0%, transparent 70%);
  pointer-events: none;
}

.text-white {
  color: var(--color-white);
}
.text-gray {
  color: #94a3b8;
}
.text-accent-lime {
  color: var(--color-accent);
}
.tag--light {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 20px;
}

/* --- CONSULTING TIMELINE --- */
.consulting__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.consulting__info {
  position: sticky;
  top: 120px; /* Stick when scrolling */
}

.feature-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  gap: 16px;
  margin: 32px 0;
}

.feature-box i {
  color: var(--color-accent);
  width: 24px;
  height: 24px;
}

.feature-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-white);
}
.feature-box p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.btn--lime-glow {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(196, 244, 61, 0.3);
}

.btn--lime-glow:hover {
  box-shadow: 0 0 30px rgba(196, 244, 61, 0.5);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline__item {
  position: relative;
  margin-bottom: 60px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -60px; /* Align with border center */
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #1e293b;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  z-index: 2;
}

.timeline__content h3 {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.timeline__content p {
  color: #94a3b8;
}

/* --- RESULTS SECTION --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.review-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__meta h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.review-card__meta .role {
  font-size: 12px;
  color: var(--color-text-muted);
}

.review-card__rating {
  margin-left: auto;
  color: #f59e0b; /* Star color */
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.review-card__tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #059669; /* Green success */
  background: #ecfdf5;
  padding: 8px 12px;
  border-radius: 12px;
}

.review-card__tag svg {
  width: 16px;
  height: 16px;
}

/* Trust Banner */
.trust-banner {
  background: var(--color-primary);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: var(--color-white);
  flex-wrap: wrap;
  gap: 20px;
}

.trust-stat {
  text-align: center;
}

.trust-stat strong {
  display: block;
  font-size: 36px;
  font-family: var(--font-heading);
  color: var(--color-accent);
  margin-bottom: 8px;
}

.trust-stat span {
  font-size: 14px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .consulting__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .consulting__info {
    position: static;
    margin-bottom: 40px;
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }

  .timeline__marker {
    position: static;
    margin-bottom: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .trust-banner {
    flex-direction: column;
    gap: 32px;
  }

  .trust-divider {
    width: 100px;
    height: 1px;
  }
}
/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.3s;
}

.faq-trigger:hover {
  color: var(--color-accent-hover);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-inner {
  padding-bottom: 24px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-badges {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-weight: 500;
}

.badge-row svg {
  color: var(--color-accent-hover);
  fill: rgba(196, 244, 61, 0.2);
}

/* Form Styling */
.contact-form-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-secondary);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 16px;
  transition: var(--transition);
  background-color: #f8fafc;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

/* Custom Checkbox */
.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.form-check a {
  color: var(--color-primary);
  text-decoration: underline;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
  margin-top: 2px;
}

.btn--full {
  width: 100%;
}

/* Loading & Success States */
.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-primary);
  animation: spin 1s linear infinite;
}

.btn--loading .btn-text {
  display: none;
}
.btn--loading .loader {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  transform: translateY(20px);
}

.form-success.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  width: 90%;
  max-width: 600px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-content p {
  font-size: 13px;
  margin: 0;
}

.cookie-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* --- POLICY PAGES STYLES (generic) --- */
.pages {
  padding: 140px 0 80px; /* Account for fixed header */
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  margin-bottom: 32px;
  color: var(--color-primary);
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 32px 0 16px;
  color: var(--color-primary);
}

.pages p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.pages ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 24px;
}

.pages li {
  margin-bottom: 8px;
  color: var(--color-text);
}

.pages a {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-accent);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
    margin-bottom: 40px;
  }

  .contact-badges {
    align-items: center;
  }

  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-popup .btn {
    width: 100%;
  }
}
