@font-face {
  font-family: 'Carrois Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Z9XPDmFATg-N1PLtLOOxvIHl9amE1C8.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/jizYRExUiTo99u79D0e0x8mI.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/jizdRExUiTo99u79D0e8fOydLxUd.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/jizaRExUiTo99u79D0KExQ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/jizfRExUiTo99u79B_mh0O6tLQ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #FF8F2C;
  --primary-dark: #E66B00;
  --bg-cream: #ffffff;
  --bg-cream-dark: #f9fafb;
  --bg-dark: #3B3B3B;
  --bg-card: #ffffff;
  --text-main: #3B3B3B;
  --text-muted: #6b7280;
  --text-light: #f9fafb;
  --max-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-sketchy: 2px solid rgba(59, 59, 59, 0.15);
  --radius-sketchy: 255px 15px 225px 15px/15px 225px 15px 255px;
}

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

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

body {
  font-family: 'PT Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Carrois Gothic', sans-serif;
  font-weight: 400;
  color: var(--bg-dark);
  line-height: 1.25;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  background: var(--primary);
  color: #ffffff;
  border: var(--border-sketchy);
  border-radius: var(--radius-sketchy);
  font-weight: 700;
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 0 rgba(17, 24, 39, 0.8);
}

.btn:hover {
  background: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--primary);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--primary);
}

.btn-secondary {
  background: var(--bg-cream-dark);
  color: var(--bg-dark);
  box-shadow: 0 4px 0 rgba(17, 24, 39, 0.8);
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--bg-dark);
  box-shadow: 0 6px 0 rgba(17, 24, 39, 0.8);
}

header {
  position: fixed;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--max-width);
  height: 80px;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-sketchy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

header.scrolled {
  top: 15px;
  height: 66px;
  border-radius: 33px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  animation: pulse-logo 3.5s infinite ease-in-out;
  will-change: transform;
}

header.scrolled .logo img {
  height: 50px;
  animation: pulse-logo-scrolled 3.5s infinite ease-in-out;
}

@keyframes pulse-logo {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 143, 44, 0));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 8px rgba(255, 143, 44, 0.4));
  }
}

@keyframes pulse-logo-scrolled {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 143, 44, 0));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 6px rgba(255, 143, 44, 0.4));
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-family: 'Carrois Gothic', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 20px;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background-color: var(--bg-dark);
}

.nav-link.nav-cta {
  background-color: var(--primary);
  color: #ffffff !important;
  border: var(--border-sketchy);
  border-radius: var(--radius-sketchy);
  padding: 8px 22px;
  box-shadow: 0 3px 0 rgba(17, 24, 39, 0.8);
  transition: var(--transition);
}

.nav-link.nav-cta:hover {
  background-color: #ffffff;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--primary);
}

.nav-link.nav-cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-sketchy);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  z-index: 1001;
  box-shadow: 0 3px 0 rgba(17, 24, 39, 0.8);
  transition: var(--transition);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

@media (max-width: 992px) {
  header {
    top: 15px;
    height: 70px;
  }
  header.scrolled {
    top: 10px;
    height: 60px;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 0 rgba(17, 24, 39, 0.8);
  }
  .menu-toggle:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 rgba(17, 24, 39, 0.8);
  }
  .nav-menu {
    position: absolute;
    top: 80px;
    right: 0;
    width: 260px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-sketchy);
    border-radius: 20px;
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 8px 0 rgba(17, 24, 39, 0.8);
    transform: translateY(15px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

.hero {
  padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 10vw, 120px);
  min-height: min(85vh, 900px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-cream-dark);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--bg-cream), transparent);
  z-index: 1;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 143, 44, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(59, 59, 59, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero {
    text-align: center;
  }
  .hero-bg-glow {
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 143, 44, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
  }
  .sketch-carousel {
    max-width: min(320px, 80vw);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .sketch-carousel {
    max-width: 260px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 143, 44, 0.06);
  border: 1px solid rgba(255, 143, 44, 0.2);
  border-radius: 30px;
  margin-bottom: 24px;
  animation: badge-pulse 3s infinite ease-in-out;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--primary);
}

.hero-badge .badge-text {
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary);
  display: inline-block;
}

.hero-content p {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 35px;
  color: var(--text-muted);
  font-weight: 350;
  max-width: 600px;
}

