/* ============================================================
   PORTFOLIO – Bruno Simon Style
   Author : Bruno Simon
   Stack  : Vanilla CSS (custom properties, flexbox, grid)
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --clr-bg:          #0a0a0a;
  --clr-bg-card:     #111111;
  --clr-bg-card-2:   #161616;
  --clr-border:      #222222;
  --clr-green:       #00ff6a;
  --clr-green-dim:   rgba(0, 255, 106, 0.12);
  --clr-green-glow:  rgba(0, 255, 106, 0.35);
  --clr-text:        #ffffff;
  --clr-text-sec:    #888888;
  --clr-text-muted:  #555555;

  /* Typography */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-gap:    120px;
  --container-w:    1200px;
  --container-px:   clamp(1.25rem, 5vw, 2rem);

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --transition:     0.3s var(--ease);

  /* Navbar */
  --navbar-h:       72px;

  /* Border radius */
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

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

pre, code { font-family: 'Courier New', Courier, monospace; }


/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* Section header shared layout */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Section tag (small label above heading) */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-green);
  background: var(--clr-green-dim);
  border: 1px solid rgba(0, 255, 106, 0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}

/* Section title */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-text);
}

/* Green accent text */
.text-green { color: var(--clr-green); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--green {
  background: var(--clr-green);
  color: #000;
}
.btn--green:hover {
  background: #1aff7e;
  box-shadow: 0 0 24px var(--clr-green-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}
.btn--outline:hover {
  border-color: var(--clr-green);
  color: var(--clr-green);
  transform: translateY(-2px);
}

.btn--large {
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-sec);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  transition: color var(--transition), border-color var(--transition);
}

/* Social icon button */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-sec);
  font-size: 1rem;
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.social-icon:hover {
  color: var(--clr-green);
  border-color: var(--clr-green);
  box-shadow: 0 0 12px var(--clr-green-glow);
  transform: translateY(-3px);
}
.social-icon--sm {
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
}

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.orb--1 {
  width: 260px;
  height: 260px;
  background: rgba(0, 255, 106, 0.08);
  top: -60px;
  right: -60px;
}
.orb--2 {
  width: 180px;
  height: 180px;
  background: rgba(80, 80, 255, 0.06);
  bottom: -40px;
  left: -30px;
}
.orb--green {
  width: 300px;
  height: 300px;
  background: rgba(0, 255, 106, 0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
}


/* ============================================================
   4. SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }


/* ============================================================
   5. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

/* Scrolled state – glassmorphism */
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.75);
  border-bottom-color: var(--clr-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.navbar__logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__logo:hover { color: var(--clr-green); }

/* Desktop nav */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__link {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-sec);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--clr-text);
  background: rgba(255,255,255,0.05);
}
.navbar__link.active { color: var(--clr-green); }

.navbar__cta { margin-left: 0.75rem; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.navbar__hamburger:hover { border-color: var(--clr-green); }
.bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger – open state */
.navbar__hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open .bar:nth-child(2) { opacity: 0; }
.navbar__hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--clr-bg-card);
  border-bottom: 1px solid var(--clr-border);
  padding: 1rem var(--container-px) 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding var(--transition);
}
.navbar__mobile.open {
  max-height: 400px;
}
.navbar__mobile-link {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-sec);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--transition);
}
.navbar__mobile-link:last-of-type { border-bottom: none; }
.navbar__mobile-link:hover { color: var(--clr-green); }
.navbar__mobile-cta { margin-top: 0.75rem; align-self: flex-start; }


/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--navbar-h) + 4rem);
  padding-bottom: 5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Dot-grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Content */
.hero__subtitle {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-sec);
  margin-bottom: 1rem;
}

.hero__name {
  font-family: var(--font-head);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--clr-green);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 80px rgba(0, 255, 106, 0.2);
}

