/* Core Architectural Dark Glassmorphism CSS */
:root {
  --bg-dark: #07090e;
  --bg-card: #0d111a;
  --bg-card-hover: #161c2b;
  --accent-gold: #dfac6c;
  --accent-gold-glow: rgba(223, 172, 108, 0.25);
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --text-white: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #94a3b8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-slate);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, #dfac6c 50%, #b8833e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(13, 17, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-gold {
  background: rgba(22, 28, 43, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(223, 172, 108, 0.3);
  box-shadow: 0 12px 40px rgba(223, 172, 108, 0.1);
}

.glass-card {
  background: rgba(22, 28, 43, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
}

.glass-card:hover {
  background: rgba(22, 28, 43, 0.9);
  border-color: rgba(223, 172, 108, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(223, 172, 108, 0.15);
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Header & Nav */
header.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.sticky-nav.scrolled {
  padding: 0.75rem 0;
  background: rgba(7, 9, 14, 0.95);
  border-bottom: 1px solid rgba(223, 172, 108, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  white-space: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-slate);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s ease;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.78rem;
  }
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.btn-header-wa {
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.btn-header-quote {
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Mobile Toggle & Menu Drawer */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-dropdown-menu {
  display: none;
  position: fixed;
  top: 4.25rem;
  left: 0;
  right: 0;
  background: rgba(13, 17, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(223, 172, 108, 0.3);
  padding: 1.5rem;
  z-index: 99;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  flex-direction: column;
  gap: 1rem;
}

.mobile-dropdown-menu.active {
  display: flex;
}

.mobile-dropdown-menu a {
  color: var(--text-slate);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-menu a:hover, .mobile-dropdown-menu a.active {
  color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: var(--bg-dark);
  box-shadow: 0 8px 25px var(--accent-gold-glow);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-emerald {
  background: #10b981;
  color: var(--bg-dark);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.btn-emerald:hover {
  background: #34d399;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
}

/* Pricing Grid 3+3 Desktop Layout */
.pricing-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .pricing-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid-3x2 {
    grid-template-columns: 1fr;
  }
}

/* Pricing Grid Cards */
.price-card {
  background: rgba(22, 28, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(223, 172, 108, 0.15);
}

.price-card-popular {
  border-color: var(--accent-gold);
  background: rgba(22, 28, 43, 0.9);
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Mobile Sticky Conversion Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  
  header.sticky-nav .header-actions .btn-header-wa,
  header.sticky-nav .header-actions .btn-header-quote,
  .header-actions .btn-header-wa,
  .header-actions .btn-header-quote,
  .btn-header-wa,
  .btn-header-quote {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .mobile-bottom-bar {
    display: grid !important;
  }

  .header-actions {
    gap: 0 !important;
  }
}

/* Animated Keyframes & Dynamic Effects */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(223, 172, 108, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(223, 172, 108, 0.45);
    transform: scale(1.02);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

/* Programkur.com.tr Style Interactive Animated Service Canvas */
.service-canvas-window {
  background: #090d16;
  border: 1px solid rgba(223, 172, 108, 0.3);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(223, 172, 108, 0.12);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.service-canvas-window:hover {
  border-color: rgba(223, 172, 108, 0.6);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 50px rgba(223, 172, 108, 0.25);
}

.service-canvas-header {
  background: rgba(13, 17, 26, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot-red { background: #ff5f57; }
.mac-dot-yellow { background: #febc2e; }
.mac-dot-green { background: #28c840; }

.floating-status-chip {
  position: absolute;
  z-index: 15;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(223, 172, 108, 0.35);
  padding: 0.6rem 1rem;
  border-radius: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.3s ease;
}

.floating-status-chip:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent-gold);
}

#canvasMainImg {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Header Animated Links & Brand Pulse */
.nav-links a {
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.brand-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.brand-logo:hover .brand-icon {
  transform: rotate(6deg) scale(1.08);
  box-shadow: 0 0 20px rgba(223, 172, 108, 0.5);
}

/* Process Steps / Aşamalar Card Animation Styles */
.process-step-card {
  position: relative;
  background: rgba(13, 17, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(223, 172, 108, 0.4);
  box-shadow: 0 20px 45px -10px rgba(223, 172, 108, 0.18);
  background: rgba(22, 28, 43, 0.9);
}

.process-step-card:hover::before {
  opacity: 1;
}

.step-badge {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(223, 172, 108, 0.15), rgba(223, 172, 108, 0.05));
  border: 1px solid rgba(223, 172, 108, 0.3);
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.4s ease;
}

.process-step-card:hover .step-badge {
  background: linear-gradient(135deg, var(--accent-gold), #b8833e);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(223, 172, 108, 0.4);
  transform: scale(1.1) rotate(-3deg);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

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

@media (max-width: 640px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Base Styles */
footer {
  background: #05070c;
  border-top: 1px solid rgba(223, 172, 108, 0.15);
  padding: 4.5rem 0 5rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* Footer Animated Underline & Links */
.footer-col ul a {
  position: relative;
  display: inline-block;
  color: var(--text-slate);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col ul a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--accent-gold);
  transition: width 0.25s ease;
}

.footer-col ul a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-col ul a:hover::after {
  width: 100%;
}

/* Glass Card Hover (Directive 9: translateY -3px, 200ms, no 3D tilt) */
.glass-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 172, 108, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Floating Action Buttons Stack (Instagram, WhatsApp, Phone - Vertical Stack) */
.floating-contact-stack {
  position: fixed;
  bottom: 2rem;
  right: 1.25rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.floating-btn {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 8px 25px rgba(214, 36, 159, 0.45);
}

.floating-ig:hover {
  box-shadow: 0 12px 30px rgba(214, 36, 159, 0.65);
}

.floating-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-wa:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.floating-phone {
  background: #0d1322;
  border: 2.5px solid #ffffff;
  box-shadow: 0 8px 25px rgba(13, 19, 34, 0.7);
}

.floating-phone:hover {
  box-shadow: 0 12px 30px rgba(223, 172, 108, 0.5);
  border-color: var(--accent-gold);
}

.floating-wa.single-pulse {
  animation: singleScalePulse 500ms cubic-bezier(.2,.7,.2,1) 1 forwards;
}

@keyframes singleScalePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

/* 5. Hero Architectural Technical Line Animation (Runs Once 1.5s, Opacity ~8%) */
.hero-draft-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.08;
  z-index: 1;
}

.draw-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawStrokeOnce 1.5s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes drawStrokeOnce {
  to {
    stroke-dashoffset: 0;
  }
}

/* 8. Architectural Software Ticker Bar (35s Slow Marquee) */
.software-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(5, 7, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
  position: relative;
  user-select: none;
}

.software-ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}

.software-ticker-track:hover {
  animation-play-state: paused;
}

.software-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  color: var(--text-slate);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease;
}

.software-chip:hover {
  border-color: rgba(223, 172, 108, 0.4);
  color: var(--accent-gold);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Signature Architectural Production Process Section (Plan -> 3D Model -> Render -> Pafta) */
.signature-process-wrap {
  position: relative;
  padding-top: 1rem;
}

.signature-progress-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-bottom: 2.25rem;
  overflow: hidden;
}

.signature-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #eedaa7 100%);
  box-shadow: 0 0 12px rgba(223, 172, 108, 0.6);
  transition: width 400ms cubic-bezier(.16, 1, 0.3, 1);
}

.signature-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.signature-step-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(13, 17, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.45;
  transform: scale(0.98);
  will-change: opacity, transform;
  transition: opacity 350ms cubic-bezier(.16, 1, 0.3, 1), transform 350ms cubic-bezier(.16, 1, 0.3, 1), border-color 350ms ease, box-shadow 350ms ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.signature-step-card.is-active,
.signature-step-card:hover {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(223, 172, 108, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.signature-step-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 172, 108, 0.4);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.signature-step-card.is-active .signature-step-badge {
  background: var(--accent-gold);
  color: #07090e;
  border-color: #ffffff;
}

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

@media (max-width: 576px) {
  .signature-process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .signature-progress-track {
    display: none;
  }
}

/* 12. Reference Project Card Image Hover (1 -> 1.025 in 350ms) */
.ref-card-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #040508;
}

.ref-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms cubic-bezier(.2,.7,.2,1);
}

.ref-card-wrapper:hover .ref-card-img {
  transform: scale(1.025);
}

.ref-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.92) 0%, rgba(7, 9, 14, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: opacity 250ms ease;
}

.ref-card-wrapper:hover .ref-card-overlay {
  opacity: 1;
}

/* 9. Connected Architectural Process Line */
.process-line-wrap {
  position: relative;
}

.process-line-connector {
  position: absolute;
  top: 2.2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(223,172,108,0.1) 0%, rgba(223,172,108,0.5) 50%, rgba(223,172,108,0.1) 100%);
  border-top: 1px dashed rgba(223, 172, 108, 0.4);
  z-index: 0;
}

@media (max-width: 992px) {
  .process-line-connector {
    display: none;
  }
}

/* 1. Global Scroll Reveal (Directive 1: translateY 14px -> 0, 550ms cubic-bezier(.2,.7,.2,1)) */
.js-active .scroll-reveal {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
  transition: opacity 550ms cubic-bezier(.2,.7,.2,1), transform 550ms cubic-bezier(.2,.7,.2,1);
}

.js-active .scroll-reveal.scroll-reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Jury Student Interactive Section & Status Cards */
.jury-interactive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

@media (max-width: 576px) {
  .jury-interactive-grid {
    grid-template-columns: 1fr;
  }
}

.jury-status-card {
  position: relative;
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.jury-status-card:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 172, 108, 0.4);
  background: rgba(223, 172, 108, 0.06);
}

.jury-status-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(223, 172, 108, 0.1);
  border: 1px solid rgba(223, 172, 108, 0.25);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, color 200ms ease, border-color 200ms ease;
}

.jury-status-card:hover .jury-status-icon {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.jury-status-card.seq-highlight {
  border-color: var(--accent-gold);
  background: rgba(223, 172, 108, 0.12);
  box-shadow: 0 0 20px rgba(223, 172, 108, 0.25);
}

.jury-clock-svg {
  display: inline-block;
  vertical-align: middle;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.jury-clock-svg.rotate-once {
  transform: rotate(6deg);
}

@media (max-width: 768px) {
  .floating-contact-stack {
    bottom: 5.2rem;
    right: 0.85rem;
    gap: 0.6rem;
  }
  .floating-btn {
    width: 2.85rem;
    height: 2.85rem;
  }
}

/* 4. Accessibility: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .hero-draft-svg,
  .draw-path,
  .software-ticker-track,
  .floating-btn,
  .floating-wa,
  .glass-card,
  .ref-card-img,
  .ref-card-overlay,
  .jury-status-card,
  .jury-clock-svg {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

