/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #141414;
  --card-bg: #1e1e1e;
  --card-hover: #252525;
  --border: rgba(255,255,255,0.08);
  --white: #ffffff;
  --text: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.5);
  --input-bg: #2a2a2a;
  --input-border: rgba(255,255,255,0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.22s ease;

  /* brand */
  --orange: #E8962A;
  --gray-mid: #8C8C8C;
  --blue-brand: #1E88E5;

  /* badge/accent colors */
  --yellow: #f5c842;
  --green:  #22c55e;
  --blue:   #3b82f6;
  --red:    #ef4444;
  --orange-acc: #f97316;
  --purple: #a855f7;
  --teal:   #14b8a6;
  --gray:   #6b7280;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; }

/* ===== NAVBAR ===== */
.vd-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 68px;
  background: rgba(14,14,14,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.vd-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { color: #fff; font-family: 'Playfair Display', serif; font-size: 0.85rem; font-weight: 700; line-height: 1.1; }
.brand-sub  { color: var(--orange); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* GMC Logo */
.gmc-logo { display: flex; gap: 3px; }
.gmc-block {
  width: 20px; height: 30px; border-radius: 3px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 3px; font-family: 'Playfair Display', serif;
  font-size: 0.75rem; font-weight: 700; color: #fff; line-height: 1;
}
.gmc-g { background: #E8962A; }
.gmc-m { background: #8C8C8C; }
.gmc-c { background: #1E88E5; }

.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-links a { color: rgba(255,255,255,0.65); text-decoration: none; padding: 0.45rem 0.85rem; border-radius: 6px; font-size: 0.85rem; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--orange); }
.btn-portal {
  background: var(--orange) !important; color: #000 !important;
  font-weight: 700; padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-sm); margin-left: 0.5rem;
}
.btn-portal:hover { background: #f5ad52 !important; }
.nav-hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; }

/* ===== HERO ===== */
.vd-hero {
  position: relative;
  min-height: 55vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-top: 68px;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80') center/cover no-repeat;
  filter: brightness(0.25);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,20,0.3) 0%, rgba(20,20,20,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 3rem 1.5rem; }
.instant-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  padding: 0.45rem 1rem; border-radius: 20px; margin-bottom: 1.5rem;
}
.instant-badge i { color: var(--yellow); }
.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-family: 'Playfair Display', serif;
  color: #fff; font-weight: 700; line-height: 1.1; margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--orange); }
.hero-content p { color: rgba(255,255,255,0.6); font-size: 1.05rem; }

/* ===== CARDS SECTION ===== */
.cards-section { padding: 0 3rem 5rem; background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SERVICE CARD ===== */
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.service-card:hover {
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.14);
}

/* badge */
.card-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem; border-radius: 20px;
}
.badge-yellow { background: rgba(245,200,66,0.15); color: var(--yellow); }
.badge-green  { background: rgba(34,197,94,0.15);  color: var(--green); }
.badge-blue   { background: rgba(59,130,246,0.15);  color: var(--blue); }
.badge-red    { background: rgba(239,68,68,0.15);   color: var(--red); }
.badge-orange { background: rgba(249,115,22,0.15);  color: var(--orange-acc); }
.badge-purple { background: rgba(168,85,247,0.15);  color: var(--purple); }
.badge-teal   { background: rgba(20,184,166,0.15);  color: var(--teal); }
.badge-gray   { background: rgba(107,114,128,0.15); color: var(--gray); }

/* icon */
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 0.5rem;
}
.icon-yellow { background: rgba(245,200,66,0.12); color: var(--yellow); }
.icon-green  { background: rgba(34,197,94,0.12);  color: var(--green); }
.icon-blue   { background: rgba(59,130,246,0.12);  color: var(--blue); }
.icon-red    { background: rgba(239,68,68,0.12);   color: var(--red); }
.icon-orange { background: rgba(249,115,22,0.12);  color: var(--orange-acc); }
.icon-purple { background: rgba(168,85,247,0.12);  color: var(--purple); }
.icon-teal   { background: rgba(20,184,166,0.12);  color: var(--teal); }
.icon-gray   { background: rgba(107,114,128,0.12); color: var(--gray); }

.service-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; font-family: 'Inter', sans-serif; }
.service-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; flex: 1; }