.hero__bio {
  font-size: 1rem;
  color: var(--clr-text-sec);
  max-width: 480px;
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.hero__socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visual Card */
.hero__visual { display: flex; justify-content: flex-end; }

.hero__photo-card {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero__photo-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--clr-bg-card-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Gradient overlay */
  background-image:
    linear-gradient(135deg, rgba(0,255,106,0.05) 0%, transparent 50%),
    linear-gradient(225deg, rgba(80,80,255,0.04) 0%, transparent 50%);
}

.hero__photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-green-dim) 0%, rgba(255,255,255,0.03) 100%);
  border: 2px solid rgba(0, 255, 106, 0.3);
  z-index: 1;
}

.hero__initials {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--clr-green);
  letter-spacing: 0.05em;
}

.hero__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

/* Floating badge */
.hero__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 106, 0.12);
  border: 1px solid rgba(0, 255, 106, 0.35);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-green);
  white-space: nowrap;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.hero__badge i { font-size: 0.9rem; }


/* ============================================================
   7. STATS ROW
   ============================================================ */
.stats {
  padding: 4rem 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.stats__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stats__item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 1rem 2rem;
}

.stats__number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1;
  display: inline-block;
}
.stats__suffix {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--clr-green);
}
.stats__label {
  font-size: 0.875rem;
  color: var(--clr-text-sec);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

.stats__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  color: var(--clr-text-muted);
}
.stats__divider-line {
  display: block;
  width: 1px;
  height: 28px;
  background: var(--clr-border);
}
.stats__divider-icon { font-size: 0.65rem; }


/* ============================================================
   8. MARQUEE / TICKER
   ============================================================ */
.marquee {
  padding: 3rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
}

.marquee__track {
  display: flex;
  gap: 0;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  /* Animation defined in JS via CSS */
  animation: marquee-scroll 18s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.marquee__text {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
  text-transform: uppercase;
  line-height: 1;
  transition: -webkit-text-stroke var(--transition), color var(--transition);
}
.marquee__text:hover {
  color: var(--clr-green);
  -webkit-text-stroke: 0px;
}

.marquee__dot {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--clr-green);
  line-height: 1;
}


/* ============================================================
   9. PROJECTS SECTION
   ============================================================ */
.projects {
  padding: var(--section-gap) 0;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Project Card */
.project-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,106,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(0,255,106,0.05);
}

/* Image area */
.project-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Gradient backgrounds for each card */
.project-card__image--1 {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a1040 50%, #0a2a1a 100%);
}
.project-card__image--2 {
  background: linear-gradient(135deg, #1a0a2a 0%, #2a1a3a 50%, #0a1a2a 100%);
}
.project-card__image--3 {
  background: linear-gradient(135deg, #0a1a0a 0%, #1a2a0a 50%, #2a1a0a 100%);
}
.project-card__image--4 {
  background: linear-gradient(135deg, #2a0a0a 0%, #1a0a2a 50%, #0a2a2a 100%);
}
.project-card__image--5 {
  background: linear-gradient(135deg, #0a2a2a 0%, #0a1a2a 50%, #1a0a2a 100%);
}
.project-card__image--6 {
  background: linear-gradient(135deg, #1a1a0a 0%, #2a2a1a 50%, #0a0a1a 100%);
}

/* Decorative faux-grid lines inside card image */
.project-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Hover overlay with button */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-green);
  color: #000;
  font-size: 1.1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card__view-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 24px var(--clr-green-glow);
}

/* Category badge */
.project-card__category {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-sec);
  background: rgba(10,10,10,0.8);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  backdrop-filter: blur(8px);
}

/* Lumin Studio brand watermark */
.project-card__brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.12);
  pointer-events: none;
}

/* Card Body */
.project-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.project-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.project-card:hover .project-card__title { color: var(--clr-green); }

