/* ============================================
   NexaForge Web Studio - Comprehensive Styles
   Dark Navy Theme with Orange-Red Gradient Accents
   ============================================ */

/* ============================================
   1. CSS Variables (Root)
   ============================================ */
:root {
  /* Background Colors */
  --bg-primary: #0D1A2D;
  --bg-card: #1A2332;
  --bg-section-alt: #0A1420;
  --bg-input: #1E2A3D;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-muted: #D9D9D9;
  --text-subtle: #9CA3AF;
  
  /* Brand Colors */
  --color-orange: #FF6A1A;
  --color-red: #D1322A;
  --color-accent: #E04325;
  
  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #FF6A1A 0%, #D1322A 100%);
  --gradient-primary-hover: linear-gradient(135deg, #FF7A2A 0%, #E1423A 100%);
  
  /* Border Colors */
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-light: rgba(255, 255, 255, 0.05);
  --border-orange: rgba(255, 106, 26, 0.3);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.25);
  --shadow-orange: 0 4px 20px rgba(255, 106, 26, 0.3);
  --shadow-orange-lg: 0 8px 32px rgba(255, 106, 26, 0.4);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-slower: 700ms ease;
  
  /* Z-Index Scale */
  --z-dropdown: 50;
  --z-sticky: 100;
  --z-fixed: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-loader: 9999;
}

/* ============================================
   2. Base Styles
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   3. Typography System
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 3rem;
  }
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

/* ============================================
   4. Navigation Styles
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.header--transparent {
  background-color: transparent;
}

/* Mobile header always has background when menu is open */
.header--mobile-open {
  background-color: var(--bg-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 767px) {
  .header {
    background-color: rgba(13, 26, 45, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.header--scrolled {
  background-color: rgba(13, 26, 45, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid var(--border-color-light);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
}

.logo:hover .logo__icon {
  opacity: 0.3;
}

.logo__icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__icon-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  opacity: 0.2;
  transition: opacity var(--transition-base);
}

.logo__icon-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.logo__text {
  display: flex;
  align-items: center;
}

.logo__text-nexa {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo__text-forge {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link--active {
  color: var(--text-primary);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.nav__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav__actions {
    display: flex;
  }
}

.mobile-menu-toggle {
  display: flex;
  padding: 0.5rem;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 4.25rem;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 4.25rem);
  overflow-y: auto;
  background-color: rgba(13, 26, 45, 0.98);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-fixed);
  pointer-events: none;
  padding: 0 1.25rem 1.25rem;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}

.mobile-menu__link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu__link--active {
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
  color: var(--text-primary);
}

/* ============================================
   5. Button Styles
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--gradient-primary-hover);
  box-shadow: var(--shadow-orange-lg);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
}

.btn--ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn--icon {
  padding: 0.625rem;
  width: 2.25rem;
  height: 2.25rem;
}

.btn--full {
  width: 100%;
}

/* ============================================
   6. Card Styles
   ============================================ */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--interactive:hover {
  border-color: var(--border-orange);
}

.card__header {
  padding: var(--spacing-lg);
}

.card__content {
  padding: var(--spacing-lg);
  padding-top: 0;
}

.card__footer {
  padding: var(--spacing-lg);
  padding-top: 0;
}

.card--feature {
  padding: var(--spacing-xl);
  text-align: center;
}

.card--feature .card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
  color: var(--color-orange);
}

.card--feature .card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.card--feature .card__description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card--service {
  padding: var(--spacing-xl);
}

.card--service .card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
  color: var(--color-orange);
  transition: all var(--transition-base);
}

.card--service:hover .card__icon {
  background: var(--gradient-primary);
  color: var(--text-primary);
}

.card--service .card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.card--service .card__description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.card--service .card__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.card--service .card__feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.card--service .card__feature-icon {
  color: var(--color-orange);
  flex-shrink: 0;
}

/* ============================================
   7. Form Styles
   ============================================ */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.15);
}

.form-input:disabled,
.form-textarea:disabled,
.form-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D9D9D9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.form-error {
  font-size: 0.75rem;
  color: var(--color-red);
  margin-top: var(--spacing-xs);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: var(--spacing-xs);
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-input);
  cursor: pointer;
  accent-color: var(--color-orange);
}

/* ============================================
   8. Animation Keyframes
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Animation Classes */
.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-spin-slow {
  animation: spin 3s linear infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Stagger Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ============================================
   9. Utility Classes
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Spacing */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* Width & Height */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--text-primary); }
.text-muted { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }
.text-orange { color: var(--color-orange); }
.text-red { color: var(--color-red); }

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient Backgrounds */
.gradient-bg {
  background: var(--gradient-primary);
}