.card-link {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  margin-top: 0.5rem; display: inline-block;
}
.card-link.yellow { color: var(--yellow); }
.card-link.green  { color: var(--green); }
.card-link.blue   { color: var(--blue); }
.card-link.red    { color: var(--red); }
.card-link.orange { color: var(--orange-acc); }
.card-link.purple { color: var(--purple); }
.card-link.teal   { color: var(--teal); }
.card-link.gray   { color: var(--gray); }

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}
.modal-overlay.hidden { display: none; }

.modal {
  background: #1c1c1c;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  width: 100%; max-width: 660px;
  position: relative;
  animation: modalIn 0.25s ease;
  margin: auto;
}
.modal-sm { max-width: 440px; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.07); border: none;
  color: rgba(255,255,255,0.6); width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

.modal-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
}

.modal h2 { text-align: center; font-size: 1.5rem; color: #fff; margin-bottom: 0.6rem; }
.modal-desc { text-align: center; color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 1.75rem; }

/* ===== FORM FIELDS ===== */
.field-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  margin-bottom: 0.45rem; margin-top: 1rem;
}
.field-label:first-child { margin-top: 0; }
.req { color: var(--orange-acc); }

.modal input[type="text"],
.modal input[type="email"],
.modal input[type="tel"],
.modal input[type="password"],
.modal input[type="number"],
.modal select,
.modal textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.8rem 1rem;
  font-size: 0.875rem; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color 0.2s;
}
.modal input::placeholder, .modal textarea::placeholder { color: rgba(255,255,255,0.25); }
.modal input:focus, .modal select:focus, .modal textarea:focus { border-color: var(--orange); }
.modal select option { background: #2a2a2a; color: #fff; }
.modal textarea { resize: vertical; }

.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

/* ===== RADIO CARDS (Advocate Select) ===== */
.radio-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.5rem; }
.radio-card { cursor: pointer; }
.radio-card input { display: none; }
.radio-body {
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color var(--transition), background var(--transition);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.radio-body strong { font-size: 0.875rem; color: #fff; font-family: 'Inter', sans-serif; }
.radio-body span { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; }
.radio-card:hover .radio-body { border-color: rgba(255,255,255,0.25); }
.radio-card input:checked + .radio-body {
  border-color: var(--orange);
  background: rgba(232,150,42,0.08);
}
.radio-card input:checked + .radio-body strong { color: var(--orange); }

/* ===== UPLOAD ZONE ===== */
.upload-zone {
  border: 2px dashed var(--input-border);
  border-radius: var(--radius-sm);
  padding: 1.75rem; text-align: center;
  cursor: pointer; transition: border-color var(--transition), background var(--transition);
  margin-top: 0.45rem;
}
.upload-zone:hover { border-color: var(--orange); background: rgba(232,150,42,0.04); }
.upload-zone i { font-size: 2rem; color: var(--orange); display: block; margin-bottom: 0.5rem; }
.upload-zone p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.upload-zone p span { color: var(--orange); font-weight: 600; }
.upload-zone small { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.upload-zone input[type="file"] { display: none; }

.file-list { margin-top: 0.6rem; }
.file-item {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.05); border-radius: 6px;
  padding: 0.5rem 0.75rem; margin-top: 0.35rem; font-size: 0.8rem; color: var(--text-muted);
}
.file-item i { color: var(--orange); }
.file-item .file-size { margin-left: auto; font-size: 0.72rem; }
.file-item .rm { margin-left: 0.4rem; color: #ef4444; cursor: pointer; background: none; border: none; font-size: 0.85rem; }

/* ===== ENCRYPT BADGE ===== */
.encrypt-badge {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 6px; padding: 0.6rem;
  font-size: 0.75rem; color: #22c55e; margin: 0.75rem 0;
}

/* ===== SUBMIT BUTTONS ===== */
.btn-modal {
  width: 100%; padding: 0.9rem;
  border: none; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 1.25rem; transition: opacity var(--transition), transform var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-modal:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-modal.yellow { background: var(--yellow); color: #000; }
.btn-modal.green  { background: var(--green);  color: #000; }
.btn-modal.blue   { background: var(--blue);   color: #fff; }
.btn-modal.red    { background: var(--red);    color: #fff; }
.btn-modal.orange { background: var(--orange-acc); color: #fff; }
.btn-modal.purple { background: var(--purple); color: #fff; }
.btn-modal.teal   { background: var(--teal);   color: #000; }
.btn-modal.gray   { background: var(--gray);   color: #fff; }

/* ===== CASE TRACKER ===== */
.tracker-body { display: flex; flex-direction: column; gap: 0; }
.tracker-result { margin-top: 1.5rem; animation: fadeUp 0.3s ease; }
.tracker-result.hidden { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.tr-header {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tr-ref {
  background: var(--orange); color: #000;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem; border-radius: 5px; white-space: nowrap; flex-shrink: 0;
}
.tr-meta { flex: 1; }
.tr-meta h4 { font-size: 0.9rem; color: #fff; margin-bottom: 0.4rem; font-family: 'Inter', sans-serif; }
.tr-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tag-blue  { background: rgba(59,130,246,0.15); color: var(--blue);  font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 20px; }
.tag-green { background: rgba(34,197,94,0.15);  color: var(--green); font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 20px; }
.tr-advocate { font-size: 0.78rem; color: var(--orange); font-weight: 600; white-space: nowrap; }

.timeline { display: flex; flex-direction: column; }
.tl-item  { display: flex; gap: 0.85rem; position: relative; padding-bottom: 1.25rem; }
.tl-item.last { padding-bottom: 0; }
.tl-dot {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; border: 2px solid rgba(255,255,255,0.15);
  background: #1c1c1c; color: var(--text-muted); z-index: 1;
}
.tl-item.done   .tl-dot { background: var(--orange); border-color: var(--orange); color: #000; }
.tl-item.active .tl-dot { border-color: var(--blue); color: var(--blue); }

.tl-line {
  position: absolute; left: 15px; top: 32px;
  width: 2px; bottom: 0;
  background: rgba(255,255,255,0.08);
}
.tl-item.done .tl-line { background: var(--orange); }
.tl-item.last .tl-line { display: none; }

.tl-info { padding-top: 4px; }
.tl-info strong { display: block; font-size: 0.85rem; color: #fff; margin-bottom: 0.15rem; font-family: 'Inter', sans-serif; }
.tl-info span { font-size: 0.75rem; color: var(--text-muted); }
.tl-item.active .tl-info span { color: var(--blue); }
.tl-item.done   .tl-info span { color: var(--orange); }

/* ===== SUCCESS MODAL ===== */
.success-modal { text-align: center; padding: 3rem 2rem; }
.success-icon { font-size: 4rem; color: var(--green); margin-bottom: 1rem; }
.success-modal h2 { margin-bottom: 0.6rem; }
.success-modal p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 1.25rem; }
.success-ref {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 0.5rem 1.25rem;
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.success-ref strong { color: var(--orange); margin-left: 0.4rem; }

/* ===== WHATSAPP ===== */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 400;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .vd-nav { padding: 0 1.25rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: #0e0e0e; padding: 1.5rem; gap: 0.25rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .cards-section { padding: 0 1.25rem 4rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .modal { padding: 1.75rem 1.25rem; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.4rem; }
  .cards-grid { grid-template-columns: 1fr; gap: 0.9rem; }
}
