:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --accent-blue: #3b82f6;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Cursor Light Effect */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* Blue Edge Glow Effects */
.edge-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.edge-glow-left {
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.4), transparent);
  animation: pulseGlow 5s ease-in-out infinite;
}

.edge-glow-right {
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to left, rgba(59, 130, 246, 0.4), transparent);
  animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.lang-btn:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--accent-blue);
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }
}

/* Hero Section with Parallax */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.1), transparent 50%);
  z-index: -1;
}

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

.hero-name {
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.6s ease forwards;
}

.hero-title:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-title:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-title:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-bullet {
  color: var(--accent-blue);
  font-size: 20px;
  margin-right: 8px;
}

.hero-description {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 48px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-3px);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 40px;
  }
}

/* Section Styles */
section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  margin-bottom: 80px;
}

.section-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Expertise Cards with Hover Effects */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

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

.expertise-icon {
  font-size: 32px;
  margin-bottom: 24px;
}

.expertise-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.expertise-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Projects Section */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  transition: transform 0.4s, box-shadow 0.4s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.project-header {
  padding: 48px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
}

.project-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid var(--accent-blue);
  border-radius: 4px;
  margin-bottom: 24px;
  color: var(--accent-blue);
}

.project-header h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.project-content {
  padding: 48px;
}

.project-features {
  list-style: none;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .project-features {
    grid-template-columns: 1fr;
  }
}

.project-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.project-features li::before {
  content: '→';
  color: var(--accent-blue);
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.store-btn:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.store-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s;
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
}

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.blog-card:hover .blog-card-link {
  gap: 10px;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
  margin-top: 120px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  max-width: 400px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

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

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

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

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  color: var(--text-muted);
  font-size: 20px;
  transition: color 0.3s, transform 0.3s;
}

.social-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
