/* ===== SmartSeek — Dark Cyber Landing ===== */

:root {
  --bg-dark: #050508;
  --bg-mid: #0a0a12;
  --bg-card: rgba(15, 15, 25, 0.6);
  --neon-cyan: #00f5ff;
  --neon-blue: #0088ff;
  --neon-glow: rgba(0, 245, 255, 0.4);
  --text-primary: #e8e8f0;
  --text-muted: #6b6b80;
  --border-subtle: rgba(0, 245, 255, 0.15);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --risk-low: #22c55e;
  --risk-medium: #eab308;
  --risk-elevated: #f97316;
  --risk-high: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== Grid Overlay ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--neon-cyan);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--neon-blue);
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 30px); }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, rgba(5, 5, 8, 0.95), transparent);
  backdrop-filter: blur(10px);
}

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

.logo-link {
  display: block;
}

.logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--neon-glow));
  transition: filter 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 20px var(--neon-glow)) brightness(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-glow);
}

.nav-cta {
  color: var(--neon-cyan) !important;
  border: 2px solid var(--neon-cyan);
  padding: 0.5rem 1rem;
}

.nav-cta:hover {
  background: rgba(0, 245, 255, 0.1);
}

/* ===== Main ===== */
main {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

/* ===== Hero ===== */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  max-width: 600px;
}

.hero-headline strong {
  color: var(--neon-cyan);
}

.tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ===== Score Gauge ===== */
.score-gauge {
  width: 100%;
  max-width: 480px;
  margin-bottom: 2.5rem;
  text-align: center;
}

.gauge-bar {
  position: relative;
  height: 24px;
  border-radius: 4px;
  overflow: visible;
  display: flex;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

.gauge-segment {
  flex: 1;
  transition: opacity 0.3s ease;
}

.gauge-low {
  background: var(--risk-low);
}

.gauge-medium {
  background: var(--risk-medium);
}

.gauge-elevated {
  background: var(--risk-elevated);
}

.gauge-high {
  background: var(--risk-high);
}

.gauge-pointer {
  position: absolute;
  top: 50%;
  left: 76%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 8px solid #fff;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
  z-index: 2;
  pointer-events: none;
}

.score-display {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  white-space: nowrap;
}

.score-value {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px var(--neon-glow);
}

.score-separator,
.score-max {
  color: var(--text-muted);
}

.score-label {
  color: var(--risk-elevated);
  font-size: 1.25rem;
  margin-left: 0.5rem;
}

.score-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

.btn-hero {
  margin-top: 0.5rem;
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 2px solid;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-dark);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-glow);
}

.btn-primary:hover {
  background: transparent;
  color: var(--neon-cyan);
  box-shadow: 0 0 30px var(--neon-glow);
}

.btn-large {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ===== Sections ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--neon-cyan);
}

.section-title .bracket {
  color: var(--text-muted);
  margin: 0 0.25rem;
}

.section-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.1);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 1.5rem;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Report Section ===== */
.report-section .section-text {
  margin-bottom: 2rem;
}

.report-preview {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.08);
}

.report-image {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding-bottom: 6rem;
}

.cta-section .section-text {
  margin: 0 auto 2rem;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Scroll Reveal ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-cta {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .hero-headline {
    font-size: 1.35rem;
  }

  .tagline {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .score-display {
    font-size: 1.5rem;
  }

  .score-label {
    font-size: 1rem;
    display: block;
    margin-left: 0;
  }
}
