:root {
  --bg-dark: #07090e;
  --bg-card: rgba(16, 22, 34, 0.75);
  --bg-card-hover: rgba(22, 30, 48, 0.85);
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --accent: #8b5cf6;
  --accent-cyan: #06b6d4;
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.35);
  --glow: 0 0 35px rgba(59, 130, 246, 0.25);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Atmosphere */
.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2563eb, #7c3aed);
  top: -100px;
  left: 20%;
}
.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #06b6d4, #3b82f6);
  bottom: 10%;
  right: 10%;
}
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 18px 0;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-symbol {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}
.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.brand-text span {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-menu a:hover {
  color: #fff;
}
.nav-highlight {
  color: #38bdf8 !important;
  font-weight: 600 !important;
}
.nav-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
  padding: 100px 0 70px;
  text-align: center;
}
.hero-container {
  max-width: 880px;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 10%, #a78bfa 50%, #38bdf8 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}
.btn-glow {
  background: linear-gradient(135deg, #3b82f6, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.55);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.w-full {
  width: 100%;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* LIVE VERIFIER SECTION */
.verifier-section {
  padding: 60px 0;
}
.verifier-card {
  background: linear-gradient(180deg, rgba(20, 28, 45, 0.85) 0%, rgba(12, 17, 28, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(14px);
}
.verifier-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}
.verifier-header h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.verifier-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.verifier-form {
  max-width: 760px;
  margin: 0 auto;
}
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 8px 10px 8px 16px;
  border-radius: 12px;
  transition: var(--transition);
}
.input-wrapper:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}
.url-icon {
  font-size: 1.3rem;
}
.input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: inherit;
}
.input-wrapper input::placeholder {
  color: #64748b;
}

/* Verifier Result Box & Certificate */
.verify-result-box {
  margin-top: 36px;
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.certificate-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.cert-badge {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}
.cert-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.cert-summary-box {
  margin-bottom: 24px;
}
.cert-domain-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.cert-desc {
  color: #94a3b8;
  font-size: 0.95rem;
}
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.check-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check-badge-pass {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.check-name {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.check-detail {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.lead-text {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 16px;
  font-weight: 500;
}
.trust-badges {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.trust-item {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-icon {
  color: #10b981;
  font-weight: 800;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius);
}
.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.info-list {
  list-style: none;
}
.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  color: #cbd5e1;
}
.badge-status-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Services */
.section {
  padding: 90px 0;
}
.alt-bg {
  background: rgba(16, 22, 34, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(10px);
  position: relative;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--glow);
}
.feature-card.highlighted {
  border-color: rgba(16, 185, 129, 0.4);
}
.badge-featured {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
}
.feature-list li {
  color: #cbd5e1;
  font-size: 0.9rem;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-list li::before {
  content: "✦";
  color: var(--primary-light);
  font-size: 0.8rem;
}

/* Architecture & Terminal */
.arch-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.arch-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.arch-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}
.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-step {
  display: flex;
  gap: 18px;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.p-step h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.p-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.terminal-window {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}
.terminal-bar {
  background: #161b22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.terminal-title {
  margin-left: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.terminal-body {
  padding: 24px;
  color: #e6edf3;
  line-height: 1.9;
}
.term-dim { color: #6e7681; }
.term-green { color: #3fb950; font-weight: 600; }
.term-cyan { color: #58a6ff; font-weight: 600; }
.term-yellow { color: #d29922; }
.term-cursor {
  display: inline-block;
  animation: cursorBlink 1s infinite;
  color: var(--primary-light);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Contact Form */
.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.contact-header {
  text-align: center;
  margin-bottom: 36px;
}
.contact-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact-header p {
  color: var(--text-muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  margin-bottom: 20px;
  text-align: left;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.07);
}
.form-field select option {
  background: #121826;
  color: #fff;
}
.alert-box {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  text-align: center;
}
.alert-box.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.alert-box.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Spinner */
.loader-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer & Legal Links */
.footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 25px;
  background: #05070a;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}
.footer-links-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.sep {
  color: rgba(255, 255, 255, 0.2);
}
.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.status-dot-outer {
  display: flex;
  align-items: center;
}
.status-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eab308;
}
.status-dot-inner.online {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* LEGAL MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-box {
  background: #0d121d;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 18px;
  max-width: 720px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  font-size: 1.25rem;
  color: #fff;
}
.modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: #fff;
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}
.modal-body h4 {
  color: #fff;
  margin: 18px 0 8px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 16px 20px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.cookie-text {
  font-size: 0.85rem;
  color: #e2e8f0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title { font-size: 2.5rem; }
  .arch-split { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .input-wrapper { flex-direction: column; }
  .input-wrapper input { width: 100%; }
  .input-wrapper button { width: 100%; }
}
