/* ==========================================
   KENSTACK — Animations & Keyframes
   ========================================== */

/* ==========================================
   CORE KEYFRAMES
   ========================================== */

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.15);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes data-pulse {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes ticker-up {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scroll-vertical {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes border-rotate {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

@keyframes slide-in-bottom {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes counter-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes node-pulse {

  0%,
  100% {
    r: 5;
    opacity: 0.6;
  }

  50% {
    r: 8;
    opacity: 1;
  }
}

@keyframes line-draw {
  from {
    stroke-dashoffset: 1000;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes data-flow {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes grow-line {
  from {
    height: 0;
    opacity: 0;
  }

  to {
    height: 100%;
    opacity: 1;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes progress-fill {
  from {
    width: 0;
  }

  to {
    width: var(--target-width);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes hero-glow {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes word-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(80px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(80px) rotate(-360deg);
  }
}

@keyframes particle-float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.4;
  }

  25% {
    transform: translateY(-15px) translateX(8px);
    opacity: 0.8;
  }

  75% {
    transform: translateY(10px) translateX(-6px);
    opacity: 0.6;
  }
}

/* ==========================================
   HERO PARTICLE CANVAS
   ========================================== */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  background: #111;
  /* Slightly lighter than pure black to see beams better */
  margin-top: 0;
  padding-top: 80px;
  /* Offset for header */
}


.soft-aurora-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
}

.hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
  animation: hero-glow 8s ease-in-out infinite;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(10, 10, 10, 0.04) 0%, transparent 50%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-content {
    align-items: center;
    text-align: center;
  }
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 36px;
  margin-bottom: 28px;
  font-family: var(--font-body);
  animation: slide-in-bottom 0.8s ease both;
  backdrop-filter: blur(4px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  animation: slide-in-bottom 0.8s ease 0.1s both;
}

@media (min-width: 768px) {
  .hero-title {
    margin: 24px auto;
    text-align: center;
  }
}

.hero-title .highlight {
  background: linear-gradient(135deg, #F5EDD6 0%, #F5EDD6 40%, #f7f4ea 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite, slide-in-bottom 0.8s ease 0.1s both;
  display: inline-block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  text-align: left;
  margin: 0 0 40px 0;
  line-height: 1.75;
  font-weight: 300;
  animation: slide-in-bottom 0.8s ease 0.2s both;
}

@media (min-width: 768px) {
  .hero-subtitle {
    text-align: center;
    margin: 0 auto 40px auto;
  }
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  animation: slide-in-bottom 0.8s ease 0.3s both;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .hero-cta {
    justify-content: center;
  }
}

.btn-cta-primary {
  background: var(--text-dark);
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-cta-primary .arrow {
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-cta-secondary {
  background: transparent;
  color: #ffffff;
  padding: 15px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}


/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

.logo img {
  width: 64px;
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--text-dark);
}

nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================
   MOBILE NAV
   ========================================== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ==========================================
   TRUSTED SECTION — Grid Layout (Image 2 style)
   ========================================== */
.trusted-section {
  padding: 70px 0 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trusted-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
}

/* 4-column, 2-row bordered grid like Image 2 */
.trusted-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.trusted-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
  cursor: default;
  min-height: 110px;
}

.trusted-cell:hover {
  background: #fafafa;
}

.trusted-cell:hover .company-logo-img {
  filter: none !important;
  opacity: 1;
}

.company-logo-img {
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: all 0.3s ease;
}

.trusted-cell:hover .company-logo-img {
  filter: grayscale(0);
  opacity: 1;
}

.trusted-cell-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
  background: var(--bg-dark);
  padding: 100px 0;
  overflow: hidden;
}

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

.testimonials-header h2 {
  color: white;
}

.testimonials-header p {
  color: var(--text-lighter);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  height: 720px;
  overflow: hidden;
}

.testimonials-grid::before,
.testimonials-grid::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 10;
  pointer-events: none;
}

.testimonials-grid::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-dark), transparent);
}

.testimonials-grid::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-dark), transparent);
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonials-col-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scroll-vertical 24s linear infinite;
}

.testimonials-col:nth-child(2) .testimonials-col-inner {
  animation-direction: reverse;
  animation-duration: 20s;
}

.testimonials-col:nth-child(3) .testimonials-col-inner {
  animation-duration: 28s;
}

.testimonials-col-inner:hover {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--bg-dark-3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
  cursor: default;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.testimonial-card.video-card {
  background: var(--bg-dark-2);
  padding: 0;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a1a, #0e0e0e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.01) 10px, rgba(255, 255, 255, 0.01) 20px);
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  color: #000;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.testimonial-card.video-card:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.video-info {
  padding: 16px;
}

.video-info .client-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.video-info .client-role {
  font-size: 0.75rem;
  color: var(--text-lighter);
}

.testimonial-quote {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-info .name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.author-info .role {
  font-size: 0.72rem;
  color: var(--text-lighter);
}

.stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: linear-gradient(180deg, #060606 0%, #0a0a0a 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 14vw, 11rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  text-align: center;
  line-height: 0.85;
  margin-bottom: 60px;
  user-select: none;
  position: relative;
}

.footer-wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(212, 175, 55, 0.06) 50%, transparent 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s ease-in-out infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 2;
  display: block;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 2;
  transition: color 0.25s ease;
}

.footer-col .contact-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-col .contact-item .icon {
  font-size: 0.9rem;
  width: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 24px 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom .footer-links {
  display: flex;
  gap: 24px;
}

.footer-bottom .footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.25s ease;
}

.footer-bottom .footer-links a:hover {
  color: var(--gold);
}

/* Social links in footer */
.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 2.2;
  transition: color 0.25s ease !important;
}

.social-link i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.social-link:hover {
  color: var(--gold) !important;
}

/* FA icon sizing in tech reel */
.tech-icon i {
  font-size: 1rem;
}

/* FA icon sizing in workflow steps */
.step-node i {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.workflow-step.active .step-node i {
  color: var(--gold);
}

/* FA icon in section labels / card labels */
.card-label i {
  opacity: 0.8;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  nav,
  .header-actions .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .hero-stat:nth-child(odd)::after {
    display: block;
  }

  .hero-stat:nth-child(even)::after {
    display: none;
  }

  .hero-stat:nth-child(1),
  .hero-stat:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

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

  .bento-card-chart,
  .bento-card-tech,
  .bento-card-workflow,
  .bento-card-neural {
    grid-column: 1;
    grid-row: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    height: 480px;
  }

  .testimonials-col:last-child {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-grid .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    height: 500px;
  }

  .testimonials-col:nth-child(2) {
    display: none;
  }

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

  .footer-grid .footer-col:last-child {
    grid-column: span 1;
  }

  .workflow-steps {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   CURSOR GLOW
   ========================================== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: 1;
  mix-blend-mode: multiply;
}

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

.hww-section {
  padding: 100px 0 120px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

/* ambient glow */
.hww-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hww-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px
}

/* Header */
.hww-header {
  text-align: center;
  margin-bottom: 80px
}

.hww-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hww-label::before,
.hww-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #D4AF37;
  opacity: 0.5;
}

.hww-label.vis {
  opacity: 1;
  transform: translateY(0)
}

.hww-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.hww-title.vis {
  opacity: 1;
  transform: translateY(0)
}

.hww-subtitle {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.45);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hww-subtitle.vis {
  opacity: 1;
  transform: translateY(0)
}

/* Timeline */
.hww-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding-top: 8px;
}

/* connector line */
.hww-line {
  position: absolute;
  top: 44px;
  left: calc(12.5% + 36px);
  right: calc(12.5% + 36px);
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  z-index: 0;
}

.hww-line-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #D4AF37, rgba(212, 175, 55, 0.4), #D4AF37);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hww-line-fill.anim {
  width: 100%
}

