:root {
  --bg-color: #0b0c10;
  --surface-color: rgba(31, 40, 51, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --primary-color: #45a29e;
  --accent-color: #66fcf1;
  --text-main: #c5c6c7;
  --text-highlight: #ffffff;
}

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

body {
  font-family: 'Inter', 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background Particle Glows */
body::before, body::after {
  content: '';
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}
body::before { top: -20vw; left: -20vw; }
body::after { bottom: -20vw; right: -20vw; background: radial-gradient(circle, var(--primary-color) 0%, transparent 60%); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  animation: fadeInDown 1s ease-out;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-highlight);
  text-decoration: none;
  letter-spacing: 1px;
}
.navbar-nav a {
  color: var(--text-main);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}
.navbar-nav a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 0 6rem;
  animation: fadeInUp 1s ease-out;
}
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-highlight);
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--text-highlight), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--accent-color);
  color: var(--bg-color);
  box-shadow: 0 0 20px rgba(102, 252, 241, 0.4);
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  color: var(--text-highlight);
  margin-bottom: 3rem;
  text-align: center;
}

/* Glassmorphism Cards */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
}
.glass-card {
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 252, 241, 0.3);
}
.card-image-placeholder {
  width: 100%;
  height: 180px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
}
.card-title {
  font-size: 1.25rem;
  color: var(--text-highlight);
  margin-bottom: 0.5rem;
}
.card-description {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Philosophy Section */
.philosophy {
  background: linear-gradient(180deg, transparent, rgba(69, 162, 158, 0.05), transparent);
  padding: 6rem 0;
  text-align: center;
  margin-bottom: 4rem;
}
.philosophy p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  opacity: 0.6;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections Styles */
.about-section, .skills-section, .portfolio-section, .contact-section {
  padding: 6rem 0;
}

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

.about-card {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-card p {
  margin-bottom: 1.5rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-card {
  padding: 2.5rem 1.5rem;
}

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.skill-card h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-actions {
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .navbar { flex-direction: column; gap: 1rem; }
  .navbar-nav { width: 100%; display: flex; flex-direction: column; }
  .navbar-nav a { margin-left: 1rem; margin-right: 1rem; display: block; margin-bottom: 0.5rem; text-align: center; }
}
