/* ============================================
   YourTradeWebsites.com – Main Stylesheet
   Brand: Blue #1B3F8F | Orange #F47B20
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2D3748;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1B3F8F; text-decoration: none; }
a:hover { color: #F47B20; }

h1, h2, h3, h4 { color: #1B3F8F; line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-orange { color: #F47B20; }
.text-blue { color: #1B3F8F; }
.text-white { color: #fff; }
.bg-blue { background-color: #1B3F8F; }
.bg-light { background-color: #F7F8FC; }
.bg-orange { background-color: #F47B20; }
.bg-white { background-color: #fff; }

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ============================================
   STICKY HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo img {
  width: 230px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2D3748;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu a:hover { color: #F47B20; }
.nav-menu .btn-primary { color: #fff; }
.nav-menu .btn-primary:hover { color: #fff; }
.nav-menu a.active { color: #F47B20; font-weight: 600; }

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown:hover > .nav-dropdown-toggle,
.nav-dropdown:focus-within > .nav-dropdown-toggle {
  color: #F47B20;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 1px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  transform: translateY(6px);
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 180px;
  z-index: 1001;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
  margin: 0;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: #2D3748;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  background: #F7F8FC;
  color: #F47B20;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1B3F8F;
  margin: 5px 0;
  transition: 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: #F47B20;
  color: #fff;
}

.btn-primary:hover {
  background: #E06A10;
  color: #fff;
}

.btn-secondary {
  background: #1B3F8F;
  color: #fff;
}

.btn-secondary:hover {
  background: #153272;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #1B3F8F;
  border: 2px solid #1B3F8F;
}

.btn-outline:hover {
  background: #1B3F8F;
  color: #fff;
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

/* ============================================
   HERO — MODERN (21st.dev-style)
   ============================================ */
.hero-modern {
  position: relative;
  overflow: hidden;
  background: #080D1A;
  color: #fff;
  text-align: center;
  padding: 100px 0 0;
  min-height: 100vh;
}

.hero-modern-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Animated glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.35;
  will-change: transform;
}

.hero-glow--1 {
  width: 500px;
  height: 500px;
  background: rgba(27,63,143,0.6);
  top: -250px;
  left: -200px;
  animation: heroFloat1 8s ease-in-out infinite;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(244,123,32,0.35);
  top: -150px;
  right: -200px;
  opacity: 0.25;
  animation: heroFloat2 10s ease-in-out infinite;
}

.hero-glow--3 {
  width: 350px;
  height: 350px;
  background: rgba(27,63,143,0.4);
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.15;
  animation: heroFloat3 12s ease-in-out infinite;
}

@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}

@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.15); }
}

@keyframes heroFloat3 {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) translateY(-30px) scale(1.1); }
}

/* Dot grid overlay */
.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

/* Content layer */
.hero-modern-content {
  position: relative;
  z-index: 2;
}

/* Top chip/badge */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-chip-dot {
  width: 8px;
  height: 8px;
  background: #48BB78;
  border-radius: 50%;
  animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(72,187,120,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(72,187,120,0); }
}

/* Heading */
.hero-modern-h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Gradient text on highlight */
.hero-gradient-text {
  background: linear-gradient(135deg, #F47B20 0%, #FF9F4A 50%, #F47B20 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradientShift 4s ease-in-out infinite;
}

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Subtitle */
.hero-modern-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* CTA buttons */
.hero-modern-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero-btn-glow {
  box-shadow: 0 0 32px rgba(244,123,32,0.4);
  transition: box-shadow 0.3s, transform 0.15s;
}

.hero-btn-glow:hover {
  box-shadow: 0 0 48px rgba(244,123,32,0.6);
}

.hero-btn-outline {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.hero-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-1px);
}

/* Trust badges */
.hero-modern-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-modern-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.hero-modern-badge svg {
  flex-shrink: 0;
}

/* Device mockup in hero */
.hero-device-wrap {
  margin-top: 64px;
  perspective: 1200px;
}

