/* Main Stylesheet - Jobsyte AI Agency Redesign */

/* Typography Pairings */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Subtle background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(191, 246, 48, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(27, 45, 36, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

h1,
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  /* Light serif for premium look */
  line-height: var(--line-height-tight);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: var(--line-height-tight);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-hero);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-light);
}

.text-italic {
  font-style: italic;
  font-family: var(--font-serif);
}

/* Gradient text effect (optional utility) */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accent glow effect for special elements */
.accent-glow {
  text-shadow: 0 0 20px rgba(191, 246, 48, 0.3);
}

/* Elevated text for premium feel */
.text-elevated {
  text-shadow: 0 2px 4px rgba(27, 45, 36, 0.1);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

/* Animations & Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.reveal {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal.active {
  opacity: 1;
}

.reveal-delay-1 {
  animation-delay: 0.15s;
}

.reveal-delay-2 {
  animation-delay: 0.3s;
}

.reveal-delay-3 {
  animation-delay: 0.45s;
}

/* Page Load Animation */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageLoad 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Header */
.header {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(27, 45, 36, 0.05);
}

.header.scrolled {
  background-color: rgba(253, 251, 247, 0.95);
  box-shadow: 0 4px 24px rgba(27, 45, 36, 0.08);
}

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

.logo-container h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0;
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
  letter-spacing: -0.03em;
  transition: transform 0.3s ease;
}

.logo-container a:hover h2 {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav a {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(27, 45, 36, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 500px;
  height: 500px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-background);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 246, 48, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(191, 246, 48, 0.2);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(191, 246, 48, 0.2);
}

.btn-accent:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(191, 246, 48, 0.4);
}

.btn-accent:active {
  transform: translateY(0);
}

.btn-workshop {
  background-color: var(--color-primary);
  color: white !important;
  border: 2px solid var(--color-primary);
}

.btn-workshop:hover {
  background-color: var(--color-accent);
  color: var(--color-primary) !important;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 246, 48, 0.3);
}

.btn-workshop:active {
  transform: translateY(0);
}

.workshop-cta {
  background-color: white;
  color: var(--color-primary) !important;
  border: 2px solid white;
}

.workshop-cta:hover {
  background-color: var(--color-accent);
  color: var(--color-primary) !important;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 246, 48, 0.3);
}

.workshop-cta:active {
  transform: translateY(0);
}

.reserve-spot-btn {
  background-color: var(--color-primary);
  color: white !important;
  border: 2px solid var(--color-primary);
}

.reserve-spot-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-primary) !important;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 246, 48, 0.3);
}

.reserve-spot-btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 45, 36, 0.15);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: var(--font-size-base);
}

/* Sections */
.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
  z-index: 2; /* Ensures sections appear above hero */
  background-color: var(--color-background); /* Solid background to cover hero elements */
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  opacity: 0.5;
}

.section-title {
  font-size: var(--font-size-4xl);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title .text-italic {
  position: relative;
  display: inline-block;
}

.section-title .text-italic::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.4;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  isolation: isolate; /* Creates stacking context to contain children */
}

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

