/* ==================================================
   AI Systems Architect Portfolio – Clean CSS
   ================================================== */

/* ---------- Root Variables ---------- */

:root{
--font-heading:'Space Grotesk',sans-serif;
--font-body:'Inter',sans-serif;

--color-space:#0B0F14;
--color-charcoal:#111827;
--color-navy:#0F172A;

--glow-cyan:0 0 20px rgba(34,211,238,.35);
--glow-purple:0 0 20px rgba(124,58,237,.35);
}


/* ---------- Base Reset ---------- */

*,
*::before,
*::after{
box-sizing:border-box;
margin:0;
padding:0;
}

html{
scroll-behavior:smooth;
}

body{
font-family:var(--font-body);
background:var(--color-space);
color:#E5E7EB;
overflow-x:hidden;
}


/* ---------- Loader ---------- */

#loader{
transition:opacity .6s ease;
}

.loader-bar{
width:0%;
transition:width .3s ease;
}


/* ---------- Scrollbar ---------- */

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-track{
background:#0B0F14;
}

::-webkit-scrollbar-thumb{
background:#1f2937;
border-radius:4px;
}

::-webkit-scrollbar-thumb:hover{
background:#374151;
}


/* ---------- Glass UI Panels ---------- */

.glass-panel{
background:rgba(17,24,39,.7);
backdrop-filter:blur(12px);
border:1px solid rgba(255,255,255,.05);
}

.glass-card{
background:rgba(15,23,42,.6);
backdrop-filter:blur(8px);
border:1px solid rgba(255,255,255,.05);
transition:all .3s ease;
}

.glass-card:hover{
border-color:rgba(34,211,238,.3);
box-shadow:var(--glow-cyan);
transform:translateY(-5px);
}


/* ---------- Neon Text ---------- */

.neon-text{
text-shadow:0 0 10px rgba(34,211,238,.6);
}


/* ---------- Grid Background ---------- */

.grid-bg{
background-size:40px 40px;
mask-image:linear-gradient(to bottom,transparent,black,transparent);
-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 20%,black 80%,transparent 100%);
}


/* ---------- Reveal Animation ---------- */

.reveal{
opacity:0;
transform:translateY(30px);
transition:all .8s ease;
}

body.loaded .reveal{
opacity:1;
transform:translateY(0);
}

.reveal.active{
opacity:1;
transform:translateY(0);
}


/* ---------- Typing Cursor ---------- */

.typing-cursor::after{
content:'|';
animation:blink 1s step-start infinite;
}

@keyframes blink{
50%{opacity:0;}
}


/* ---------- Responsive ---------- */

@media(max-width:768px){

h1{font-size:2rem;}
h2{font-size:1.6rem;}
h3{font-size:1.3rem;}

}

/* Loader */

#loader{
position:fixed;
inset:0;
z-index:9999;
background:#0B0F14;
display:flex;
align-items:center;
justify-content:center;
flex-direction:column;
transition:opacity .6s ease;
}

.loader-bar{
width:0%;
height:100%;
transition:width .3s ease;
}
:root {
            --font-heading-name: 'Space Grotesk';
            --font-body-name: 'Inter';
            --font-heading: 'Space Grotesk', sans-serif;
            --font-body: 'Inter', sans-serif;
            --letter-spacing-heading: -0.02em;
            --letter-spacing-body: 0px;
            --space-base: 1rem;
            --radius-small: 0.25rem;
            --radius-large: 0.75rem;
            --border-width: 1px;
            --shadow-color: 0 0 0;
            --shadow-offset-x: 0px;
            --shadow-offset-y: 4px;
            --shadow-blur: 20px;
            --shadow-spread: -2px;
            --shadow-opacity: 0.5;
            --shadow-custom: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
            --shadow-custom-hover: 0 10px 30px -5px rgba(34, 211, 238, 0.3);
            --glow-cyan: 0 0 20px rgba(34, 211, 238, 0.3);
            --glow-purple: 0 0 20px rgba(124, 58, 237, 0.3);
        }

/*
 * Hero & Capabilities Grid Styles
 * Generated by UXMagic Copilot
 * 
 * Table of Contents:
 * 1. CSS Reset & Base Styles
 * 2. Typography
 * 3. Layout & Grid
 * 4. Components
 * 5. Utilities
 * 6. Responsive Design
 */

/* ==========================================================================
   1. CSS Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* ==========================================================================
   3. Layout & Grid
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.col {
  flex: 1;
  padding: 0 0.5rem;
}

/* ==========================================================================
   4. Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #007bff;
  color: white;
}

.btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.25);
}

.card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   5. Utilities
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* ==========================================================================
   6. Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .row {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 0.5rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* ==========================================================================
   7. Project Specific Styles
   ========================================================================== */