.gradient-bg-subtle {
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
}

.gradient-border {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--gradient-primary) border-box;
}

/* Blur Effects */
.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.blur-orb--orange {
  background: rgba(255, 106, 26, 0.2);
}

.blur-orb--red {
  background: rgba(209, 50, 42, 0.2);
}

.backdrop-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Visibility */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
}

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Z-Index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* Transition */
.transition-all {
  transition: all var(--transition-base);
}

.transition-colors {
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.transition-transform {
  transition: transform var(--transition-base);
}

.transition-opacity {
  transition: opacity var(--transition-base);
}

/* Border */
.border { border: 1px solid var(--border-color); }
.border-t { border-top: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ============================================
   10. Page-Specific Styles
   ============================================ */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero__background {
  position: absolute;
  inset: 0;
}

.hero__gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1) 0%, transparent 50%, rgba(209, 50, 42, 0.1) 100%);
}

.hero__orb {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(100px);
}

.hero__orb--left {
  top: 25%;
  left: -8rem;
  background: rgba(255, 106, 26, 0.2);
}

.hero__orb--right {
  bottom: 25%;
  right: -8rem;
  background: rgba(209, 50, 42, 0.2);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
  border: 1px solid rgba(255, 106, 26, 0.2);
  margin-bottom: 2rem;
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-orange);
  animation: pulse 2s infinite;
}

.hero__badge-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.125rem;
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
  }
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--bg-section-alt);
}

.features__header {
  text-align: center;
  margin-bottom: 4rem;
}

.features__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.features__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .features__title {
    font-size: 2.5rem;
  }
}

.features__description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--bg-primary);
}

.services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Pricing Cards */
.pricing {
  padding: 5rem 0;
  background-color: var(--bg-section-alt);
}

.pricing__header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--popular {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 1px var(--color-orange), var(--shadow-orange);
}

.pricing-card--popular:hover {
  box-shadow: 0 0 0 1px var(--color-orange), var(--shadow-orange-lg);
}

.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.pricing-card__header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-card__price span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card__description {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-card__delivery {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-orange);
  margin-top: 0.5rem;
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-card__feature-icon {
  flex-shrink: 0;
  color: var(--color-orange);
  margin-top: 0.125rem;
}

.pricing-card__cta {
  width: 100%;
}

/* Timeline (About Page) */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-orange), var(--color-red));
}

.timeline__item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -1.75rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-primary);
}

.timeline__year {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: 0.25rem;
}

.timeline__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline__description {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Team Member Cards */
.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-orange);
}

.team-card__avatar {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.2), rgba(209, 50, 42, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-orange);
}

.team-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.05), rgba(209, 50, 42, 0.05));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat__value {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat__value {
    font-size: 3rem;
  }
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
  position: relative;
  overflow: hidden;
}

.cta__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.cta__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta__title {
    font-size: 2.5rem;
  }
}

.cta__description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta__actions {
    flex-direction: row;
  }
}

/* ============================================
   11. Toast Notification Styles
   ============================================ */
.toast-container {
  position: fixed;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  max-width: 420px;
  width: 100%;
}

.toast-container--top-right {
  top: 0;
  right: 0;
}

.toast-container--bottom-right {
  bottom: 0;
  right: 0;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease-out;
}

.toast--success {
  border-color: #22c55e;
}

.toast--success .toast__icon {
  color: #22c55e;
}

.toast--error {
  border-color: var(--color-red);
}

.toast--error .toast__icon {
  color: var(--color-red);
}

.toast--warning {
  border-color: var(--color-orange);
}

.toast--warning .toast__icon {
  color: var(--color-orange);
}

.toast__icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.toast__content {
  flex: 1;
  min-width: 0;
}

