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

    :root {
      --bg-primary: #0a0a0a;
      --bg-secondary: #141414;
      --bg-tertiary: #1a1a1a;
      --text-primary: #e4e4e7;
      --text-secondary: #a1a1aa;
      --accent: #3b82f6;
      --accent-hover: #2563eb;
      --border: #27272a;
    }

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

    /* Navigation Bar */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: rgba(10, 10, 10, 0.9);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      z-index: 100;
      padding: 16px 0;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
    }

    nav.visible {
      transform: translateY(0);
    }

    .nav-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-logo {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text-primary);
      text-decoration: none;
    }

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

    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s ease;
    }

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

    @media (max-width: 768px) {
      .nav-links {
        gap: 16px;
        font-size: 0.85rem;
      }
    }

    /* Loading Animation */
    .loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--bg-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .loader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    .loader-spinner {
      width: 50px;
      height: 50px;
      border: 3px solid var(--border);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

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

    /* Animated Background */
    #particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      pointer-events: none;
    }

    .particle {
      position: absolute;
      width: 3px;
      height: 3px;
      background: rgba(59, 130, 246, 0.8);
      border-radius: 50%;
      animation: float linear infinite;
      bottom: -10px;
    }

    @keyframes float {
      0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
      }
      10% {
        opacity: 1;
      }
      90% {
        opacity: 1;
      }
      100% {
        transform: translateY(-110vh) translateX(20px);
        opacity: 0;
      }
    }

    /* Layout */
    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    section {
      min-height: 100vh;
      display: flex;
      align-items: center;
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    section#about,
    section#education,
    section#achievements,
    section#skills,
    section#contact {
      min-height: auto;
      padding: 60px 0;
      position: relative;
    }

    /* Section Separator */
    section#about::before,
    section#education::before,
    section#projects::before,
    section#achievements::before,
    section#skills::before,
    section#contact::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      max-width: 600px;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--accent), transparent);
      opacity: 0.3;
    }

    /* Hero Section */
    .hero-content {
      width: 100%;
    }

    h1 {
      font-size: clamp(2.5rem, 8vw, 4.5rem);
      font-weight: 700;
      margin-bottom: 12px;
      letter-spacing: -0.02em;
    }

    .role {
      font-size: clamp(1.25rem, 3vw, 1.75rem);
      color: var(--text-secondary);
      margin-bottom: 24px;
      font-weight: 400;
    }

    .value-statement {
      font-size: clamp(1rem, 2vw, 1.25rem);
      color: var(--text-secondary);
      max-width: 600px;
      margin-bottom: 40px;
      line-height: 1.7;
    }

    .cta-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn {
      padding: 14px 32px;
      border-radius: 6px;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      border: none;
      transition: all 0.2s ease;
      text-decoration: none;
      display: inline-block;
    }

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

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: transparent;
      color: var(--text-primary);
      border: 1px solid var(--border);
    }

    .btn-secondary:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    /* Section Titles */
    .section-title {
      font-size: 2rem;
      margin-bottom: 32px;
      font-weight: 600;
      text-align: center;
    }

    /* About Section */
    .about-text {
      max-width: 700px;
      margin: 0 auto;
      font-size: 1.125rem;
      color: var(--text-secondary);
      line-height: 1.8;
    }

    /* Projects Section */
    #projects {
      min-height: auto;
      padding: 60px 0;
      position: relative;
    }

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

    .project-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 28px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .project-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
    }

    .project-name {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .project-tagline {
      color: var(--text-secondary);
      margin-bottom: 20px;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .tech-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    .tech-tag {
      background: var(--bg-tertiary);
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

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

    .link-btn {
      padding: 8px 16px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 4px;
      color: var(--text-primary);
      text-decoration: none;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

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

    .link-btn svg {
      width: 16px;
      height: 16px;
    }

    /* Project Modal */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      z-index: 1000;
      overflow-y: auto;
      padding: 40px 20px;
    }

    .modal.active {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-content {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 12px;
      max-width: 800px;
      width: 100%;
      padding: 40px;
      position: relative;
      animation: slideUp 0.3s ease;
      margin: auto;
    }

    @keyframes slideUp {
      from {
        transform: translateY(30px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: transparent;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      padding: 8px;
      border-radius: 4px;
      transition: all 0.2s ease;
    }

    .modal-close:hover {
      color: var(--text-primary);
      background: var(--bg-tertiary);
    }

    .modal-title {
      font-size: 2rem;
      margin-bottom: 32px;
      font-weight: 600;
    }

    .detail-section {
      margin-bottom: 32px;
    }

    .detail-section h3 {
      font-size: 1.125rem;
      margin-bottom: 12px;
      color: var(--accent);
      font-weight: 600;
    }

    .detail-section p {
      color: var(--text-secondary);
      line-height: 1.8;
    }

    /* Skills Section */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 32px;
    }

    .skill-category h3 {
      font-size: 1.25rem;
      margin-bottom: 16px;
      font-weight: 600;
    }

    .skill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .skill-item {
      background: var(--bg-secondary);
      padding: 8px 16px;
      border-radius: 6px;
      font-size: 0.95rem;
      color: var(--text-secondary);
      border: 1px solid var(--border);
      transition: all 0.3s ease;
      cursor: default;
    }

    .skill-item:hover {
      transform: translateY(-2px);
      border-color: var(--accent);
      color: var(--accent);
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

    /* Education Section */
    .education-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 32px;
      max-width: 600px;
      margin: 0 auto;
    }

    .university-name {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .university-location {
      font-size: 1rem;
      color: var(--text-secondary);
      margin-bottom: 12px;
      font-style: italic;
    }

    .degree-info {
      color: var(--text-secondary);
      font-size: 1.125rem;
      margin-bottom: 16px;
    }

    .education-details {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
      margin-top: 16px;
    }

    .detail-item {
      display: flex;
      flex-direction: column;
    }

    .detail-label {
      font-size: 0.875rem;
      color: var(--text-secondary);
      margin-bottom: 4px;
    }

    .detail-value {
      font-size: 1rem;
      font-weight: 600;
      color: var(--accent);
    }

    /* Achievements Section */
    .achievements-grid {
      display: grid;
      gap: 20px;
      max-width: 700px;
      margin: 0 auto;
    }

    .achievement-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 24px;
      display: flex;
      gap: 20px;
      align-items: flex-start;
      transition: all 0.3s ease;
    }

    .achievement-card:hover {
      border-color: var(--accent);
      transform: translateX(4px);
    }

    .achievement-icon {
      font-size: 2rem;
      flex-shrink: 0;
    }

    .achievement-content h3 {
      font-size: 1.25rem;
      margin-bottom: 8px;
    }

    .achievement-content p {
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* Footer */
    footer {
      z-index: 1000;
      background: var(--bg-secondary);
      border-top: 1px solid var(--border);
      padding: 20px 0 24px;
      margin-top: 80px;
    }

    .footer-content {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20 px;
      text-align: center;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-bottom: 24px;
    }

    .footer-link {
      color: var(--text-secondary);
      transition: color 0.2s ease;
    }

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

    .footer-link svg {
      width: 24px;
      height: 24px;
    }

    .copyright {
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-links {
      display: flex;
      flex-direction: column;
      gap: 20px;
      max-width: 400px;
      margin: 0 auto;
    }

    .contact-link {
      display: flex;
      align-items: center;
      gap: 16px;
      color: var(--text-primary);
      text-decoration: none;
      font-size: 1.125rem;
      transition: color 0.2s ease;
      padding: 12px;
      border-radius: 6px;
      border: 1px solid transparent;
    }

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

    .contact-link svg {
      width: 24px;
      height: 24px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      section {
        min-height: auto;
        padding: 50px 0;
      }

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

      .modal-content {
        padding: 28px;
      }

      .cta-group {
        flex-direction: column;
      }

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