/* ============================================================
   RESET & BASE
   ============================================================ */
:root {
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #FFFFFF;
  background-color: #0d0d0b;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-in, .fade-in.visible { opacity: 1; transform: none; }
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-dark {
  background-color: #0d0d0b;
  color: #FFFFFF;
}

.section-light {
  background-color: #F5F5F0;
  color: #0d0d0b;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9FF36;
  margin-bottom: 16px;
  display: block;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(32px, 4.5vw, 56px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
}

.body-text {
  color: #888885;
  line-height: 1.6;
}

.section-light .body-text {
  color: #666660;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: background-color 0.25s var(--ease-enter), color 0.25s var(--ease-enter), transform 0.25s var(--ease-enter), box-shadow 0.25s var(--ease-enter), border-color 0.25s var(--ease-enter);
  white-space: nowrap;
}

.btn-primary {
  background-color: #C9FF36;
  color: #0d0d0b;
}

.btn-primary:hover {
  background-color: #d4ff52;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 255, 54, 0.25);
}

.btn-ghost {
  border: 1.5px solid #C9FF36;
  color: #C9FF36;
  background: transparent;
}

.btn-ghost:hover {
  background-color: #C9FF36;
  color: #0d0d0b;
}

.btn-ghost-dark {
  border: 1.5px solid #0d0d0b;
  color: #0d0d0b;
  background: transparent;
}

.btn-ghost-dark:hover {
  background-color: #0d0d0b;
  color: #F5F5F0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background-color: rgba(13, 13, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid #222220;
  transition: background-color 0.3s ease;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
}

.nav__links {
  display: none;
  gap: 32px;
}

.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888885;
  transition: color 0.25s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: #FFFFFF;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #C9FF36;
  transition: width 0.25s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: none;
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  transition: width 0.3s var(--ease-enter), transform 0.3s var(--ease-enter), opacity 0.3s var(--ease-enter);
}

.nav__burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0d0d0b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__link {
  font-size: 18px;
}

.nav__mobile .btn {
  margin-top: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0d0d0b;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a18 0%, #0d0d0b 40%, #C9FF36 100%);
  opacity: 0.3;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,255,54,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,255,54,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 680px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border: 0.5px solid #C9FF36;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C9FF36;
  margin-bottom: 28px;
  line-height: 1.4;
}

.hero__title {
  margin-bottom: 24px;
  max-width: 620px;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  overflow: hidden;
}

.hero__title .word {
  display: inline-block;
  clip-path: inset(0 0 100% 0);
  opacity: 1;
  transition: clip-path 0.9s var(--ease-enter);
}

.hero__title .word.revealed {
  clip-path: inset(0 0 0 0);
}

.hero__title .accent {
  color: #C9FF36;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: #888885;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #888885;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #C9FF36, transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  padding: 90px 0;
  background-color: #F5F5F0;
  color: #0d0d0b;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stats__number {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0d0d0b;
}

.stats__number .accent {
  color: #C9FF36;
}

.stats__timeframe {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d0d0b;
  margin-bottom: 8px;
}

.stats__desc {
  font-size: 14px;
  color: #666660;
  max-width: 220px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0;
  background-color: #0d0d0b;
}

.services__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
}

.services__heading {
  font-size: clamp(32px, 4.5vw, 56px);
}

.services__all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9FF36;
  transition: gap 0.25s ease;
}

.services__all-link:hover {
  gap: 12px;
}

.services__all-link .arrow {
  transition: transform 0.25s ease;
}

.services__all-link:hover .arrow {
  transform: translateX(4px);
}

.services__list {
  display: flex;
  flex-direction: column;
}

.service-item {
  border-bottom: 0.5px solid #222220;
  transition: border-color 0.3s ease;
}

.service-item:hover {
  border-bottom-color: #C9FF36;
}

.service-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  cursor: pointer;
  transition: padding 0.3s ease;
}

.service-item__trigger:hover {
  padding-left: 12px;
}

.service-item__name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.service-item__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0.5px solid #222220;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s var(--ease-enter), border-color 0.3s var(--ease-enter);
}

.service-item__trigger:hover .service-item__arrow {
  background-color: #C9FF36;
  border-color: #C9FF36;
}

.service-item__trigger:hover .service-item__arrow svg {
  stroke: #0d0d0b;
}

