:root {
  --bg: #0a0a0a;
  --card-bg: #111;
  --accent: #00ff88;
  --accent2: #00e5ff;
  --text: #f5f5f5;
  --muted: #999;
  --shadow: 0 0 10px rgba(0, 255, 136, 0.3);
  --font-main: "Poppins", sans-serif;
  --font-head: "Orbitron", sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

/* Scroll controls */
.scroll-controls {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}
.scroll-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.scroll-btn:hover {
  transform: translateY(-2px);
  color: var(--accent2);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
}
[data-theme="light"] .scroll-btn {
  background: var(--card-bg);
  border-color: #e0e0e0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0, 255, 136, 0.1);
  transition: all 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0, 255, 136, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
}

.brand-main {
  color: var(--accent);
}
.brand-sub {
  color: var(--accent2);
}

.nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.3rem;
  cursor: pointer;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s;
  z-index: 1001;
}

.hamburger-btn:hover {
  color: var(--accent2);
  transform: scale(1.1);
}

.hamburger-btn.active {
  color: var(--accent2);
}

.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding-top: 80px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav ul {
  list-style: none;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav ul li {
  margin: 0;
}

.mobile-nav .nav-link {
  display: block;
  padding: 1.2rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--accent);
  transform: translateX(10px);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s;
}

.mobile-nav-close:hover {
  color: var(--accent2);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: block;
  }

  .nav {
    display: none;
  }

  .header-inner {
    gap: 1rem;
  }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 3rem;
  z-index: 2;
  padding: 2rem 0;
}

.intro-line {
  font-family: var(--font-head);
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-family: var(--font-head);
  color: var(--accent);
  margin-bottom: 1rem;
}

.cursor {
  color: var(--accent2);
  animation: blink 0.9s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--muted);
  min-height: 2rem;
  font-family: var(--font-head);
  letter-spacing: 1px;
}

#typewriter-text {
  color: var(--accent2);
}

.typewriter-cursor {
  color: var(--accent);
  animation: blink 0.9s infinite;
  font-weight: bold;
}

.hero-ctas {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  font-family: var(--font-head);
  letter-spacing: 1px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00cc6a 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
  border: none;
}
.btn.primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.6);
}

.btn.ghost {
  border: 2px solid var(--accent2);
  color: var(--accent2);
  background: transparent;
}
.btn.ghost:hover {
  background: var(--accent2);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
}

.socials {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
}

.socials a {
  color: var(--accent);
  font-size: 1.3rem;
  transition: 0.3s;
}

.socials a:hover {
  color: var(--accent2);
  transform: scale(1.1);
}

.avatar-card {
  text-align: center;
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 24px;
  padding: 2.5rem;
  border: 2px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.2);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: visible;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.avatar-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(0, 255, 136, 0.1), transparent 30%);
  animation: rotate 3s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-card:hover {
  transform: translateY(-10px) translateZ(0);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.4);
}

.avatar-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  margin-bottom: 1.5rem;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  transform: translateZ(0) scale(1);
  -webkit-transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5),
              0 0 60px rgba(0, 255, 136, 0.3);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 3;
  display: block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
}

.avatar-card:hover img {
  border-color: var(--accent2);
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.7),
              0 0 80px rgba(0, 255, 136, 0.4);
}

