/* 
   88webpages - Design System & Stylesheet
   Bright, Colorful, Modern & Professional Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Vibrant, Bright & Professional */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-accent-soft: #f1f5f9;
  
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
  --hero-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0.05) 70%, transparent 100%);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --brand-indigo: #6366f1;
  --brand-purple: #a855f7;
  --brand-pink: #ec4899;
  --brand-teal: #14b8a6;

  --border-light: #e2e8f0;
  --border-focus: #6366f1;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 16px -2px rgba(15, 23, 42, 0.06), 0 4px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 30px -10px rgba(99, 102, 241, 0.12), 0 10px 15px -3px rgba(15, 23, 42, 0.05);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-badge {
  background: var(--primary-gradient);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--brand-indigo);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  filter: brightness(1.08);
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:visited,
.nav-links a.btn-primary:active {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.btn-outline {
  background: white;
  color: var(--brand-indigo);
  border: 2px solid #e2e8f0;
}

.btn-outline:hover {
  border-color: var(--brand-indigo);
  background: #f8fafc;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  background: var(--hero-glow);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-indigo);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

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

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
}

.feature-icon {
  color: var(--brand-teal);
  font-weight: bold;
}

/* Section Common */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Pricing Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.package-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-indigo);
  box-shadow: var(--shadow-xl);
}

.package-card.selected {
  border-color: var(--brand-indigo);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), var(--shadow-md);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.package-header h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.package-price {
  display: flex;
  align-items: baseline;
  margin: 16px 0;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-period {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-left: 6px;
}

.package-hosting {
  font-size: 0.85rem;
  color: var(--brand-teal);
  font-weight: 600;
  margin-top: -8px;
  margin-bottom: 20px;
}

.package-features {
  list-style: none;
  margin-top: 16px;
  margin-bottom: 24px;
  flex-grow: 1;
  padding: 0;
}

.package-features li {
  padding: 6px 0 6px 22px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
  position: relative;
  text-align: left;
}

.package-features li::before {
  content: "✓";
  color: var(--brand-teal);
  font-weight: 800;
  position: absolute;
  left: 0;
  top: 6px;
}

/* Configurator & Form Container */
.checkout-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  margin-top: 20px;
}

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

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-indigo);
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.subdomain-input-group {
  display: flex;
  align-items: center;
}

.subdomain-input-group .form-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.subdomain-suffix {
  background: #e2e8f0;
  color: var(--text-muted);
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-left: none;
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Addons Checkbox List */
.addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.addon-item:hover {
  border-color: var(--brand-indigo);
  background: white;
}

.addon-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-indigo);
}

.addon-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.addon-price {
  font-weight: 700;
  color: var(--brand-purple);
}

/* Modern 2026 Digital Receipt Card & Payment Section */
.receipt-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  border: 1.5px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.receipt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #10b981 100%);
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.receipt-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--brand-indigo);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row .item-title {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-row.total {
  border-top: 2px dashed #e2e8f0;
  margin-top: 14px;
  padding-top: 18px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.hosting-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}

/* Segmented Payment Tabs */
.payment-tab-group {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.payment-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-tab.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Elevated Stripe Container Wrapper */
.card-input-wrapper {
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px;
  border: 1.5px solid #cbd5e1;
  transition: all 0.25s ease;
  margin-bottom: 16px;
}

.card-input-wrapper:focus-within {
  border-color: var(--brand-indigo);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.card-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

#stripe-card-element {
  background: transparent;
  padding: 4px 0;
  border: none;
}

/* Shimmer Payment Button */
.btn-pay-gradient {
  width: 100%;
  padding: 18px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #6366f1 0%, #9333ea 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px -5px rgba(147, 51, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-pay-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(147, 51, 234, 0.55);
}

.btn-pay-gradient::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: rotate(30deg);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Trust & Guarantee Shield Box */
.trust-shield-box {
  margin-top: 18px;
  background: rgba(248, 250, 252, 0.8);
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
}

.trust-shield-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

/* Stripe Payment Request Button (Apple Pay / Google Pay) */
#stripe-payment-request-button {
  margin-bottom: 16px;
}

.payment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* Drag & Drop File Upload Zone */
.file-drop-zone {
  position: relative;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #fafbfc;
}

.file-drop-zone:hover {
  border-color: var(--brand-indigo);
  background: #f0f0ff;
}

.file-drop-zone.dragover {
  border-color: var(--brand-purple);
  background: #f5f0ff;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.file-drop-zone.has-file {
  border-color: var(--brand-teal);
  border-style: solid;
  background: #f0fdfa;
}

.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop-icon {
  font-size: 2rem;
  margin-bottom: 6px;
  display: block;
}

.file-drop-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.file-drop-text strong {
  color: var(--brand-indigo);
}

.file-drop-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

.file-drop-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--brand-teal);
  font-weight: 600;
}

