/* VulnOps Landing Page - Dark Theme Styles */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

.text-accent {
  color: var(--text-accent) !important;
  background: linear-gradient(135deg, var(--red-pantone), #ff4757);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-danger {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-color: var(--red-pantone);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-danger::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-danger:hover::before {
  left: 100%;
}

.btn-danger:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-secondary);
}

.btn-outline-light:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(248, 249, 252, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-primary);
  z-index: var(--z-fixed);
  transition: all var(--transition);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-text {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary) !important;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand-text:hover {
  color: var(--text-accent) !important;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav li {
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary) !important;
  background: var(--bg-elevated);
  border-radius: var(--radius);
}

.navbar-toggler {
  border: none;
  padding: var(--space-2);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(239, 35, 60, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(141, 153, 174, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-accent);
  margin-bottom: var(--space-6);
}

.hero-badge i {
  font-size: var(--text-base);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-accent);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Terminal Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.terminal-window {
  background: var(--space-cadet);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 500px;
  margin-left: auto;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: #373954;
  border-bottom: 1px solid #4a4d6b;
}

.terminal-controls {
  display: flex;
  gap: var(--space-2);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca3f; }

.terminal-title {
  font-size: var(--text-sm);
  color: var(--cool-gray);
  font-family: var(--font-mono);
}

.terminal-content {
  padding: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.8;
  background: var(--space-cadet);
  color: var(--anti-flash-white);
}

.terminal-line {
  margin-bottom: var(--space-2);
}

.terminal-prompt {
  color: var(--anti-flash-white);
  margin-right: var(--space-2);
}

.terminal-command {
  color: var(--anti-flash-white);
}

.terminal-output {
  margin-left: var(--space-4);
}

.terminal-output.success {
  color: #27ca3f;
}

.terminal-output.warning {
  color: #ffbd2e;
}

.terminal-output.info {
  color: var(--cool-gray);
}

.terminal-output.error {
  color: var(--error);
}

.terminal-cursor {
  background: var(--anti-flash-white);
  width: 8px;
  height: 16px;
  display: inline-block;
  animation: blink 1s infinite;
}

/* .terminal-cursor {
  background: var(--text-accent);
  width: 8px;
  height: 16px;
  display: inline-block;
  animation: blink 1s infinite;
} */

/* Features Section */
.features-section {
  padding: var(--space-32) 0;
  background: var(--gradient-section);
}

.section-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.section-description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.feature-metrics {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.metric {
  font-size: var(--text-xs);
  color: var(--text-accent);
  background: rgba(239, 35, 60, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Security Section */
.security-section {
  padding: var(--space-32) 0;
  background: var(--bg-primary);
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.security-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-primary);
  transition: all var(--transition);
}

.security-item:hover {
  background: var(--bg-card);
  transform: translateX(8px);
  border-color: var(--border-accent);
}

.security-item i {
  font-size: var(--text-2xl);
  color: var(--text-accent);
  margin-top: var(--space-1);
  flex-shrink: 0;
}

.security-item h5 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.security-item p {
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.security-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.stat-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--text-primary);
  flex-shrink: 0;
}

.stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Demo Section */
.demo-section {
  padding: var(--space-32) 0;
  background: var(--gradient-dark);
  position: relative;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(239, 35, 60, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(141, 153, 174, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.demo-content {
  position: relative;
  z-index: 2;
}

.demo-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.demo-description {
  font-size: var(--text-xl);
  color: var(--cool-gray);
  margin-bottom: var(--space-12);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
}

.form-group {
  display: flex;
  gap: var(--space-3);
  align-items: stretch;
  margin-bottom: var(--space-4);
}

.form-control {
  flex: 1;
  padding: var(--space-4);
  font-size: var(--text-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  transition: all var(--transition);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--red-pantone);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.1);
  background: var(--bg-card);
}

.form-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: var(--space-24) 0 var(--space-8);
  border-top: 1px solid var(--border-primary);
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.footer-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--text-base);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.social-links {
  display: flex;
  gap: var(--space-4);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--red-pantone);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-divider {
  border: none;
  height: 1px;
  background: var(--border-primary);
  margin: var(--space-8) 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-badges .badge {
  font-size: var(--text-xs);
  color: var(--text-primary);
  background: var(--bg-elevated);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
  
  .section-title {
    font-size: var(--text-4xl);
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: var(--space-16) 0;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .terminal-window {
    margin: var(--space-12) auto 0;
  }
  
  .security-stats {
    grid-template-columns: 1fr;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-primary);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .demo-title {
    font-size: var(--text-3xl);
  }
  
  .stat-box {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }
}