.avatar-tag {
  color: var(--accent2);
  font-family: var(--font-head);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.quick-stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.quick-stats strong {
  color: var(--accent);
  font-size: 1.1rem;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  font-family: var(--font-head);
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
}

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

.modules-list li {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

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

.skill-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.skill-card:hover {
  transform: translateY(-10px) scale(1.05);
  color: var(--accent2);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
  background: linear-gradient(135deg, #1a1a1a 0%, var(--card-bg) 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  transition: left 0.5s;
}

.project-card:hover::after {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent2);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.project-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 10px;
  margin-bottom: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.project-card:hover .project-thumb {
  opacity: 1;
}

.project-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-card .cta {
  text-decoration: none;
  color: var(--accent2);
  font-weight: 600;
}

.contact {
  text-align: center;
}

.contact p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-footer {
  background: #070707;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid #111;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--accent2);
  margin: 0 0.5rem;
  text-decoration: none;
  transition: 0.3s;
}

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

@media (max-width: 768px) {
  .hero-inner {
    text-align: center;
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }
  .socials {
    justify-content: center;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .nav ul {
    gap: 0.8rem;
    font-size: 0.9rem;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  #intro {
    font-size: 1.8em;
  }
  #tagline {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  .avatar-card {
    padding: 1.5rem;
  }
  .avatar-card img {
    width: 140px;
    height: 140px;
  }
}
#boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  padding: 20px;
  z-index: 10000;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.6;
}

#boot-log {
  max-width: 800px;
  width: 80%;
  margin: 0 auto;
  white-space: pre-wrap;
  text-shadow: 0 0 10px #00ff88;
  color: #00ff88;
}

#intro {
  font-size: 2.5em;
  margin: 30px 0;
  color: #00ffff;
  text-shadow: 0 0 20px #00ffff, 0 0 40px #00ff88;
  font-weight: bold;
  letter-spacing: 2px;
}

#tagline {
  font-size: 1.3em;
  color: #00ff88;
  text-shadow: 0 0 15px #00ff88;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  margin-top: 20px;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

#theme-toggle:hover {
    transform: scale(1.1);
    color: var(--accent);
}

[data-theme="light"] {
    --bg: #f5f5f5;
    --card-bg: #ffffff;
    --text: #333333;
    --muted: #666666;
    --shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .site-header {
    background: rgba(245, 245, 245, 0.9);
    border-bottom: 1px solid #e0e0e0;
}

[data-theme="light"] .nav-link {
    color: var(--muted);
}

[data-theme="light"] .nav-link:hover {
    color: var(--accent);
}

[data-theme="light"] .avatar-card {
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

[data-theme="light"] .quick-stats {
    color: var(--muted);
}

[data-theme="light"] .quick-stats strong {
    color: var(--accent);
}

[data-theme="light"] .socials a {
    color: var(--accent);
}

[data-theme="light"] .socials a:hover {
    color: var(--accent2);
}

.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
}

.page-title {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.page-subtitle {
  font-size: 1.5rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.intro-text {
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.nav-link.active::after {
  width: 100%;
}

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

.pricing-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 20px;
  padding: 2.5rem;
  border: 2px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.3);
}

.pricing-card.featured {
  border-color: var(--accent2);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.3);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #000;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--accent2);
}

.amount {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent);
  font-family: var(--font-head);
}

.period {
  color: var(--muted);
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  min-height: 300px;
}

.features-list li {
  padding: 0.8rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list i {
  color: var(--accent);
  font-size: 1rem;
}

.pricing-btn {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}

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

.service-item {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 255, 136, 0.2);
  transition: all 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

.service-item i {
  font-size: 2.5rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.service-item h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
  font-family: var(--font-head);
  display: block;
  margin: 0.5rem 0;
}

.service-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.feature-item h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}

.feature-item p {
  color: var(--muted);
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
  border-radius: 20px;
  margin: 4rem 0;
  padding: 4rem 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

.badge-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid rgba(0, 255, 136, 0.2);
  transition: all 0.3s;
  text-align: center;
}

.badge-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.badge-content iframe {
  border-radius: 10px;
  margin-bottom: 1rem;
  background: transparent;
}

.badge-content h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}

.badge-content p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.certificate-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid rgba(0, 255, 136, 0.2);
  transition: all 0.3s;
  text-align: center;
}

.certificate-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.certificate-thumb {
  font-size: 4rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.certificate-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}

.certificate-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent2);
  text-decoration: none;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent2);
  border-radius: 8px;
}

.cert-link:hover {
  background: var(--accent2);
  color: #000;
}

