/* ============================================
   FRAUD-LENS PRO - Dark Theme Stylesheet
   Brand: NERDCORE TECHNOLOGIES
   ============================================ */

/* --- CSS Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #0a1628;
  color: #e0e6ed;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #00e5ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #33ebff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a1628;
}

::-webkit-scrollbar-thumb {
  background: #1a1f2e;
  border-radius: 4px;
  border: 2px solid #0a1628;
}

::-webkit-scrollbar-thumb:hover {
  background: #00e5ff;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #1a1f2e #0a1628;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(26, 31, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 1px 20px rgba(0, 229, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
  transition: height 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  height: 52px;
  background: rgba(26, 31, 46, 0.97);
  box-shadow: 0 2px 24px rgba(0, 229, 255, 0.08);
}

.nav-logo-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5), 0 0 24px rgba(0, 229, 255, 0.2);
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-logo a {
  color: inherit;
  text-decoration: none;
}

.nav-logo a:hover {
  color: inherit;
}

.nav-brand-sub {
  font-size: 0.65rem;
  color: #00e5ff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  margin-top: -1px;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

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

.nav-links a {
  color: #8892a4;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00e5ff;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #00e5ff;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #00e5ff;
  border-radius: 6px;
  color: #00e5ff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
  color: #00e5ff;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e0e6ed;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 229, 255, 0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(0, 119, 255, 0.03) 0%, transparent 50%),
              #0a1628;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e5ff' fill-opacity='0.015'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.25), 0 0 40px rgba(0, 229, 255, 0.1);
  margin-bottom: 24px;
  max-width: 800px;
  animation: fadeIn 0.8s ease-out;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #8892a4;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: #00e5ff;
  color: #0a1628;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3), 0 4px 16px rgba(0, 229, 255, 0.15);
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero .cta-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.45), 0 8px 24px rgba(0, 229, 255, 0.2);
  color: #0a1628;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #00e5ff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.section-subtitle {
  text-align: center;
  color: #8892a4;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: #1a1f2e;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.2);
  background: #232838;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
}

.card p {
  color: #8892a4;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step-card {
  background: #1a1f2e;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 32px;
  text-align: center;
  position: relative;
  counter-increment: step;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  border: 2px solid rgba(0, 229, 255, 0.3);
}

.step-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-card p {
  color: #8892a4;
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-arrow {
  display: none;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-section {
  background: #1a1f2e;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #00e5ff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: #8892a4;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 60%);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: #8892a4;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: #1a1f2e;
  border-radius: 12px;
  border: 1px solid #00e5ff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.2), 0 8px 32px rgba(0, 229, 255, 0.08);
}

.pricing-card.popular {
  border-color: #00e5ff;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.2), 0 0 48px rgba(0, 229, 255, 0.08);
}

.pricing-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00e5ff;
  color: #0a1628;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card .plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: #8892a4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00e5ff;
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.pricing-card .price-period {
  font-size: 0.85rem;
  color: #8892a4;
  margin-bottom: 24px;
}

.pricing-card .features {
  flex: 1;
  margin-bottom: 24px;
}

.pricing-card .features li {
  padding: 8px 0;
  color: #e0e6ed;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.05);
}

.pricing-card .features li:last-child {
  border-bottom: none;
}

.pricing-card .features li::before {
  content: '\2713';
  color: #00e5ff;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .features li.future {
  color: #8892a4;
}

.pricing-card .features li.future::before {
  color: #8892a4;
}

.pricing-card .cta {
  display: block;
  width: 100%;
  padding: 12px 24px;
  text-align: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #00e5ff;
  color: #00e5ff;
  background: transparent;
}

.pricing-card .cta:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
  color: #00e5ff;
}

.pricing-card.popular .cta {
  background: #00e5ff;
  color: #0a1628;
  border-color: #00e5ff;
}

.pricing-card.popular .cta:hover {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
  transform: translateY(-1px);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: #1a1f2e;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.08);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  color: #e0e6ed;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #00e5ff;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: #00e5ff;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: #8892a4;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e0e6ed;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0d1b2a;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 8px;
  color: #e0e6ed;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #555e6e;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: #00e5ff;
  color: #0a1628;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
  transform: translateY(-1px);
  color: #0a1628;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: #00e5ff;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid #00e5ff;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
  color: #00e5ff;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-header {
  margin-top: 64px;
  padding: 48px 24px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #fff;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
  margin-bottom: 8px;
}

.dashboard-header p {
  color: #8892a4;
  font-size: 1rem;
  margin-bottom: 32px;
}

.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.search-form {
  display: flex;
  gap: 12px;
}

.dashboard-input {
  flex: 1;
  padding: 16px 20px 16px 48px;
  background: #0d1b2a;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 10px;
  color: #e0e6ed;
  font-size: 1.05rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238892a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
}

.dashboard-input:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1), 0 0 16px rgba(0, 229, 255, 0.06);
}

.dashboard-input::placeholder {
  color: #555e6e;
}

/* ============================================
   LOADING STATE
   ============================================ */
.loading-container {
  text-align: center;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.loading-pulse {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  animation: loadingPulse 1.4s ease-in-out infinite;
  margin-bottom: 20px;
  position: relative;
}

.loading-pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.loading-text {
  color: #8892a4;
  font-size: 0.95rem;
  margin-top: 8px;
}

.loading-status {
  color: #00e5ff;
  font-size: 0.85rem;
  margin-top: 4px;
  font-weight: 600;
}

/* ============================================
   RESULTS
   ============================================ */
.results-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.results-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.result-card {
  background: #1a1f2e;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.result-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
}

.result-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.06);
  background: rgba(0, 229, 255, 0.02);
}