.hero-content p strong {
  color: var(--bg-dark);
  font-weight: 700;
}


.floating-card {
  position: absolute;
  background: #ffffff;
  border: var(--border-sketchy);
  border-radius: 12px;
  padding: clamp(6px, 1.2vw, 10px) clamp(10px, 1.8vw, 16px);
  display: flex;
  align-items: center;
  gap: clamp(6px, 1vw, 10px);
  box-shadow: 0 8px 0 rgba(17, 24, 39, 0.8);
  z-index: 5;
  font-family: 'Carrois Gothic', sans-serif;
  font-weight: 700;
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  white-space: nowrap;
  pointer-events: none;
}

.float-card-1 {
  top: 10%;
  left: -20px;
  animation: float-1 5s infinite ease-in-out;
}

.float-card-2 {
  bottom: 15%;
  right: -30px;
  animation: float-2 6s infinite ease-in-out;
}

.float-card-3 {
  bottom: -10px;
  left: 20px;
  animation: float-3 5.5s infinite ease-in-out;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 143, 44, 0.05);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 143, 44, 0.1);
  }
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

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

@keyframes float-3 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@media (max-width: 992px) {
  .floating-card {
    box-shadow: 0 4px 0 rgba(17, 24, 39, 0.8);
    border-radius: 8px;
  }

  .float-card-1 {
    top: 5%;
    left: -5px;
  }

  .float-card-2 {
    bottom: 10%;
    right: -5px;
  }

  .float-card-3 {
    bottom: -15px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .floating-card {
    font-size: 0.65rem;
    padding: 5px 8px;
    gap: 4px;
    box-shadow: 0 3px 0 rgba(17, 24, 39, 0.8);
  }
  .float-card-icon {
    font-size: 0.85rem;
  }
  .float-card-1 {
    top: 2%;
    left: 0;
  }
  .float-card-2 {
    bottom: 8%;
    right: 0;
  }
  .float-card-3 {
    bottom: -10px;
    left: 5px;
  }
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sketch-carousel {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float-y 6s infinite ease-in-out;
}

.carousel-sketch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.03));
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.9) rotate(-4deg);
  z-index: 1;
}

.carousel-sketch.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) rotate(0deg);
  z-index: 2;
}

.carousel-sketch.exit {
  opacity: 0;
  transform: scale(1.05) rotate(4deg);
  z-index: 3;
}

.sketch-carousel:hover .carousel-sketch.active {
  transform: scale(1.03) rotate(2deg);
}

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

.services {
  padding: 100px 0;
  background: var(--bg-cream);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: #ffffff;
  border: var(--border-sketchy);
  border-radius: var(--radius-sketchy);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 0 rgba(17, 24, 39, 0.06);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--primary);
  opacity: 0;
  transform: scale(0.98);
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 14px 0 rgba(255, 143, 44, 0.15);
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.service-img-container {
  width: 100%;
  aspect-ratio: 1.4;
  background: transparent;
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.05) brightness(0.98);
}

.service-card:hover .service-img-container img {
  transform: scale(1.04);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: 'Carrois Gothic', sans-serif;
  color: var(--bg-dark);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card .service-intro {
  margin-bottom: 15px;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.service-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
  white-space: nowrap;
}

.service-bullets li::before {
  content: '\2713';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.btn-subtle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 22px;
  border: 1px solid rgba(59, 59, 59, 0.2);
  border-radius: var(--radius-sketchy);
  font-family: 'Carrois Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  background: transparent;
  transition: var(--transition);
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-subtle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 143, 44, 0.04);
  transform: translateX(3px);
}

.projects {
  padding: 100px 0;
  background: var(--bg-cream-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.project-card {
  background: #ffffff;
  border: var(--border-sketchy);
  border-radius: var(--radius-sketchy);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 0 rgba(17, 24, 39, 0.08);
}

.project-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: 0 16px 0 rgba(255, 143, 44, 0.15);
}

.project-img-wrapper {
  background: var(--bg-cream);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-sketchy);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.beerescape-logo-container {
  position: relative;
  background-color: #1a0f03; 
  background-image: radial-gradient(circle, rgba(40,24,6,1) 0%, rgba(15,8,2,1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.beerescape-logo-container img.beerescape-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
  animation: float-logo-clean 4s infinite ease-in-out;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  will-change: transform;
}

.project-card:hover .beerescape-logo {
  transform: scale(1.08) rotate(1deg);
  filter: drop-shadow(0 15px 30px rgba(255, 143, 44, 0.45));
}

@keyframes float-logo-clean {
  0%, 100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.65));
  }
  50% {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 14px 24px rgba(255, 143, 44, 0.2));
  }
}