body {
  background-color: #0B0F14;
  color: #E5E7EB;
  overflow-x: hidden
}

::-webkit-scrollbar {
  width: 8px
}

::-webkit-scrollbar-track {
  background: #0B0F14
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
  background: #374151
}

.glass-panel {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05)
}

.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1)
}

.glass-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.15), 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(-8px)
}

.glass-card.purple-hover:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.2), 0 20px 40px rgba(0,0,0,0.4)
}

.glass-card.magenta-hover:hover {
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.2), 0 20px 40px rgba(0,0,0,0.4)
}

.glass-card.blue-hover:hover {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.2), 0 20px 40px rgba(0,0,0,0.4)
}

.glass-card.emerald-hover:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.2), 0 20px 40px rgba(0,0,0,0.4)
}

.glass-card.orange-hover:hover {
  border-color: rgba(251, 146, 60, 0.4);
  box-shadow: 0 0 30px rgba(251, 146, 60, 0.2), 0 20px 40px rgba(0,0,0,0.4)
}

.neon-text {
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5)
}

.grid-bg {
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%)
}

.animated-grid {
  background-image: linear-gradient(to right, rgba(31, 41, 55, 0.8) 1px, transparent 1px), linear-gradient(to bottom, rgba(31, 41, 55, 0.8) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite
}

@keyframes gridMove {
  0% {
  background-position: 0 0
}

100% {
  background-position: 40px 40px
}


}

.ai-core-glow {
  animation: glowPulse 3s ease-in-out infinite
}

@keyframes glowPulse {
  0%, 100% {
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.4), 0 0 80px rgba(34, 211, 238, 0.15), inset 0 0 30px rgba(34, 211, 238, 0.05)
}

50% {
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.7), 0 0 120px rgba(34, 211, 238, 0.3), inset 0 0 50px rgba(34, 211, 238, 0.1)
}


}

.orbit-ring-1 {
  animation: spinRing1 10s linear infinite
}

.orbit-ring-2 {
  animation: spinRing2 15s linear infinite reverse
}

.orbit-ring-3 {
  animation: spinRing3 22s linear infinite
}

@keyframes spinRing1 {
  from {
  transform: rotate(0deg)
}

to {
  transform: rotate(360deg)
}


}

@keyframes spinRing2 {
  from {
  transform: rotate(0deg)
}

to {
  transform: rotate(360deg)
}


}

@keyframes spinRing3 {
  from {
  transform: rotate(0deg)
}

to {
  transform: rotate(360deg)
}


}

.particle {
  animation: particleFloat 3s ease-in-out infinite
}

@keyframes particleFloat {
  0%, 100% {
  transform: translateY(0px) scale(1);
  opacity: 0.8
}

50% {
  transform: translateY(-8px) scale(1.3);
  opacity: 1
}


}

.hero-float {
  animation: heroFloat 7s ease-in-out infinite
}

@keyframes heroFloat {
  0%, 100% {
  transform: translateY(0px)
}

50% {
  transform: translateY(-18px)
}


}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

.nav-blur {
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px)
}

.capability-icon-wrapper {
  transition: all 0.3s ease
}

.glass-card:hover .capability-icon-wrapper {
  transform: scale(1.15) rotate(5deg)
}

.data-stream {
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
  animation: dataStream 2s linear infinite
}

@keyframes dataStream {
  0% {
  transform: translateX(-100%)
}

100% {
  transform: translateX(100%)
}


}

.typing-cursor::after {
  content: '|';
  animation: blink 1s step-start infinite
}

@keyframes blink {
  50% {
  opacity: 0
}


}

.orb-1 {
  animation: orbFloat1 8s ease-in-out infinite
}

.orb-2 {
  animation: orbFloat2 10s ease-in-out infinite 1s
}

.orb-3 {
  animation: orbFloat3 12s ease-in-out infinite 2s
}

@keyframes orbFloat1 {
  0%, 100% {
  transform: translate(0, 0) scale(1)
}

33% {
  transform: translate(30px, -20px) scale(1.05)
}

66% {
  transform: translate(-20px, 15px) scale(0.95)
}


}

@keyframes orbFloat2 {
  0%, 100% {
  transform: translate(0, 0) scale(1)
}

50% {
  transform: translate(-40px, 30px) scale(1.1)
}


}

@keyframes orbFloat3 {
  0%, 100% {
  transform: translate(0, 0) scale(1)
}

40% {
  transform: translate(25px, -35px) scale(0.9)
}

80% {
  transform: translate(-15px, 20px) scale(1.05)
}


}