    :root {
      --bg: #050816;
      --bg-2: #080c1f;
      --card: rgba(255, 255, 255, 0.075);
      --card-2: rgba(255, 255, 255, 0.045);
      --white: #ffffff;
      --muted: #aab3c7;
      --text: #eef3ff;
      --cyan: #38d5ff;
      --blue: #4f7cff;
      --purple: #a855f7;
      --pink: #ff4ecd;
      --gold: #f5c76b;
      --green: #35f0a1;
      --danger: #ff4d6d;
      --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
      --radius: 28px;
      --transition: 0.28s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Inter, Tahoma, Arial, sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.7;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -3;
      background:
        radial-gradient(circle at 18% 18%, rgba(79, 124, 255, 0.2), transparent 30%),
        radial-gradient(circle at 82% 10%, rgba(168, 85, 247, 0.22), transparent 32%),
        radial-gradient(circle at 50% 90%, rgba(56, 213, 255, 0.12), transparent 32%),
        linear-gradient(135deg, #050816 0%, #080c1f 55%, #030510 100%);
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -2;
      background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
      background-size: 55px 55px;
      mask-image: linear-gradient(to bottom, black, transparent 85%);
      pointer-events: none;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    .container {
      width: min(1180px, 92%);
      margin: auto;
    }

    .loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: grid;
      place-items: center;
      background: #030510;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }

    .loader.hide {
      opacity: 0;
      visibility: hidden;
    }

    .loader-box {
      text-align: center;
    }

    .loader-ring {
      width: 82px;
      height: 82px;
      margin: 0 auto 18px;
      border-radius: 50%;
      border: 4px solid rgba(255,255,255,0.08);
      border-top-color: var(--cyan);
      border-right-color: var(--purple);
      animation: spin 1s linear infinite;
      box-shadow: 0 0 45px rgba(56,213,255,0.25);
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .cursor-glow {
      position: fixed;
      top: 0;
      left: 0;
      width: 360px;
      height: 360px;
      border-radius: 50%;
      pointer-events: none;
      z-index: -1;
      background: radial-gradient(circle, rgba(56,213,255,0.14), transparent 65%);
      transform: translate(-50%, -50%);
      opacity: 0.8;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 25px;
      border: 0;
      border-radius: 999px;
      font-weight: 900;
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
    }

    .btn:hover {
      transform: translateY(-5px);
    }

    .btn-primary {
      color: white;
      background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
      box-shadow: 0 18px 45px rgba(79,124,255,0.35);
    }

    .btn-primary:hover {
      box-shadow: 0 25px 65px rgba(168,85,247,0.42);
    }

    .btn-outline {
      color: white;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.14);
      backdrop-filter: blur(14px);
    }

    .header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 1000;
      background: rgba(5, 8, 22, 0.66);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      transition: var(--transition);
    }

    .header.scrolled {
      background: rgba(5, 8, 22, 0.92);
      box-shadow: 0 18px 50px rgba(0,0,0,0.28);
    }

    .nav {
      height: 78px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 900;
    }

    .brand-mark {
      width: 47px;
      height: 47px;
      display: grid;
      place-items: center;
      border-radius: 17px;
      background: linear-gradient(135deg, var(--cyan), var(--purple));
      box-shadow: 0 14px 40px rgba(56,213,255,0.23);
      color: white;
      font-size: 22px;
    }

    .brand small {
      display: block;
      color: var(--muted);
      font-size: 12px;
      letter-spacing: 1px;
    }

    .links {
      display: flex;
      align-items: center;
      gap: 26px;
      color: #dfe7ff;
      font-size: 15px;
      font-weight: 800;
    }

    .links a {
      position: relative;
      transition: var(--transition);
    }

    .links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: var(--cyan);
      transition: var(--transition);
    }

    .links a:hover,
    .links a.active {
      color: var(--cyan);
    }

    .links a:hover::after,
    .links a.active::after {
      width: 100%;
    }

    .menu-btn {
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 16px;
      background: rgba(255,255,255,0.06);
      color: white;
      font-size: 26px;
      cursor: pointer;
    }

    .hero {
      position: relative;
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding: 140px 0 90px;
      overflow: hidden;
    }

    .hero::before {
      content: "PORTFOLIO";
      position: absolute;
      left: -30px;
      bottom: 2%;
      font-size: clamp(70px, 15vw, 220px);
      font-weight: 900;
      color: rgba(255,255,255,0.025);
      letter-spacing: 8px;
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.06fr 0.94fr;
      align-items: center;
      gap: 56px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      margin-bottom: 18px;
      border-radius: 999px;
      color: #cbf7ff;
      background: rgba(56,213,255,0.1);
      border: 1px solid rgba(56,213,255,0.24);
      font-size: 14px;
      font-weight: 900;
    }

    .hero h1 {
      font-size: clamp(44px, 6vw, 84px);
      line-height: 1.06;
      letter-spacing: -1.4px;
      margin-bottom: 22px;
    }

    .gradient-text {
      background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple), var(--pink));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      background-size: 220% 220%;
      animation: gradientMove 5s ease infinite;
    }

    @keyframes gradientMove {
      0%, 100% { background-position: 0 50%; }
      50% { background-position: 100% 50%; }
    }

    .typing-line {
      min-height: 38px;
      color: var(--cyan);
      font-size: clamp(21px, 3vw, 30px);
      font-weight: 900;
      margin-bottom: 20px;
    }

    .typing-line span {
      border-right: 3px solid var(--cyan);
      padding-right: 4px;
      animation: blink 0.75s step-end infinite;
    }

    @keyframes blink {
      50% { border-color: transparent; }
    }

    .hero p {
      max-width: 690px;
      color: var(--muted);
      font-size: 19px;
      margin-bottom: 30px;
    }

    .hero-actions,
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 28px;
    }

    .chip {
      padding: 9px 14px;
      border-radius: 999px;
      color: #dce6ff;
      font-size: 14px;
      font-weight: 800;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.09);
      backdrop-filter: blur(14px);
    }

    .profile-card {
      position: relative;
      padding: 18px;
      border-radius: 38px;
      background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: var(--shadow);
      transform-style: preserve-3d;
      transition: transform 0.2s ease;
    }

    .profile-photo {
      min-height: 545px;
      display: flex;
      align-items: flex-end;
      padding: 26px;
      border-radius: 30px;
      overflow: hidden;
      background:
        linear-gradient(to top, rgba(5,8,22,0.95), rgba(5,8,22,0.1)),
        url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&w=1200&q=80') center/cover;
    }

    .profile-info {
      width: 100%;
      padding: 22px;
      border-radius: 24px;
      background: rgba(5,8,22,0.76);
      border: 1px solid rgba(255,255,255,0.14);
      backdrop-filter: blur(16px);
    }

    .profile-info h3 {
      font-size: 28px;
      margin-bottom: 4px;
    }

    .profile-info p {
      color: #d6def3;
      font-size: 15px;
    }

    .floating-card {
      position: absolute;
      top: 38px;
      left: -24px;
      width: 185px;
      padding: 18px;
      border-radius: 24px;
      color: white;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.18);
      backdrop-filter: blur(18px);
      box-shadow: 0 24px 55px rgba(0,0,0,0.25);
      animation: float 4s ease-in-out infinite;
    }

    .floating-card strong {
      display: block;
      font-size: 34px;
      line-height: 1;
      color: var(--green);
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-14px); }
    }

    .section {
      position: relative;
      padding: 96px 0;
    }

    .section-head {
      max-width: 780px;
      margin: 0 auto 54px;
      text-align: center;
    }

    .section-head.left {
      margin: 0 0 26px;
      text-align: left;
    }

    .eyebrow {
      display: inline-block;
      margin-bottom: 14px;
      padding: 7px 15px;
      border-radius: 999px;
      color: #cbf7ff;
      background: rgba(56,213,255,0.1);
      border: 1px solid rgba(56,213,255,0.22);
      font-size: 14px;
      font-weight: 900;
    }

    .section-head h2,
    .about-content h2 {
      font-size: clamp(31px, 4vw, 52px);
      line-height: 1.24;
      margin-bottom: 14px;
    }

    .section-head p,
    .about-content p {
      color: var(--muted);
      font-size: 17px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .glass-card,
    .service-card,
    .project-card,
    .testimonial-card,
    .stat-card {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius);
      background: linear-gradient(145deg, var(--card), var(--card-2));
      border: 1px solid rgba(255,255,255,0.1);
      box-shadow: 0 20px 60px rgba(0,0,0,0.18);
      transition: var(--transition);
    }

    .glass-card::before,
    .service-card::before,
    .project-card::before,
    .testimonial-card::before {
      content: "";
      position: absolute;
      inset: auto auto -70px -70px;
      width: 170px;
      height: 170px;
      background: radial-gradient(circle, rgba(56,213,255,0.18), transparent 70%);
      opacity: 0;
      transition: var(--transition);
    }

    .glass-card:hover,
    .service-card:hover,
    .project-card:hover,
    .testimonial-card:hover,
    .stat-card:hover {
      transform: translateY(-10px);
      border-color: rgba(56,213,255,0.35);
      box-shadow: 0 28px 80px rgba(0,0,0,0.28);
    }

    .glass-card:hover::before,
    .service-card:hover::before,
    .project-card:hover::before,
    .testimonial-card:hover::before {
      opacity: 1;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 50px;
      align-items: center;
    }

    .about-card {
      min-height: 465px;
      display: grid;
      place-content: center;
      padding: 35px;
      text-align: center;
      border-radius: 36px;
      background:
        radial-gradient(circle at 75% 20%, rgba(168,85,247,0.22), transparent 30%),
        linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: var(--shadow);
    }

    .about-card strong {
      display: block;
      font-size: clamp(70px, 10vw, 126px);
      line-height: 1;
      background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      margin-bottom: 12px;
    }

    .about-card span {
      color: #dce6ff;
      font-size: 20px;
      font-weight: 900;
    }

    .check-list {
      display: grid;
      gap: 13px;
      margin: 26px 0 30px;
    }

    .check-list li {
      list-style: none;
      display: flex;
      gap: 10px;
      color: #dde7fb;
      font-weight: 700;
    }

    .check-list li::before {
      content: "✓";
      flex: 0 0 25px;
      width: 25px;
      height: 25px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--cyan), var(--purple));
      color: white;
      font-weight: 900;
      margin-top: 3px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .stat-card {
      padding: 28px 16px;
      text-align: center;
    }

    .stat-card strong {
      display: block;
      color: var(--cyan);
      font-size: 42px;
      line-height: 1.18;
    }

    .stat-card span {
      color: var(--muted);
      font-weight: 800;
      font-size: 14px;
    }

    .service-card {
      padding: 30px;
    }

    .icon {
      width: 62px;
      height: 62px;
      display: grid;
      place-items: center;
      border-radius: 20px;
      margin-bottom: 18px;
      font-size: 29px;
      background: rgba(56,213,255,0.11);
      border: 1px solid rgba(56,213,255,0.18);
    }

    .service-card h3,
    .project-card h3,
    .testimonial-card h3 {
      font-size: 23px;
      margin-bottom: 9px;
    }

    .service-card p,
    .project-card p,
    .testimonial-card p {
      color: var(--muted);
      font-size: 15px;
    }

    .skills-wrap {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 42px;
      align-items: center;
    }

    .skill-card {
      padding: 30px;
    }

    .skill-item {
      margin-bottom: 20px;
    }

    .skill-top {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-weight: 900;
    }

    .progress {
      height: 11px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255,255,255,0.08);
    }

    .progress span {
      display: block;
      width: 0;
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--cyan), var(--purple));
      transition: width 1.4s ease;
    }

    .tools-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .tool {
      min-height: 112px;
      display: grid;
      place-items: center;
      padding: 18px;
      text-align: center;
      border-radius: 22px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.09);
      font-weight: 900;
      transition: var(--transition);
    }

    .tool:hover {
      transform: translateY(-7px) rotate(-1deg);
      color: var(--cyan);
      border-color: rgba(56,213,255,0.35);
    }

    .project-card {
      padding: 18px;
    }

    .project-image {
      height: 225px;
      border-radius: 22px;
      margin-bottom: 18px;
      display: grid;
      place-items: center;
      font-size: 72px;
      background:
        radial-gradient(circle at 80% 10%, rgba(255,78,205,0.24), transparent 30%),
        linear-gradient(135deg, rgba(56,213,255,0.16), rgba(168,85,247,0.18));
      border: 1px solid rgba(255,255,255,0.08);
    }

    .project-body {
      padding: 0 8px 10px;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 16px 0;
    }

    .tag {
      padding: 6px 11px;
      border-radius: 999px;
      color: #dce9ff;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.08);
      font-size: 12px;
      font-weight: 900;
    }

    .project-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .mini-btn {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      border: 0;
      border-radius: 15px;
      padding: 11px 14px;
      cursor: pointer;
      font-weight: 900;
      transition: var(--transition);
    }

    .mini-btn:hover {
      transform: translateY(-4px);
    }

    .mini-primary {
      color: white;
      background: linear-gradient(135deg, var(--blue), var(--purple));
    }

    .mini-dark {
      color: white;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.1);
    }

    .banner {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 30px;
      align-items: center;
      padding: 44px;
      border-radius: 38px;
      background:
        radial-gradient(circle at 85% 16%, rgba(255,78,205,0.2), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: var(--shadow);
    }

    .banner h2 {
      font-size: clamp(31px, 4vw, 52px);
      line-height: 1.22;
      margin-bottom: 14px;
    }

    .banner p {
      color: var(--muted);
      margin-bottom: 24px;
    }

    .banner-box {
      padding: 27px;
      border-radius: 28px;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.1);
      backdrop-filter: blur(16px);
    }

    .testimonial-card {
      padding: 30px;
    }

    .stars {
      margin-bottom: 14px;
      color: var(--gold);
      font-size: 18px;
    }

    .testimonial-card h3 {
      margin-top: 18px;
      color: var(--cyan);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 42px;
      align-items: start;
    }

    .contact-card {
      padding: 24px;
      margin-bottom: 16px;
    }

    .contact-card h3 {
      margin-bottom: 5px;
    }

    .contact-card p,
    .contact-card a {
      color: var(--muted);
      direction: ltr;
      display: block;
    }

    .form-box {
      padding: 35px;
      border-radius: 34px;
      color: var(--text);
      background: rgba(255,255,255,0.92);
      box-shadow: var(--shadow);
    }

    .form-box h3 {
      color: #080c1f;
      font-size: 31px;
      margin-bottom: 7px;
    }

    .form-box > p {
      color: #64748b;
      margin-bottom: 22px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    .field label {
      display: block;
      color: #263347;
      font-size: 14px;
      font-weight: 900;
      margin-bottom: 7px;
    }

    .field input,
    .field textarea {
      width: 100%;
      padding: 13px 14px;
      border: 1px solid #dfe7f3;
      background: #fbfdff;
      border-radius: 16px;
      outline: none;
      color: #111827;
      transition: var(--transition);
    }

    .field input:focus,
    .field textarea:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 4px rgba(79,124,255,0.12);
      background: white;
    }

    input[type="email"] {
      direction: ltr;
      text-align: left;
    }

    .submit-btn {
      width: 100%;
      margin-top: 16px;
      border-radius: 18px;
    }

    .form-message {
      display: none;
      margin-top: 14px;
      color: #16a34a;
      font-weight: 900;
    }

    .form-message.show {
      display: block;
    }

    .footer {
      padding: 42px 0;
      text-align: center;
      color: var(--muted);
      background: #030510;
      border-top: 1px solid rgba(255,255,255,0.08);
    }

    .back-top {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 900;
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      cursor: pointer;
      color: white;
      background: linear-gradient(135deg, var(--blue), var(--purple));
      font-size: 22px;
      box-shadow: 0 16px 42px rgba(79,124,255,0.3);
      opacity: 0;
      pointer-events: none;
      transform: translateY(12px);
      transition: var(--transition);
    }

    .back-top.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .reveal {
      opacity: 0;
      transform: translateY(34px);
      transition: opacity 0.85s ease, transform 0.85s ease;
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    .delay-1 { transition-delay: 0.1s; }
    .delay-2 { transition-delay: 0.2s; }
    .delay-3 { transition-delay: 0.3s; }

    @media (max-width: 1050px) {
      .hero-grid,
      .about-grid,
      .skills-wrap,
      .banner,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .profile-card {
        max-width: 640px;
        margin: auto;
      }

      .grid-4,
      .stats {
        grid-template-columns: repeat(2, 1fr);
      }

      .grid-3 {
        grid-template-columns: repeat(2, 1fr);
      }

      .links,
      .nav > .btn {
        display: none;
      }

      .menu-btn {
        display: block;
      }

      .links.open {
        position: absolute;
        top: 78px;
        left: 4%;
        right: 4%;
        display: grid;
        gap: 0;
        padding: 10px;
        border-radius: 22px;
        background: rgba(5,8,22,0.98);
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: var(--shadow);
      }

      .links.open a {
        padding: 14px;
        border-radius: 14px;
      }

      .links.open a:hover {
        background: rgba(56,213,255,0.1);
      }
    }

    @media (max-width: 680px) {
      .section {
        padding: 70px 0;
      }

      .hero {
        padding-top: 120px;
      }

      .hero h1 {
        font-size: 43px;
      }

      .hero p {
        font-size: 17px;
      }

      .hero-actions,
      .project-actions {
        display: grid;
      }

      .btn,
      .mini-btn {
        width: 100%;
      }

      .profile-photo {
        min-height: 410px;
      }

      .floating-card {
        display: none;
      }

      .grid-4,
      .grid-3,
      .stats,
      .tools-grid,
      .form-grid {
        grid-template-columns: 1fr;
      }

      .brand strong {
        font-size: 15px;
      }

      .brand small {
        font-size: 10px;
      }

      .form-box,
      .banner {
        padding: 24px;
      }

      .cursor-glow {
        display: none;
      }
    }