.project-card__desc {
  font-size: 0.875rem;
  color: var(--clr-text-sec);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-card:hover .tag {
  border-color: rgba(0,255,106,0.2);
}


/* ============================================================
   10. SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--section-gap) 0;
  background: var(--clr-bg-card);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.services__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Visual card */
.services__visual-card {
  position: relative;
  background: var(--clr-bg-card-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Code block styling */
.services__visual-code {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  font-size: 0.8rem;
  line-height: 1.7;
}
.code-comment { color: #5c6370; }
.code-keyword { color: #c678dd; }
.code-var     { color: #e06c75; }
.code-fn      { color: #61afef; }
.code-key     { color: #abb2bf; }
.code-str     { color: #98c379; }

/* Available badge */
.services__visual-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-green);
}
.services__visual-badge i { animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Content side */
.services__content .section-title { text-align: left; margin-bottom: 2rem; }
.services__content .section-tag   { display: inline-flex; }

/* Service items */
.services__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-item {}

.service-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.service-item__name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
}
.service-item__pct {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-green);
}

/* Progress bar track */
.service-item__bar {
  width: 100%;
  height: 4px;
  background: var(--clr-border);
  border-radius: 100px;
  overflow: hidden;
}
/* Progress bar fill – starts at 0, animated via JS */
.service-item__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-green) 0%, #00ffaa 100%);
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(0,255,106,0.5);
}


/* ============================================================
   11. PROCESS SECTION
   ============================================================ */
.process {
  padding: var(--section-gap) 0;
}

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 1rem;
}

.process__step {
  flex: 1;
  padding: 2rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.process__step:hover {
  border-color: rgba(0,255,106,0.3);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,255,106,0.05);
  transform: translateY(-4px);
}

.process__step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--clr-green-dim);
  border: 1px solid rgba(0,255,106,0.2);
  color: var(--clr-green);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.process__step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.process__step-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.process__step:hover .process__step-title { color: var(--clr-green); }

.process__step-desc {
  font-size: 0.875rem;
  color: var(--clr-text-sec);
  line-height: 1.7;
}

/* Connector between steps */
.process__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2.5rem;
  gap: 0.25rem;
  color: var(--clr-text-muted);
  flex-shrink: 0;
}
.process__connector-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--clr-border);
}
.process__connector-arrow { font-size: 0.65rem; }


/* ============================================================
   12. TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  padding: var(--section-gap) 0;
  background: var(--clr-bg-card);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.testimonials__slider {
  max-width: 780px;
  margin-inline: auto;
  position: relative;
}

.testimonials__quote-mark {
  font-size: 5rem;
  color: var(--clr-green);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -1.5rem;
}

/* Track & Slides */
.testimonials__track { position: relative; }

