/* ========= SECTUNE-INSPIRED COLOR VARIABLES ========= */
:root {
  /* Primary Colors - Based on SecTune's actual palette */
  --primary-black: #000000;
  --primary-dark: #1a1a1a;
  --secondary-dark: #2d2d2d;
  --accent-blue: #0066cc;
  --accent-cyan: #00ccff;
  --accent-green: #00ff88;
  --accent-teal: #008080;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  
  /* Status Colors */
  --success: #00ff88;
  --warning: #ffaa00;
  --error: #ff4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
  --gradient-accent: linear-gradient(135deg, #0066cc 0%, #00ccff 100%);
  --gradient-success: linear-gradient(135deg, #008080 0%, #00ff88 100%);
  
  /* Shadows and Effects */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 204, 255, 0.3);
  
  /* Border Radius */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 12px;
}

/* ========= GLOBAL STYLES ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gradient-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========= NAVBAR ========= */
.navbar {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 204, 255, 0.2);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ========= BUTTONS ========= */
.btn-primary, .btn-secondary, .btn-outline, .btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-medium);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-primary);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

.btn-secondary {
  background: var(--secondary-dark);
  color: var(--text-primary);
  border: 1px solid rgba(0, 204, 255, 0.3);
}

.btn-secondary:hover {
  background: var(--accent-blue);
  border-color: var(--accent-cyan);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: var(--primary-black);
}

.btn-accent {
  background: var(--gradient-success);
  color: var(--primary-black);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

/* ========= LAYOUT ========= */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========= HERO SECTION ========= */
.hero-section {
  padding-top: 120px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 204, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.feature-preview {
  display: grid;
  gap: 1.5rem;
}

.preview-card {
  background: rgba(45, 45, 45, 0.8);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-large);
  border: 1px solid rgba(0, 204, 255, 0.2);
  transition: all 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.preview-card i {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.preview-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.preview-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========= FEATURES SECTION ========= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(45, 45, 45, 0.6);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--radius-large);
  border: 1px solid rgba(0, 204, 255, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--text-primary);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========= ABOUT SECTION ========= */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: var(--text-secondary);
}

.security-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-green);
  font-weight: 600;
}

.security-item i {
  font-size: 1.25rem;
}

/* ========= FORM STYLES ========= */
.form-container {
  max-width: 900px;
  margin: 0 auto;
}

.workplace-form {
  background: rgba(45, 45, 45, 0.8);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--radius-large);
  border: 1px solid rgba(0, 204, 255, 0.2);
  box-shadow: var(--shadow-medium);
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 204, 255, 0.3);
}

.form-section h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 1.5rem 0 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(26, 26, 26, 0.8);
  border: 2px solid rgba(0, 204, 255, 0.3);
  border-radius: var(--radius-medium);
  padding: 0.75rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.radio-label input[type="radio"] {
  width: auto;
  margin: 0;
}

.form-actions {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 204, 255, 0.2);
}

/* ========= RESULTS STYLES ========= */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 204, 255, 0.3);
}

.results-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  color: var(--accent-green);
}

.employee-number {
  background: var(--gradient-success);
  color: var(--primary-black);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-medium);
  font-weight: 700;
  font-size: 1.1rem;
}

.results-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.result-card {
  background: rgba(45, 45, 45, 0.8);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-large);
  border: 1px solid rgba(0, 204, 255, 0.2);
}

.result-card h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 204, 255, 0.2);
}

.results-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ========= UTILITY CLASSES ========= */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-success {
  color: var(--success);
}

.text-warning {
  color: var(--warning);
}

.text-error {
  color: var(--error);
}

/* ========= FOOTER ========= */
.footer {
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(0, 204, 255, 0.2);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .security-features {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .workplace-form {
    padding: 2rem;
  }
  
  .results-actions {
    flex-direction: column;
    align-items: center;
  }
}