.hero-subtitle {
  font-size: var(--font-size-lg);
  max-width: 650px;
  margin: 0 auto var(--spacing-xl);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Craft-Inspired Hero */
.hero-craft {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1a14 0%, var(--color-primary) 50%, #1a2d24 100%);
}

.hero-title-large {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.hero-title-large .text-italic {
  font-family: var(--font-serif);
  text-transform: none;
  font-weight: 300;
  display: block;
  margin-top: 0.2em;
}

.hero-subtitle-craft {
  font-size: var(--font-size-lg);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* 3D Organic Blobs - Glossy Effect */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  animation: float 25s ease-in-out infinite;
  pointer-events: none;
  filter: blur(0px);
  z-index: 1;
}

.hero-blob-1 {
  width: 700px;
  height: 700px;
  top: 5%;
  right: 0%;
  background: radial-gradient(circle at 35% 35%,
    rgba(191, 246, 48, 0.5) 0%,
    rgba(168, 217, 42, 0.4) 20%,
    rgba(191, 246, 48, 0.25) 45%,
    rgba(144, 200, 30, 0.15) 65%,
    transparent 85%);
  filter: blur(40px);
  animation-duration: 22s;
  mix-blend-mode: screen;
}

/* Inner highlight for 3D effect */
.blob-inner-1 {
  position: absolute;
  width: 250px;
  height: 250px;
  top: 15%;
  left: 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(191, 246, 48, 0.3) 30%,
    transparent 70%);
  filter: blur(30px);
  animation: float 15s ease-in-out infinite reverse;
}

.hero-blob-2 {
  width: 550px;
  height: 550px;
  bottom: 10%;
  right: 10%;
  background: radial-gradient(circle at 45% 40%,
    rgba(191, 246, 48, 0.4) 0%,
    rgba(168, 217, 42, 0.3) 25%,
    rgba(191, 246, 48, 0.2) 50%,
    transparent 75%);
  filter: blur(50px);
  animation-delay: 8s;
  animation-duration: 28s;
  mix-blend-mode: screen;
}

.blob-inner-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 20%;
  left: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(191, 246, 48, 0.25) 35%,
    transparent 70%);
  filter: blur(25px);
  animation: float 18s ease-in-out infinite;
}

.hero-blob-3 {
  width: 350px;
  height: 350px;
  top: 40%;
  right: 35%;
  background: radial-gradient(circle at 50% 50%,
    rgba(191, 246, 48, 0.25) 0%,
    rgba(168, 217, 42, 0.15) 40%,
    transparent 70%);
  filter: blur(60px);
  animation-delay: 14s;
  animation-duration: 32s;
  opacity: 0.7;
  mix-blend-mode: screen;
}

/* Enhanced float animation for blobs */
@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(30px, -40px) scale(1.08) rotate(5deg);
  }
  50% {
    transform: translate(-20px, -60px) scale(0.92) rotate(-3deg);
  }
  75% {
    transform: translate(40px, -30px) scale(1.05) rotate(4deg);
  }
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-xl);
  position: relative;
}

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

/* Responsive grid with smooth transitions */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* Cards */
.card {
  padding: var(--spacing-xl);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27, 45, 36, 0.04);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(191, 246, 48, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 16px 40px rgba(27, 45, 36, 0.12);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

.card-title {
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: var(--color-accent);
}

/* Newsletter/Workshop Badge */
.badge {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #a8d92a 100%);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
  box-shadow: 0 4px 12px rgba(191, 246, 48, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(191, 246, 48, 0.35);
}

.badge:hover::before {
  left: 100%;
}

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, rgba(247, 244, 240, 0.5) 0%, rgba(253, 251, 247, 0.5) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.form-group:focus-within .form-label {
  color: var(--color-primary);
}

.form-input {
  width: 100%;
  padding: 1.25rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  color: var(--color-text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: white;
  box-shadow: 0 4px 16px rgba(27, 45, 36, 0.1);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: var(--color-text-muted);
  transition: opacity 0.3s ease;
}

.form-input:focus::placeholder {
  opacity: 0.6;
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-background);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(191, 246, 48, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.footer h3 {
  color: var(--color-accent);
  font-size: var(--font-size-2xl);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(191, 246, 48, 0.2);
}

.footer h4 {
  color: rgba(253, 251, 247, 0.9);
  margin-bottom: 1.5rem;
}

.footer p {
  color: rgba(253, 251, 247, 0.7);
  line-height: 1.7;
}

.footer a {
  color: var(--color-background);
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.footer a:hover {
  opacity: 1;
  color: var(--color-accent);
  transform: translateX(3px);
}

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

.footer ul li {
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.footer ul li:hover {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer ul li:hover {
    transform: none;
  }

  .footer a:hover {
    transform: none;
  }
}

/* Mobile Nav */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-primary);
  background: none;
  border: none;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(191, 246, 48, 0.1), transparent);
  transition: left 0.6s ease;
}

.process-step:hover::before {
  left: 100%;
}

.process-step:hover {
  transform: translateY(-12px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 48px rgba(27, 45, 36, 0.12);
}

.step-number {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  font-family: var(--font-serif);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(27, 45, 36, 0.15);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--color-accent), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step:hover .step-number {
  transform: scale(1.15) rotate(10deg);
  background: linear-gradient(135deg, var(--color-accent) 0%, #a8d92a 100%);
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(191, 246, 48, 0.3);
}

.process-step:hover .step-number::after {
  opacity: 1;
}

/* New Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 3rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateX(8px);
  border-color: var(--color-accent);
  box-shadow: -8px 16px 40px rgba(27, 45, 36, 0.1);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(191, 246, 48, 0.1) 0%, rgba(191, 246, 48, 0.05) 100%);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-accent) 0%, #a8d92a 100%);
  transform: scale(1.1) rotate(5deg);
}

.service-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: rgba(27, 45, 36, 0.12);
  line-height: 1;
  transition: color 0.4s ease;
}

.service-card:hover .service-number {
  color: rgba(191, 246, 48, 0.5);
}

.service-title {
  font-size: var(--font-size-xl);
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-description {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-link:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* Process Carousel */
.process-carousel-wrapper {
  overflow: hidden;
  margin-top: 3rem;
  padding: 2rem 0;
  position: relative;
}

.process-carousel-wrapper::before,
.process-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.process-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface) 0%, transparent 100%);
}

.process-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface) 0%, transparent 100%);
}

