/* ============================================================
   GemCenter.in — Luxury Design System
   Part 2/14
   Upload to: /public_html/gemcenter.in/assets/css/style.css
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --navy:         #0B1C2E;
  --navy-deep:    #060F1A;
  --navy-mid:     #0F2035;
  --navy-light:   #152844;
  --charcoal:     #1A1A2E;
  --gold:         #C9A84C;
  --gold-light:   #E4C97A;
  --gold-dim:     #8A6B2A;
  --gold-glow:    rgba(201,168,76,0.15);
  --white:        #F8F6F1;
  --white-pure:   #FFFFFF;
  --grey-soft:    #7A8899;
  --grey-line:    #1A2E42;
  --grey-text:    #A0AABB;
  --error:        #C94C4C;
  --success:      #3D9E6A;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:    0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:    0 16px 56px rgba(0,0,0,0.5);
  --shadow-gold:  0 0 40px rgba(201,168,76,0.12);
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--gold-light); }

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 500; }

p { color: var(--grey-text); line-height: 1.8; }

.text-gold    { color: var(--gold) !important; }
.text-white   { color: var(--white) !important; }
.text-grey    { color: var(--grey-soft) !important; }
.text-center  { text-align: center; }
.text-serif   { font-family: var(--font-serif); }
.text-upper   { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }
.font-light   { font-weight: 300; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ============================================================
   GOLD DECORATIVE ELEMENTS
   ============================================================ */
.gold-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto;
}

.gold-line-left {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--grey-line);
  margin: 2rem 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-slow);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(6, 15, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--grey-line);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
  text-decoration: none;
}

.navbar-logo-img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.logo-main span { color: var(--gold); }

.logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-top: 3px;
}

.navbar-logo:hover .logo-main { color: var(--gold-light); }

/* ISO Certified badge — small pill used near logo/footer */
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--grey-soft);
  border: 1px solid var(--grey-line);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
  white-space: nowrap;
}

.iso-badge::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.7rem;
}

/* Nav Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--gold);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.nav-drawer a:hover { color: var(--gold); }

.nav-drawer-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Luxury background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(11,28,46,0.8) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: fadeDown 0.8s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--grey-text);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-weight: 300;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* ============================================================
   SEARCH BOX
   ============================================================ */
.search-wrapper {
  animation: fadeUp 0.8s 0.6s ease both;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  padding: 0.4rem 0.4rem 0.4rem 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.search-box:focus-within {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.1), var(--shadow-gold);
}

.search-icon {
  color: var(--gold-dim);
  font-size: 1rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.6rem 0;
}

.search-input::placeholder {
  color: var(--grey-soft);
  font-weight: 300;
}

.search-btn {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--navy-deep);
  border: none;
  border-radius: 100px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.search-hint {
  font-size: 0.72rem;
  color: var(--grey-soft);
  margin-top: 0.85rem;
  letter-spacing: 0.05em;
}

.search-hint span {
  color: var(--gold-dim);
}

/* Search Loading State */
.search-loading {
  display: none;
  align-items: center;
  gap: 0.75rem;
  color: var(--grey-soft);
  font-size: 0.85rem;
  margin-top: 1rem;
  justify-content: center;
}

