@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg-color: #05060A;
  --text-primary: #FFFFFF;
  --text-secondary: #8B94A7;
  --accent-cyan: #00E5FF;
  --accent-purple: #9D00FF;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  letter-spacing: -0.03em;
  font-weight: 800;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Sections */
section {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
  animation-play-state: paused;
}

section.visible {
  animation-play-state: running;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: linear-gradient(rgba(5,6,10,0.7), rgba(5,6,10,1)), url('hero-bg.png');
  background-size: cover;
  background-position: center;
  max-width: 100%;
  padding-top: 80px;
  animation-play-state: running; /* Auto play first section */
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFF, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 900px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
  opacity: 1;
}

/* Glass Cards */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.3);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 600px;
}

/* Problem/Solution */
.macro-problem ul, .solution ul {
  list-style: none;
  margin-top: 20px;
}

.macro-problem li, .solution li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
}

.macro-problem li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #FF3366;
  font-weight: bold;
}

.solution li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.solution li strong, .macro-problem li strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 5px;
}

/* Portfolio Cards */
.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.portfolio-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  border-radius: 15px;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid var(--glass-border);
  margin-top: 100px;
}

/* Decorative Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  top: 10%;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  bottom: 20%;
  right: -200px;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