.process-carousel {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.process-carousel:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-25% - 1rem));
  }
}

.process-slide {
  min-width: 350px;
  padding: 3rem 2.5rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.4s ease;
  cursor: pointer;
}

.process-slide:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(27, 45, 36, 0.12);
}

.process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(27, 45, 36, 0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-slide:hover .process-number {
  transform: scale(1.15) rotate(-10deg);
  background: linear-gradient(135deg, var(--color-accent) 0%, #a8d92a 100%);
  color: var(--color-primary);
}

.process-heading {
  font-size: var(--font-size-2xl);
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.process-text {
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

/* Why Section Enhanced */
.why-section {
  padding: var(--spacing-4xl) 0;
}

.why-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(191, 246, 48, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
}

.why-content {
  max-width: 1200px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 4rem;
}

.why-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(191, 246, 48, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(191, 246, 48, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.why-title {
  font-size: var(--font-size-4xl);
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.why-intro {
  font-size: var(--font-size-lg);
  color: rgba(253, 251, 247, 0.75);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.why-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 246, 48, 0.15);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.why-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.why-card:hover .why-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(191, 246, 48, 0.4);
}

.why-icon {
  color: var(--color-primary);
}

.why-card-title {
  font-size: var(--font-size-xl);
  color: white;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.why-card-text {
  color: rgba(253, 251, 247, 0.7);
  line-height: 1.7;
  margin: 0;
}

/* Tech Stack Cards */
.tech-card {
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tech-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--color-accent), transparent, var(--color-primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-card:hover::after {
  opacity: 1;
}

.tech-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: transparent;
  box-shadow: 0 20px 48px rgba(27, 45, 36, 0.15);
}

.tech-card > div:first-child {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover > div:first-child {
  transform: scale(1.2) translateY(-5px);
}

/* Section Subtitle */
.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--color-text-light);
  line-height: 1.8;
  font-weight: var(--font-weight-normal);
  position: relative;
  padding-bottom: 1rem;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* Section Visibility Animation - Removed, using .reveal instead */

/* Smooth Animated Background Paths */
.animated-paths-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
  z-index: 1;
}

.animated-paths-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.animated-path {
  stroke: var(--color-accent);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes smoothWave {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-8px) translateX(5px);
    opacity: 0.6;
  }
}

@keyframes gentleFlow {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Workshop Artistic Blurred Background */
.workshop-artistic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.artistic-shape {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(90px);
  opacity: 1;
  will-change: transform;
}

.artistic-shape-1 {
  width: 1100px;
  height: 1000px;
  top: -35%;
  left: -20%;
  background: radial-gradient(ellipse at 30% 40%,
    rgba(191, 246, 48, 0.3) 0%,
    rgba(168, 217, 42, 0.22) 25%,
    rgba(144, 200, 30, 0.15) 50%,
    transparent 75%);
  animation: artisticFloat1 28s ease-in-out infinite;
}

.artistic-shape-2 {
  width: 950px;
  height: 1050px;
  top: -10%;
  right: -25%;
  background: radial-gradient(ellipse at 70% 30%,
    rgba(253, 251, 247, 0.12) 0%,
    rgba(191, 246, 48, 0.18) 20%,
    rgba(120, 180, 25, 0.14) 45%,
    transparent 70%);
  border-radius: 50% 40% 60% 50% / 60% 50% 40% 60%;
  animation: artisticFloat2 32s ease-in-out infinite;
  animation-delay: 4s;
}

.artistic-shape-3 {
  width: 800px;
  height: 850px;
  bottom: -30%;
  left: 20%;
  background: radial-gradient(circle at 50% 50%,
    rgba(191, 246, 48, 0.25) 0%,
    rgba(168, 217, 42, 0.18) 35%,
    rgba(100, 160, 20, 0.1) 60%,
    transparent 75%);
  border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%;
  animation: artisticFloat3 36s ease-in-out infinite;
  animation-delay: 8s;
}

.artistic-shape-4 {
  width: 700px;
  height: 750px;
  top: 30%;
  left: 5%;
  background: radial-gradient(ellipse at 40% 50%,
    rgba(253, 251, 247, 0.1) 0%,
    rgba(191, 246, 48, 0.16) 25%,
    rgba(144, 200, 30, 0.12) 50%,
    transparent 75%);
  border-radius: 70% 30% 50% 60% / 40% 60% 50% 40%;
  animation: artisticFloat4 26s ease-in-out infinite;
  animation-delay: 12s;
}

.artistic-shape-5 {
  width: 850px;
  height: 900px;
  bottom: 5%;
  right: 10%;
  background: radial-gradient(ellipse at 60% 60%,
    rgba(191, 246, 48, 0.22) 0%,
    rgba(168, 217, 42, 0.16) 30%,
    rgba(120, 180, 25, 0.1) 55%,
    transparent 70%);
  border-radius: 50% 60% 40% 70% / 60% 40% 70% 50%;
  animation: artisticFloat5 30s ease-in-out infinite;
  animation-delay: 6s;
}

@keyframes artisticFloat1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(60px, -40px) rotate(5deg) scale(1.08);
  }
  50% {
    transform: translate(-30px, 50px) rotate(-3deg) scale(0.95);
  }
  75% {
    transform: translate(40px, 20px) rotate(4deg) scale(1.05);
  }
}

@keyframes artisticFloat2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  30% {
    transform: translate(-50px, 60px) rotate(-6deg) scale(1.1);
  }
  60% {
    transform: translate(70px, -30px) rotate(4deg) scale(0.92);
  }
  85% {
    transform: translate(-20px, 40px) rotate(-2deg) scale(1.06);
  }
}

@keyframes artisticFloat3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate(50px, -50px) rotate(7deg) scale(1.12);
  }
  50% {
    transform: translate(-60px, 40px) rotate(-5deg) scale(0.88);
  }
  80% {
    transform: translate(30px, -20px) rotate(3deg) scale(1.04);
  }
}

@keyframes artisticFloat4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  35% {
    transform: translate(-40px, -45px) rotate(-4deg) scale(1.07);
  }
  65% {
    transform: translate(55px, 35px) rotate(6deg) scale(0.94);
  }
  90% {
    transform: translate(-25px, -15px) rotate(-3deg) scale(1.03);
  }
}

