@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Space+Grotesk:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');


/* ==========================================================================
   Professional Website Stylesheet
   Modern, scalable CSS with custom properties and semantic components
   ========================================================================== */

/* CSS Custom Properties (CSS Variables) */
:root {
  /* Color Palette */
  --primary-color: #00D1C1;
  /* Turquoise Blue */
  --primary-light-color: #33DAC9;
  /* Lighter turquoise */
  --primary-dark-color: #00B8A9;
  /* Darker turquoise */

  --background-color: #0D1A24;
  /* Deep Space Navy */
  --background-light-color: #1A2B36;
  /* Lighter navy */
  --background-dark-color: #080F15;
  /* Darker navy */

  --accent-1-color: #915EFF;
  /* Neon Violet */
  --accent-1-light-color: #A675FF;
  /* Lighter violet */
  --accent-1-dark-color: #7A4BE6;
  /* Darker violet */

  --accent-2-color: #1E1E1E;
  /* Graphite Gray */
  --accent-2-light-color: #2D2D2D;
  /* Lighter gray */
  --accent-2-dark-color: #0F0F0F;
  /* Darker gray */

  --neutral-color: #F5F8FA;
  /* Soft White */
  --neutral-light-color: #FFFFFF;
  /* Pure white */
  --neutral-dark-color: #E8EEF2;
  /* Slightly darker white */

  /* Semantic Colors */
  --text-primary-color: var(--neutral-color);
  --text-secondary-color: var(--neutral-dark-color);
  --text-muted-color: #A0A8B0;
  --text-inverse-color: var(--background-color);

  --success-color: #10B981;
  --warning-color: #F59E0B;
  --error-color: #EF4444;
  --info-color: var(--primary-color);

  /* Typography */
  --font-family-primary: 'Space Grotesk', sans-serif;
  --font-family-heading: 'Orbitron', monospace;

  /* --font-family-primary: 'Space Grotesk Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-heading: 'Ethnocentric', 'Space Grotesk Variable', sans-serif; */
  /* --font-family-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace; */

  /* Fonts and Responsive Font Sizing */
  --font-size-base: clamp(1rem, 1vw + 0.7rem, 1.1rem);
  --font-size-lg: clamp(1.8rem, 3.5vw + 0.9rem, 3rem);
  --font-size-xl: clamp(1.5rem, 3vw + 0.8rem, 2.5rem);
  --font-size-md: clamp(1.1rem, 1.8vw + 0.7rem, 1.8rem);
  --font-size-sm: clamp(0.85rem, 1vw + 0.5rem, 1rem);
  --font-size-xs: clamp(0.75rem, 0.8vw + 0.4rem, 0.9rem);

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-2xl: 3rem;
  /* 48px */
  --spacing-3xl: 4rem;
  /* 64px */

  /* Border Radius */
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(0, 209, 193, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-primary-color);
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--font-size-xl);
  font-weight: 900;
}

h2 {
  font-size: var(--font-size-lg);
  font-weight: 800;
}

h3 {
  font-size: var(--font-size-md);
  font-weight: 700;
}

h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
}

h5 {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

p {
  font-size: var(--font-size-base);
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

/* a:hover,
a:focus {
  color: var(--primary-light-color);
  text-decoration: underline;
} */

a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

strong,
b {
  font-weight: var(--font-weight-semibold);
}

em,
i {
  font-style: italic;
}

small {
  font-size: var(--font-size-sm);
  color: var(--text-muted-color);
}

code {
  font-family: var(--font-family-mono);
  font-size: 0.9em;
  background-color: var(--accent-2-color);
  color: var(--primary-color);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn:hover {
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Primary Button */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-inverse-color);
  border-color: var(--primary-color);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-light-color);
  color: var(--text-inverse-color);
  border-color: var(--primary-light-color);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: var(--text-inverse-color);
  box-shadow: var(--shadow-md);
}

/* Accent Button */
.btn-accent {
  background-color: var(--accent-1-color);
  color: var(--neutral-color);
  border-color: var(--accent-1-color);
}

.btn-accent:hover:not(:disabled) {
  background-color: var(--accent-1-light-color);
  border-color: var(--accent-1-light-color);
  box-shadow: 0 0 20px rgba(145, 94, 255, 0.3);
  transform: translateY(-1px);
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--text-primary-color);
  border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
  background-color: var(--accent-2-color);
  color: var(--text-primary-color);
}

/* Button Sizes */
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--font-size-base);
}

.btn-xl {
  padding: var(--spacing-lg) var(--spacing-3xl);
  font-size: var(--font-size-xl);
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

input,
textarea,
select {
  font-family: inherit;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--background-light-color);
  color: var(--text-primary-color);
  border: 1px solid var(--accent-2-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 209, 193, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted-color);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  overflow: hidden;
}

@media (max-width: 500px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ==========================================================================
   Modal Component
   ========================================================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 26, 36, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--background-light-color);
  border: 1px solid var(--accent-2-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--accent-2-color);
}

.modal-title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary-color);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  color: var(--text-muted-color);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary-color);
  background-color: var(--accent-2-color);
}

.modal-body {
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary-color);
  line-height: var(--line-height-relaxed);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--accent-2-color);
}

/* Modal sizes */
.modal-sm .modal-content {
  max-width: 400px;
}

.modal-lg .modal-content {
  max-width: 800px;
}

.modal-xl .modal-content {
  max-width: 1200px;
}

/* ==========================================================================
   Card Component
   ========================================================================== */

.card {
  background-color: var(--background-light-color);
  border: 1px solid var(--accent-2-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--accent-2-color);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-sm);
}

.card-content {
  color: var(--text-secondary-color);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Border Utilities */
.border {
  border: 1px solid var(--accent-2-color);
}

.border-primary {
  border-color: var(--primary-color);
}

.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

/* Shadow Utilities */
.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Accessibility & Performance
   ========================================================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-text-primary: #FFFFFF;
    --color-background: #000000;
  }
}

/* Dark mode support (default is already dark) */
/* Users who prefer light mode can override these */
/* @media (prefers-color-scheme: light) {
  :root {
    --color-background: var(--color-neutral);
    --color-text-primary: var(--color-accent-2);
    --color-text-secondary: #4B5563;
  }
} */

/* Focus visible for better keyboard navigation */
.btn:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}