/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
:root {
  /* Color Palette */
  --bg-dark: #090a0f;
  --surface-dark: #12141c;
  --surface-light: #1b1e28;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.2);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #1e293b;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Spacing & Layout */
  --max-width: 1200px;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   TYPOGRAPHY & SYSTEM LABELS
   ========================================= */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

.system-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* =========================================
   LAYOUT & GRID
   ========================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-color);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: background var(--transition-speed);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: bold;
}

.nav-brand span {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-speed);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================================
   UI COMPONENTS (BUTTONS & CARDS)
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.btn-primary {
  background: transparent;
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  box-shadow: inset 0 0 0 var(--accent-glow), 0 0 10px transparent;
}

.btn-primary:hover {
  background: var(--accent-glow);
  box-shadow: inset 0 0 10px var(--accent-glow), 0 0 15px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface-light);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
}

.card {
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 4px;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card .tech-stack {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--surface-light);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: var(--surface-dark);
}

footer p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--surface-dark);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}
       .hero-visual {
            width: 100%;
            height: 80vh;
            min-height: 400px;
            max-height: 6000px;
            border-radius: 10px;
            margin-bottom: 4rem;
            overflow: hidden;
            position: relative;
        }

        .hero-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1;
          
        }

         @media (max-width: 900px) {
            
            .hero-visual {
                height: 30vh;
                min-height: 250px;
            }
        }