/* Lawson Web Solutions theme (tan, brown, gold) */
:root {
  --tan: #e9e2d0;
  --tan-2: #f6f1e6;
  --brown: #4a3b2a;
  --brown-2: #3a2d1f;
  --gold: #c9a227;
  --text: #1e1e1e;
  --muted: #6c757d;
}

html { scroll-behavior: smooth; }
body { color: var(--text); background: var(--tan-2); font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial; }

.text-brown { color: var(--brown) !important; }

.hero { position: relative; overflow: hidden; background: #d4c4a8; }
.hero-badge { background: rgba(201,162,39,.12); color: var(--brown); border: 1px solid rgba(201,162,39,.4) }

.preview-bg { background: linear-gradient(135deg,#f7f3ea,#ffffff); }
.preview-hero { 
  background: linear-gradient(135deg,#d7c59a,#f2ead6); 
  position: relative;
  overflow: hidden;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.4);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

.text-white-75 {
  color: rgba(255,255,255,0.85);
}

.dot { width:12px; height:12px; border-radius:999px; display:inline-block; }
.dot.red { background:#ff5f57; }
.dot.yellow { background:#febc2e; }
.dot.green { background:#28c840; }

.btn-gold { background: var(--gold); color: #1f1507; border: none; }
.btn-gold:hover { background: #b89320; color: #1f1507; }
.btn-outline-brown { border-color: var(--brown); color: var(--brown); }
.btn-outline-brown:hover { background: var(--brown); color: #fff; }

.section { padding: 80px 0; }
.section-title { color: var(--brown); font-weight: 800; }
.section-sub { color: var(--muted); }

.feature { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 18px; padding: 24px; height: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,162,39,.12); color: var(--brown); }

.pricing-card { 
  background: #f9f4ec; 
  border: 1px solid rgba(0,0,0,.06); 
  border-radius: 18px; 
  overflow: hidden; 
  box-shadow: 0 12px 30px rgba(0,0,0,.06); 
  position: relative;
  min-height: 650px;
  aspect-ratio: 5/7;
  max-width: 350px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  background: transparent;
}

.pricing-card .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.pricing-card:hover .video-background {
  opacity: 1;
}

/* Fallback for when video fails to load */
.pricing-card .video-background:not([src]) {
  background: linear-gradient(45deg, rgba(201,162,39,0.2), rgba(74,59,42,0.2));
}

.pricing-card .content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.pricing-card .content .head {
  flex: 1;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  pointer-events: none;
}

.pricing-card .content .head h5 {
  color: var(--brown) !important;
  text-shadow: none !important;
  font-weight: 700;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.pricing-card:hover .content .head h5 {
  color: var(--gold) !important;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8) !important;
}

.pricing-card .content .bottom-bubbles {
  margin-top: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  position: relative;
  transition: all 0.4s ease;
}

/* Starter card slide-out panel (slides left) */
.pricing-card:nth-child(1) .content .bottom-bubbles {
  position: relative;
  overflow: visible;
}

.pricing-card:nth-child(1) .slide-out-panel {
  position: absolute;
  left: -300px;
  top: 0;
  width: 280px;
  height: 100%;
  background: var(--brown);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s ease;
  z-index: 10;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.pricing-card:nth-child(1):hover .slide-out-panel {
  opacity: 1;
  transform: translateX(0);
}

.pricing-card:nth-child(1):hover .bottom-bubbles > :not(.slide-out-panel) {
  opacity: 0;
  transform: translateX(-300px);
}

/* Professional card slide-out panel (slides right) */
.pricing-card:nth-child(2) .content .bottom-bubbles {
  position: relative;
  overflow: visible;
}

.pricing-card:nth-child(2) .slide-out-panel {
  position: absolute;
  right: -300px;
  top: 0;
  width: 280px;
  height: 100%;
  background: var(--brown);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.4s ease;
  z-index: 10;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.pricing-card:nth-child(2):hover .slide-out-panel {
  opacity: 1;
  transform: translateX(0);
}

.pricing-card:nth-child(2):hover .bottom-bubbles > :not(.slide-out-panel) {
  opacity: 0;
  transform: translateX(300px);
}

.slide-out-panel .feature-bubble {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 0.75rem 1.25rem;
  color: var(--brown);
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.5);
  width: 100%;
}

.slide-out-panel .button-bubble {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 0.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.5);
  width: 100%;
}

.pricing-card .feature-bubble {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 0.75rem 1.25rem;
  color: var(--brown);
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.5);
}

.pricing-card .feature-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  background: rgba(255, 255, 255, 0.98);
}

.pricing-card .button-bubble {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 0.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.5);
}

.pricing-card .button-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.98);
}

.pricing-card .button-bubble .btn {
  border: none;
  background: var(--gold);
  color: #1f1507;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.pricing-card .button-bubble .btn:hover {
  background: #b89320;
  transform: scale(1.05);
}

.pricing-card .head { 
  padding: 32px 28px; 
}

.pricing-card .price { 
  font-size: 52px; 
  font-weight: 800; 
  color: var(--gold);
  text-shadow: none;
  background: var(--brown);
  padding: 1rem 0;
  margin: 0 -2rem;
  width: calc(100% + 4rem);
  display: block;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-top: 3px solid rgba(201,162,39,0.5);
  border-bottom: 3px solid rgba(201,162,39,0.5);
  transition: all 0.3s ease;
}

.pricing-card:hover .price {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
  background: rgba(74,59,42,0.9);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.pricing-card .price:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  border-color: var(--gold);
}

/* Enhanced pricing section styling */
#pricing {
  position: relative;
  overflow: hidden;
  padding-top: 0 !important;
}

.pricing-section-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.pricing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(249, 244, 236, 0.92);
  z-index: 2;
}

#pricing .container {
  position: relative;
  z-index: 3;
}

.pricing-title-bar {
  background: var(--gold);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 2rem 0;
  margin-bottom: 3rem;
  position: relative;
  z-index: 4;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pricing-title-bar .section-title {
  color: #1f1507 !important;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.pricing-title-bar .section-sub {
  color: rgba(31,21,7,0.8) !important;
  font-size: 1.1rem;
  margin-bottom: 0;
}

#pricing .row {
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-card {
    aspect-ratio: 4/6;
    min-height: 550px;
    max-width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .pricing-card {
    max-width: 330px;
  }
}

.pricing-card .bottom-section ul li {
  font-size: 1rem;
  padding: 0.25rem 0;
}

/* Badge styling */
.badge {
  transition: all 0.3s ease;
  border-radius: 15px;
  padding: 0.5rem 1rem;
}

.pricing-card:hover .badge {
  transform: scale(1.05);
}

/* Removed fallback background to show pure video */
.badge-pill { border-radius: 999px; background: rgba(201,162,39,.14); color: var(--brown); }

.step { background: #fff; border: 1px dashed rgba(0,0,0,.12); border-radius: 14px; padding: 18px; height: 100%; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #1f1507; font-weight: 800; display: grid; place-items: center; }

.portfolio-card { 
  border-radius: 16px; 
  overflow: hidden; 
  border: 1px solid rgba(0,0,0,.08); 
  box-shadow: 0 10px 24px rgba(0,0,0,.06); 
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.portfolio-card .thumb { 
  background: linear-gradient(135deg, #ddd, #eee); 
  height: 180px; 
  position: relative;
  overflow: hidden;
}

.portfolio-card .portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-card .portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 1rem;
  font-weight: 600;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
}

.cta-band { background: linear-gradient(135deg, var(--brown), var(--brown-2)); color: #fff; border-radius: 20px; padding: 40px; }

.form-wrap { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.form-label { font-weight: 600; color: var(--brown); }

.shadow-soft { box-shadow: 0 10px 28px rgba(0,0,0,.06); }

#toast { position: fixed; bottom: 24px; right: 24px; background: #1f2937; color: #fff; padding: 12px 16px; border-radius: 10px; display: none; z-index: 1080; }