.testimonials__slide {
  display: none;
  animation: fadeSlide 0.4s var(--ease) forwards;
}
.testimonials__slide.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.testimonials__text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.9;
  color: var(--clr-text);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonials__author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonials__author-avatar--1 {
  background: linear-gradient(135deg, #1a2a3a, #0a1a2a);
  color: #61afef;
}
.testimonials__author-avatar--2 {
  background: linear-gradient(135deg, #2a1a3a, #1a0a2a);
  color: #c678dd;
}
.testimonials__author-avatar--3 {
  background: linear-gradient(135deg, #1a2a1a, #0a1a0a);
  color: #98c379;
}

.testimonials__author-name {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
}
.testimonials__author-role {
  display: block;
  font-size: 0.8rem;
  color: var(--clr-text-sec);
}

/* Navigation */
.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.testimonials__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-sec);
  font-size: 1rem;
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.testimonials__arrow:hover {
  color: var(--clr-green);
  border-color: var(--clr-green);
  box-shadow: 0 0 12px var(--clr-green-glow);
}

.testimonials__dots { display: flex; gap: 0.5rem; }

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  transition: background var(--transition), transform var(--transition), width var(--transition);
}
.testimonials__dot.active {
  background: var(--clr-green);
  width: 24px;
  border-radius: 4px;
}


/* ============================================================
   13. CLIENTS SECTION
   ============================================================ */
.clients {
  padding: var(--section-gap) 0;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.75rem 1rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  color: var(--clr-text-muted);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: default;
}
.client-logo:hover {
  color: var(--clr-text);
  border-color: rgba(0,255,106,0.25);
  transform: translateY(-3px);
}

.client-logo__icon,
.client-logo__svg {
  font-size: 2rem;
  width: 32px;
  height: 32px;
  transition: color var(--transition), fill var(--transition);
}
.client-logo__svg { fill: currentColor; }

.client-logo__name {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ============================================================
   14. BLOG SECTION
   ============================================================ */
.blog {
  padding: var(--section-gap) 0;
  background: var(--clr-bg-card);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

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

/* Blog Card */
.blog-card {
  background: var(--clr-bg-card-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,255,106,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Blog image area */
.blog-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card__image--1 {
  background: linear-gradient(135deg, #0a1a2a, #1a2a3a, #0a0a2a);
}
.blog-card__image--2 {
  background: linear-gradient(135deg, #1a0a1a, #2a1a2a, #0a0a1a);
}
.blog-card__image--3 {
  background: linear-gradient(135deg, #0a1a0a, #1a2a1a, #0a0a0a);
}

/* Decorative pattern */
.blog-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Diagonal gradient shimmer line */
.blog-card__image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(0,255,106,0.04) 50%,
    transparent 70%
  );
}

.blog-card__category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-green);
  background: rgba(0,255,106,0.1);
  border: 1px solid rgba(0,255,106,0.25);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

.blog-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.blog-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.blog-card:hover .blog-card__title { color: var(--clr-green); }

.blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--clr-text-sec);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-green);
  letter-spacing: 0.04em;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 0.7rem; }


/* ============================================================
   15. CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--section-gap) 0;
  position: relative;
  overflow: hidden;
}

/* Radial glow background */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,255,106,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
}

.cta-section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-green);
  background: var(--clr-green-dim);
  border: 1px solid rgba(0,255,106,0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.cta-section__heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* Highlighted phrase */
.cta-section__highlight {
  color: var(--clr-green);
  text-shadow: 0 0 40px rgba(0,255,106,0.3);
}

.cta-section__sub {
  font-size: 1rem;
  color: var(--clr-text-sec);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--clr-bg-card);
  border-top: 1px solid var(--clr-border);
  overflow: hidden;
  padding-top: 5rem;
}

/* Giant watermark text */
.footer__watermark {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

/* Brand column */
.footer__logo {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clr-text);
  margin-bottom: 1rem;
}
.footer__logo:hover { color: var(--clr-green); }

.footer__tagline {
  font-size: 0.875rem;
  color: var(--clr-text-sec);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer__socials {
  display: flex;
  gap: 0.6rem;
}

/* Link columns */
.footer__col-heading {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--clr-text-sec);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--clr-green); }
.footer__link i { font-size: 0.75rem; }

/* Bottom bar */
.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--clr-border);
  padding: 1.25rem 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__copyright,
.footer__credit {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}


/* ============================================================
   17. RESPONSIVE – TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  /* Hide desktop nav, show hamburger */
  .navbar__nav { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__mobile { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { justify-content: center; }
  .hero__photo-card { max-width: 380px; }

  .services__inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .clients__grid { grid-template-columns: repeat(4, 1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__col--brand { grid-column: 1 / -1; }
}


/* ============================================================
   18. RESPONSIVE – MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }

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

  .process__steps {
    flex-direction: column;
    gap: 1rem;
  }
  .process__connector {
    flex-direction: row;
    padding-top: 0;
    padding-left: 2rem;
    transform: rotate(90deg);
  }

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

  .clients__grid { grid-template-columns: repeat(2, 1fr); }

  .stats__inner { flex-direction: column; gap: 1rem; }
  .stats__divider { flex-direction: row; gap: 0.75rem; padding: 0; }
  .stats__divider-line { width: 40px; height: 1px; }

  .testimonials__slider { padding: 0 0.5rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__col--brand { grid-column: auto; }

  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-section__actions { flex-direction: column; align-items: center; }
}


/* ============================================================
   19. RESPONSIVE – SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }

  .hero__name { font-size: clamp(3rem, 16vw, 4.5rem); }

  .cta-section__heading { font-size: clamp(1.75rem, 8vw, 2.5rem); }

  .marquee__text { font-size: clamp(2rem, 10vw, 3rem); }
}


/* ============================================================
   20. PRINT / REDUCED MOTION
   ============================================================ */
@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; }
}
