:root {
  --bg-dark: #0a0f1c;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --accent-primary: #38bdf8;
  --accent-secondary: #818cf8;
  --accent-glow: rgba(56, 189, 248, 0.3);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0a0f1c 100%);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1);
}

.dot {
  color: var(--accent-primary);
}

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

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

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  position: relative;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.overline {
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  font-size: 4rem;
  line-height: 1.3;
  padding-bottom: 0.1em;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent-primary);
  color: #000;
  border: 1px solid var(--accent-primary);
}

.btn.primary:hover {
  background: transparent;
  color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 4px solid rgba(10, 15, 28, 0.8);
  filter: grayscale(20%) contrast(1.1);
  transition: all 0.5s ease;
}

.hero-img:hover {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}

.img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: 1;
  filter: blur(30px);
  opacity: 0.6;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Sections */
section {
  padding: 6rem 10%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  white-space: nowrap;
}

.line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 300px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* Why Hire Me / Impact Section */
.impact-section {
  margin-top: 6rem;
}

.impact-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

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

.impact-card {
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.impact-card h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.impact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Experience Timeline */
.timeline {
  position: relative;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--bg-dark);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
}

.timeline-date {
  color: var(--accent-primary);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.glass-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.timeline-content h4 {
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.timeline-content ul {
  list-style-position: inside;
  color: var(--text-secondary);
  margin-top: 1rem;
}

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

.skill-category h3 {
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tags span {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.tags span:hover {
  background: var(--accent-primary);
  color: #000;
}

/* Contact */
.contact-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.contact-link:hover {
  color: var(--accent-primary);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  #hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 8rem;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .nav-links {
    display: none;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item::before {
    left: -1.55rem;
  }

  .image-container {
    width: 280px;
    height: 280px;
    margin-top: 2rem;
  }
}