/* NCTC - National Center for Technology Commercialization
   Brand: Authoritative, Powerful, Protective, Helpful
   Main Color: Deep Navy #10112f
   Dark Theme: Deep Navy background, White text
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  /* Brand Colors */
  --deep-navy: #10112f;
  --electric-royal: #243996;
  --bright-sky: #4a81f6;
  --white: #ffffff;
  --charcoal: #161616;
  
  /* NCTC Theme - Dark */
  --bg-primary: var(--deep-navy);
  --bg-secondary: rgba(36, 57, 150, 0.15);
  --text-primary: var(--white);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --accent: var(--electric-royal);
  --accent-hover: var(--bright-sky);
  --border-color: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-display: 'HDColton-WideLight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --container-max: 420px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   Dot Grid Background
   ========================================================================== */

.dot-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle, var(--white) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Profile Header
   ========================================================================== */

.profile {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.logo-svg {
  width: 100%;
  height: 100%;
  color: var(--white);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin: 0;
  max-width: 280px;
}

.tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-hover);
  margin-top: var(--spacing-xs);
}

/* ==========================================================================
   Links Navigation
   ========================================================================== */

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.link-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.link-btn:hover {
  border-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(74, 129, 246, 0.2);
}

.link-btn:hover::before {
  opacity: 1;
}

.link-btn:active {
  transform: translateY(-1px);
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.link-icon svg {
  width: 20px;
  height: 20px;
}

.link-text {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-hover);
}

.footer-logo {
  width: 24px;
  height: 24px;
}

.footer-logo-img {
  height: 20px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer-link:hover .footer-logo-img {
  opacity: 1;
}

.copyright {
  font-size: 0.7rem;
  color: var(--text-secondary);
  opacity: 0.6;
  margin-top: var(--spacing-sm);
}

/* ==========================================================================
   Selection Styles
   ========================================================================== */

::selection {
  background: var(--accent);
  color: var(--white);
}

::-moz-selection {
  background: var(--accent);
  color: var(--white);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 480px) {
  :root {
    --container-max: 100%;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .link-btn {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  .dot-grid {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .link-btn {
    border: 1px solid #000;
    background: transparent;
  }
}