.project-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 12px;
  border: 1px solid rgba(17,24,39,0.15);
}

.project-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.project-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.project-features li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-features li::before {
  content: '\2713';
  color: var(--primary);
  font-weight: bold;
}

.project-card-empty {
  background: transparent;
  border: 2px dashed rgba(17, 24, 39, 0.25);
  border-radius: var(--radius-sketchy);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
  transition: var(--transition);
}

.project-card-empty:hover {
  border-color: var(--primary);
  background: rgba(255, 143, 44, 0.02);
  transform: scale(0.99);
}

.coming-soon-icon {
  width: 80px;
  height: 80px;
  border: 2px dashed rgba(17, 24, 39, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: rgba(17, 24, 39, 0.4);
  transition: var(--transition);
}

.project-card-empty:hover .coming-soon-icon {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(45deg);
}

.project-card-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: rgba(17, 24, 39, 0.6);
}

.project-card-empty p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 250px;
}

.regional {
  padding: 100px 0;
  background: var(--bg-cream);
}

.container-wide {
  max-width: 1400px;
}

.regional-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 993px) {
  .regional-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .regional-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

.map-card {
  position: relative;
  overflow: hidden;
}

.map-wrapper {
  overflow: hidden;
  aspect-ratio: 1.1;
  background: transparent;
}

@media (min-width: 993px) {
  .map-wrapper {
    aspect-ratio: 1.3;
  }
}

.map-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.regional-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.regional-content h2 span {
  color: var(--primary);
}

.regional-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.regional-intro {
  font-size: 1.08rem !important;
  line-height: 1.7;
}

.regional-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 25px 0 35px 0;
}

.reg-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.reg-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 143, 44, 0.1);
  color: var(--primary);
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 143, 44, 0.2);
}

.reg-feature strong {
  display: block;
  font-family: 'Carrois Gothic', sans-serif;
  color: var(--bg-dark);
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.reg-feature p {
  color: var(--text-muted);
  font-size: 0.95rem !important;
  line-height: 1.6;
  margin-bottom: 0;
}

footer {
  background-color: #202020;
  color: rgba(255, 255, 255, 0.55);
  padding: 50px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 35px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  max-width: 320px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 20px;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: status-pulse 2s infinite ease-in-out;
}

@keyframes status-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(34, 197, 94, 1);
  }
}

.footer-nav-col,
.footer-legal-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col h4,
.footer-legal-col h4 {
  font-family: 'Carrois Gothic', sans-serif;
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  font-size: 0.85rem;
}

.footer-nav-list a:hover {
  color: var(--primary);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-hero {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 10% 20%, rgba(59, 59, 59, 1) 0%, rgba(30, 30, 30, 1) 90%);
  color: #ffffff;
  padding: 180px 0 80px;
  text-align: center;
  border-bottom: 2px solid var(--primary);
  position: relative;
}

.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
}