.hero-device {
  max-width: 900px;
  margin: 0 auto;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 120px rgba(27,63,143,0.2);
  transform: rotateX(4deg) scale(0.95);
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-device:hover {
  transform: rotateX(0deg) scale(1);
}

.hero-device-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.hero-device-bar span:first-child { background: #ff5f57; }
.hero-device-bar span:nth-child(2) { background: #febc2e; }
.hero-device-bar span:nth-child(3) { background: #28c840; }

.hero-device img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-modern {
    padding: 60px 0 0;
    min-height: auto;
  }

  .hero-modern-h1 {
    font-size: 2.4rem;
    letter-spacing: -0.5px;
  }

  .hero-modern-sub {
    font-size: 1rem;
  }

  .hero-modern-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-device {
    transform: none;
    border-radius: 12px 12px 0 0;
  }

  .hero-glow { filter: blur(80px); }
  .hero-glow--1 { width: 300px; height: 300px; }
  .hero-glow--2 { width: 250px; height: 250px; }
  .hero-glow--3 { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
  .hero-modern-h1 {
    font-size: 1.85rem;
  }

  .hero-chip {
    font-size: 0.78rem;
    padding: 6px 16px;
  }
}

/* ============================================
   HERO — LEGACY (other pages)
   ============================================ */
.hero {
  background: linear-gradient(135deg, #1B3F8F 0%, #15326F 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 16px;
}

.hero h1 .highlight { color: #F47B20; }

.hero .subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero .btn { margin-top: 8px; }

/* Hero with background image */
.hero-with-image {
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,63,143,0.88) 0%, rgba(21,50,111,0.82) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.hero-badge svg { flex-shrink: 0; }

/* Hero with video background */
.hero.hero-with-video {
  position: relative;
  overflow: hidden;
  background: none;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* ============================================
   SHOP PACKAGE (standalone card + image)
   ============================================ */
.shop-package {
  margin-top: 48px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.shop-package-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.shop-package-content {
  padding: 40px;
}

.shop-package-content h3 { font-size: 1.25rem; margin-bottom: 8px; }
.shop-package-content .price { font-size: 2.2rem; font-weight: 800; color: #1B3F8F; margin-bottom: 8px; }
.shop-package-content .price .price-suffix { font-size: 0.9rem; font-weight: 500; color: #718096; }
.shop-package-content .divider { height: 1px; background: #E2E8F0; margin: 16px 0; }
.shop-package-content ul { list-style: none; padding: 0; margin-bottom: 24px; }
.shop-package-content ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.92rem;
  color: #4A5568;
}
.shop-package-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: #F47B20;
  border-radius: 50%;
}

.shop-package-image {
  position: relative;
  overflow: hidden;
}

.shop-package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   INCLUDED FEATURES
   ============================================ */
.included-features {
  margin-top: 48px;
  text-align: center;
}

.included-features h3 {
  margin-bottom: 24px;
}

.included-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #4A5568;
  font-weight: 500;
}

.included-item svg { flex-shrink: 0; }

/* ============================================
   OPTIONS & ADD-ONS
   ============================================ */
.options-section {
  margin-top: 48px;
}

.options-section h3 {
  margin-bottom: 24px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.option-item {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.option-item strong {
  display: block;
  font-size: 0.95rem;
  color: #1B3F8F;
  margin-bottom: 6px;
}

.option-item p {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 8px;
  line-height: 1.4;
}

.option-price {
  font-size: 1rem;
  font-weight: 700;
  color: #F47B20;
}

/* ============================================
   SMALL LIST (for maintenance additional charges)
   ============================================ */
ul.small-list {
  list-style: none;
  padding: 0;
}

ul.small-list li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.82rem;
  color: #718096;
}

ul.small-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #CBD5E0;
  border-radius: 50%;
}

/* ============================================
   PROBLEM / SOLUTION
   ============================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.problem-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.problem-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #FFF0E0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-card .icon svg { width: 28px; height: 28px; color: #F47B20; }

.problem-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem-card p { font-size: 0.95rem; color: #718096; }

.solution-banner {
  background: linear-gradient(135deg, #1B3F8F, #2550A8);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 16px;
  margin-top: 60px;
}

.solution-banner h2 { color: #fff; font-size: 1.8rem; margin-bottom: 8px; }
.solution-banner .highlight { color: #F47B20; }
.solution-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 24px; }

/* Solution banner with background image */
.solution-banner-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.solution-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,63,143,0.9), rgba(37,80,168,0.88));
}

.solution-banner-content {
  position: relative;
  z-index: 1;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}

.pricing-card:hover {
  box-shadow: 0 12px 32px rgba(27,63,143,0.12);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid #F47B20;
  box-shadow: 0 8px 24px rgba(244,123,32,0.15);
}

.pricing-card.featured .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #F47B20;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 8px; }

.pricing-card .pages {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 16px;
}

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1B3F8F;
  line-height: 1;
}

.pricing-card .price-suffix {
  font-size: 0.85rem;
  color: #718096;
  font-weight: 400;
}

.pricing-card .price-sub {
  font-size: 0.95rem;
  color: #718096;
  margin: 4px 0 20px;
}

.pricing-card .divider {
  height: 1px;
  background: #E2E8F0;
  margin: 20px 0;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-card ul li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: #4A5568;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card ul li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2348BB78'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  margin-top: 2px;
}

/* 4-col pricing for Packages page */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ============================================
   OPTIONAL ADD-ON TEASER
   ============================================ */
.addon-teaser {
  background: #F7F8FC;
  border: 2px dashed #CBD5E0;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.addon-teaser h3 { font-size: 1.4rem; margin-bottom: 8px; }
.addon-teaser .price { font-size: 1.1rem; color: #F47B20; font-weight: 700; margin-bottom: 16px; }
.addon-teaser p { max-width: 520px; margin: 0 auto 20px; color: #718096; }

/* ============================================
   FEATURES LIST (Enquiry System page)
   ============================================ */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 28px 18px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  position: relative;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.step-card .step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1B3F8F;
}

.step-card .step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #1B3F8F;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step-card h4 { font-size: 0.98rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: #718096; margin: 0; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.benefit-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.benefit-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #EBF0FA;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card .icon svg { width: 24px; height: 24px; color: #1B3F8F; }
.benefit-card h4 { font-size: 1rem; margin-bottom: 6px; }
.benefit-card p { font-size: 0.88rem; color: #718096; }

/* ============================================
   DEVICE MOCKUPS (MacBook & iPhone)
   ============================================ */

/* -- Shared device showcase layout -- */
.device-showcase {
  text-align: center;
  margin-top: 48px;
}

.device-showcase-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
}

.device-showcase-label {
  font-size: 0.85rem;
  color: #718096;
  margin-top: 20px;
  text-align: center;
}

/* -- MacBook frame -- */
.macbook {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.macbook-screen {
  background: #1a1a1a;
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 0;
  border: 2px solid #333;
  border-bottom: none;
}

.macbook-screen img {
  width: 100%;
  display: block;
  border-radius: 4px 4px 0 0;
}

.macbook-base {
  background: linear-gradient(to bottom, #c8c8c8, #adadad);
  height: 14px;
  border-radius: 0 0 6px 6px;
  position: relative;
}

.macbook-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #999;
  border-radius: 0 0 4px 4px;
}

.macbook-base::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4%;
  width: 108%;
  height: 5px;
  background: linear-gradient(to bottom, #b0b0b0, #909090);
  border-radius: 0 0 8px 8px;
}

/* -- iPhone frame -- */
.iphone {
  width: 220px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.iphone-screen {
  background: #1a1a1a;
  border-radius: 28px;
  padding: 12px 8px;
  border: 3px solid #333;
  position: relative;
}

.iphone-screen::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #333;
  border-radius: 10px;
  z-index: 2;
}

.iphone-screen img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* -- Combined Mac + iPhone side by side -- */
.devices-combo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  position: relative;
  margin-top: 48px;
}

.devices-combo .macbook {
  max-width: 700px;
  flex: 1;
}

.devices-combo .iphone {
  width: 180px;
  margin-left: -60px;
  margin-bottom: -10px;
  position: relative;
  z-index: 2;
}

/* ============================================
   FEATURE IMAGE ROW
   ============================================ */
.feature-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-text-col h2 {
  margin-bottom: 16px;
}

.feature-text-col p {
  color: #718096;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* -- Screen cycle (2-image crossfade) -- */
.screen-cycle {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.screen-cycle-img {
  width: 100%;
  display: block;
  border-radius: 4px 4px 0 0;
}

.screen-cycle-img-1 {
  animation: screenCycle 6s ease-in-out infinite;
}

.screen-cycle-img-2 {
  position: absolute;
  top: 0;
  left: 0;
  animation: screenCycle2 6s ease-in-out infinite;
}

@keyframes screenCycle {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes screenCycle2 {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: #4A5568;
}

.feature-list li svg {
  flex-shrink: 0;
}

/* ============================================
   PROJECT SHOWCASE (Device mockup style)
   ============================================ */
.project-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.project-showcase-reverse {
  grid-template-columns: 1fr 1.2fr;
}

.project-showcase-reverse .project-devices {
  order: 2;
}

.project-showcase-reverse .project-details {
  order: 1;
}

.project-devices {
  position: relative;
}

.project-device-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
  border-radius: 4px;
}

.project-client-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}

.project-details .trade-badge {
  margin-bottom: 12px;
}

.project-details h2 {
  margin-bottom: 16px;
}

.project-details p {
  color: #718096;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-highlights {
  list-style: none;
  margin-bottom: 28px;
}

.project-highlights li {
  padding: 5px 0;
  font-size: 0.92rem;
  color: #4A5568;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-highlights li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2348BB78'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.trade-badge {
  display: inline-block;
  background: #EBF0FA;
  color: #1B3F8F;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Legacy examples-grid kept for compat */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.testimonial-stars {
  color: #FFBD2E;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1B3F8F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: #1B3F8F;
}

.testimonial-author span {
  display: block;
  font-size: 0.82rem;
  color: #718096;
}

/* ============================================
   SOCIAL PROOF / LOGO STRIP
   ============================================ */
.social-proof {
  text-align: center;
}

.social-proof h2 {
  margin-bottom: 8px;
}

.social-proof p {
  color: #718096;
  font-size: 1rem;
  margin-bottom: 40px;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-strip-item img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-strip-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { max-width: 760px; margin: 40px auto 0; }

.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1B3F8F;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover { background: #F7F8FC; }

.faq-question .chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: #4A5568;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   FORMS
   ============================================ */
.form-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 48px;
  max-width: 680px;
  margin: 40px auto 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #CBD5E0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2D3748;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B3F8F;
  box-shadow: 0 0 0 3px rgba(27,63,143,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.radio-group {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #1B3F8F;
}

/* ============================================
   INCLUDES LIST (Packages page)
   ============================================ */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
}

.include-item .tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #C6F6D5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.include-item .tick svg { width: 14px; height: 14px; color: #276749; }
.include-item span { font-size: 0.92rem; color: #2D3748; }

.extras-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  font-size: 0.92rem;
}

.extra-item .price-tag {
  font-weight: 700;
  color: #F47B20;
  white-space: nowrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1B3F8F;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand img { height: 36px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; max-width: 300px; }

.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-links ul a:hover { color: #F47B20; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* ============================================
   CTA BANNER (reusable)
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #1B3F8F 0%, #2550A8 100%);
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}

.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 24px; }

/* ============================================
   SCROLL FADE-IN ANIMATION
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1 { transition-delay: 0.15s; }
.fade-in-up.delay-2 { transition-delay: 0.3s; }
.fade-in-up.delay-3 { transition-delay: 0.45s; }

/* ============================================
   GROWTH CARDS (homepage)
   ============================================ */
.growth-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .growth-cards { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2.2rem; }
  .hero .subtitle { font-size: 1.05rem; }
  .section { padding: 50px 0; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 0; border-bottom: 1px solid #F7F8FC; }
  .nav-menu .btn { margin-top: 8px; text-align: center; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
    display: block;
  }
  .nav-dropdown-toggle::after { display: none; }

  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-4 { grid-template-columns: 1fr; }
  .shop-package-inner { grid-template-columns: 1fr; }
  .shop-package-image { height: 250px; }
  .options-grid { grid-template-columns: 1fr; }
  .project-showcase,
  .project-showcase-reverse { grid-template-columns: 1fr; gap: 32px; }
  .project-showcase-reverse .project-devices { order: 0; }
  .project-showcase-reverse .project-details { order: 0; }
  .project-details { text-align: center; }
  .project-client-logo { margin: 0 auto 16px; }
  .project-highlights { display: inline-block; text-align: left; }
  .examples-grid { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .extras-list { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .logo-strip { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .footer-inner { flex-direction: column; }
  .feature-image-row { grid-template-columns: 1fr; gap: 32px; }
  .devices-combo { flex-direction: column; align-items: center; gap: 32px; }
  .devices-combo .macbook { max-width: 100%; }
  .devices-combo .iphone { width: 200px; margin-left: 0; margin-bottom: 0; }
  .device-showcase-row { flex-direction: column; align-items: center; gap: 32px; }
  .iphone { width: 200px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .hero-badges { flex-direction: column; align-items: center; gap: 12px; }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: #1B3F8F;
  padding: 32px 0;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #F47B20;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .stats-row { gap: 24px; }
  .stat-number { font-size: 1.6rem; }
  .stat-item { flex: 0 0 40%; }
}

/* ============================================
   TRADES GRID
   ============================================ */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trade-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.trade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.trade-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

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

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

.trade-card h4 {
  padding: 14px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1B3F8F;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .trades-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .trades-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trade-card-img { height: 120px; }
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote svg {
  margin: 0 auto 16px;
}

.testimonial-quote blockquote {
  font-size: 1.35rem;
  line-height: 1.6;
  color: #2D3748;
  font-style: italic;
  margin: 0 0 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-author strong {
  display: block;
  color: #1B3F8F;
  font-size: 1rem;
}

.testimonial-author span {
  display: block;
  color: #718096;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .testimonial-quote blockquote { font-size: 1.1rem; }
}

/* ============================================
   FEATURES GRID (9-column)
   ============================================ */
.features-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}

.feature-card-detailed {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
}

.feature-card-detailed:hover {
  border-color: #1B3F8F;
  box-shadow: 0 8px 24px rgba(27, 63, 143, 0.1);
  transform: translateY(-2px);
}

.feature-card-detailed .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EBF0FA;
  border-radius: 10px;
  color: #1B3F8F;
  flex-shrink: 0;
}

.feature-card-detailed h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1A202C;
  margin: 0;
}

.feature-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list-compact li {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4A5568;
  padding-left: 24px;
  position: relative;
}

.feature-list-compact li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #48BB78;
  font-size: 0.95rem;
}

@media (max-width: 1000px) {
  .features-grid-9 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid-9 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card-detailed {
    padding: 20px 16px;
  }
}

/* ============================================
   Pricing Page – Dynamic Plans
   ============================================ */

/* Billing Toggle */
.billing-toggle {
  display: inline-flex;
  background: #EDF2F7;
  border-radius: 999px;
  padding: 4px;
  gap: 0;
}

.billing-toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #718096;
  cursor: pointer;
  transition: all 0.2s;
}

.billing-toggle-btn.active {
  background: #1B3F8F;
  color: #fff;
  box-shadow: 0 2px 8px rgba(27,63,143,0.25);
}

.annual-saving {
  margin-top: 12px;
  color: #48BB78;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Plan Cards Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.plan-card {
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.plan-card--featured {
  border-color: #1B3F8F;
  box-shadow: 0 8px 24px rgba(27,63,143,0.12);
  transform: scale(1.03);
}

.plan-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #F47B20;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1B3F8F;
  margin: 8px 0 4px;
}

.plan-tagline {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.plan-price-wrap {
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0F1729;
  letter-spacing: -0.03em;
}

.plan-price-old {
  font-size: 1.1rem;
  color: #A0AEC0;
  text-decoration: line-through;
  margin-right: 6px;
}

.plan-interval {
  font-size: 1rem;
  color: #718096;
  font-weight: 500;
  margin-left: 2px;
}

.plan-equiv {
  display: block;
  font-size: 0.85rem;
  color: #48BB78;
  font-weight: 600;
  margin-top: 4px;
}

.plan-users {
  display: block;
  font-size: 0.85rem;
  color: #4A5568;
  margin-bottom: 4px;
}

.plan-users-extra {
  display: block;
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 16px;
}

/* Feature List inside cards */
.plan-features {
  list-style: none;
  padding: 16px 0;
  margin: 0 0 auto;
  border-top: 1px solid #EDF2F7;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: #2D3748;
}

.plan-feature--no {
  color: #CBD5E0;
}

.plan-cta {
  margin-top: 16px;
}

/* Promo */
.promo-form {
  max-width: 400px;
  margin: 0 auto;
}

.promo-label {
  display: block;
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 8px;
}

.promo-input-wrap {
  display: flex;
  gap: 8px;
}

.promo-input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.promo-input:focus {
  outline: none;
  border-color: #1B3F8F;
}

.promo-message {
  font-size: 0.85rem;
  margin-top: 8px;
  min-height: 20px;
}

.promo-message--success { color: #48BB78; font-weight: 600; }
.promo-message--error { color: #E53E3E; }

.promo-applied-note {
  grid-column: 1 / -1;
  text-align: center;
  color: #48BB78;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Comparison Table */
.comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #EDF2F7;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: #2D3748;
}

.comparison-table th {
  background: #1B3F8F;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
}

.comparison-table th:first-child {
  border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 12px 0 0;
}

.comparison-price {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.8;
}

.comparison-category td {
  background: #F7FAFC;
  font-weight: 700;
  color: #1B3F8F;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 16px 10px;
  border-bottom: 2px solid #E2E8F0;
}

.comparison-yes,
.comparison-no {
  text-align: center;
}

.comparison-table tbody tr:hover {
  background: #F7FAFC;
}

/* Competitors Grid */
.competitors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.competitor-card {
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
}

.competitor-card h4 {
  font-size: 1.1rem;
  color: #2D3748;
  margin-bottom: 4px;
}

.competitor-price {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.competitor-card ul {
  list-style: none;
  padding: 0;
}

.competitor-card li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 0.85rem;
  color: #E53E3E;
}

.competitor-card li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: #E53E3E;
  font-weight: 700;
}

/* Responsive – Pricing */
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .plan-card--featured {
    transform: none;
    order: -1;
  }

  .plan-card--featured:hover {
    transform: translateY(-4px);
  }

  .comparison-table {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .billing-toggle-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  .plan-price {
    font-size: 2rem;
  }
}

/* ===== FEATURE VISUAL GRID (Packages page) ===== */

.features-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-visual-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E2E8F0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-visual-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-visual-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #FFF5EB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-visual-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1B3F8F;
  margin-bottom: 8px;
}

.feature-visual-item p {
  font-size: 0.88rem;
  color: #718096;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .features-visual-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .features-visual-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-visual-item {
    padding: 20px 16px;
  }
}

/* ============================================
   WORKFLOW STEPS (packages.html)
   ============================================ */
.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.workflow-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.workflow-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F47B20;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.workflow-step h4 {
  font-size: 0.95rem;
  color: #1B3F8F;
  margin-bottom: 4px;
}

.workflow-step p {
  font-size: 0.82rem;
  color: #718096;
  line-height: 1.4;
  margin: 0;
}

.workflow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #CBD5E0;
  padding-top: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .workflow-steps {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .workflow-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .workflow-step {
    padding: 0;
  }
}

/* ============================================
   PLAN BUNDLE NOTE (quotes-pricing.html)
   ============================================ */
.plan-bundle-note {
  display: block;
  margin-top: 8px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #1B3F8F 0%, #15326e 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.4;
}

/* ============================================
   3D SCROLL CARD (vanilla ContainerScroll)
   ============================================ */
.scroll-3d {
  min-height: 60rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.scroll-3d-header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.scroll-3d-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.scroll-3d-header p {
  font-size: 1.1rem;
  color: #718096;
}

.scroll-3d-card {
  max-width: 960px;
  margin: -2rem auto 0;
  background: #222;
  border: 4px solid #6C6C6C;
  border-radius: 30px;
  padding: 8px;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  will-change: transform;
}

.scroll-3d-card-inner {
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #F7F8FC;
}

.scroll-3d-card-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 769px) {
  .scroll-3d {
    min-height: 80rem;
    padding: 5rem;
  }

  .scroll-3d-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .scroll-3d {
    min-height: 40rem;
    padding: 1rem;
  }

  .scroll-3d-header h2 {
    font-size: 1.75rem;
  }
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
  animation: videoModalIn 0.25s ease-out;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #fff;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes videoModalIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