.toast__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.toast__description {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.toast__close {
  flex-shrink: 0;
  padding: 0.25rem;
  color: var(--text-subtle);
  transition: color var(--transition-fast);
}

.toast__close:hover {
  color: var(--text-primary);
}

/* Toast Exit Animation */
.toast--exit {
  animation: fadeOut 0.2s ease-out forwards;
}

/* ============================================
   12. Page Loader Overlay Styles
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  transition: opacity var(--transition-slow);
}

.page-loader--hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.page-loader__spinner {
  position: relative;
  width: 4rem;
  height: 4rem;
}

.page-loader__spinner-ring {
  position: absolute;
  inset: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 4px solid transparent;
}

.page-loader__spinner-ring--1 {
  border-top-color: var(--color-orange);
  border-right-color: var(--color-red);
  animation: spin 1s linear infinite;
}

.page-loader__spinner-ring--2 {
  border-bottom-color: var(--color-accent);
  animation: spinReverse 0.8s linear infinite;
}

.page-loader__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-loader__logo-nexa {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.page-loader__logo-forge {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-loader__dots {
  display: flex;
  gap: 0.375rem;
}

.page-loader__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  animation: bounce 1s infinite;
}

.page-loader__dot--1 {
  background-color: var(--color-orange);
  animation-delay: 0ms;
}

.page-loader__dot--2 {
  background-color: var(--color-accent);
  animation-delay: 150ms;
}

.page-loader__dot--3 {
  background-color: var(--color-red);
  animation-delay: 300ms;
}

/* ============================================
   13. Footer Styles
   ============================================ */
.footer {
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-color-light);
}

.footer__main {
  padding: 4rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 20rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}

.footer__description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  color: var(--text-primary);
  background: var(--gradient-primary);
}

.footer__column-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__link-icon {
  opacity: 0;
  margin-left: -1.25rem;
  transition: all var(--transition-base);
}

.footer__link:hover .footer__link-icon {
  opacity: 1;
  margin-left: 0;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__contact-icon {
  flex-shrink: 0;
  color: var(--color-orange);
  margin-top: 0.125rem;
}

.footer__contact-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
}

.footer__bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: 0.875rem;
  color: var(--text-subtle);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--text-primary);
}

/* ============================================
   14. Contact Page Specific
   ============================================ */
.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-2px);
}

.contact-info-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.contact-info-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-info-card__description {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
}

.contact-info-card__value {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-info-card__value a {
  color: var(--color-orange);
  transition: color var(--transition-fast);
}

.contact-info-card__value a:hover {
  color: var(--color-red);
}

.map-card {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-card__map {
  position: relative;
  min-height: 360px;
  background: #0f1c2b;
}

.map-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.05) contrast(1.05);
}

.map-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(13, 26, 45, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.map-card__content {
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 106, 26, 0.05),
    rgba(209, 50, 42, 0.05)
  );
}

.map-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.12), rgba(209, 50, 42, 0.12));
  color: var(--color-orange);
}

.map-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.map-card__address {
  font-size: 1rem;
  color: var(--text-muted);
}

.map-card__note {
  color: var(--text-subtle);
  line-height: 1.7;
}

.map-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  align-items: center;
}

.map-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--text-muted);
}

.map-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.map-card__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-orange);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .map-card {
    grid-template-columns: 1.5fr 1fr;
  }

  .map-card__content {
    padding: var(--spacing-3xl);
  }
}

@media (max-width: 575px) {
  .map-card__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   15. Values/Features Cards (About Page)
   ============================================ */
.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
}

.value-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.1), rgba(209, 50, 42, 0.1));
  color: var(--color-orange);
}

.value-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.value-card__description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   16. Section Headers
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-header__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-header__title {
    font-size: 2.5rem;
  }
}

.section-header__description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   17. Skeleton Loading
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    var(--bg-card) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton--text {
  height: 1rem;
  width: 100%;
}

.skeleton--title {
  height: 1.5rem;
  width: 60%;
}

.skeleton--avatar {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
}

.skeleton--card {
  height: 12rem;
  width: 100%;
}

/* ============================================
   18. Accessibility
   ============================================ */
.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;
}

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

/* 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;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   19. Scroll to Top Button
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-orange);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  box-shadow: var(--shadow-orange-lg);
  transform: translateY(-2px);
}

/* ============================================
   20. Hero Small Variant (About Page)
   ============================================ */
.hero--small {
  min-height: 60vh;
  padding-top: 6rem;
}

.hero--small .hero__content {
  padding: 6rem 1.5rem 4rem;
}

.hero--small .hero__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero--small .hero__title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero--small .hero__title {
    font-size: 4rem;
  }
}

.hero--small .hero__subtitle {
  margin-bottom: 0;
}

/* ============================================
   21. Team Card Extensions
   ============================================ */
.team-card__initials {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-card__info {
  padding-top: 0.5rem;
}

.team-card__description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}

/* ============================================
   22. Print Styles
   ============================================ */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .header,
  .footer,
  .page-loader,
  .toast-container {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .card {
    break-inside: avoid;
    border: 1px solid #ccc;
  }
}