.service-item__arrow svg {
  width: 16px;
  height: 16px;
  stroke: #C9FF36;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.service-item.open .service-item__arrow svg {
  transform: rotate(90deg);
}

.service-item.open .service-item__arrow {
  background-color: #C9FF36;
  border-color: #C9FF36;
}

.service-item.open .service-item__arrow svg {
  stroke: #0d0d0b;
}

.service-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-enter);
}

.service-item.open .service-item__panel {
  max-height: 800px;
}

.service-item__panel-inner {
  padding: 0 0 32px 0;
  color: #888885;
  font-size: 15px;
  line-height: 1.7;
}

.service-item__panel-inner strong {
  color: #FFFFFF;
  font-weight: 600;
}

.service-item__panel-inner h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #C9FF36;
  margin-top: 24px;
  margin-bottom: 10px;
}

.service-item__panel-inner ul {
  list-style: none;
  padding: 0;
  margin-bottom: 8px;
}

.service-item__panel-inner ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  color: #888885;
}

.service-item__panel-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C9FF36;
  opacity: 0.5;
}

/* ============================================================
   PORTFOLIO / USE CASES GRID
   ============================================================ */
.portfolio {
  padding: 100px 0;
  background-color: #0d0d0b;
}

.portfolio__header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio__title {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 12px;
}

.portfolio__subtitle {
  color: #888885;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.portfolio__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 0.5px solid #222220;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-enter);
}

.portfolio__item.revealed {
  clip-path: inset(0 0 0 0);
}

.portfolio__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio__item:hover .portfolio__thumb {
  transform: scale(1.05);
}

.portfolio__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  transition: transform 0.5s var(--ease-enter);
}

.portfolio__item:nth-child(1) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #1a1a18, #2a2a25); }
.portfolio__item:nth-child(2) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #1f1f1a, #252520); }
.portfolio__item:nth-child(3) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #181a18, #222a22); }
.portfolio__item:nth-child(4) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #1a1a1a, #2a2520); }
.portfolio__item:nth-child(5) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #1a181f, #25202a); }
.portfolio__item:nth-child(6) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #1a1a1d, #202528); }
.portfolio__item:nth-child(7) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #1d1a18, #2a2520); }
.portfolio__item:nth-child(8) .portfolio__thumb-placeholder { background: linear-gradient(135deg, #181a1f, #20252a); }

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,11,0.95) 0%, rgba(13,13,11,0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #C9FF36;
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: overlay;
}

.portfolio__item:hover .portfolio__overlay::before {
  opacity: 0.08;
}

.portfolio__category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9FF36;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.portfolio__name {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.portfolio__desc {
  font-size: 14px;
  color: #888885;
  line-height: 1.55;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-enter), opacity 0.35s var(--ease-enter), margin 0.35s var(--ease-enter);
  position: relative;
  z-index: 1;
}

.portfolio__item:hover .portfolio__desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 10px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 100px 0;
  background-color: #F5F5F0;
  color: #0d0d0b;
}

.pricing__header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing__title {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 12px;
  color: #0d0d0b;
}

.pricing__subtitle {
  color: #666660;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 0.5px solid #ddd;
  border-radius: 8px;
  padding: 36px 28px;
  transition: transform 0.3s var(--ease-enter), box-shadow 0.3s var(--ease-enter);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.pricing-card--featured {
  border: 2px solid #C9FF36;
  position: relative;
  background: #FFFFFF;
}

.pricing-card--featured::before {
  content: 'Le plus populaire';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #C9FF36;
  color: #0d0d0b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: #0d0d0b;
}

.pricing-card__price-note {
  font-size: 13px;
  color: #888885;
  margin-bottom: 24px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
}

.pricing-card__feature .check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #C9FF36;
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.pricing-card--featured .btn-primary {
  background-color: #0d0d0b;
  color: #C9FF36;
}

.pricing-card--featured .btn-primary:hover {
  background-color: #1a1a18;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  padding: 100px 0;
  background-color: #0d0d0b;
}

.testimonial__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #2a2a25, #1a1a18);
  border: 0.5px solid #333;
  flex-shrink: 0;
  color: #C9FF36;
}

