/* Critical CSS ported from the original Google AI Studio build */
html { scroll-behavior: smooth; }
body {
  background-color: #FDFDFD;
  color: #0F172A;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  background-size: 50px 50px;
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
}

.premium-gradient-text {
  background: linear-gradient(135deg, #FF5416 0%, #F97316 50%, #FB923C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 84, 22, 0.1);
  box-shadow: 0 20px 40px -15px rgba(255, 84, 22, 0.08);
}

.perspective-1000 { perspective: 1000px; }
.transform-style-3d { transform-style: preserve-3d; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

.hero-img-container {
  background-color: #F8FAFC;
  aspect-ratio: 4/5;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes soft-pulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.15; }
}
.bg-soft-pulse { animation: soft-pulse 8s infinite ease-in-out; }

/* Lightweight scroll-reveal replacement for framer-motion's whileInView */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card tilt-on-hover (lightweight substitute for the mouse-tracked 3D tilt) */
.tilt-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.tilt-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 40px 80px -25px rgba(0,0,0,0.15);
}

/* Hero card gentle float */
.hero-card-float {
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Experience metric fade cycle */
.fade-cycle {
  animation: fadeCycle 4.5s ease-in-out infinite;
}
@keyframes fadeCycle {
  0% { opacity: 0; transform: translateY(6px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}

[data-lucide] { display: inline-block; }
