
    :root {
      --ink: #0b1022;
      --muted: #5a6075;
      --line: #dce2f3;
      --blue: #5361ff;
      --blue-2: #384cff;
      --deep: #020917;
      --card: #ffffff;
      --soft: #f7f9ff;
      --shadow: 0 18px 40px rgba(27, 39, 88, .13);
      --radius: 8px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Inter", Arial, sans-serif;
      color: var(--ink);
      background: #fff;
      line-height: 1.5;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .container {
      width: min(1120px, calc(100% - 48px));
      margin: 0 auto;
    }

    .hero {
      min-height: 590px;
      color: #fff;
      background:
        radial-gradient(circle at 78% 48%, rgba(80, 95, 255, .4) 0 16%, transparent 17%),
        linear-gradient(90deg, rgba(2, 8, 22, .98) 0%, rgba(3, 13, 31, .91) 48%, rgba(3, 15, 38, .86) 100%),
        url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1500&q=80") center/cover;
      position: relative;
      overflow: hidden;
    }

    .hero::after,
    .dot-field {
      content: "";
      position: absolute;
      width: 170px;
      height: 170px;
      background-image: radial-gradient(rgba(83, 97, 255, .75) 1.2px, transparent 1.2px);
      background-size: 18px 18px;
      opacity: .7;
      pointer-events: none;
    }

    .hero::after {
      right: 48px;
      top: 230px;
    }

    .dot-field {
      left: -22px;
      bottom: -50px;
    }

    .navbar {
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      position: relative;
      z-index: 3;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 13px;
      padding: 6px 10px 6px 6px;
      border-radius: 12px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 34px rgba(0,0,0,.18);
    }

    .brand-mark {
      width: 58px;
      height: 48px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      font-size: 32px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: -3px;
      color: transparent;
      background:
        linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,0) 38%),
        linear-gradient(135deg, #7380ff 0%, #5060ff 46%, #8790ff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      position: relative;
      isolation: isolate;
      text-shadow: 0 0 28px rgba(83, 97, 255, .42);
    }

    .brand-mark::before {
      content: "";
      inset: 0;
      z-index: -1;
      border-radius: inherit;
      background:
        radial-gradient(circle at 25% 12%, rgba(255,255,255,.2), transparent 34%),
        linear-gradient(145deg, #060d21, #020714);
      border: 1px solid rgba(106, 120, 255, .42);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 28px rgba(48, 64, 255, .23);
    }

    .brand-mark::after {
      content: "";
      position: absolute;
      left: 10px;
      right: 10px;
      top: 7px;
      height: 1px;
      border-radius: 999px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
    }

    .brand-name {
      font-size: 24px;
      font-weight: 800;
    }

    .brand-role {
      color: #c7d0ec;
      font-size: 13px;
      margin-top: -2px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 35px;
      font-weight: 600;
      font-size: 14px;
    }

    .nav-links a:first-child {
      color: var(--blue);
      text-decoration: underline;
      text-underline-offset: 5px;
    }

    .hire-btn,
    .primary-btn,
    .secondary-btn {
      min-height: 44px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-weight: 700;
      font-size: 14px;
      border: 1px solid transparent;
      cursor: pointer;
    }

    .hire-btn,
    .primary-btn {
      color: #fff;
      background: linear-gradient(135deg, #6472ff, #3548f4);
      box-shadow: 0 10px 25px rgba(66, 82, 255, .35);
    }

    .hire-btn {
      padding: 0 23px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.02fr .98fr;
      gap: 32px;
      align-items: center;
      min-height: 470px;
      position: relative;
      z-index: 2;
    }

    .eyebrow {
      color: #6b75ff;
      font-size: 23px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .hero h1 {
      font-size: clamp(48px, 6vw, 72px);
      line-height: .98;
      font-weight: 900;
      margin-bottom: 10px;
    }

    .hero h2 {
      color: #5a63ff;
      font-size: clamp(32px, 4vw, 45px);
      line-height: 1.05;
      font-weight: 900;
      margin-bottom: 25px;
    }

    .hero p {
      max-width: 610px;
      color: #fff;
      font-size: 18px;
      line-height: 1.7;
      margin-bottom: 30px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 22px;
      margin-bottom: 28px;
    }

    .primary-btn,
    .secondary-btn {
      width: 192px;
    }

    .secondary-btn {
      color: #fff;
      background: rgba(3, 9, 24, .45);
      border-color: #5361ff;
    }

    .socials {
      display: flex;
      gap: 15px;
    }

    .socials a {
      width: 43px;
      height: 43px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,.12);
      color: #fff;
      font-weight: 800;
      border: 1px solid rgba(255,255,255,.06);
    }

    .portrait-wrap {
      min-height: 455px;
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .portrait-orb {
      width: min(445px, 88vw);
      aspect-ratio: 1;
      border-radius: 50%;
      background: linear-gradient(135deg, #2438cc, #5c6bff);
      position: absolute;
      right: 28px;
      bottom: -52px;
      box-shadow: inset -35px 30px 70px rgba(255,255,255,.08);
    }

    .portrait {
      width: min(415px, 78vw);
      height: 510px;
      object-fit: cover;
      object-position: center top;
      position: relative;
      z-index: 2;
      filter: drop-shadow(0 24px 30px rgba(0,0,0,.42));
      border-radius: 0 0 190px 190px;
    }

    .specialist {
      position: absolute;
      right: 0;
      bottom: 58px;
      z-index: 3;
      width: 238px;
      min-height: 105px;
      border: 1px solid #6874ff;
      border-radius: var(--radius);
      background: rgba(25, 32, 88, .82);
      backdrop-filter: blur(8px);
      display: grid;
      grid-template-columns: 54px 1fr;
      align-items: center;
      padding: 19px;
      box-shadow: 0 18px 38px rgba(4, 7, 23, .28);
    }

    .code-icon {
      font-size: 27px;
      font-weight: 900;
    }

    .specialist strong {
      font-size: 14px;
    }

    .specialist span {
      display: block;
      color: #e7ebff;
      font-size: 13px;
      line-height: 1.65;
      margin-top: 4px;
    }

    .section {
      padding: 34px 0 16px;
      background: #fff;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 40px;
      align-items: center;
      margin-bottom: 22px;
    }

    .about-photo {
      position: relative;
      padding: 0 0 18px 16px;
    }

    .about-photo::before {
      content: "";
      position: absolute;
      left: -8px;
      bottom: -3px;
      width: 150px;
      height: 150px;
      background-image: radial-gradient(rgba(83, 97, 255, .7) 1.4px, transparent 1.4px);
      background-size: 16px 16px;
    }

    .about-photo img {
      position: relative;
      height: 315px;
      width: 100%;
      object-fit: cover;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .section-title {
      display: flex;
      align-items: center;
      gap: 17px;
      margin-bottom: 16px;
    }

    .title-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, #6372ff, #3546ee);
      box-shadow: 0 10px 20px rgba(66, 82, 255, .24);
      font-size: 21px;
      font-weight: 900;
      flex: 0 0 auto;
    }

    .section-title h2 {
      font-size: 28px;
      line-height: 1;
      font-weight: 800;
    }

    .blue-line {
      display: flex;
      gap: 18px;
      margin: 0 0 17px 61px;
    }

    .blue-line span {
      width: 28px;
      height: 2px;
      background: var(--blue);
    }

    .about-text p {
      color: #24283b;
      font-size: 16px;
      max-width: 730px;
      margin-bottom: 14px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-top: 25px;
    }

    .stat {
      min-height: 78px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px;
      background: #fff;
    }

    .stat i,
    .service i,
    .skill-card i,
    .contact-card i {
      font-style: normal;
      color: var(--blue);
      font-weight: 900;
    }

    .stat i {
      font-size: 31px;
    }

    .stat strong {
      display: block;
      font-size: 22px;
    }

    .stat span {
      color: #11172a;
      font-size: 10px;
      font-weight: 600;
    }

    .compact-title {
      display: flex;
      align-items: center;
      gap: 17px;
      margin: 20px 0 16px;
    }

    .compact-title h2 {
      font-size: 28px;
      line-height: 1;
    }

    .compact-title h2::after {
      content: "";
      display: block;
      width: 34px;
      height: 2px;
      background: var(--blue);
      margin-top: 12px;
    }

    .skills {
      display: grid;
      grid-template-columns: repeat(9, minmax(0, 1fr));
      gap: 18px;
      margin-bottom: 34px;
    }

    .skill-card {
      --skill: var(--blue);
      --skill-rgb: 83, 97, 255;
      min-height: 126px;
      border: 1px solid rgba(197, 205, 239, .95);
      border-radius: 8px;
      display: grid;
      place-items: center;
      text-align: center;
      background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,249,255,.98)),
        radial-gradient(circle at 50% 0, rgba(var(--skill-rgb), .16), transparent 60%);
      box-shadow: 0 14px 28px rgba(27, 39, 88, .08);
      position: relative;
      overflow: hidden;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

    .skill-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 3px;
      background: var(--skill);
    }

    .skill-card:hover {
      transform: translateY(-5px);
      border-color: rgba(var(--skill-rgb), .45);
      box-shadow: 0 18px 34px rgba(27, 39, 88, .16);
    }

    .skill-card > div {
      width: 100%;
      padding: 18px 10px 14px;
    }

    .skill-card i {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      display: inline-grid;
      place-items: center;
      margin-bottom: 10px;
      color: var(--skill);
      background: rgba(var(--skill-rgb), .12);
      box-shadow: inset 0 0 0 1px rgba(var(--skill-rgb), .18);
      font-size: 19px;
      line-height: 1;
      letter-spacing: 0;
    }

    .skill-card span {
      display: block;
      color: #070d20;
      font-size: 13px;
      font-weight: 800;
      text-align: center;
    }

    .skill-card small {
      display: block;
      color: #6a7189;
      font-size: 10px;
      font-weight: 700;
      margin-top: 3px;
      text-transform: uppercase;
    }

    .skill-card.php { --skill: #5966a8; --skill-rgb: 89, 102, 168; }
    .skill-card.mysql { --skill: #1777a8; --skill-rgb: 23, 119, 168; }
    .skill-card.js { --skill: #e7b316; --skill-rgb: 231, 179, 22; }
    .skill-card.html { --skill: #e7562f; --skill-rgb: 231, 86, 47; }
    .skill-card.css { --skill: #2879c9; --skill-rgb: 40, 121, 201; }
    .skill-card.bootstrap { --skill: #7552ce; --skill-rgb: 117, 82, 206; }
    .skill-card.api { --skill: #4d61ff; --skill-rgb: 77, 97, 255; }
    .skill-card.git { --skill: #e45634; --skill-rgb: 228, 86, 52; }
    .skill-card.jquery { --skill: #1268a8; --skill-rgb: 18, 104, 168; }

    .services {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 22px;
      margin-bottom: 25px;
    }

    .service {
      min-height: 158px;
      border: 1px solid #b9c1ff;
      border-radius: var(--radius);
      text-align: center;
      padding: 20px 14px 16px;
      background: linear-gradient(180deg, #fff, #fbfcff);
    }

    .service i {
      display: block;
      font-size: 40px;
      margin-bottom: 11px;
    }

    .service h3 {
      font-size: 15px;
      margin-bottom: 4px;
    }

    .service p {
      font-size: 12px;
      color: #171c31;
      line-height: 1.45;
    }

    .projects-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .view-all {
      color: var(--blue-2);
      font-size: 14px;
      font-weight: 700;
    }

    .project-book {
      margin: 4px 0 30px;
      perspective: 1800px;
    }

    .book-stage {
      position: relative;
      min-height: 420px;
      padding: 24px 38px 34px;
      border-radius: 8px;
      background:
        radial-gradient(circle at 50% 0, rgba(83, 97, 255, .18), transparent 42%),
        linear-gradient(135deg, #f7f9ff, #ffffff 40%, #eef2ff);
      box-shadow: inset 0 0 0 1px rgba(190, 199, 232, .75), 0 24px 55px rgba(27, 39, 88, .14);
      overflow: hidden;
    }

    .book-stage::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 24px;
      bottom: 99px;
      width: 24px;
      transform: translateX(-50%);
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(36, 44, 86, .16), rgba(255,255,255,.82), rgba(36, 44, 86, .2));
      box-shadow: 0 0 34px rgba(22, 31, 75, .22);
      z-index: 3;
      pointer-events: none;
    }

    .book-stage::after {
      content: "";
      position: absolute;
      left: 70px;
      right: 70px;
      bottom: 18px;
      height: 20px;
      border-radius: 50%;
      background: rgba(22, 31, 75, .18);
      filter: blur(16px);
    }

    .book-spread {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 345px;
      transform: rotateX(7deg);
      transform-style: preserve-3d;
    }

    .book-page {
      position: relative;
      display: grid;
      grid-template-rows: 172px 1fr;
      overflow: hidden;
      background: linear-gradient(110deg, #ffffff, #f8faff);
      border: 1px solid #d8e0f4;
      box-shadow: 0 16px 30px rgba(27, 39, 88, .12);
    }

    .book-page.left {
      border-radius: 8px 2px 2px 8px;
      transform-origin: right center;
      transform: rotateY(4deg);
    }

    .book-page.right {
      border-radius: 2px 8px 8px 2px;
      transform-origin: left center;
      transform: rotateY(-4deg);
    }

    .book-page.left::after,
    .book-page.right::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .book-page.left::after {
      background: linear-gradient(90deg, transparent 72%, rgba(26, 34, 70, .12));
    }

    .book-page.right::after {
      background: linear-gradient(90deg, rgba(26, 34, 70, .12), transparent 28%);
    }

    .book-page img {
      width: 100%;
      height: 172px;
      object-fit: cover;
    }

    .book-page-content {
      padding: 22px 28px 26px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 16px;
    }

    .book-page h3 {
      font-size: 24px;
      line-height: 1.15;
      margin-bottom: 8px;
    }

    .book-page p {
      color: #22283d;
      font-size: 15px;
      line-height: 1.55;
      max-width: 430px;
    }

    .book-page-number {
      position: absolute;
      bottom: 10px;
      color: #7a829a;
      font-size: 11px;
      font-weight: 700;
    }

    .book-page.left .book-page-number {
      left: 22px;
    }

    .book-page.right .book-page-number {
      right: 22px;
    }

    .book-flip-sheet {
      position: absolute;
      z-index: 4;
      top: 24px;
      bottom: 34px;
      left: 50%;
      width: calc(50% - 38px);
      transform-origin: left center;
      transform-style: preserve-3d;
      pointer-events: none;
      opacity: 0;
    }

    .book-flip-sheet::before,
    .book-flip-sheet::after {
      content: "";
      position: absolute;
      inset: 0;
      border: 1px solid #d8e0f4;
      border-radius: 2px 8px 8px 2px;
      backface-visibility: hidden;
      background: linear-gradient(110deg, #ffffff, #eef3ff);
      box-shadow: 0 18px 38px rgba(27, 39, 88, .16);
    }

    .book-flip-sheet::after {
      transform: rotateY(180deg);
      background: linear-gradient(110deg, #eef3ff, #ffffff);
    }

    .project-book.turn-next .book-flip-sheet {
      opacity: 1;
      animation: flipNext .72s ease-in-out;
    }

    .project-book.turn-prev .book-flip-sheet {
      opacity: 1;
      animation: flipPrev .72s ease-in-out;
    }

    @keyframes flipNext {
      0% { transform: rotateY(0deg); }
      100% { transform: rotateY(-180deg); }
    }

    @keyframes flipPrev {
      0% { transform: rotateY(-180deg); }
      100% { transform: rotateY(0deg); }
    }

    .book-controls {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-top: 20px;
      position: relative;
      z-index: 5;
    }

    .book-btn {
      width: 44px;
      height: 44px;
      border: 1px solid rgba(83, 97, 255, .4);
      border-radius: 50%;
      color: #fff;
      background: linear-gradient(135deg, #6574ff, #3547f4);
      box-shadow: 0 12px 24px rgba(66, 82, 255, .26);
      font-size: 22px;
      font-weight: 900;
      cursor: pointer;
    }

    .book-btn:disabled {
      cursor: not-allowed;
      opacity: .38;
      box-shadow: none;
    }

    .book-status {
      min-width: 86px;
      text-align: center;
      color: #273054;
      font-size: 13px;
      font-weight: 800;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
    }

    .tags span {
      background: #eef0ff;
      color: #1a288e;
      min-width: 52px;
      text-align: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
    }

    .contact-section {
      padding: 28px 0 48px;
      background:
        radial-gradient(circle at 12% 20%, rgba(83, 97, 255, .12), transparent 28%),
        linear-gradient(180deg, #fff, #f7f9ff);
    }

    .contact-shell {
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      gap: 28px;
      align-items: stretch;
    }

    .contact-panel,
    .contact-form {
      border: 1px solid #dce2f3;
      border-radius: 8px;
      background: rgba(255, 255, 255, .86);
      box-shadow: 0 20px 45px rgba(27, 39, 88, .11);
      backdrop-filter: blur(12px);
    }

    .contact-panel {
      padding: 30px;
      color: #fff;
      background:
        radial-gradient(circle at 12% 10%, rgba(111, 124, 255, .56), transparent 32%),
        linear-gradient(145deg, #041027, #081b43);
      position: relative;
      overflow: hidden;
    }

    .contact-panel::after {
      content: "";
      position: absolute;
      right: -40px;
      bottom: -48px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 24px solid rgba(83, 97, 255, .22);
    }

    .contact-panel h3 {
      font-size: 28px;
      line-height: 1.15;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }

    .contact-panel p {
      color: #dbe3ff;
      font-size: 14px;
      line-height: 1.7;
      margin-bottom: 24px;
      position: relative;
      z-index: 1;
    }

    .contact-list {
      display: grid;
      gap: 14px;
      position: relative;
      z-index: 1;
    }

    .contact-item {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 13px;
      align-items: center;
      padding: 14px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 8px;
      background: rgba(255,255,255,.06);
    }

    .contact-item i {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, #6472ff, #3548f4);
      font-style: normal;
      font-weight: 900;
      box-shadow: 0 10px 24px rgba(66, 82, 255, .28);
    }

    .contact-item strong,
    .contact-item span {
      display: block;
    }

    .contact-item strong {
      font-size: 13px;
      margin-bottom: 2px;
    }

    .contact-item span {
      color: #e2e7ff;
      font-size: 13px;
    }

    .contact-form {
      padding: 30px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-field {
      display: grid;
      gap: 7px;
    }

    .form-field.full {
      grid-column: 1 / -1;
    }

    .form-field label {
      color: #11172a;
      font-size: 13px;
      font-weight: 800;
    }

    .form-field input,
    .form-field textarea {
      width: 100%;
      border: 1px solid #d8def0;
      border-radius: 7px;
      background: #fbfcff;
      color: #10162b;
      font: inherit;
      font-size: 14px;
      outline: none;
      padding: 13px 14px;
      transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    .form-field textarea {
      min-height: 130px;
      resize: vertical;
    }

    .form-field input:focus,
    .form-field textarea:focus {
      border-color: rgba(83, 97, 255, .7);
      box-shadow: 0 0 0 4px rgba(83, 97, 255, .1);
      transform: translateY(-1px);
    }

    .form-submit {
      justify-self: start;
      min-height: 46px;
      border: 0;
      border-radius: 6px;
      padding: 0 24px;
      color: #fff;
      background: linear-gradient(135deg, #6574ff, #3547f4);
      box-shadow: 0 14px 30px rgba(66, 82, 255, .26);
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .footer {
      color: #fff;
      background:
        radial-gradient(circle at 8% 50%, rgba(69, 82, 255, .32), transparent 18%),
        linear-gradient(135deg, #031025, #041634 55%, #06112a);
      position: relative;
      overflow: hidden;
      padding: 26px 0 0;
    }

    .footer::before {
      content: "";
      position: absolute;
      left: -25px;
      top: 46px;
      width: 150px;
      height: 130px;
      background-image: radial-gradient(rgba(83, 97, 255, .8) 1.4px, transparent 1.4px);
      background-size: 17px 17px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.35fr .75fr .78fr .65fr;
      gap: 28px;
      align-items: center;
      position: relative;
      z-index: 1;
      padding-bottom: 22px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .cta-title {
      display: grid;
      grid-template-columns: 50px 1fr;
      gap: 20px;
      align-items: start;
    }

    .send-icon {
      width: 47px;
      height: 47px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #6172ff, #3445f0);
      font-size: 24px;
      box-shadow: 0 10px 20px rgba(58, 72, 255, .35);
    }

    .cta-title h2 {
      font-size: 24px;
      margin-bottom: 6px;
    }

    .cta-title p {
      color: #dbe2fb;
      font-size: 13px;
      max-width: 365px;
      margin-bottom: 14px;
    }

    .contact-card {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 13px;
      align-items: center;
      min-height: 58px;
      border-left: 1px solid rgba(255,255,255,.08);
      padding-left: 28px;
    }

    .contact-card i {
      width: 46px;
      height: 46px;
      border-radius: 7px;
      display: grid;
      place-items: center;
      color: #fff;
      background: rgba(47, 64, 206, .42);
      border: 1px solid rgba(98, 113, 255, .55);
      font-size: 22px;
    }

    .contact-card strong {
      display: block;
      font-size: 13px;
      margin-bottom: 3px;
    }

    .contact-card span {
      color: #dce4ff;
      font-size: 12px;
    }

    .copyright {
      height: 44px;
      display: grid;
      place-items: center;
      color: #e7ebff;
      font-size: 12px;
      position: relative;
      z-index: 1;
    }

    .to-top {
      position: absolute;
      right: 72px;
      bottom: 11px;
      width: 32px;
      height: 32px;
      border-radius: 6px;
      display: grid;
      place-items: center;
      background: var(--blue);
      color: #fff;
      font-weight: 900;
      border: none;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
      opacity: 0;
      transform: translateY(20px) scale(0.8);
      pointer-events: none;
    }

    .to-top.show {
      z-index: 99999;
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .to-top:hover {
      background: #7c3aed;
      transform: translateY(-4px) scale(1.1);
      box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    }

    .to-top:active {
      transform: translateY(-2px) scale(1.05);
    }

    body.modal-open {
      overflow: hidden;
    }

    .welcome-modal {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: grid;
      place-items: center;
      padding: 24px;
      background: rgba(2, 8, 22, .72);
      backdrop-filter: blur(14px);
      opacity: 0;
      visibility: hidden;
      transition: opacity .28s ease, visibility .28s ease;
    }

    .welcome-modal.is-visible {
      opacity: 1;
      visibility: visible;
    }

    .welcome-card {
      width: min(520px, 100%);
      border: 1px solid rgba(120, 134, 255, .45);
      border-radius: 8px;
      color: #fff;
      background:
        radial-gradient(circle at 15% 10%, rgba(91, 105, 255, .46), transparent 34%),
        linear-gradient(135deg, rgba(5, 14, 38, .98), rgba(8, 19, 50, .98));
      box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
      padding: 34px;
      transform: translateY(24px) scale(.96) rotateX(7deg);
      transform-style: preserve-3d;
      transition: transform .35s ease;
      position: relative;
      overflow: hidden;
    }

    .welcome-modal.is-visible .welcome-card {
      transform: translateY(0) scale(1) rotateX(0deg);
    }

    .welcome-card::before {
      content: "";
      position: absolute;
      inset: -80px auto auto -80px;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      background: rgba(83, 97, 255, .28);
      filter: blur(2px);
    }

    .welcome-badge {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      margin-bottom: 20px;
      background: linear-gradient(135deg, #6d79ff, #3547f4);
      box-shadow: 0 16px 32px rgba(66, 82, 255, .35);
      font-weight: 900;
      font-size: 22px;
      position: relative;
    }

    .welcome-card h2 {
      font-size: clamp(30px, 5vw, 42px);
      line-height: 1.05;
      margin-bottom: 12px;
      position: relative;
    }

    .welcome-card p {
      color: #dfe5ff;
      font-size: 16px;
      line-height: 1.7;
      margin-bottom: 24px;
      position: relative;
    }

    .welcome-close {
      min-height: 46px;
      border: 0;
      border-radius: 6px;
      padding: 0 24px;
      color: #fff;
      background: linear-gradient(135deg, #6574ff, #3547f4);
      box-shadow: 0 14px 30px rgba(66, 82, 255, .34);
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      position: relative;
    }

    .cursor-glow {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 1;
      width: 230px;
      height: 230px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(83, 97, 255, .16), transparent 66%);
      transform: translate3d(-50%, -50%, 0);
      pointer-events: none;
      opacity: 0;
      transition: opacity .25s ease;
    }

    body.is-moving .cursor-glow {
      opacity: 1;
    }

    .navbar,
    .hero-copy > *,
    .portrait-wrap {
      animation: riseIn .8s ease both;
    }

    .hero-copy .eyebrow { animation-delay: .1s; }
    .hero-copy h1 { animation-delay: .18s; }
    .hero-copy h2 { animation-delay: .26s; }
    .hero-copy p { animation-delay: .34s; }
    .hero-actions { animation-delay: .42s; }
    .socials { animation-delay: .5s; }
    .portrait-wrap { animation-delay: .28s; }

    .reveal {
      opacity: 0;
      transform: translateY(34px) scale(.98);
      transition: opacity .7s ease, transform .7s ease;
      will-change: opacity, transform;
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .tilt-card {
      transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
      transition: transform .18s ease, box-shadow .18s ease;
      will-change: transform;
    }

    .tilt-card:hover {
      --lift: -5px;
    }

    .float-soft {
      animation: floatSoft 4.5s ease-in-out infinite;
    }

    @keyframes riseIn {
      from {
        opacity: 0;
        transform: translateY(28px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes floatSoft {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
      }

      .reveal {
        opacity: 1;
        transform: none;
      }
    }

    @media (max-width: 980px) {
      .nav-links {
        display: none;
      }

      .hero-grid,
      .about-grid {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: auto;
        padding-bottom: 35px;
      }

      .portrait-wrap {
        min-height: 420px;
      }

      .about-photo {
        max-width: 430px;
      }

      .stats,
      .services,
      .contact-shell,
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .book-stage {
        padding: 20px 20px 28px;
      }

      .book-spread {
        min-height: auto;
      }

      .book-page-content {
        padding: 18px 20px 24px;
      }

      .book-page h3 {
        font-size: 20px;
      }

      .skills {
        grid-template-columns: repeat(3, 1fr);
      }

      .footer-grid {
        align-items: start;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 28px, 1120px);
      }

      .navbar {
        height: auto;
        padding: 18px 0;
      }

      .brand-mark {
        font-size: 34px;
      }

      .brand-name {
        font-size: 20px;
      }

      .hire-btn {
        padding: 0 14px;
      }

      .hero-grid {
        gap: 8px;
      }

      .hero p {
        font-size: 15px;
      }

      .primary-btn,
      .secondary-btn {
        width: 100%;
      }

      .portrait-wrap {
        min-height: 360px;
      }

      .portrait {
        height: 390px;
      }

      .portrait-orb {
        right: 50%;
        transform: translateX(50%);
        bottom: -35px;
      }

      .specialist {
        right: 8px;
        bottom: 18px;
        width: 215px;
      }

      .about-photo img {
        height: 260px;
      }

      .stats,
      .services,
      .contact-shell,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .contact-form,
      .contact-panel {
        padding: 22px;
      }

      .book-stage {
        min-height: auto;
        padding: 16px;
      }

      .book-stage::before,
      .book-flip-sheet {
        display: none;
      }

      .book-spread {
        grid-template-columns: 1fr;
        gap: 18px;
        transform: none;
      }

      .book-page,
      .book-page.left,
      .book-page.right {
        border-radius: 8px;
        transform: none;
      }

      .skills {
        grid-template-columns: repeat(2, 1fr);
      }

      .projects-header {
        align-items: flex-start;
        flex-direction: column;
      }

      .contact-card {
        border-left: 0;
        padding-left: 0;
      }

      .to-top {
        right: 18px;
      }
    }
  