.search-loading.active { display: flex; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--grey-line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Search Error */
.search-error {
  display: none;
  background: rgba(201, 76, 76, 0.08);
  border: 1px solid rgba(201, 76, 76, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #e07070;
  font-size: 0.88rem;
  margin-top: 1rem;
  text-align: center;
}

.search-error.active { display: block; }

/* ============================================================
   VERIFY RESULT PAGE
   ============================================================ */
.verify-page {
  padding: 8rem 0 5rem;
  min-height: 100vh;
}

.verify-header {
  text-align: center;
  margin-bottom: 3rem;
}

.verify-card {
  background: var(--navy-mid);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

/* Report top bar */
.verify-topbar {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  border-bottom: 1px solid var(--grey-line);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.verify-report-no {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.verify-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-gem {
  background: rgba(61,158,106,0.12);
  color: #5dbf8a;
  border: 1px solid rgba(61,158,106,0.3);
}

.badge-rudraksha {
  background: rgba(201,168,76,0.12);
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
}

/* Particulars Table */
.verify-table-wrap {
  padding: 0 2rem 2rem;
  overflow-x: auto;
}

.verify-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.verify-table th {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-line);
  white-space: nowrap;
  background: rgba(201,168,76,0.03);
}

.verify-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(26,46,66,0.6);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  vertical-align: middle;
}

/* Left column — label styling */
.verify-table td.label-col {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  background: rgba(201,168,76,0.03);
  width: 45%;
}

.verify-table tr:last-child td { border-bottom: none; }

.verify-table tbody tr:hover td {
  background: rgba(201,168,76,0.025);
}

/* Result / Identified As row */
.verify-table .result-row td {
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-top: 1px solid var(--gold-dim);
  border-bottom: none;
  padding-top: 1.25rem;
}

/* Mobile — th left, td right in same row */
@media (max-width: 600px) {
  .verify-table thead { display: none; }

  .verify-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--grey-line);
    padding: 0.65rem 0.25rem;
    align-items: center;
  }

  .verify-table th {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0;
    background: none;
    border: none;
    white-space: normal;
    text-align: left;
  }

  .verify-table td {
    display: block;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    text-align: right;
    color: var(--white);
  }

  .verify-table .result-row th,
  .verify-table .result-row td {
    padding-top: 0.85rem;
    border-top: none;
  }

  .verify-table .result-row {
    border-top: 1px solid var(--gold-dim);
    border-bottom: none;
    margin-top: 0.25rem;
  }
}

/* ============================================================
   MEDIA DISPLAY (Image + Video)
   ============================================================ */
.media-section {
  margin-top: 2rem;
}

.media-section-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.media-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-line);
}

/* Both media — side by side */
.media-both {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Single media — full width */
.media-single {
  width: 100%;
}

.media-frame {
  background: var(--navy-deep);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.media-frame img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}

.media-frame img:hover { transform: scale(1.02); }

.media-frame video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  background: #000;
}

.media-label {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgba(6,15,26,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--grey-line);
  border-radius: 100px;
  padding: 0.2rem 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
}

/* Image Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-close:hover { opacity: 1; color: var(--gold); }

@media (max-width: 640px) {
  .media-both { grid-template-columns: 1fr; }
  .media-frame img,
  .media-frame video { height: 240px; }
}

/* ============================================================
   NOT FOUND STATE
   ============================================================ */
.not-found-card {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--navy-mid);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
}

.not-found-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.not-found-card h2 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.not-found-card p {
  color: var(--grey-soft);
  max-width: 400px;
  margin: 0 auto 2rem;
  font-size: 0.9rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-page {
  padding: 8rem 0 5rem;
  min-height: 100vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-detail-text {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.6;
}

.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--navy-mid);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold-dim);
  background: rgba(201,168,76,0.03);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grey-soft);
  opacity: 0.5;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Honeypot — invisible to humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-success {
  display: none;
  background: rgba(61,158,106,0.08);
  border: 1px solid rgba(61,158,106,0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #5dbf8a;
  font-size: 0.88rem;
  margin-top: 1rem;
  text-align: center;
}

.form-success.active { display: block; }

.form-error-msg {
  display: none;
  background: rgba(201,76,76,0.08);
  border: 1px solid rgba(201,76,76,0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #e07070;
  font-size: 0.88rem;
  margin-top: 1rem;
  text-align: center;
}

.form-error-msg.active { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.35);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid var(--grey-line);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  color: var(--white);
}

.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================================
   STATS BAR (Homepage)
   ============================================================ */
.stats-bar {
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  padding: 3rem 0;
  background: rgba(255,255,255,0.015);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 1rem 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: var(--grey-line);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-top: 0.4rem;
  display: block;
}

/* ============================================================
   HOW IT WORKS (Homepage)
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.how-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: var(--transition);
}

.how-card:hover {
  border-color: var(--gold-dim);
  background: rgba(201,168,76,0.03);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.how-card:hover::before { opacity: 1; }

.how-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.how-card h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.how-card p {
  font-size: 0.88rem;
  color: var(--grey-soft);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--grey-line);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-logo span { color: var(--gold); }

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-soft);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  color: var(--grey-soft);
  border-top: 1px solid var(--grey-line);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body {
  background: var(--navy-deep);
  font-family: var(--font-sans);
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  background: rgba(6,15,26,0.95);
  border-right: 1px solid var(--grey-line);
  padding: 2rem 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar-logo {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid var(--grey-line);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-sidebar-logo-img {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.admin-sidebar-logo-text {
  line-height: 1;
}

.admin-sidebar-logo .logo-main {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
}

.admin-sidebar-logo .logo-main span { color: var(--gold); }

.admin-sidebar-logo p {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-top: 0.2rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.82rem;
  color: var(--grey-text);
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
  border-left: 2px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--gold);
  background: var(--gold-glow);
  border-left-color: var(--gold);
}

.sidebar-nav .nav-section {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-soft);
  padding: 1.5rem 1.5rem 0.5rem;
  opacity: 0.6;
}

/* Admin Content */
.admin-content {
  margin-left: 240px;
  padding: 2.5rem;
  flex: 1;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-line);
}