.legal-hero h1 {
  font-family: 'Carrois Gothic', sans-serif;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.legal-container {
  background-color: var(--bg-cream-dark);
  padding: 80px 0;
}

.legal-grid-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 992px) {
  .legal-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.legal-sidebar {
  position: sticky;
  top: 110px;
  z-index: 10;
}

@media (max-width: 992px) {
  .legal-sidebar {
    position: static;
  }
}

.legal-nav-menu {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-sketchy);
  border: var(--border-sketchy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.legal-nav-menu h4 {
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg-dark);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.legal-nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 12px;
  border-left: 2px solid rgba(59, 59, 59, 0.08);
  font-weight: 700;
  transition: var(--transition);
  display: block;
}

.legal-nav-link:hover, .legal-nav-link.active {
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 16px;
}

.legal-main-content {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.legal-card-panel {
  background: #ffffff;
  padding: 45px;
  border-radius: var(--radius-sketchy);
  border: var(--border-sketchy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
  .legal-card-panel {
    padding: 30px 20px;
  }
}

.legal-card-panel h2 {
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 1.45rem;
  color: var(--bg-dark);
  margin-bottom: 22px;
  border-bottom: 2px solid rgba(59, 59, 59, 0.06);
  padding-bottom: 12px;
}

.legal-card-panel h3 {
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 1.15rem;
  color: var(--bg-dark);
  margin: 25px 0 15px;
}

.legal-card-panel p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-card-panel ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 25px;
}

.legal-card-panel li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.legal-card-panel li::before {
  content: '\2192';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.legal-card-panel a {
  color: var(--primary);
  font-weight: 700;
  transition: var(--transition);
}

.legal-card-panel a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.decor-item {
  position: absolute;
  pointer-events: none;
  
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.decor-sketch-wrapper {
  display: block;
  pointer-events: auto;
}

.decor-sketch-img {
  width: clamp(140px, 15vw, 240px);
  height: auto;
  opacity: 0.09;
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
  cursor: default;
  filter: grayscale(1) contrast(1.3) brightness(0.95);
}

.decor-sketch-img:hover {
  opacity: 0.22;
  transform: scale(1.06) rotate(2deg);
}

.decor-text-sketch {
  font-family: 'PT Sans', 'Courier New', monospace;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.2px;
  color: rgba(59, 59, 59, 0.085);
  white-space: nowrap;
  user-select: none;
  pointer-events: auto;
  cursor: default;
  transition: color 0.4s ease, transform 0.4s ease;
}

.decor-text-sketch:hover {
  color: rgba(255, 143, 44, 0.25);
  transform: scale(1.08) rotate(-1.5deg);
}

@media (max-width: 992px) {
  .decor-sketch-img {
    width: clamp(75px, 10vw, 120px);
    opacity: 0.055;
  }
  .decor-sketch-img:hover {
    opacity: 0.12;
  }
  .decor-text-sketch {
    font-size: clamp(0.75rem, 1.3vw, 1.05rem);
    color: rgba(59, 59, 59, 0.045);
  }
  .decor-text-sketch:hover {
    color: rgba(255, 143, 44, 0.15);
  }
}

.decor-server-rack {
  animation: drift-float-1 22s infinite ease-in-out;
}

.decor-switch {
  animation: drift-float-2 20s infinite ease-in-out;
}

.decor-laptop {
  animation: drift-float-3 24s infinite ease-in-out;
}

.decor-database {
  animation: drift-float-1 18s infinite ease-in-out 1s;
}

.decor-lock {
  animation: drift-float-2 25s infinite ease-in-out 2s;
}

.decor-router {
  animation: drift-float-3 21s infinite ease-in-out 1.5s;
}

.decor-gamepad {
  animation: drift-float-1 23s infinite ease-in-out 0.5s;
}

.decor-cloud {
  animation: drift-float-2 19s infinite ease-in-out 3s;
}

.decor-coffee {
  animation: drift-float-3 22s infinite ease-in-out 2.5s;
}

.decor-binary {
  animation: drift-float-1 26s infinite ease-in-out 4s;
}

@keyframes drift-float-1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(15px, -10px) rotate(2deg);
  }
  66% {
    transform: translate(-10px, 15px) rotate(-2deg);
  }
}

@keyframes drift-float-2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-18px, 18px) rotate(-3deg) scale(0.97);
  }
}

@keyframes drift-float-3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  40% {
    transform: translate(12px, 15px) rotate(2.5deg);
  }
  80% {
    transform: translate(-15px, -12px) rotate(-1.5deg);
  }
}

.led {
  animation: led-blink 3s infinite ease-in-out;
}

.led-green {
  animation-delay: 0.2s;
}

.led-orange {
  animation-delay: 0.8s;
}

.led-yellow {
  animation-delay: 1.4s;
}

@keyframes led-blink {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
}

.wifi-wave {
  animation: wifi-pulse 2.5s infinite ease-in-out;
  transform-origin: bottom center;
}

.wifi-wave-1 {
  animation-delay: 0.3s;
}

.wifi-wave-2 {
  animation-delay: 0.8s;
}

@keyframes wifi-pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

.steam-line {
  animation: steam-rise 4s infinite linear;
  transform-origin: bottom center;
}

.steam-1 {
  animation-delay: 0.2s;
}

