/* ============================================
   DriveGlobal — Stitch Theme Design System
   ============================================ */
:root {
  --color-primary: #1b2a4b;
  --color-primary-light: #243460;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-bg-light: #f6f7f8;
  --color-bg-dark: #14171e;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-green-500: #22c55e;
  --color-white: #ffffff;
  --font-display: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.15), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --max-width: 80rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-display); font-size: 1rem; line-height: 1.6; color: var(--color-slate-900); background-color: var(--color-bg-light); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.5rem; font-family: var(--font-display); font-size: 0.9375rem;
  font-weight: 700; border-radius: var(--radius-md); border: 2px solid transparent;
  transition: all var(--transition-base); cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-accent); color: var(--color-primary); box-shadow: 0 4px 14px 0 rgba(245,158,11,0.35); }
.btn-primary:hover { background: var(--color-accent-hover); box-shadow: 0 6px 20px 0 rgba(245,158,11,0.45); }
.btn-outline-white { border-color: rgba(255,255,255,0.35); color: var(--color-white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-outline-primary { border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-primary:hover { background: var(--color-primary); color: var(--color-white); }
.btn-lg { height: 3rem; padding: 0 1.75rem; font-size: 1rem; min-width: 180px; border-radius: var(--radius-lg); }

/* --- Form Elements --- */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--color-slate-700); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem; font-family: var(--font-display); font-size: 0.9375rem;
  color: var(--color-slate-900); background: var(--color-white); border: 2px solid var(--color-slate-200);
  border-radius: var(--radius-md); outline: none; transition: border-color var(--transition-base), box-shadow var(--transition-base); appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(27,42,75,0.12);
}
.form-input::placeholder { color: var(--color-slate-400); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; padding-right: 2.5rem;
}

/* --- Cards --- */
.card { background: var(--color-white); border: 1px solid var(--color-slate-200); border-radius: var(--radius-2xl); padding: 2rem; box-shadow: var(--shadow-md); }
.card-featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-2xl); }

/* --- Badges --- */
.badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }
.badge-white { background: rgba(255,255,255,0.12); color: var(--color-white); backdrop-filter: blur(8px); }
.badge-accent { background: var(--color-accent); color: var(--color-primary); }

/* --- Section --- */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; color: var(--color-primary); line-height: 1.2; }
.section-header p { margin-top: 1rem; color: var(--color-slate-500); font-size: 1.0625rem; }

/* --- Patterns & Backgrounds --- */
.world-map-bg { background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.06) 1px, transparent 0); background-size: 40px 40px; }

/* --- Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } 50% { box-shadow: 0 0 0 8px rgba(245,158,11,0.2); } }
.animate-fade-up { animation: fadeInUp 0.6s ease both; }
.animate-fade-in { animation: fadeIn 0.5s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- Wizard Progress --- */
.wizard-progress { display: flex; align-items: flex-start; }
.wizard-step-item { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.wizard-step-item:not(:last-child)::after { content: ''; position: absolute; top: 1.25rem; left: 50%; width: 100%; height: 2px; background: var(--color-slate-200); z-index: 0; transition: background var(--transition-slow); }
.wizard-step-item.done::after { background: var(--color-accent); }
.wizard-step-circle { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 2px solid var(--color-slate-200); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; background: var(--color-white); color: var(--color-slate-400); position: relative; z-index: 1; transition: all var(--transition-slow); }
.wizard-step-item.active .wizard-step-circle { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-white); box-shadow: 0 0 0 4px rgba(27,42,75,0.15); }
.wizard-step-item.done .wizard-step-circle { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-primary); }
.wizard-step-label { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--color-slate-400); text-align: center; }
.wizard-step-item.active .wizard-step-label { color: var(--color-primary); }
.wizard-step-item.done .wizard-step-label { color: var(--color-accent-hover); }