.admin-topbar h1 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

/* Admin Cards */
.admin-card {
  background: var(--navy-mid);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.admin-card-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-card-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-line);
}

/* Stat Cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--navy-mid);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.admin-stat-card:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-gold);
}

.admin-stat-number {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 600;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
}

.admin-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-top: 0.3rem;
  display: block;
}

/* Upload Area */
.upload-zone {
  border: 2px dashed var(--grey-line);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  background: rgba(255,255,255,0.01);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--gold-dim);
  background: var(--gold-glow);
}

.upload-zone p {
  font-size: 0.88rem;
  color: var(--grey-soft);
  margin-top: 0.75rem;
}

.upload-zone .upload-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--grey-line);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
  display: none;
}

.progress-bar.active { display: block; }

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-line);
  white-space: nowrap;
  background: rgba(201,168,76,0.03);
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(26,46,66,0.5);
  color: var(--grey-text);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(201,168,76,0.02);
  color: var(--white);
}

/* Admin Login */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--navy-deep);
}

.admin-login-card {
  background: var(--navy-mid);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.admin-login-card h1 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.admin-login-card .subtitle {
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* Alert Messages */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(201,76,76,0.08);
  border: 1px solid rgba(201,76,76,0.25);
  color: #e07070;
}

.alert-success {
  background: rgba(61,158,106,0.08);
  border: 1px solid rgba(61,158,106,0.25);
  color: #5dbf8a;
}

.alert-info {
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
}

/* Cropper */
.cropper-container-wrap {
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
}

.cropper-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.fade-up   { animation: fadeUp 0.55s ease forwards; }
.fade-in   { animation: fadeIn 0.4s ease forwards; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--navy-mid) 25%,
    var(--navy-light) 50%,
    var(--navy-mid) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px; height: 42px;
  background: var(--navy-mid);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 500;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold-glow);
  transform: translateY(-3px);
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-8 { padding-top: 8rem; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .how-grid     { grid-template-columns: 1fr; max-width: 460px; margin: 2rem auto 0; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .admin-stats  { grid-template-columns: 1fr 1fr; }
  .navbar-links { display: none; }
  .nav-toggle   { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; padding: 1.25rem; }
  .hero { padding: 7rem 1.25rem 4rem; }
  .search-box { padding: 0.3rem 0.3rem 0.3rem 1.25rem; }
  .search-btn { padding: 0.65rem 1.25rem; font-size: 0.72rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .navbar, .footer, .scroll-top, .search-wrapper { display: none; }
  body { background: white; color: black; }
  .verify-card { border: 1px solid #ccc; box-shadow: none; }
  .verify-table th { color: #555; }
  .verify-table td { color: #000; }
}