.file-drop-preview .remove-file {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}

.file-drop-preview .remove-file:hover {
  background: #fef2f2;
}

.payment-methods-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.payment-methods-icons .pay-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.payment-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: none;
}

.payment-status.error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.payment-status.success {
  display: block;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #86efac;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Ultra-Modern Footer Styling */
.footer {
  background: #0B0F19;
  background-image: 
    radial-gradient(at 10% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 100%, rgba(168, 85, 247, 0.08) 0px, transparent 50%);
  color: #94a3b8;
  padding: 72px 0 32px;
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, #a855f7, transparent);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1.5fr 1.1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  color: white;
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo span.footer-badge {
  font-size: 0.72rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-pill {
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-column-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #818cf8;
  transform: translateX(3px);
}

.footer-status-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: #64748b;
}

.footer-bottom-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-legal a:hover {
  color: #818cf8;
}

.footer-payments-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7.5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7.5px);
}

/* Custom Package Banner */
.custom-package-bar {
  width: 100%;
  box-sizing: border-box;
  border: 2px dashed var(--brand-purple);
  background: linear-gradient(135deg, #fdfaff 0%, #f4f8ff 100%);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-package-bar:hover {
  border-style: solid;
  border-color: var(--brand-indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.custom-bar-content {
  flex: 1 1 auto;
  max-width: 680px;
}

.custom-bar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.custom-badge {
  background: rgba(168, 85, 247, 0.12);
  color: var(--brand-purple);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  white-space: nowrap;
}

.custom-bar-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.custom-bar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.custom-bar-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.custom-bar-features-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.custom-bar-features-list li::before {
  content: '✓';
  color: var(--brand-teal);
  font-weight: 800;
  font-size: 1rem;
}

.custom-bar-action {
  flex-shrink: 0;
}

.custom-quote-btn {
  white-space: nowrap;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .custom-package-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 16px;
  }

  .custom-bar-content {
    max-width: 100%;
  }

  .custom-bar-features-list {
    gap: 6px 16px;
  }

  .custom-bar-action {
    width: 100%;
  }

  .custom-quote-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .custom-bar-features-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Button Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* FAQ Toggle Animation */
.faq-toggle {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-indigo);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    gap: 12px;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .navbar {
    position: sticky;
  }

  .nav-container {
    position: relative;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .checkout-wrapper {
    padding: 24px 16px;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }
}

/* Modal Overlay & Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 14px;
  }

  .footer-bottom-legal {
    justify-content: center;
  }
}

/* Visual Architecture & Hosting Explainer Component */
.architecture-explainer-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 24px;
  padding: 44px 40px;
  margin-top: 48px;
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
}

.architecture-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.architecture-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-indigo);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.arch-card {
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.arch-card.traditional {
  background: rgba(254, 242, 242, 0.6);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.arch-card.jamstack {
  background: rgba(240, 253, 244, 0.8);
  border: 2px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.12);
  position: relative;
}

.arch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.arch-price-badge {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.arch-card.traditional .arch-price-badge {
  background: #fee2e2;
  color: #991b1b;
}

.arch-card.jamstack .arch-price-badge {
  background: #dcfce7;
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.arch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.arch-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.architecture-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 28px;
  text-align: center;
}

.arch-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-indigo);
}

.arch-stat-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.architecture-support-notice {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .architecture-grid {
    grid-template-columns: 1fr;
  }
  .architecture-stats-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .architecture-explainer-card {
    padding: 28px 20px;
  }
}