.result-card-header .icon {
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.result-card-header h3 {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.result-card-body {
  padding: 24px;
}

/* --- Risk Score --- */
.risk-score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
}

.risk-score {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.risk-score.low {
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  border: 3px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.12);
}

.risk-score.medium {
  color: #ffaa00;
  background: rgba(255, 170, 0, 0.08);
  border: 3px solid rgba(255, 170, 0, 0.3);
  box-shadow: 0 0 24px rgba(255, 170, 0, 0.12);
}

.risk-score.high {
  color: #ff3366;
  background: rgba(255, 51, 102, 0.08);
  border: 3px solid rgba(255, 51, 102, 0.3);
  box-shadow: 0 0 24px rgba(255, 51, 102, 0.12);
}

.risk-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.risk-label.low {
  color: #00ff88;
}

.risk-label.medium {
  color: #ffaa00;
}

.risk-label.high {
  color: #ff3366;
}

/* --- Risk Meter --- */
.risk-meter {
  width: 100%;
  height: 8px;
  background: #0d1b2a;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}

.risk-meter-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
  background: linear-gradient(90deg, #00ff88, #ffaa00, #ff3366);
}

/* --- Key-Value Table --- */
.kv-table {
  width: 100%;
}

.kv-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 229, 255, 0.05);
  gap: 16px;
}

.kv-row:last-child {
  border-bottom: none;
}

.kv-key {
  font-size: 0.8rem;
  color: #8892a4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  min-width: 140px;
  flex-shrink: 0;
}

.kv-value {
  font-size: 0.9rem;
  color: #e0e6ed;
  word-break: break-word;
}

/* --- Data Table --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 0.75rem;
  color: #8892a4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.data-table td {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: #e0e6ed;
  border-bottom: 1px solid rgba(0, 229, 255, 0.04);
  word-break: break-all;
}

.data-table tr:hover td {
  background: rgba(0, 229, 255, 0.02);
}

/* --- Status Badges --- */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.success {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-badge.warning {
  background: rgba(255, 170, 0, 0.1);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.2);
}

.status-badge.danger {
  background: rgba(255, 51, 102, 0.1);
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.2);
}

.status-badge.info {
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

/* --- Anomaly Tags --- */
.anomaly-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Shell Indicator Cards --- */
.shell-indicator {
  background: rgba(255, 51, 102, 0.06);
  border: 1px solid rgba(255, 51, 102, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  color: #e0e6ed;
  font-size: 0.9rem;
}

.shell-indicator .indicator-label {
  color: #ff3366;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* --- Domain List --- */
.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.domain-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: #00e5ff;
  transition: background 0.2s ease;
}

.domain-tag:hover {
  background: rgba(0, 229, 255, 0.12);
}

/* --- SOS Links Grid --- */
.sos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.sos-link {
  display: block;
  padding: 10px 12px;
  text-align: center;
  background: rgba(0, 119, 255, 0.06);
  border: 1px solid rgba(0, 119, 255, 0.15);
  border-radius: 8px;
  color: #0077ff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sos-link:hover {
  background: rgba(0, 119, 255, 0.12);
  color: #0077ff;
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.12);
}

/* --- Corporate Record Section --- */
.corp-state-section {
  margin-bottom: 16px;
}

.corp-state-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 229, 255, 0.06);
}

.corp-state-header h4 {
  font-size: 0.95rem;
  color: #00e5ff;
  font-weight: 700;
}

.corp-state-header .toggle-icon {
  color: #8892a4;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.corp-state-header.open .toggle-icon {
  transform: rotate(180deg);
}

.corp-state-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.corp-state-body.open {
  max-height: 2000px;
}

/* --- AI Analysis --- */
.ai-narrative {
  font-size: 0.95rem;
  color: #e0e6ed;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  color: #fff;
  margin-bottom: 16px;
}

.contact-info p {
  color: #8892a4;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-info a {
  color: #00e5ff;
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  display: none;
}

.form-message.success.visible {
  display: block;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.form-message.error.visible {
  display: block;
  background: rgba(255, 51, 102, 0.08);
  border: 1px solid rgba(255, 51, 102, 0.2);
  color: #ff3366;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  margin-top: 64px;
  padding: 80px 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 60%);
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
  margin-bottom: 24px;
}

.mission-text {
  font-size: 1.15rem;
  color: #8892a4;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.vision-block {
  background: #1a1f2e;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.vision-block h3 {
  color: #00e5ff;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.vision-block p {
  color: #8892a4;
  line-height: 1.8;
  font-size: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0e1726;
  border-top: 1px solid rgba(0, 229, 255, 0.06);
  padding: 48px 24px;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-size: 0.85rem;
  color: #8892a4;
}

.footer-brand strong {
  color: #e0e6ed;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #8892a4;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00e5ff;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 229, 255, 0.04);
  font-size: 0.8rem;
  color: #555e6e;
}

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

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

@keyframes loadingPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out both;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out both;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.text-cyan {
  color: #00e5ff;
}

.text-muted {
  color: #8892a4;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.hidden {
  display: none !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 46, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding: 40px 16px;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .section {
    padding: 48px 16px;
  }

  .features-grid,
  .cards-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .search-form {
    flex-direction: column;
  }

  .results-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .kv-row {
    flex-direction: column;
    gap: 4px;
  }

  .kv-key {
    min-width: auto;
  }

  .sos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .sos-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}