/* Step */
.hww-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hww-step.vis {
  opacity: 1;
  transform: translateY(0)
}

/* Number circle */
.hww-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 28px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  z-index: 2;
}

.hww-num-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.3);
  transition: color 0.4s ease;
}

.hww-num-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.4s ease;
}

.hww-step:hover .hww-num {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12), 0 0 30px rgba(212, 175, 55, 0.15);
  transform: scale(1.08);
}

.hww-step:hover .hww-num-text {
  color: #D4AF37
}

.hww-step:hover .hww-num-pulse {
  border-color: rgba(212, 175, 55, 0.2);
  animation: hww-ring 2s ease-in-out infinite;
}

@keyframes hww-ring {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  60% {
    transform: scale(1.25);
    opacity: 0
  }
}

/* Card */
.hww-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.hww-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hww-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hww-step:hover .hww-card {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.08);
}

.hww-step:hover .hww-card::before {
  opacity: 1
}

.hww-step:hover .hww-card::after {
  opacity: 1
}

/* Icon */
.hww-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.35);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.hww-step:hover .hww-icon {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
  color: #D4AF37;
  transform: scale(1.1) rotate(-4deg);
}

.hww-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.hww-step:hover .hww-card h3 {
  color: #0a0a0a
}

.hww-card p {
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.4);
  line-height: 1.7;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

