:root {
  --bg-color: #0b0f19;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-cyan: #00ffff; /* Updated to pure cyan for maximum brightness */
  --accent-blue: #4facfe;
  --nav-bg: rgba(15, 23, 42, 0.7);
  --btn-border: rgba(0, 255, 255, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body, html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg-color);
  color: var(--text-main);
}

/* Canvas Background */
#neuralCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Header / Banner */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: flex-end;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar nav {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-btn:hover, .nav-btn.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--btn-border);
  color: var(--accent-cyan);
}

/* Main Layout */
.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 0 1.5rem;
}

.page-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 7rem 1.5rem 4rem 1.5rem;
  text-align: left;
}

.brand-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--text-main);
  max-width: 750px;
  line-height: 1.3;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

/* Card Container */
.content-card, .contact-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--btn-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.section-title {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

.card-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1.75rem 0;
}

/* Lists & Formulas */
.math-list, .bullet-list {
  list-style: square;
  padding-left: 1.5rem;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.math-list li, .bullet-list li {
  margin-bottom: 0.8rem;
}

.formula {
  color: var(--text-muted);
  font-weight: 400;
  font-family: "Courier New", Courier, monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.3rem;
}

.link-list {
  list-style: square;
  padding-left: 1.5rem;
}

.link-list li {
  margin-bottom: 0.6rem;
}

/* High-Contrast Hyperlinks */
.link-list a, .contact-value {
  color: #00ffff; /* Vibrant cyan */
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.link-list a:hover, .contact-value:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
}

/* Contact Specific Styles */
.contact-info-group {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Contact Form Elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--btn-border);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
  border: none;
  cursor: pointer;
  align-self: center;
  margin-top: 0.5rem;
}

/* CTAs */
.cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #0b0f19;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--btn-border);
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
}