/* index.css - Atlancis Precision Design System & Custom Utilities */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #0A1628;        /* Deep Navy */
  --color-secondary: #0D9488;      /* Teal/Emerald Accent */
  --color-accent-light: #14B8A6;   /* Brighter Teal */
  --color-surface-white: #F7F9FB;  /* Clean Background */
  --color-dark-surface: #0E1E38;   /* Darker Navy for Card Backdrops */
  --color-card-border: rgba(13, 148, 136, 0.15);
  --color-card-border-hover: rgba(13, 148, 136, 0.4);
}

/* Google Material Symbols base styling overrides to guarantee icon rendering */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0A1628;
}

::-webkit-scrollbar-thumb {
  background: #0D9488;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #14B8A6;
}

/* Base Adjustments */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--color-surface-white);
  color: #1A202C;
}

h1, h2, h3, h4, h5, h6, .font-geist {
  font-family: 'Geist', sans-serif;
}

/* Custom Glassmorphism Utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.1);
  box-shadow: 0 8px 32px 0 rgba(10, 22, 40, 0.03);
}

.glass-panel-dark {
  background: rgba(14, 30, 56, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Atmospheric Glowing Shadows */
.glow-teal-sm {
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.15);
}

.glow-teal-lg {
  box-shadow: 0 0 40px rgba(13, 148, 136, 0.25);
}

.text-glow {
  text-shadow: 0 0 12px rgba(20, 184, 166, 0.4);
}

/* Card Hover Interactions */
.card-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-5px);
  border-color: var(--color-color-accent-light, #14B8A6);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.08);
}

.card-hover-dark {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover-dark:hover {
  transform: translateY(-5px);
  border-color: #14B8A6;
  box-shadow: 0 20px 40px rgba(13, 148, 136, 0.2);
}

/* Micro-animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.animate-pulse-ring {
  animation: pulse-ring 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Page Loader Indicator styling */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0A1628 0%, #0D9488 50%, #14B8A6 100%);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.5s ease-out;
}

/* Interactive Map Nodes */
.map-pulse {
  position: relative;
}
.map-pulse::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #0D9488;
  animation: pulse-ring 2s infinite;
  z-index: 0;
}

/* Form inputs styling */
.form-input {
  transition: all 0.3s ease;
}
.form-input:focus {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Chart bar growth simulation */
.chart-bar-grow {
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Checkmark Success Animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #0D9488;
}
.success-checkmark .check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}
.success-checkmark .check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
}
.success-checkmark .check-icon .icon-line {
  height: 5px;
  background-color: #0D9488;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}
.success-checkmark .check-icon .icon-line.line-tip {
  top: 43px;
  left: 19px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}
.success-checkmark .check-icon .icon-line.line-long {
  top: 38px;
  right: 15px;
  width: 40px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
  0% { width: 0; left: 1px; top: 19px; }
  54% { width: 0; left: 1px; top: 19px; }
  70% { width: 50px; left: -8px; top: 37px; }
  84% { width: 17px; left: 21px; top: 48px; }
  100% { width: 25px; left: 19px; top: 43px; }
}
@keyframes icon-line-long {
  0% { width: 0; right: 46px; top: 54px; }
  65% { width: 0; right: 46px; top: 54px; }
  84% { width: 55px; right: 0px; top: 35px; }
  100% { width: 40px; right: 15px; top: 38px; }
}
