:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
  --accent-primary: #a855f7;
  --accent-secondary: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #a855f7, #06b6d4);
  --border-color: rgba(168, 85, 247, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -100px;
  left: -100px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-image {
  flex-shrink: 0;
}

.image-frame {
  position: relative;
  width: 350px;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--accent-gradient);
  padding: 3px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border-radius: calc(var(--radius-xl) - 3px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 700;
  color: var(--accent-primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent-gradient);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.3);
}

.btn-full {
  width: 100%;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.about {
  padding: 100px 24px;
  position: relative;
  background: var(--bg-secondary);
}

.section-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: var(--accent-primary);
  filter: blur(200px);
  opacity: 0.15;
  pointer-events: none;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.tech-stack {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tech-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.tech-icon:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-4px);
}

.logo-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.logo-container {
  display: flex;
  justify-content: center;
}

.logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: 50%;
  font-size: 36px;
  font-weight: 800;
  color: var(--bg-primary);
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.4);
}

.work {
  padding: 100px 24px;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 80px;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 48px;
}

.project-card.reverse {
  flex-direction: row-reverse;
}

.project-content {
  flex: 1;
}

.project-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.project-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.project-links {
  display: flex;
  gap: 16px;
}

.icon-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.icon-link:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.project-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.project-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.projects-section {
  margin-bottom: 60px;
}

.subsection-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 24px;
  text-align: center;
}

.project-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.project-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.project-link-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.link-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-secondary);
}

.link-title {
  flex: 1;
  font-weight: 500;
}

.project-link-card svg {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.project-link-card:hover svg {
  color: var(--accent-primary);
}

.contact {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

.contact-grid {
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-text {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.contact-item svg {
  color: var(--accent-primary);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border-color);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

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

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .image-frame {
    width: 280px;
    height: 340px;
  }

  .project-card,
  .project-card.reverse {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    gap: 24px;
  }

  .nav-link {
    font-size: 12px;
  }

  .hero {
    padding-top: 100px;
  }

  .image-frame {
    width: 220px;
    height: 280px;
  }

  .image-placeholder {
    font-size: 48px;
  }

  .project-links-grid {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    gap: 16px;
  }

  .btn-primary {
    padding: 12px 24px;
  }

  .tech-icon {
    width: 48px;
    height: 48px;
    font-size: 10px;
  }

  .logo {
    width: 100px;
    height: 100px;
    font-size: 28px;
  }
}
