:root {
  --primary: #1e3a8a;       /* Deep Govt Navy */
  --primary-hover: #172554;
  --accent: #2563eb;        /* Bright Royal Blue */
  --accent-green: #16a34a;  /* Verified Success Green */
  --accent-gold: #f59e0b;   /* Exam Warning Gold */
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Top Announcement */
.top-announcement {
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid #1e293b;
}

.top-announcement b {
  color: #f8fafc;
}

/* Navbar */
.navbar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  font-size: 28px;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

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

.bundle-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.bundle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

/* Main Layout */
.main-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 25px;
}

.badge-pill {
  display: inline-block;
  background: #dbeafe;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.hero-section h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.hero-subtext b {
  color: var(--text-dark);
}

/* Ad Banner Placeholders */
.ad-banner-slot {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.ad-placeholder {
  width: 100%;
  max-width: 728px;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 18px 20px;
  text-align: center;
  color: #94a3b8;
}

.ad-placeholder small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 600;
}

.ad-placeholder p {
  font-size: 13px;
  font-weight: 500;
}

/* Tool Card */
.tool-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  padding: 32px 30px;
  margin-bottom: 40px;
}

.tool-step {
  margin-bottom: 28px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-num {
  background: var(--accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.step-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Form Controls */
.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flex-1 { flex: 1; min-width: 220px; }
.flex-2 { flex: 2; min-width: 280px; }

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

select, input[type="text"], input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text-dark);
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

select:focus, input:focus {
  border-color: var(--accent);
  background: #ffffff;
}

/* Custom Settings Panel */
.custom-settings-panel {
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  padding: 16px;
  border-radius: 10px;
  margin-top: 14px;
}

/* Rule Alert Box */
.rule-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rule-icon {
  font-size: 20px;
}

.rule-content strong {
  display: block;
  font-size: 14px;
  color: #1e40af;
  margin-bottom: 2px;
}

.rule-content span {
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.5;
}

/* Name and Date Toggle Card */
.name-date-card {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 18px 20px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.switch-label strong {
  display: block;
  font-size: 15px;
  color: #92400e;
}

.switch-label small {
  font-size: 12px;
  color: #b45309;
}

/* Simple CSS Toggle Switch */
.switch-container {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch-container input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #f59e0b;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Dropzone */
.drop-zone {
  border: 2px dashed #93c5fd;
  background: #f0fdf4;
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--accent);
  background: #dbeafe;
}

.upload-icon {
  font-size: 42px;
  margin-bottom: 8px;
}

.drop-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.drop-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.browse-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.supported-text {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

/* Results Section */
.result-panel {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.preview-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.preview-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.highlight-box {
  border: 2px solid var(--accent-green);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.12);
}

.preview-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.highlight-box .preview-label {
  color: var(--accent-green);
}

.img-frame {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.img-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.file-metrics {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.badge-neutral {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: #dcfce7;
  color: #15803d;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.conversion-arrow {
  font-size: 28px;
  color: #94a3b8;
}

.validation-box {
  margin-top: 10px;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.validation-box.valid {
  background: #ecfdf5;
  color: #065f46;
}

.validation-box.invalid {
  background: #fef2f2;
  color: #991b1b;
}

/* Action Buttons */
.action-buttons-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.download-cta {
  flex: 2;
  min-width: 240px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.download-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
}

.bundle-upsell-btn {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 2px solid #f59e0b;
  color: #b45309;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.bundle-upsell-btn:hover {
  background: #fffbeb;
}

/* Viral Share Box */
.viral-share-box {
  margin-top: 18px;
  background: #f0fdf4;
  border: 1.5px dashed #86efac;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.viral-share-box span {
  font-size: 13.5px;
  font-weight: 600;
  color: #166534;
}

.whatsapp-share-btn {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
  transition: transform 0.15s, background-color 0.15s;
}

.whatsapp-share-btn:hover {
  transform: translateY(-1px);
  background: #20ba5a;
}

.telegram-share-btn {
  display: inline-flex;
  align-items: center;
  background: #0088cc;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.25);
  transition: transform 0.15s, background-color 0.15s;
}

.telegram-share-btn:hover {
  transform: translateY(-1px);
  background: #0077b5;
}

/* Information Sections */
.info-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 30px;
  margin-bottom: 30px;
}

.info-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Specs Table */
.table-responsive {
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.specs-table th {
  background: #f1f5f9;
  color: var(--text-dark);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
}

.specs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: #334155;
}

.badge-kb {
  background: #dbeafe;
  color: var(--primary);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
}

/* FAQs */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #ffffff;
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  color: #94a3b8;
  cursor: pointer;
}

.modal-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 10px 0 4px;
}

.modal-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.bundle-features {
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
}

.check-icon {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 16px;
}

.pricing-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.price-strike {
  font-size: 18px;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-current {
  font-size: 36px;
  font-weight: 900;
  color: #0f172a;
}

.price-current small {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.price-tag {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.qr-mock {
  background: #f1f5f9;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.qr-text {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-bottom: 6px;
}

.upi-id-display {
  display: block;
  font-size: 14px;
  color: var(--primary);
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-family: monospace;
}

.upi-pay-btn {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s;
}

.upi-pay-btn:hover {
  transform: translateY(-2px);
}

.secure-footer {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 14px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-section h1 { font-size: 24px; }
  .tool-card { padding: 20px 16px; }
  .conversion-arrow { display: none; }
  .preview-box { width: 100%; }
  .action-buttons-row { flex-direction: column; }
}