/* --- Upload Zone --- */
.upload-zone { border: 2px dashed var(--color-slate-300); border-radius: var(--radius-xl); padding: 3rem 2rem; text-align: center; cursor: pointer; transition: all var(--transition-base); background: var(--color-bg-light); }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--color-primary); background: rgba(27,42,75,0.04); }
.upload-zone.has-file { border-color: var(--color-green-500); background: rgba(34,197,94,0.04); }
.upload-preview { display: none; margin-top: 1rem; }
.upload-preview img { max-height: 140px; border-radius: var(--radius-lg); margin: 0 auto; object-fit: cover; box-shadow: var(--shadow-md); }

/* --- FAQ --- */
.faq-item { border: 1px solid var(--color-slate-200); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--transition-base); }
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; background: var(--color-white); font-weight: 700; font-size: 0.9375rem; color: var(--color-slate-900); cursor: pointer; text-align: left; gap: 1rem; transition: background var(--transition-base); }
.faq-trigger:hover { background: var(--color-bg-light); }
.faq-trigger.open { background: var(--color-primary); color: var(--color-white); }
.faq-trigger .faq-icon { flex-shrink: 0; transition: transform var(--transition-base); }
.faq-trigger.open .faq-icon { transform: rotate(180deg); color: var(--color-accent); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); background: var(--color-white); }
.faq-body.open { max-height: 300px; }
.faq-body-inner { padding: 1rem 1.5rem 1.25rem; font-size: 0.9375rem; color: var(--color-slate-600); line-height: 1.7; }

/* --- Country Search --- */
.country-search-box { position: relative; max-width: 520px; }
.country-search-input { width: 100%; padding: 1rem 1.25rem 1rem 3.25rem; font-size: 1rem; font-family: var(--font-display); border: 2px solid rgba(255,255,255,0.2); border-radius: var(--radius-full); background: rgba(255,255,255,0.12); color: var(--color-white); outline: none; backdrop-filter: blur(12px); transition: all var(--transition-base); }
.country-search-input::placeholder { color: rgba(255,255,255,0.5); }
.country-search-input:focus { border-color: var(--color-accent); background: rgba(255,255,255,0.18); }
.country-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.6); }
.country-results { position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; background: var(--color-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); overflow: hidden; z-index: 100; max-height: 260px; overflow-y: auto; display: none; }
.country-results.show { display: block; }
.country-result-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; cursor: pointer; font-size: 0.9375rem; transition: background var(--transition-fast); color: var(--color-slate-900); }
.country-result-item:hover { background: var(--color-bg-light); }
.country-result-item .flag { font-size: 1.375rem; }
.country-result-item .country-name { font-weight: 600; }
.country-result-item .country-status { margin-left: auto; font-size: 0.75rem; font-weight: 700; padding: 0.125rem 0.5rem; border-radius: var(--radius-full); background: rgba(34,197,94,0.12); color: #16a34a; }

/* --- Pricing --- */
.pricing-card { display: flex; flex-direction: column; border-radius: var(--radius-2xl); padding: 2.5rem 2rem; border: 1px solid var(--color-slate-200); background: var(--color-white); transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.pricing-card.featured { border: 3px solid var(--color-accent); background: var(--color-primary); box-shadow: var(--shadow-2xl); }

/* --- Payment --- */
.payment-method-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem; border: 2px solid var(--color-slate-200); border-radius: var(--radius-lg); background: var(--color-white); cursor: pointer; font-weight: 600; font-size: 0.9375rem; color: var(--color-slate-700); transition: all var(--transition-base); font-family: var(--font-display); }
.payment-method-btn:hover, .payment-method-btn.selected { border-color: var(--color-primary); background: rgba(27,42,75,0.05); color: var(--color-primary); }

/* --- Header --- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-slate-200); transition: box-shadow var(--transition-base); }
.site-header.scrolled { box-shadow: var(--shadow-md); }

/* --- Scrollbar Hide --- */
.scrollbar-hide { scrollbar-width: none; -ms-overflow-style: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-header h2 { font-size: 1.875rem; }
  .wizard-step-label { display: none; }
  .mobile-hide { display: none; }
}
