/**
 * LandAmin Documents V2 - Dedicated Design System
 * Palette: Dark Luxury Emerald (#059669), Navy (#091310), Slate (#64748b), Gold/Amber (#f59e0b)
 * Fonts: Outfit (Headings), Inter (UI), Noto Sans Devanagari (Hindi)
 */

:root {
  --la-emerald-50:  #ecfdf5;
  --la-emerald-100: #d1fae5;
  --la-emerald-500: #10b981;
  --la-emerald-600: #059669;
  --la-emerald-700: #047857;
  --la-emerald-900: #064e3b;

  --la-navy-950:    #030a07;
  --la-navy-900:    #06140e;
  --la-navy-800:    #0f231c;
  --la-navy-700:    #163329;
  --la-card-bg:     #0b1a14;
  --la-card-border: rgba(16, 185, 129, 0.2);

  --la-bg-page:      #f8fafc;
  --la-surface:      #ffffff;
  --la-border:       #e2e8f0;
  --la-border-focus: #10b981;
  --la-text-main:    #0f172a;
  --la-text-muted:   #64748b;
  --la-text-light:   #94a3b8;

  --la-amber-500:    #f59e0b;
  --la-amber-100:    #fef3c7;
  --la-blue-500:     #3b82f6;
  --la-red-500:      #ef4444;
  --la-red-100:      #fee2e2;

  --la-radius-sm:    6px;
  --la-radius-md:    12px;
  --la-radius-lg:    16px;
  --la-radius-xl:    24px;
  --la-shadow-card:  0 10px 25px -5px rgba(3, 10, 7, 0.08), 0 8px 10px -6px rgba(3, 10, 7, 0.04);
  --la-shadow-glow:  0 0 25px -5px rgba(16, 185, 129, 0.22);
}

/* ==========================================================================
   Base Container & Typography
   ========================================================================== */
.la-doc-portal {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--la-text-main);
  background-color: var(--la-bg-page);
  line-height: 1.5;
}

.la-hindi-text {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.la-doc-hero {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 40%, #091310 85%, #030a07 100%);
  color: #ffffff;
  padding: 3.5rem 1.25rem 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(16, 185, 129, 0.25);
}

.la-doc-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.la-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.la-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

.la-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #a7f3d0;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.la-hero-desc {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.la-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.la-btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  border-radius: var(--la-radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
  transition: all 0.2s ease;
}

.la-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
  color: #ffffff;
}

.la-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--la-radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.la-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #34d399;
  color: #ffffff;
}

/* Trust Strip */
.la-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.la-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 500;
}

.la-trust-icon {
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 8px;
}

/* ==========================================================================
   Catalog & Cards Grid
   ========================================================================== */
.la-catalog-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.la-section-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.la-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--la-navy-950);
}

.la-section-desc {
  color: var(--la-text-muted);
  font-size: 1rem;
}

.la-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.la-doc-card {
  background: var(--la-surface);
  border: 1.5px solid var(--la-border);
  border-radius: var(--la-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--la-shadow-card);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.la-doc-card:hover {
  border-color: var(--la-emerald-500);
  box-shadow: var(--la-shadow-glow), 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.la-doc-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--la-emerald-50);
  color: var(--la-emerald-700);
  border: 1px solid var(--la-emerald-100);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.la-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.la-card-title-hi {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--la-navy-950);
  margin-bottom: 0.25rem;
}

.la-card-title-en {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--la-text-muted);
  margin-bottom: 0.85rem;
}

.la-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.la-card-info-box {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.la-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--la-border);
}

.la-card-price {
  display: flex;
  flex-direction: column;
}

.la-price-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--la-emerald-700);
}

.la-price-label {
  font-size: 0.75rem;
  color: var(--la-text-muted);
}

.la-btn-order {
  background: var(--la-emerald-600);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.la-btn-order:hover {
  background: var(--la-emerald-700);
  color: #ffffff;
}

/* ==========================================================================
   Triage Wizard ("मुझे नहीं पता" Guided Box)
   ========================================================================== */
.la-triage-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px dashed var(--la-emerald-500);
  border-radius: var(--la-radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.la-triage-content {
  max-width: 680px;
}

.la-triage-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--la-emerald-900);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.la-triage-text {
  font-size: 0.95rem;
  color: #166534;
  margin: 0;
}

.la-btn-triage {
  background: #ffffff;
  color: var(--la-emerald-700);
  border: 1.5px solid var(--la-emerald-600);
  padding: 0.75rem 1.35rem;
  border-radius: var(--la-radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.la-btn-triage:hover {
  background: var(--la-emerald-600);
  color: #ffffff;
}

/* ==========================================================================
   Dynamic Order Form
   ========================================================================== */
.la-form-suite {
  max-width: 820px;
  margin: 2.5rem auto;
  background: #ffffff;
  border: 1.5px solid var(--la-border);
  border-radius: var(--la-radius-xl);
  padding: 2.25rem;
  box-shadow: var(--la-shadow-card);
}

.la-form-step {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--la-border);
}

.la-form-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.la-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.la-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--la-emerald-600);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.la-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--la-navy-950);
  margin: 0;
}

.la-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.la-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.la-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.la-unknown-btn {
  font-size: 0.78rem;
  color: var(--la-emerald-600);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.la-input, .la-select, .la-textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--la-border);
  border-radius: var(--la-radius-md);
  font-size: 0.95rem;
  color: var(--la-text-main);
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.la-input:focus, .la-select:focus, .la-textarea:focus {
  outline: none;
  border-color: var(--la-border-focus);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Quote Summary Box */
.la-quote-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--la-radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.la-quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: #475569;
}

.la-quote-row.la-statutory {
  color: #92400e;
  background: var(--la-amber-100);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin: 0.35rem 0;
  font-weight: 600;
}

.la-quote-row.la-total {
  border-top: 2px solid #cbd5e1;
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--la-navy-950);
}

/* ==========================================================================
   Provenance Stamp & Trust Box
   ========================================================================== */
.la-provenance-stamp {
  background: #ffffff;
  border: 2px solid #059669;
  border-radius: var(--la-radius-lg);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--la-shadow-card);
  margin: 2rem 0;
}

.la-stamp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid #d1fae5;
  margin-bottom: 1rem;
}

.la-stamp-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.la-stamp-badge {
  background: #d1fae5;
  color: #047857;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.la-stamp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  font-size: 0.88rem;
}

.la-stamp-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.la-stamp-label {
  color: var(--la-text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 600;
}

.la-stamp-val {
  font-weight: 700;
  color: var(--la-text-main);
  word-break: break-all;
}

.la-stamp-val.monospace {
  font-family: monospace;
  font-size: 0.82rem;
  background: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .la-doc-hero {
    padding: 2.5rem 1rem 2rem;
  }
  .la-hero-title {
    font-size: 1.85rem;
  }
  .la-form-suite {
    padding: 1.25rem;
    margin: 1.5rem 0.5rem;
  }
}