/* Tags */
.hww-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hww-tags span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.hww-step:hover .hww-tags span {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.2);
  color: rgba(212, 175, 55, 0.8);
}

/* Responsive */
@media(max-width:768px) {
  .hww-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px
  }

  .hww-line {
    display: none
  }

  .hww-step {
    opacity: 1;
    transform: none
  }
}

@media(max-width:480px) {
  .hww-timeline {
    grid-template-columns: 1fr
  }
}


/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

.projects-header {
  text-align: center;
  margin-bottom: 48px;
}

.projects-header h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.projects-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Filter Tags */
.projects-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.pf-tag {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pf-tag:hover {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-dark);
  transform: translateY(-1px);
}

.pf-tag.active {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Large card spans 2 columns */
.project-card-lg {
  grid-column: span 2;
}

/* Project Card */
.project-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 175, 55, 0.15);
}

/* Card Image Container */
.project-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-card-lg .project-card-img {
  aspect-ratio: 21/10;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

/* Overlay */
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(8px);
}

.project-card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.project-card-link:hover {
  color: var(--gold) !important;
}

.project-card-link i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-link i {
  transform: translateX(3px);
}

/* Card Info */
.project-card-info {
  padding: 24px;
}

.project-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.project-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Tech Stack Tags */
.project-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-card-tech span {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.05);
  letter-spacing: 0.02em;
}

/* Filtering transitions */
.project-card.hiding {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.project-card.showing {
  opacity: 1;
  transform: scale(1);
}


/* ==========================================
   ENQUIRY SECTION
   ========================================== */
.enquiry-section {
  padding: 120px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.enquiry-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.enquiry-header {
  text-align: center;
  margin-bottom: 64px;
}

.enquiry-header h2 {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.enquiry-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Grid: Contact Card + Form */
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

/* ── Contact Card ── */
.contact-card {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.cc-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #b8960c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000;
  flex-shrink: 0;
}

.cc-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.cc-header p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.cc-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 24px 0;
}

/* Info List */
.cc-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cc-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cc-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--gold);
  transition: all 0.3s ease;
}

.cc-info-item:hover .cc-info-icon {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

.cc-info-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.cc-info-item a,
.cc-info-item span:not(.cc-info-label) {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  display: block;
}

.cc-info-item a:hover {
  color: var(--gold);
}

/* Socials */
.cc-socials {
  display: flex;
  gap: 10px;
}

.cc-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cc-socials a:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold);
  transform: translateY(-3px);
}

/* Decorative */
.cc-glow-orb {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float-slow 8s ease-in-out infinite;
}

.cc-grid-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  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: 24px 24px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none;
}

/* ── Enquiry Form ── */
.enquiry-form-wrap {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ef-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Success Message */
.ef-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  animation: slide-in-bottom 0.5s ease;
}

.ef-success i {
  font-size: 1.1rem;
  color: #10b981;
}

.ef-success.show {
  display: flex;
}


/* ==========================================
   RESPONSIVE — NEW COMPONENTS
   ========================================== */
@media (max-width: 1024px) {
  .hww-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .hww-line {
    display: none;
  }

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

  .project-card-lg {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {

  .hww-section,
  .projects-section,
  .enquiry-section {
    padding: 80px 0;
  }

  .hww-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hww-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
  }

  .hww-step-number {
    margin-bottom: 0;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .hww-step-card {
    text-align: left;
  }

  .hww-step-icon {
    margin: 0 0 16px 0;
  }

  .hww-step-tags {
    justify-content: flex-start;
  }

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

  .project-card-lg {
    grid-column: span 1;
  }

  .enquiry-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ef-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .hww-step-number {
    width: 48px;
    height: 48px;
  }

  .hww-step-number span {
    font-size: 1rem;
  }

  .projects-filters {
    gap: 6px;
  }

  .pf-tag {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .enquiry-form-wrap {
    padding: 28px 20px;
  }

  .contact-card {
    padding: 32px 24px;
  }
}