/* ==========================================================================
   SmallBigSites - Main Stylesheet
   Theme: High-conversion, friendly, trustworthy local business agency
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --primary-50: #f0fdf4;
  --primary-100: #dcfce7;
  --primary-200: #bbf7d0;
  --primary-300: #86efac;
  --primary-400: #4ade80;
  --primary-500: #22c55e;
  --primary-600: #16a34a;
  --primary-700: #15803d;
  --primary-800: #166534;
  --primary-900: #14532d;
  
  --dark-950: #090d16;
  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  
  --accent-amber: #f59e0b;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

.font-handwritten {
  font-family: 'Caveat', cursive;
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Gradient accents */
.bg-gradient-brand {
  background: linear-gradient(135deg, #15803d 0%, #166534 60%, #14532d 100%);
}

.bg-gradient-hero {
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.15) 0%, rgba(248, 250, 252, 1) 75%);
}

.text-gradient-green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bento Box Shadow & Hover */
.bento-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(22, 163, 74, 0.12), 0 10px 15px -3px rgba(0, 0, 0, 0.04);
  border-color: rgba(34, 197, 94, 0.35);
}

/* Glassmorphism elements */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Device Mockup Shells */
.browser-mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.browser-header {
  background: #f1f5f9;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
}

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

.phone-mockup {
  border: 8px solid #1e293b;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  background: #1e293b;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 20;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Custom Modal Animations */
.modal-overlay {
  transition: opacity 0.25s ease-out;
}

.modal-content {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-hidden .modal-content {
  transform: scale(0.95) translateY(10px);
}

/* Live Demo Iframe / Preview Simulator */
.demo-canvas {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.demo-canvas::-webkit-scrollbar {
  width: 6px;
}

.demo-canvas::-webkit-scrollbar-track {
  background: #f8fafc;
}

.demo-canvas::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

/* Pulse Glow */
@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
}

.pulse-green {
  animation: softPulse 2.8s infinite;
}

/* Subtle grid background */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
}

/* Accordion transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-answer.open {
  max-height: 500px;
  opacity: 1;
}

/* Price card badge */
.popular-banner {
  background: linear-gradient(90deg, #15803d 0%, #22c55e 100%);
}