.cert-image-preview {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.cert-image-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cert-image-preview:hover img {
  transform: scale(1.05);
}

.lazy-badge {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lazy-badge::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.2) 50%, rgba(0, 255, 136, 0.1) 100%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: 10px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.stats-section {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 4rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--accent);
  font-family: var(--font-head);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 1rem;
}

.skills-category {
  margin-bottom: 4rem;
}

.skills-category h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-head);
  color: var(--accent);
}

.skills-category h2 i {
  color: var(--accent2);
}

.skills-grid .skill-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.skills-grid .skill-card i {
  font-size: 3rem;
  color: var(--accent2);
  margin-bottom: 1rem;
  display: block;
}

.skills-grid .skill-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.skills-grid .skill-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.services-image-container {
  margin: 3rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.services-image {
  width: 100%;
  height: auto;
  display: block;
}

.services-section {
  margin-bottom: 4rem;
}

.services-section h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-head);
  color: var(--accent);
}

.services-section h2 i {
  color: var(--accent2);
}

.services-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-detail-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(0, 255, 136, 0.2);
  transition: all 0.3s;
  text-align: center;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

.service-detail-card i {
  font-size: 2.5rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.service-detail-card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}

.service-detail-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  min-height: 40px;
}

.service-detail-card .service-price {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  font-family: var(--font-head);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .amount {
    font-size: 2.5rem;
  }
  
  .badges-grid,
  .certificates-grid,
  .services-grid-detailed {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  margin: auto;
  padding: 2.5rem;
  border: 2px solid var(--accent);
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 50px rgba(0, 255, 136, 0.3);
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  color: var(--accent);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--accent2);
  transform: scale(1.2);
  text-decoration: none;
}

.modal-content h2 {
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-body {
  color: var(--text);
  line-height: 1.8;
}

.modal-body h3 {
  color: var(--accent2);
  font-family: var(--font-head);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.modal-body p {
  margin-bottom: 1rem;
  color: var(--text);
}

.modal-body ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.modal-body li {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.link-more {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 1rem;
}

.link-more:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.projects-notice {
  padding: 3rem 0;
}

.notice-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.2);
}

.notice-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(0, 255, 136, 0.1), transparent 30%);
  animation: rotate 3s linear infinite;
}

.notice-card i {
  font-size: 3rem;
  color: var(--accent2);
  margin-bottom: 1rem;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.notice-card p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.pulse-dot {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--accent);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.policy-content {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 20px;
  padding: 3rem;
  border: 2px solid rgba(0, 255, 136, 0.2);
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  color: var(--accent);
  font-family: var(--font-head);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  color: var(--accent2);
  font-family: var(--font-head);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.policy-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.policy-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-content li {
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.policy-content a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.3s;
}

.policy-content a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }
  
  .notice-card {
    padding: 2rem 1.5rem;
  }
  
  .policy-content {
    padding: 2rem 1.5rem;
  }
  
  .modal-body ul {
    margin-left: 1.5rem;
  }
  
  .policy-content ul {
    margin-left: 1.5rem;
  }
}

.quick-links-section {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.03) 0%, rgba(0, 229, 255, 0.03) 100%);
  border-radius: 20px;
  margin: 4rem 0;
  padding: 4rem 2rem;
}

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

.quick-link-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid rgba(0, 255, 136, 0.2);
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.quick-link-card:hover::before {
  opacity: 1;
}

.quick-link-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.3);
}

.quick-link-card i {
  font-size: 3rem;
  color: var(--accent2);
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.quick-link-card:hover i {
  color: var(--accent);
  transform: scale(1.1);
}

.quick-link-card h3 {
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-family: var(--font-head);
  font-size: 1.3rem;
  transition: color 0.3s;
}

.quick-link-card:hover h3 {
  color: var(--accent2);
}

.quick-link-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.link-arrow {
  color: var(--accent2);
  font-weight: 600;
  font-family: var(--font-head);
  margin-top: auto;
  transition: all 0.3s;
  display: inline-block;
}

.quick-link-card:hover .link-arrow {
  color: var(--accent);
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-links-section {
    padding: 3rem 1.5rem;
    margin: 3rem 0;
  }
}