/* ==========================================================================
   Variables & Theme Defaults
   ========================================================================== */
   :root {
    /* Colors - Dark, minimal */
    --bg-main: #131313;
    --bg-darker: #0d0d0d;
    --bg-card: #222222;
    --bg-card-hover: #2a2a2a;
    
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-muted: #777777;
    
    --accent: #eef2f6;
    --accent-glow: rgba(255, 255, 255, 0.1);
    
    --border-color: rgba(255, 255, 255, 0.08);
  
    /* Typography */
    --font-heading: 'Host Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
  
    /* Spacing */
    --section-pad: 140px 0;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* ==========================================================================
     Reset & Base Styles
     ========================================================================== */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none; /* Hide default cursor for custom cursor */
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  
  a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .section-pad {
    padding: var(--section-pad);
  }
  
  .bg-darker {
    background-color: var(--bg-darker);
  }
  
  /* Custom Cursor */
  .cursor-dot,
  .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
  }
  
  .cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-primary);
  }
  
  .cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }
  
  .cursor-outline.hover-link {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    border-color: transparent;
  }
  
  .cursor-outline.hover-project {
    width: 80px;
    height: 80px;
    background-color: #fff;
    mix-blend-mode: difference;
    border: none;
  }
  
  /* Typography Helpers */
  .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e2ff40; /* Yellow accent from reference */
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .section-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
  }
  
  .section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
  }
  
  .section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 250px;
    text-align: right;
  }
  
  .text-italic {
    font-style: italic;
    font-weight: 300;
    color: var(--text-secondary);
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    outline: none;
    background: #e2ff40; /* Yellow button */
    color: #000;
    transition: transform var(--transition-fast), background var(--transition-fast);
  }
  
  .btn:hover {
    transform: scale(0.95);
    background: #cce833;
  }
  
  .btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-block {
    width: 100%;
    justify-content: center;
  }
  
  /* ==========================================================================
     Navigation
     ========================================================================== */
  .nav-minimal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: padding var(--transition-normal), background var(--transition-normal);
  }
  
  .nav-minimal.scrolled {
    padding: 1rem 0;
    background: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-inner {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
  }
  
  .nav-link:hover {
    color: var(--text-primary);
  }
  
  .btn-contact {
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
  }
  
  .btn-contact:hover {
    background: var(--text-primary);
    color: var(--bg-main);
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
  }
  
  .hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
  }
  
  /* ==========================================================================
     Hero Section
     ========================================================================== */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
  }
  
  .hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
  }
  
  .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #e2ff40;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(226, 255, 64, 0.7);
    animation: pulse 2s infinite;
    display: inline-block;
  }
  
  @keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(226, 255, 64, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(226, 255, 64, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(226, 255, 64, 0); }
  }
  
  .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
  }
  
  .hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 3rem;
  }
  
  .hero-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
  }
  
  .image-mask {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-card);
  }
  
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* For parallax effect */
  }
  
  .floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: float-y 6s ease-in-out infinite;
  }
  
  .badge-top {
    top: 10%;
    left: -15%;
  }
  
  .badge-bottom {
    bottom: 10%;
    right: -10%;
    animation-delay: 1s;
  }
  
  @keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }
  
  /* ==========================================================================
     Marquee
     ========================================================================== */
  .marquee-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-main);
  }
  
  .marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
  }
  
  .marquee-content span {
    margin: 0 2rem;
  }
  
  .marquee-content .dot {
    color: var(--text-primary);
  }
  
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* ==========================================================================
     Projects Grid 
     ========================================================================== */
  .projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .project-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
  }
  
  .project-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
  }
  
  .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }
  
  .project-card:hover .project-img {
    transform: scale(1.05);
  }
  
  .project-info-grid {
    padding: 0 1rem;
  }
  
  .project-tags-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
  }
  
  .project-title-grid {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  .project-desc-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
  }
  
  /* ==========================================================================
     About (Personal Section)
     ========================================================================== */
  .about-grid-new {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
  }
  
  .about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-card);
  }
  
  .about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  }
  
  .status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  .status-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
  }
  
  .about-content-right {
    padding-left: 2rem;
  }
  
  .about-text-large {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 3rem;
  }
  
  .stats-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
  
  .stat-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .stat-box.full-width {
    grid-column: 1 / -1;
  }
  
  .stat-text-top {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }
  
  .stat-num-large {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    text-align: right;
  }
  
  .stat-desc-small {
    font-size: 1.1rem;
    color: var(--text-primary);
  }
  
  .tags-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .tag-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  .tag-pill {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
  }
  
  /* ==========================================================================
     Services (List Style)
     ========================================================================== */
  .services-list {
    display: flex;
    flex-direction: column;
  }
  
  .service-row-item {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .service-row-item:first-child {
    border-top: 1px solid var(--border-color);
  }
  
  .service-num-flex {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
  }
  
  .service-title-flex {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
  }
  
  .service-tags-flex {
    font-size: 0.9rem;
    color: var(--text-primary);
  }
  
  .service-tags-flex .dot {
    margin: 0 0.5rem;
    color: var(--text-secondary);
  }
  
  .service-desc-small {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* ==========================================================================
     Contact
     ========================================================================== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  
  .huge-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
  }
  
  .contact-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
  }
  
  .contact-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .contact-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }
  
  .contact-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }
  
  .minimal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .minimal-form input,
  .minimal-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
  }
  
  .minimal-form input:focus,
  .minimal-form textarea:focus {
    outline: none;
    border-color: var(--text-primary);
  }
  
  .minimal-form textarea {
    resize: vertical;
  }
  
  /* ==========================================================================
     Footer
     ========================================================================== */
  .footer {
    padding: 6rem 0 2rem;
    background: var(--bg-main);
  }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
  }
  
  .footer-links, .footer-socials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
  }
  
  .footer-socials a {
    font-size: 1rem;
    color: var(--text-secondary);
  }
  
  .footer-socials a:hover {
    color: var(--text-primary);
  }
  
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
  }
  
  .footer-huge-name {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 15vw, 15rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.8;
    color: rgba(255,255,255,0.03);
    margin-bottom: 2rem;
  }
  
  .copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  /* ==========================================================================
     Animations (Reveal via JS)
     ========================================================================== */
  .reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  
  /* ==========================================================================
     Responsive
     ========================================================================== */
  @media (max-width: 992px) {
    .hero-grid, .contact-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .about-grid-new {
      grid-template-columns: 1fr;
    }
  
    .hero-image-wrap {
      aspect-ratio: 16/9;
      order: -1; /* Image on top for mobile */
    }
  
    .badge-top { left: 5%; }
    .badge-bottom { right: 5%; }
    
    .section-header-flex {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
    
    .section-desc {
      text-align: left;
    }
  
    .projects-grid {
      grid-template-columns: 1fr;
    }
    
    .service-row-item {
      grid-template-columns: 1fr;
      gap: 1rem;
      padding: 2rem 0;
    }
    
    .service-title-flex {
      font-size: 2.5rem;
    }
  
    .cursor-dot, .cursor-outline {
      display: none; /* Disable custom cursor on touch */
    }
    
    body { cursor: auto; }
    * { cursor: auto; }
  }
  
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: var(--bg-darker);
      flex-direction: column;
      justify-content: center;
      transition: right var(--transition-normal);
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .hamburger {
      display: flex;
      z-index: 1001;
    }
  
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
    .hamburger.active span:nth-child(2) { transform: rotate(-45deg) translate(4px, -4px); }
  
    .stats-grid-new {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .footer-top {
      flex-direction: column;
      gap: 3rem;
    }
  }