.testimonial__quote {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.testimonial__quote::before {
  content: '"';
  color: #C9FF36;
  font-size: 48px;
  font-weight: 800;
  line-height: 0;
  vertical-align: -16px;
  margin-right: 4px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial__author-info {
  display: flex;
  flex-direction: column;
}

.testimonial__author-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.testimonial__author-role {
  font-size: 13px;
  color: #888885;
}

.testimonial__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.testimonial__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0.5px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s var(--ease-enter), background 0.25s var(--ease-enter);
}

.testimonial__nav-btn:hover {
  border-color: #C9FF36;
  background: rgba(201,255,54,0.1);
}

.testimonial__nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: #888885;
  transition: stroke 0.25s ease;
}

.testimonial__nav-btn:hover svg {
  stroke: #C9FF36;
}

/* ============================================================
   BLOG / NEWS
   ============================================================ */
.blog {
  padding: 100px 0;
  background-color: #F5F5F0;
  color: #0d0d0b;
}

.blog__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.blog__title {
  font-size: clamp(32px, 4.5vw, 56px);
  color: #0d0d0b;
}

.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.blog-card {
  background: #FFFFFF;
  border: 0.5px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-enter), box-shadow 0.3s var(--ease-enter);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: rgba(0,0,0,0.08);
}

.blog-card:nth-child(1) .blog-card__image { background: linear-gradient(135deg, #e8f5d8, #d4e8c0); }
.blog-card:nth-child(2) .blog-card__image { background: linear-gradient(135deg, #e0e8f0, #d0d8e0); }
.blog-card:nth-child(3) .blog-card__image { background: linear-gradient(135deg, #f0e8d8, #e8dcc8); }

.blog-card__body {
  padding: 24px;
}

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

.blog-card__date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888885;
}

.blog-card__category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d0d0b;
  background: #C9FF36;
  padding: 3px 10px;
  border-radius: 20px;
}

.blog-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #0d0d0b;
}

.blog-card__excerpt {
  font-size: 14px;
  color: #666660;
  line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 100px 0;
  background-color: #0d0d0b;
  position: relative;
  overflow: hidden;
}

.faq__decor {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,255,54,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.faq__header {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.faq__title {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 12px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.faq-item {
  border-bottom: 0.5px solid #222220;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  transition: color 0.25s ease;
}

.faq-item__trigger:hover {
  color: #C9FF36;
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0.5px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease-enter), color 0.3s var(--ease-enter), transform 0.3s var(--ease-enter);
  font-size: 18px;
  font-weight: 300;
  color: #888885;
}

.faq-item.open .faq-item__icon {
  border-color: #C9FF36;
  color: #C9FF36;
  transform: rotate(45deg);
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-enter), padding 0.45s var(--ease-enter);
}

.faq-item.open .faq-item__content {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-item__text {
  font-size: 15px;
  color: #888885;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 90px 0 40px;
  background-color: #0d0d0b;
  border-top: 0.5px solid #222220;
}

.footer__wordmark {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  margin-bottom: 48px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888885;
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: #666;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.footer__link:hover {
  color: #C9FF36;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #C9FF36;
  color: #0d0d0b;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.25s var(--ease-enter), box-shadow 0.25s var(--ease-enter);
  margin-bottom: 40px;
}

.footer__cta:hover {
  background: #d4ff52;
  box-shadow: 0 6px 20px rgba(201,255,54,0.2);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 0.5px solid #222220;
}

.footer__copy {
  font-size: 13px;
  color: #555;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 13px;
  color: #555;
  transition: color 0.25s ease;
}

.footer__legal a:hover {
  color: #C9FF36;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 13, 11, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-enter);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #111110;
  border: 0.5px solid #222220;
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px 32px;
  position: relative;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.35s var(--ease-enter);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0.5px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #888885;
  transition: border-color 0.25s var(--ease-enter), color 0.25s var(--ease-enter);
}

.modal__close:hover {
  border-color: #C9FF36;
  color: #C9FF36;
}

.modal h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.modal h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-top: 28px;
  margin-bottom: 8px;
}

.modal p,
.modal li {
  font-size: 14px;
  color: #888885;
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.modal a {
  color: #C9FF36;
  text-decoration: underline;
}

.modal a:hover {
  color: #d4ff52;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-enter), transform 0.7s var(--ease-enter);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .section { padding: 100px 0; }
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero__bg-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 8px;
    opacity: 0.5;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .services__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .testimonial__inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio__item--tall {
    grid-row: span 2;
    aspect-ratio: 3 / 4;
  }

  .portfolio__item--wide {
    grid-column: span 2;
  }
}