@keyframes artisticFloat5 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  28% {
    transform: translate(45px, 55px) rotate(5deg) scale(1.09);
  }
  55% {
    transform: translate(-50px, -35px) rotate(-7deg) scale(0.91);
  }
  82% {
    transform: translate(35px, 25px) rotate(4deg) scale(1.05);
  }
}

/* Workshop Schedule Cards */
.workshops-grid {
  margin-top: 3rem;
}

.workshop-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 40px rgba(27, 45, 36, 0.08),
    0 2px 8px rgba(27, 45, 36, 0.04);
}

.workshop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.workshop-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow:
    0 30px 60px rgba(27, 45, 36, 0.15),
    0 10px 20px rgba(191, 246, 48, 0.1);
  border-color: rgba(191, 246, 48, 0.5);
  background: rgba(255, 255, 255, 0.98);
}

.workshop-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.workshop-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(191, 246, 48, 0.1);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.workshop-spots {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
}

.workshop-title {
  font-size: var(--font-size-3xl);
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.workshop-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.workshop-details {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.workshop-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
}

.workshop-detail-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.workshop-detail-item span {
  font-size: var(--font-size-sm);
}

.workshop-detail-item strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.workshop-description {
  margin-bottom: 2rem;
}

.workshop-description > p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.workshop-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.highlight-item {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.workshop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.workshop-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semibold);
}

