:root {
  --bg-color: #f0faff;
  --text-color: #1d1d1f;
  --text-muted: #6e6e73;
  --accent-color: #00bcd4;
  --nav-bg: rgba(240, 250, 255, 0.7);
  --card-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.5);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --section-padding: 160px 20px;
  --container-width: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(at 0% 0%, hsla(180,100%,95%,1) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(190,100%,96%,1) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(200,100%,94%,1) 0, transparent 50%),
    radial-gradient(at 50% 50%, #ffffff 0, transparent 100%);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  overflow-x: hidden;
  animation: bg-animate 20s infinite alternate linear;
}

@keyframes bg-animate {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
}

/* Typography */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--text-color) 0%, rgba(29, 29, 31, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s var(--ease);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 72px;
  text-align: center;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 44px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-content {
  width: 100%;
  max-width: var(--container-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.donate-btn {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-color);
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}

.donate-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: all 0.3s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 44px;
  background: transparent;
}

.hero-content {
  max-width: 800px;
}


.hero-subtitle {
  font-size: 24px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Sections */
.section {
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 100%;
  max-width: var(--container-width);
}

/* About Section */
.about-text {
  font-size: 24px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  padding: 48px;
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.8s var(--ease);
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 4px 24px -1px rgba(0, 0, 0, 0.05),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
  transform: rotate(30deg);
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.12),
    inset 0 0 30px rgba(255, 255, 255, 0.5);
}

.project-card:hover::before {
  opacity: 0.15;
  animation: liquid-flow 4s infinite linear;
}

@keyframes liquid-flow {
  0% { transform: translate(-10%, -10%) rotate(0deg); }
  100% { transform: translate(10%, 10%) rotate(360deg); }
}

.project-info h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 17px;
}

/* Experience List */
.experience-list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.exp-date {
  font-size: 14px;
  color: var(--text-muted);
  min-width: 120px;
}

.exp-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.exp-info p {
  font-size: 17px;
  color: var(--text-muted);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  padding: 80px 20px;
  background: var(--card-bg);
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.btn-secondary {
  color: var(--accent-color);
}

.btn-secondary:hover {
  text-decoration: underline;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.skill-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.skill-item p {
  color: var(--text-muted);
  font-size: 17px;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.social-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --section-padding: 100px 20px;
  }
}

@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 15px 0;
  }

  .nav-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 48px);
    overflow-wrap: break-word;
  }

  .projects-grid, .skills-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 30px;
    height: auto;
    min-height: 300px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .about-text {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 40px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 10px;
  }
  
  .nav-links a {
    font-size: 12px;
  }

  .logo-area {
    flex-direction: column;
    gap: 8px;
  }
}