.steam-2 {
  animation-delay: 1.5s;
}

.steam-3 {
  animation-delay: 2.8s;
}

@keyframes steam-rise {
  0% {
    transform: translateY(3px) scaleX(0.9);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-5px) scaleX(1.1);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-12px) scaleX(0.9);
    opacity: 0;
  }
}

.competencies {
  padding: 100px 0;
  background-color: var(--bg-cream-dark);
  position: relative;
}

.competencies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.competency-card {
  flex: 1 1 290px;
  max-width: 330px;
  background: #ffffff;
  border: var(--border-sketchy);
  border-radius: var(--radius-sketchy);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 0 rgba(17, 24, 39, 0.05);
}

.competency-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 14px 0 rgba(255, 143, 44, 0.15);
}

.comp-img-container {
  width: 100%;
  aspect-ratio: 1.5;
  background: var(--bg-cream-dark);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-sketchy);
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.05) brightness(0.98);
}

.competency-card:hover .comp-img-container img {
  transform: scale(1.05);
}

.competency-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: 'Carrois Gothic', sans-serif;
  color: var(--bg-dark);
}

.competency-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats-section {
  padding: 120px 0;
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 50%, #22222a 0%, #0d0d12 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-section .section-header h2 {
  color: #ffffff;
}

.stats-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  width: 100%;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(var(--stat-color-rgb), 0.15);
  border-radius: var(--radius-sketchy);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--stat-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stat-color);
  box-shadow: 0 15px 35px rgba(var(--stat-color-rgb), 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover::before {
  opacity: 1;
}

#stat-coffee {
  --stat-color: #FF8F2C;
  --stat-color-rgb: 255, 143, 44;
}

#stat-breakdown {
  --stat-color: #f38ba8;
  --stat-color-rgb: 243, 139, 168;
}

#stat-devices {
  --stat-color: #a6e3a1;
  --stat-color-rgb: 166, 227, 161;
}

#stat-deployments {
  --stat-color: #89b4fa;
  --stat-color-rgb: 137, 180, 250;
}

.stat-icon-wrapper {
  margin-bottom: 20px;
}

.stat-svg-illustration {
  width: 70px;
  height: 70px;
  color: var(--stat-color);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 12px rgba(var(--stat-color-rgb), 0.15));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.stat-card:hover .stat-svg-illustration {
  transform: scale(1.08) rotate(2deg);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 18px rgba(var(--stat-color-rgb), 0.35));
}

.stat-number-wrapper {
  font-family: 'Carrois Gothic', sans-serif;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--stat-color);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(var(--stat-color-rgb), 0.3);
}

