/* Tailwind CSS - Optimized Build for Performance */

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #020617; /* slate-950 */
  color: #ffffff;
}

/* Sensible defaults for unstyled anchors */
a {
  color: #93c5fd; /* blue-300 */
  text-decoration: none;
}

a:hover {
  color: #bfdbfe; /* blue-200 */
}

/* Layout */
.min-h-screen {
  min-height: 100vh;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-3 {
  gap: 0.75rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Colors & Background */
.text-white {
  color: #ffffff;
}

.bg-slate-950\/35 {
  background-color: rgba(2, 6, 23, 0.35);
}

.bg-slate-950\/45 {
  background-color: rgba(2, 6, 23, 0.45);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-l {
  border-left-width: 1px;
  border-left-style: solid;
}

.backdrop-blur-xl {
  backdrop-filter: blur(16px);
}

.backdrop-blur-2xl {
  backdrop-filter: blur(24px);
}

/* Typography */
.text-5xl {
  font-size: 3rem;
  line-height: 1;
  font-weight: 300;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 300;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 400;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-extrabold {
  font-weight: 800;
}

.font-bold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-\[0\.24em\] {
  letter-spacing: 0.024em;
}

.uppercase {
  text-transform: uppercase;
}

.leading-none {
  line-height: 1;
}

/* Spacing */
.p-5 {
  padding: 1.25rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-14 {
  padding-bottom: 3.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-auto {
  margin-top: auto;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

/* Sizing */
.h-12 {
  height: 3rem;
}

.h-10 {
  height: 2.5rem;
}

.h-7 {
  height: 1.75rem;
}

.w-auto {
  width: auto;
}

.w-\[68\%\] {
  width: 68%;
}

.w-\[32\%\] {
  width: 32%;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-xl {
  max-width: 36rem;
}

/* Positioning */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-\[9996\] {
  z-index: 9996;
}

.z-\[10\] {
  z-index: 10;
}

/* Display */
.hidden {
  display: none;
}

.block {
  display: block;
}

.pointer-events-none {
  pointer-events: none;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

/* Object Fit */
.object-contain {
  object-fit: contain;
}

/* Cursor & Effects - Fixed for visibility */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  position: fixed;
  pointer-events: none !important;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

/* Global cursor fix */
body {
  cursor: auto !important;
}

* {
  cursor: auto !important;
}

/* Hero Section */
.hero-layout {
  min-height: calc(100vh - 80px);
}

.hero-panel {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  color: white;
}

.hero-chip {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-chip-small {
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
}

.morphing-text {
  position: relative;
  height: 1.5em;
  overflow: hidden;
}

.text-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
}

.text-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.site-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo {
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.top-nav {
  display: flex;
  gap: 1.5rem;
}

.top-nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-nav-link:hover {
  color: white;
}

.top-header-meta {
  color: rgba(255, 255, 255, 0.9);
}

/* Action Cards */
.action-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
}

/* Portal Sections */
.portal-sections {
  padding: 2.5rem 1.25rem 3.5rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portal-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portal-card-wide {
  grid-column: span 2;
}

.section-kicker {
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.portal-list {
  list-style: none;
  padding: 0;
}

.portal-list li {
  margin-bottom: 0.5rem;
}

.secondary-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.secondary-link:hover {
  color: #3b82f6;
}

/* FAQ Section */
.faq-shell {
  padding: 2.5rem 1.25rem 3.5rem;
}

.faq-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
}

.faq-list {
  margin-top: 1.5rem;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.faq-list summary {
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.faq-list p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Buttons */
.cta-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.cta-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (min-width: 1024px) {
  .lg\:px-7 {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
  
  .lg\:px-14 {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
  
  .lg\:pb-14 {
    padding-bottom: 3.5rem;
  }
  
  .lg\:pb-16 {
    padding-bottom: 4rem;
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
  
  .lg\:text-3xl {
    font-size: 1.875rem;
  }
  
  .lg\:w-\[68\%\] {
    width: 68%;
  }
  
  .lg\:w-\[32\%\] {
    width: 32%;
  }
  
  .lg\:flex {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .lg\:hidden {
    display: none;
  }
}

@media (min-width: 640px) {
  .sm\:p-8 {
    padding: 2rem;
  }
}

/* Performance Optimizations */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Text Selection */
::selection {
  background: #3b82f6;
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