.price-amount {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  font-family: var(--font-serif);
  line-height: 1;
}

.workshop-register-btn {
  white-space: nowrap;
}

/* Coming Soon Workshop Card */
.workshop-card-coming-soon {
  background: linear-gradient(135deg, rgba(247, 244, 240, 0.5) 0%, rgba(253, 251, 247, 0.5) 100%);
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.workshop-card-coming-soon:hover {
  transform: none;
  box-shadow: none;
}

.coming-soon-content {
  text-align: center;
  max-width: 400px;
}

.coming-soon-content h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.coming-soon-content p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

/* Responsive Workshop Cards */
@media (max-width: 768px) {
  .workshop-card {
    padding: 2rem 1.5rem;
  }

  .workshop-title {
    font-size: var(--font-size-2xl);
  }

  .workshop-highlights {
    grid-template-columns: 1fr;
  }

  .workshop-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .workshop-register-btn {
    width: 100%;
  }
}

/* Active Nav Link */
.nav a.active {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.nav a.active::after {
  width: 100%;
}

/* Smooth transitions on all interactive elements */
a, button, input, textarea {
  transition: all 0.3s ease;
}

/* Selection styling */
::selection {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

::-moz-selection {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* Scrollbar styling (webkit browsers) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Loading state for buttons */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Utility classes for animations */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

  .reveal,
  .card,
  .process-step,
  .section {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Responsive Typography */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    display: none;
  }

  .header h1 {
    font-size: var(--font-size-3xl);
  }

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

  .hero-title {
    font-size: var(--font-size-3xl) !important;
  }

  .hero {
    min-height: 70vh;
    padding: var(--spacing-2xl) 0;
  }

  .hero-craft {
    min-height: 85vh;
  }

  .hero-title-large {
    font-size: clamp(2.5rem, 15vw, 4.5rem);
    line-height: 1;
  }

  .hero-subtitle-craft {
    font-size: var(--font-size-base);
    padding: 0 1rem;
  }

  .hero-blob-1 {
    width: 450px;
    height: 450px;
    top: 2%;
    right: -15%;
    filter: blur(35px);
  }

  .blob-inner-1 {
    width: 150px;
    height: 150px;
    filter: blur(20px);
  }

  .hero-blob-2 {
    width: 350px;
    height: 350px;
    bottom: 5%;
    right: -5%;
    filter: blur(40px);
  }

  .blob-inner-2 {
    width: 120px;
    height: 120px;
    filter: blur(18px);
  }

  .hero-blob-3 {
    width: 250px;
    height: 250px;
    top: 35%;
    right: 20%;
    filter: blur(45px);
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

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

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-number {
    font-size: 3rem;
    top: 1.5rem;
    right: 1.5rem;
  }

  .process-slide {
    min-width: 280px;
    padding: 2rem 1.5rem;
  }

  .process-number {
    width: 64px;
    height: 64px;
    font-size: 2rem;
  }

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

  .why-card {
    padding: 2rem;
  }

  .why-title {
    font-size: var(--font-size-3xl);
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .btn,
  nav {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}