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

    :root{
      --bg:#0b1020;
      --bg2:#121a33;
      --card:rgba(255,255,255,0.08);
      --border:rgba(255,255,255,0.15);
      --text:#f5f7ff;
      --muted:#b8c0e0;
      --accent:#7c5cff;
      --accent2:#00d4ff;
      --shadow:0 20px 50px rgba(0,0,0,0.35);
    }

    body{
      font-family:'Poppins',sans-serif;
      background:
        radial-gradient(circle at top left, rgba(124,92,255,0.25), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(0,212,255,0.18), transparent 25%),
        linear-gradient(135deg, var(--bg), var(--bg2));
      color:var(--text);
      overflow-x:hidden;
    }

    a{
      text-decoration:none;
      color:inherit;
    }

    .container{
      width:min(1150px, 92%);
      margin:auto;
    }

    /* navbar */
    .navbar{
      position:fixed;
      top:0;
      left:0;
      width:100%;
      z-index:1000;
      backdrop-filter:blur(14px);
      background:rgba(7,10,20,0.35);
      border-bottom:1px solid rgba(255,255,255,0.08);
    }

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

    .logo{
      font-size:26px;
      font-weight:800;
      letter-spacing:1px;
      background:linear-gradient(90deg,var(--accent),var(--accent2));
      -webkit-background-clip:text;
      -webkit-text-fill-color:transparent;
    }

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

    .nav-links a{
      color:var(--muted);
      font-size:15px;
      transition:.3s;
      position:relative;
    }

    .nav-links a:hover{
      color:#fff;
    }

    .nav-links a::after{
      content:"";
      position:absolute;
      left:0;
      bottom:-6px;
      width:0;
      height:2px;
      background:linear-gradient(90deg,var(--accent),var(--accent2));
      transition:.3s;
    }

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

    /* hero */
    .hero{
      min-height:100vh;
      display:flex;
      align-items:center;
      position:relative;
      padding-top:100px;
    }

    .hero-grid{
      display:grid;
      grid-template-columns:1.2fr 0.8fr;
      gap:40px;
      align-items:center;
    }

    .badge{
      display:inline-block;
      padding:8px 16px;
      border:1px solid var(--border);
      border-radius:999px;
      background:rgba(255,255,255,0.05);
      color:var(--muted);
      margin-bottom:18px;
      font-size:14px;
    }

    .hero h1{
      font-size:clamp(40px, 6vw, 74px);
      line-height:1.05;
      margin-bottom:18px;
      font-weight:800;
    }

    .gradient-text{
      background:linear-gradient(90deg,var(--accent),var(--accent2));
      -webkit-background-clip:text;
      -webkit-text-fill-color:transparent;
    }

    .hero p{
      color:var(--muted);
      font-size:17px;
      line-height:1.9;
      max-width:650px;
      margin-bottom:30px;
    }

    .hero-buttons{
      display:flex;
      gap:16px;
      flex-wrap:wrap;
    }

    .btn{
      display:inline-block;
      padding:14px 24px;
      border-radius:14px;
      font-weight:600;
      transition:.3s;
      border:1px solid transparent;
    }

    .btn-primary{
      background:linear-gradient(90deg,var(--accent),var(--accent2));
      color:white;
      box-shadow:0 15px 35px rgba(124,92,255,0.35);
    }

    .btn-primary:hover{
      transform:translateY(-3px);
    }

    .btn-secondary{
      background:rgba(255,255,255,0.05);
      border:1px solid var(--border);
      color:var(--text);
    }

    .btn-secondary:hover{
      background:rgba(255,255,255,0.09);
    }

    .hero-card{
      position:relative;
      min-height:460px;
      border:1px solid var(--border);
      background:var(--card);
      backdrop-filter:blur(16px);
      border-radius:30px;
      box-shadow:var(--shadow);
      overflow:hidden;
      display:flex;
      justify-content:center;
      align-items:center;
    }

    .hero-card::before{
      content:"";
      position:absolute;
      width:220px;
      height:220px;
      background:radial-gradient(circle, rgba(124,92,255,0.45), transparent 70%);
      top:-40px;
      right:-40px;
    }

    .hero-card::after{
      content:"";
      position:absolute;
      width:220px;
      height:220px;
      background:radial-gradient(circle, rgba(0,212,255,0.30), transparent 70%);
      bottom:-60px;
      left:-60px;
    }

    .profile-box{
      width:78%;
      height:78%;
      border-radius:26px;
      background:linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
      border:1px solid rgba(255,255,255,0.14);
      display:flex;
      flex-direction:column;
      justify-content:center;
      align-items:center;
      text-align:center;
      padding:25px;
      z-index:2;
    }

    .avatar{
      width:130px;
      height:130px;
      border-radius:50%;
      background:linear-gradient(135deg,var(--accent),var(--accent2));
      display:flex;
      justify-content:center;
      align-items:center;
      font-size:42px;
      font-weight:800;
      margin-bottom:18px;
      box-shadow:0 10px 35px rgba(124,92,255,0.35);
    }

    .profile-box h3{
      font-size:28px;
      margin-bottom:8px;
    }

    .profile-box p{
      color:var(--muted);
      font-size:14px;
      line-height:1.8;
    }

    section{
      padding:110px 0;
    }

    .section-title{
      font-size:38px;
      text-align:center;
      margin-bottom:14px;
      font-weight:800;
    }

    .section-subtitle{
      text-align:center;
      color:var(--muted);
      max-width:700px;
      margin:0 auto 55px;
      line-height:1.9;
    }

    /* about */
    .about-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:30px;
    }

    .glass-card{
      background:var(--card);
      border:1px solid var(--border);
      border-radius:24px;
      padding:30px;
      box-shadow:var(--shadow);
      backdrop-filter:blur(14px);
    }

    .glass-card h3{
      margin-bottom:14px;
      font-size:24px;
    }

    .glass-card p{
      color:var(--muted);
      line-height:1.9;
      font-size:15px;
    }

    /* skills */
    .skills-grid{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:20px;
    }

    .skill-card{
      padding:28px 20px;
      text-align:center;
      border-radius:22px;
      background:var(--card);
      border:1px solid var(--border);
      transition:.35s;
      box-shadow:var(--shadow);
    }

    .skill-card:hover{
      transform:translateY(-8px) scale(1.02);
      border-color:rgba(124,92,255,0.5);
    }

    .skill-card .icon{
      font-size:38px;
      margin-bottom:14px;
    }

    .skill-card h4{
      margin-bottom:8px;
      font-size:18px;
    }

    .skill-card p{
      color:var(--muted);
      font-size:14px;
      line-height:1.8;
    }

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

    .project-card{
      border-radius:24px;
      overflow:hidden;
      background:var(--card);
      border:1px solid var(--border);
      box-shadow:var(--shadow);
      transition:.35s;
    }

    .project-card:hover{
      transform:translateY(-10px);
    }

    .project-image{
      height:220px;
      background:
        linear-gradient(135deg, rgba(124,92,255,0.65), rgba(0,212,255,0.45)),
        url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80') center/cover;
      position:relative;
    }

    .project-content{
      padding:24px;
    }

    .project-content h3{
      margin-bottom:10px;
      font-size:22px;
    }

    .project-content p{
      color:var(--muted);
      line-height:1.8;
      font-size:14px;
      margin-bottom:18px;
    }

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

    .tags span{
      padding:7px 12px;
      border-radius:999px;
      background:rgba(255,255,255,0.06);
      border:1px solid rgba(255,255,255,0.08);
      font-size:12px;
      color:#dbe3ff;
    }

    /* contact */
    .contact-box{
      text-align:center;
      padding:40px;
    }

    .contact-box p{
      color:var(--muted);
      max-width:700px;
      margin:0 auto 28px;
      line-height:1.9;
    }

    .contact-links{
      display:flex;
      justify-content:center;
      gap:16px;
      flex-wrap:wrap;
    }

    .contact-links a{
      padding:14px 20px;
      border-radius:14px;
      background:rgba(255,255,255,0.05);
      border:1px solid var(--border);
      transition:.3s;
    }

    .contact-links a:hover{
      transform:translateY(-4px);
      background:rgba(255,255,255,0.1);
    }

    footer{
      padding:30px 0 40px;
      text-align:center;
      color:var(--muted);
      font-size:14px;
    }

    /* reveal animation base */
    .reveal{
      opacity:0;
      transform:translateY(60px);
    }

    /* responsive */
    @media (max-width: 992px){
      .hero-grid,
      .about-grid,
      .projects-grid{
        grid-template-columns:1fr;
      }

      .skills-grid{
        grid-template-columns:repeat(2,1fr);
      }

      .hero{
        padding-top:130px;
      }

      .hero-card{
        min-height:380px;
      }
    }

    @media (max-width: 768px){
      .nav-wrap{
        flex-direction:column;
        gap:14px;
      }

      .nav-links{
        gap:14px;
        flex-wrap:wrap;
        justify-content:center;
      }

      .hero h1{
        font-size:42px;
      }

      .section-title{
        font-size:30px;
      }

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

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