  :root {
      --primary: #8b5cf6;
      --primary-dark: #7c3aed;
      --secondary: #10b981;
      --secondary-dark: #059669;
      --networking: #3b82f6;
      --networking-dark: #2563eb;
      --dark: #0a0a0a;
      --darker: #050505;
      --card-bg: #111111;
      --card-border: #222222;
      --light: #f8fafc;
      --gray: #94a3b8;
      --gray-dark: #475569;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --glow: 0 0 20px rgba(139, 92, 246, 0.3);
  }

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

  html {
      scroll-behavior: smooth;
  }

  body {
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      color: var(--light);
      background-color: var(--darker);
      overflow-x: hidden;
      position: relative;
      min-height: 100vh;
  }

  .cursor-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 9998;
  }

  .cursor-line {
      position: absolute;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--primary), transparent);
      transform-origin: left center;
      z-index: 9997;
      opacity: 0.2;
  }

  .cursor-dot {
      position: absolute;
      width: 8px;
      height: 8px;
      background-color: var(--secondary);
      border-radius: 50%;
      z-index: 9999;
      pointer-events: none;
      box-shadow: 0 0 15px var(--secondary);
      transition: transform 0.1s;
  }

  .cursor-particle {
      position: absolute;
      width: 4px;
      height: 4px;
      background-color: var(--networking);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9996;
  }

  /* Animated Background */
  #particles-js {
      position: fixed;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: linear-gradient(135deg, var(--darker) 0%, #0f0f0f 100%);
  }

  .grid-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image:
          linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: -1;
      opacity: 0.3;
  }

  /* Network nodes */
  .network-node {
      position: absolute;
      width: 10px;
      height: 10px;
      background-color: var(--networking);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--networking);
      z-index: 9995;
      pointer-events: none;
  }

  .node-connection {
      position: absolute;
      height: 1px;
      background: linear-gradient(90deg, var(--networking), transparent);
      transform-origin: left center;
      z-index: 9994;
      opacity: 0.1;
  }

  .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 10;
  }

  /* Profile Picture Section - Fixed for typing */
  .profile-section {
      display: flex;
      align-items: flex-start;
      gap: 50px;
      margin-bottom: 50px;
  }

  .profile-pic {
      width: 300px;
      height: 300px;
      border-radius: 50%;
      overflow: hidden;
      border: 4px solid transparent;
      background: linear-gradient(45deg, var(--primary), var(--secondary)) border-box;
      box-shadow: var(--glow);
      position: relative;
      flex-shrink: 0;
  }

  .profile-pic img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
  }

  .profile-pic:hover img {
      transform: scale(1.05);
  }

  .profile-info {
      flex: 1;
  }

  .profile-info h1 {
      font-size: 3.2rem;
      margin-bottom: 10px;
      background: linear-gradient(90deg, var(--light) 60%, var(--primary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1.1;
  }

  .profile-info h1 span {
      -webkit-text-fill-color: transparent;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
  }

  /* Fixed Typing Container */
  .typing-container {
      margin-bottom: 20px;
      min-height: 32px;
      display: flex;
      align-items: center;
  }

  .profile-title {
      font-family: 'JetBrains Mono', monospace;
      color: var(--secondary);
      font-size: 1.3rem;
      display: flex;
      align-items: center;
  }

  .typing-text {
      display: inline-block;
      font-family: 'JetBrains Mono', monospace;
      color: var(--secondary);
      font-size: 1.3rem;
      position: relative;
  }

  .typing-text::after {
      content: '|';
      position: absolute;
      right: -8px;
      animation: blink 1s infinite;
  }

  @keyframes blink {

      0%,
      100% {
          opacity: 1;
      }

      50% {
          opacity: 0;
      }
  }

  .profile-description {
      color: var(--gray);
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 30px;
      max-width: 600px;
  }

  .profile-stats {
      display: flex;
      gap: 30px;
      margin-top: 30px;
  }

  .stat-item {
      text-align: center;
  }

  .stat-number {
      font-size: 2rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 5px;
  }

  .stat-label {
      font-size: 0.9rem;
      color: var(--gray);
  }

  .project-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.95);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      backdrop-filter: blur(10px);
      pointer-events: none;
  }

  .project-modal.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
  }

  .modal-content {
      background-color: var(--card-bg);
      border-radius: 15px;
      width: 90%;
      max-width: 800px;
      max-height: 90vh;
      overflow-y: auto;
      border: 1px solid var(--card-border);
      box-shadow: var(--glow);
      transform: translateY(50px);
      transition: transform 0.4s ease;
  }

  .project-modal.active .modal-content {
      transform: translateY(0);
  }

  .modal-header {
      padding: 25px 30px;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), transparent);
  }

  .modal-header h2 {
      font-size: 1.8rem;
      color: var(--light);
  }

  .close-modal {
      background: none;
      border: none;
      color: var(--gray);
      font-size: 1.5rem;
      cursor: pointer;
      transition: var(--transition);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .close-modal:hover {
      color: var(--light);
      background-color: rgba(255, 255, 255, 0.1);
  }

  .modal-body {
      padding: 30px;
  }

  .modal-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 25px;
  }

  .modal-tech span {
      background-color: rgba(139, 92, 246, 0.2);
      color: var(--primary);
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      border: 1px solid rgba(139, 92, 246, 0.3);
  }

  .modal-description {
      color: var(--gray);
      margin-bottom: 30px;
      line-height: 1.8;
  }

  .modal-features {
      margin-bottom: 30px;
  }

  .modal-features h3 {
      font-size: 1.3rem;
      margin-bottom: 15px;
      color: var(--light);
  }

  .modal-features ul {
      list-style: none;
      padding-left: 20px;
  }

  .modal-features li {
      color: var(--gray);
      margin-bottom: 10px;
      position: relative;
  }

  .modal-features li:before {
      content: "?";
      color: var(--primary);
      position: absolute;
      left: -20px;
  }

  .modal-links {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      position: relative;
      z-index: 10100;
  }

  .modal-links a {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 25px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: 600;
      transition: var(--transition);
      pointer-events: auto;
      cursor: pointer;
  }

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

  .modal-links .btn:hover {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
  }

  .modal-links .btn-secondary {
      background-color: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
  }

  .modal-links .btn-secondary:hover {
      background-color: rgba(139, 92, 246, 0.1);
  }

  /* Header & Navigation */
  header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(10, 10, 10, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(139, 92, 246, 0.1);
      z-index: 1000;
  }

  nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;
  }

  .logo {
      font-family: 'JetBrains Mono', monospace;
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--light);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .logo span {
      color: var(--primary);
  }

  .logo .pulse {
      width: 10px;
      height: 10px;
      background-color: var(--secondary);
      border-radius: 50%;
      animation: pulse 2s infinite;
  }

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

  .nav-links li {
      margin-left: 30px;
      position: relative;
  }

  .nav-links a {
      text-decoration: none;
      color: var(--gray);
      font-weight: 500;
      transition: var(--transition);
      padding: 5px 0;
  }

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

  .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--primary);
      transition: var(--transition);
  }

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

  .menu-toggle {
      display: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--light);
  }

  /* Hero Section */
  .hero {
      padding: 180px 0 100px;
      position: relative;
  }

  .hero-buttons {
      display: flex;
      gap: 15px;
      margin-top: 30px;
  }

  .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background-color: var(--primary);
      color: white;
      padding: 12px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: 600;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      box-shadow: var(--glow);
      position: relative;
      overflow: hidden;
      z-index: 10;
  }

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

  .btn:hover::before {
      left: 100%;
  }

  .btn:hover {
      background-color: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
  }

  .btn-secondary {
      background-color: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      box-shadow: none;
  }

  .btn-secondary:hover {
      background-color: rgba(139, 92, 246, 0.1);
  }

  /* Skills Section */
  .section-title {
      margin-bottom: 60px;
      position: relative;
  }

  .section-title h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 15px;
      display: inline-block;
      color: var(--light);
  }

  .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 70px;
      height: 4px;
      background-color: var(--primary);
      border-radius: 2px;
  }

  .section-title p {
      color: var(--gray);
      max-width: 600px;
  }

  .skills {
      padding: 100px 0;
  }

  .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 30px;
  }

  .skill-card {
      background-color: var(--card-bg);
      border-radius: 10px;
      padding: 30px;
      border: 1px solid var(--card-border);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(5px);
  }

  .skill-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 100%;
      background-color: var(--primary);
      transition: var(--transition);
  }

  .skill-card:hover {
      transform: translateY(-10px);
      border-color: rgba(139, 92, 246, 0.5);
      box-shadow: var(--glow);
  }

  .skill-card:hover::before {
      width: 100%;
      opacity: 0.1;
  }

  .mikrotik-card::before {
      background-color: var(--networking);
  }

  .mikrotik-card {
      border-color: rgba(59, 130, 246, 0.2);
  }

  .mikrotik-card:hover {
      border-color: rgba(59, 130, 246, 0.5);
      box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }

  .skill-icon {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 20px;
      position: relative;
      z-index: 1;
  }

  .mikrotik-icon {
      color: var(--networking);
  }

  .skill-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
      position: relative;
      z-index: 1;
      color: var(--light);
  }

  .skill-card p {
      color: var(--gray);
      margin-bottom: 20px;
      position: relative;
      z-index: 1;
  }

  .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      position: relative;
      z-index: 1;
  }

  .skill-tag {
      background-color: rgba(139, 92, 246, 0.15);
      color: var(--primary);
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 500;
      border: 1px solid rgba(139, 92, 246, 0.3);
      transition: var(--transition);
  }

  .skill-tag:hover {
      background-color: rgba(139, 92, 246, 0.3);
      transform: scale(1.05);
  }

  .networking-tag {
      background-color: rgba(59, 130, 246, 0.15);
      color: var(--networking);
      border: 1px solid rgba(59, 130, 246, 0.3);
  }

  .networking-tag:hover {
      background-color: rgba(59, 130, 246, 0.3);
  }

  /* Projects Section */
  .projects {
      padding: 100px 0;
  }

  .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 30px;
  }

  .project-card {
      background-color: var(--card-bg);
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--card-border);
      transition: var(--transition);
      position: relative;
      backdrop-filter: blur(5px);
      cursor: pointer;
  }

  .project-card:hover {
      transform: translateY(-10px);
      border-color: rgba(139, 92, 246, 0.5);
      box-shadow: var(--glow);
  }

  .project-img {
      height: 200px;
      background: linear-gradient(45deg, var(--primary), var(--secondary));
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 3rem;
      position: relative;
      overflow: hidden;
  }

  .networking-project .project-img {
      background: linear-gradient(45deg, var(--networking), #10b981);
  }

  .project-img::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      transform: translateX(-100%);
  }

  .project-card:hover .project-img::before {
      animation: shine 1.5s;
  }

  @keyframes shine {
      100% {
          transform: translateX(100%);
      }
  }

  .project-content {
      padding: 25px;
      position: relative;
  }

  .project-content h3 {
      font-size: 1.3rem;
      margin-bottom: 10px;
      color: var(--light);
  }

  .project-content p {
      color: var(--gray);
      margin-bottom: 20px;
  }

  .project-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
  }

  .project-tech span {
      background-color: rgba(139, 92, 246, 0.15);
      color: var(--primary);
      padding: 3px 10px;
      border-radius: 3px;
      font-size: 0.8rem;
      border: 1px solid rgba(139, 92, 246, 0.3);
  }

  .project-view {
      color: var(--primary);
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: var(--transition);
  }

  .project-card:hover .project-view {
      color: var(--secondary);
  }

  /* Expertise Section */
  .expertise {
      padding: 100px 0;
      background-color: rgba(10, 10, 10, 0.5);
  }

  .expertise-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
  }

  .expertise-item {
      text-align: center;
      padding: 30px;
      background-color: var(--card-bg);
      border-radius: 10px;
      border: 1px solid var(--card-border);
      transition: var(--transition);
      backdrop-filter: blur(5px);
  }

  .expertise-item:hover {
      transform: translateY(-5px);
      border-color: rgba(139, 92, 246, 0.5);
      box-shadow: var(--glow);
  }

  .expertise-icon {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 20px;
      display: inline-block;
  }

  .expertise-item h3 {
      font-size: 1.3rem;
      margin-bottom: 15px;
      color: var(--light);
  }

  .expertise-item p {
      color: var(--gray);
      font-size: 0.95rem;
  }

  /* Contact Section */
  .contact {
      padding: 100px 0;
  }

  .contact-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 50px;
  }

  .contact-info h3 {
      font-size: 1.8rem;
      margin-bottom: 20px;
      color: var(--light);
  }

  .contact-info p {
      color: var(--gray);
      margin-bottom: 30px;
  }

  .contact-details {
      display: flex;
      flex-direction: column;
      gap: 20px;
  }

  .contact-detail {
      display: flex;
      align-items: center;
      gap: 15px;
  }

  .contact-detail i {
      width: 50px;
      height: 50px;
      background-color: rgba(139, 92, 246, 0.15);
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      transition: var(--transition);
  }

  .contact-detail:hover i {
      background-color: rgba(139, 92, 246, 0.3);
      transform: scale(1.1);
  }

  .contact-form input,
  .contact-form textarea {
      width: 100%;
      padding: 15px;
      margin-bottom: 20px;
      background-color: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 5px;
      font-family: 'Inter', sans-serif;
      color: var(--light);
      transition: var(--transition);
      backdrop-filter: blur(5px);
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
  }

  /* Footer */
  footer {
      background-color: rgba(5, 5, 5, 0.95);
      padding: 60px 0 30px;
      border-top: 1px solid rgba(139, 92, 246, 0.1);
  }

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

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

  .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
      background-color: rgba(139, 92, 246, 0.15);
      color: var(--light);
      font-size: 1.3rem;
      border-radius: 50%;
      transition: var(--transition);
      border: 1px solid rgba(139, 92, 246, 0.3);
  }

  .social-links a:hover {
      background-color: var(--primary);
      transform: translateY(-5px);
      box-shadow: var(--glow);
  }

  .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      color: var(--gray);
      font-size: 0.9rem;
  }

  /* Responsive Design */
  @media (max-width: 1100px) {
      .profile-section {
          flex-direction: column;
          text-align: center;
          gap: 40px;
          align-items: center;
      }

      .profile-pic {
          width: 280px;
          height: 280px;
      }

      .profile-stats {
          justify-content: center;
      }

      .hero-buttons {
          justify-content: center;
      }

      .typing-container {
          justify-content: center;
      }
  }

  @media (max-width: 992px) {
      .profile-info h1 {
          font-size: 2.8rem;
      }

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

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

      .nav-links {
          position: fixed;
          top: 70px;
          left: 0;
          width: 100%;
          background-color: rgba(10, 10, 10, 0.98);
          backdrop-filter: blur(10px);
          flex-direction: column;
          align-items: center;
          padding: 20px 0;
          border-top: 1px solid rgba(139, 92, 246, 0.1);
          border-bottom: 1px solid rgba(139, 92, 246, 0.1);
          transform: translateY(-100%);
          opacity: 0;
          visibility: hidden;
          transition: var(--transition);
      }

      .nav-links.active {
          transform: translateY(0);
          opacity: 1;
          visibility: visible;
      }

      .nav-links li {
          margin: 15px 0;
      }

      .hero {
          padding: 150px 0 80px;
      }

      .profile-info h1 {
          font-size: 2.5rem;
      }

      .btn-secondary {
          margin-left: 0;
          margin-top: 0;
      }

      .modal-content {
          width: 95%;
          margin: 10px;
      }

      .hero-buttons {
          flex-direction: column;
          align-items: center;
      }

      .hero-buttons .btn {
          width: 100%;
          max-width: 300px;
          justify-content: center;
      }

      .typing-text {
          font-size: 1.1rem;
      }
  }

  @media (max-width: 576px) {
      .profile-info h1 {
          font-size: 2.2rem;
      }

      .typing-text {
          font-size: 1rem;
      }

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

      .footer-content {
          flex-direction: column;
          gap: 30px;
          text-align: center;
      }

      .modal-body {
          padding: 20px;
      }

      .modal-header {
          padding: 20px;
      }

      .profile-pic {
          width: 250px;
          height: 250px;
      }

      .profile-stats {
          flex-direction: column;
          gap: 20px;
      }
  }