.stat-card h4 {
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tech-workspace {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto 1fr;
  background: #1e1e2e;
  border-radius: 10px;
  overflow: visible;
  margin-top: 40px;
  min-height: 520px;
  position: relative;

  /* Mac-style window chrome */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Subtle 3D float */
  transform: perspective(1400px) rotateX(1.5deg) rotateY(-2.5deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-workspace:hover {
  transform: perspective(1400px) rotateX(0deg) rotateY(0deg) scale(1.01);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 5px 15px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Mac Window Titlebar */
.window-titlebar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding: 10px 0;
  background: linear-gradient(180deg, #2a2a3c 0%, #1e1e2e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
  min-height: 38px;
}

.titlebar-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.3px;
  white-space: nowrap;
  pointer-events: none;
}

.titlebar-spacer {
  flex: 1;
}

/* Sidebar */
.workspace-sidebar {
  background: #181825;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  border-bottom-left-radius: 10px;
}

.sidebar-header {
  padding: 14px 16px;
  background: #11111b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Carrois Gothic', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
}

.file-list {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.file-item:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
}

.file-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--primary);
  font-weight: 600;
}

.file-icon {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-transform: uppercase;
  min-width: 32px;
  text-align: center;
}

.cs-icon { background-color: #854CC7; }
.html-icon { background-color: #E34F26; }
.yaml-icon { background-color: #007ACC; }
.conf-icon { background-color: #FF8F2C; }
.sql-icon { background-color: #336791; }

.workspace-main {
  display: flex;
  flex-direction: column;
  background: #1e1e2e;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  position: relative;
  transform-style: preserve-3d;
  overflow: visible;
}

.editor-window {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.editor-tabs {
  background: #11111b;
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
}

.tab {
  background: #1e1e2e;
  padding: 10px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 2px solid var(--primary);
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.82rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  font-weight: 700;
}

.editor-content {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background: #1e1e2e;
}

.editor-pane {
  display: none;
  height: 100%;
}

.editor-pane.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

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

.editor-gutter {
  padding: 20px 10px 20px 14px;
  background: #1e1e2e;
  color: #6c7086;
  text-align: right;
  user-select: none;
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.65;
  min-width: 42px;
}

.editor-gutter span {
  display: block;
  opacity: 0.6;
}

.code-view {
  margin: 0;
  padding: 20px;
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #cdd6f4;
  white-space: pre-wrap;
  flex-grow: 1;
  overflow-x: auto;
}

.code-keyword { color: #cba6f7; font-weight: bold; }
.code-type { color: #89b4fa; }
.code-method { color: #89dceb; }
.code-string { color: #a6e3a1; }
.code-comment { color: #6c7086; font-style: italic; }

/* Tab Close Icon */
.tab-close-icon {
  margin-left: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.tab-close-icon:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* VS Code Status Bar */
.editor-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 12px;
  background: #007acc;
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.9);
  border-top: none;
  min-height: 22px;
}

.status-left,
.status-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-branch {
  font-weight: 600;
}

.status-sync {
  opacity: 0.75;
}

.terminal-window {
  background: #11111b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  height: 180px;
  display: flex;
  flex-direction: column;
  border-bottom-right-radius: 10px;
}

.terminal-header {
  padding: 8px 15px;
  background: #0d0d15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mac-inspired Window Controls */
.mac-controls {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 14px;
}

.terminal-header .mac-controls {
  padding: 0;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.8;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.tech-workspace:hover .mac-dot {
  opacity: 1;
}

.mac-dot:hover {
  transform: scale(1.15);
}

.mac-close {
  background: #ff5f56;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.mac-minimize {
  background: #ffbd2e;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.mac-maximize {
  background: #27c93f;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.terminal-body {
  padding: 12px 15px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #a6adc8;
}

.terminal-line {
  margin-bottom: 4px;
}

.terminal-prompt {
  color: #a6e3a1;
  font-weight: 700;
  margin-right: 8px;
}

.cmd-text {
  color: #ffffff;
  font-weight: bold;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #ffffff;
  vertical-align: middle;
  margin-left: 2px;
}

.terminal-cursor.blinking {
  animation: cursor-blink 1s infinite step-end;
}

@keyframes cursor-blink {
  from, to { background: transparent; }
  50% { background: #ffffff; }
}

.term-success { color: #a6e3a1; }
.term-info { color: #89b4fa; }
.term-header { color: #fab387; }

@media (max-width: 768px) {
  .tech-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    min-height: auto;
    transform: none;
    border-radius: 10px;
  }
  .tech-workspace:hover {
    transform: none;
  }
  
  .window-titlebar {
    border-radius: 10px 10px 0 0;
  }
  .titlebar-text {
    font-size: 0.65rem;
  }
  
  .workspace-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }
  
  .file-list {
    flex-direction: row;
    overflow-x: auto;
    padding: 5px;
    -webkit-overflow-scrolling: touch;
  }
  
  .file-item {
    padding: 8px 12px;
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    font-size: 0.75rem;
  }
  
  .file-item.active {
    border-bottom-color: var(--primary);
    border-left-color: transparent;
  }

  .workspace-main {
    border-radius: 0 0 10px 10px;
  }
  .terminal-window {
    border-radius: 0 0 10px 10px;
  }
  .editor-tabs {
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .tech-workspace {
    margin-top: 24px;
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.35),
      0 4px 12px rgba(0, 0, 0, 0.2);
  }
  .window-titlebar {
    padding: 8px 0;
    min-height: 32px;
  }
  .mac-dot {
    width: 9px;
    height: 9px;
  }
  .mac-controls {
    padding: 0 10px;
    gap: 6px;
  }
  .sidebar-header {
    padding: 10px 12px;
    font-size: 0.6rem;
  }
  .file-item {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
  .tab {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
  .code-view {
    padding: 14px;
    font-size: 0.72rem;
  }
  .editor-gutter {
    padding: 14px 6px 14px 10px;
    font-size: 0.7rem;
    min-width: 32px;
  }
  .terminal-window {
    height: 140px;
  }
  .terminal-body {
    font-size: 0.7rem;
    padding: 8px 10px;
  }
}

.glitch-triangle {
  animation: glitch-shake 4.5s infinite ease-in-out;
  transform-origin: 50% 48%;
}

@keyframes glitch-shake {
  0%, 90%, 94%, 98%, 100% {
    transform: translate(0, 0) scale(1);
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  91% {
    transform: translate(-1.5px, 0.5px) skewX(1deg);
    filter: drop-shadow(1.5px -0.5px 0 rgba(255, 143, 44, 0.5));
  }
  92% {
    transform: translate(1.5px, -1px) skewX(-1deg);
    filter: drop-shadow(-1.5px 1px 0 rgba(255, 50, 50, 0.5));
  }
  95% {
    transform: translate(-0.5px, 1.5px);
  }
  96% {
    transform: translate(1px, -1.5px);
  }
}

.glitch-exclamation {
  animation: glitch-blink 3s infinite ease-in-out;
  transform-origin: 50% 41%;
}

@keyframes glitch-blink {
  0%, 88%, 94%, 100% { opacity: 1; }
  90%, 92% { opacity: 0.1; }
}

.spark {
  animation: spark-flash 2s infinite ease-in-out;
  opacity: 0;
  transform-origin: center;
}

.spark-1 {
  animation-delay: 0.2s;
}

.spark-2 {
  animation-delay: 1.1s;
}

@keyframes spark-flash {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  40%, 60% {
    opacity: 0.95;
    transform: scale(1.1);
  }
}

.data-link-line {
  stroke-dasharray: 4 4;
  animation: dash-move 2.5s infinite linear;
}

@keyframes dash-move {
  to {
    stroke-dashoffset: -20;
  }
}

.led {
  animation: led-blink-fast 2.5s infinite ease-in-out;
}

.led-green {
  fill: #a6e3a1;
  animation-delay: 0.2s;
}

.led-orange {
  fill: #fab387;
  animation-delay: 1.2s;
}

@keyframes led-blink-fast {
  0%, 100% {
    opacity: 0.4;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 3px currentColor);
  }
}

.net-node-center {
  animation: net-pulse 2s infinite ease-in-out;
  transform-origin: 50px 50px;
}

@keyframes net-pulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.net-ring-1 {
  animation: ring-expand 3s infinite linear;
  transform-origin: 50px 50px;
}

.net-ring-2 {
  animation: ring-expand 3s infinite linear;
  animation-delay: 1.5s;
  transform-origin: 50px 50px;
}

@keyframes ring-expand {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.net-link {
  stroke-dasharray: 4 4;
  animation: dash-move 2s infinite linear;
}

.net-link-1 { animation-delay: 0.1s; }
.net-link-2 { animation-delay: 0.6s; }
.net-link-3 { animation-delay: 1.1s; }
.net-link-4 { animation-delay: 1.6s; }

.hero-cta-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.decor-coffee-cup {
  position: absolute;
  bottom: -55px;
  right: -75px;
  width: 220px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  transform: translate3d(0, 0, 180px) rotate(4deg);
  filter: drop-shadow(-18px 25px 15px rgba(0, 0, 0, 0.5));
  animation: cup-drift 12s infinite ease-in-out;
}

.decor-coffee-cup img {
  width: 100%;
  height: auto;
  opacity: 0.96;
}

@keyframes cup-drift {
  0%, 100% {
    transform: translate3d(0, 0, 180px) rotate(4deg);
  }
  50% {
    transform: translate3d(-6px, -10px, 180px) rotate(1deg);
  }
}

.term-error {
  color: #f38ba8 !important;
  font-weight: bold;
}

@media (max-width: 992px) {
  .decor-coffee-cup {
    width: 125px;
    right: -25px;
    bottom: -20px;
    transform: translate3d(0, 0, 45px) rotate(3deg);
    animation: cup-drift-mobile 12s infinite ease-in-out;
  }
}

@keyframes cup-drift-mobile {
  0%, 100% {
    transform: translate3d(0, 0, 45px) rotate(3deg);
  }
  50% {
    transform: translate3d(-3px, -6px, 45px) rotate(1deg);
  }
}


