    :root {
      --bg: #050316;
      --bg-elevated: #0b0820;
      --accent: #a855f7; /* purple accent */
      --accent-soft: rgba(168, 85, 247, 0.18);
      --text: #e5e7eb;
      --muted: #9ca3af;
      --border-subtle: rgba(148, 163, 184, 0.35);
      --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
      --radius-xl: 18px;
      --radius-full: 999px;
      --transition-fast: 180ms ease-out;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      background: radial-gradient(circle at top, #1e1b4b 0, #020617 45%, #000 100%);
      color: var(--text);
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
      scroll-behavior: smooth;
      font-size: 15px; /* slightly larger base */
    }

    body {
      min-height: 100vh;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Layout */
    .page {
      max-width: 1120px;
      margin: 0 auto;
      padding: 20px 18px 40px;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(14px);
      background: transparent; /* transparent navbar */
      border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .nav {
      max-width: 1120px;
      margin: 0 auto;
      padding: 10px 18px 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-dot {
      width: 30px;
      height: 30px;
      border-radius: var(--radius-full);
      background:
        radial-gradient(circle at 30% 10%, #e9d5ff 0, #a855f7 30%, #7c3aed 55%, #312e81 100%);
      box-shadow:
        0 0 22px rgba(129, 140, 248, 0.9),
        0 0 60px rgba(168, 85, 247, 0.75);
    }

    .brand-title {
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: 24px; /* increased size */
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .brand-sub {
      font-size: 12px;
      color: var(--muted);
    }

    .nav-links {
      display: flex;
      gap: 14px;
      font-size: 14px;
      color: var(--muted);
      flex-wrap: wrap;
    }

    .nav-links a {
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid transparent;
      transition: background var(--transition-fast),
                  border-color var(--transition-fast),
                  color var(--transition-fast),
                  transform 140ms ease-out;
      cursor: pointer;
    }

    .nav-links a:hover {
      background: rgba(17, 24, 39, 0.92);
      border-color: rgba(168, 85, 247, 0.85);
      color: #f9fafb;
      transform: translateY(-1px);
    }

    main {
      margin-top: 18px;
    }

    section {
      margin-bottom: 72px; /* more gap between sections */
      scroll-margin-top: 100px; /* offset for nav scroll */
    }

    /* Hero */
    .hero {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
      gap: 32px;
      align-items: center;
    }

    @media (max-width: 860px) {
      .hero {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .hero-left {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: radial-gradient(circle at top left,
        rgba(129, 140, 248, 0.25),
        rgba(17, 24, 39, 0.96)
      );
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #e5e7eb;
    }

    .pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.32);
      position: relative;
      overflow: visible;
    }

    .pulse-dot::after {
      content: "";
      position: absolute;
      inset: -4px;
      border-radius: inherit;
      border: 1px solid rgba(168, 85, 247, 0.6);
      animation: pulse 1.6s infinite ease-out;
    }

    @keyframes pulse {
      from {
        opacity: 1;
        transform: scale(1);
      }
      to {
        opacity: 0;
        transform: scale(1.75);
      }
    }

    .hero-title {
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: clamp(34px, 4.4vw, 48px);
      line-height: 1.15;
      font-weight: 700;
    }

    .hero-title span {
      background: linear-gradient(to right, #a855f7, #6366f1, #ec4899);
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      font-size: 15px;
      color: var(--muted);
      max-width: 540px;
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 12px;
    }

    .badge {
      border-radius: 999px;
      padding: 5px 10px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: radial-gradient(circle at top left,
        rgba(148, 163, 184, 0.28),
        rgba(15, 23, 42, 0.95)
      );
      color: #e5e7eb;
    }

    .badge.accent {
      border-color: rgba(168, 85, 247, 0.85);
      background: radial-gradient(circle at top left,
        rgba(168, 85, 247, 0.22),
        rgba(15, 23, 42, 0.96)
      );
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 4px;
    }

    .btn {
      padding: 9px 18px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform 140ms ease-out,
        box-shadow var(--transition-fast);
      text-decoration: none;
    }

    .btn-primary {
      background: linear-gradient(135deg, #a855f7, #6366f1);
      color: #020617;
      box-shadow:
        0 12px 32px rgba(88, 28, 135, 0.55),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow:
        0 18px 40px rgba(79, 70, 229, 0.7),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    }

    .btn-ghost {
      border-color: rgba(148, 163, 184, 0.7);
      background: rgba(15, 23, 42, 0.92);
      color: var(--text);
    }

    .btn-ghost:hover {
      background: rgba(76, 29, 149, 0.85);
      border-color: rgba(196, 181, 253, 0.9);
      transform: translateY(-1px);
    }

    .btn span.icon {
      font-size: 16px;
      line-height: 1;
    }

    /* Hero right - illustration */
    .hero-right {
      justify-self: stretch;
    }

    .hero-illustration {
      border-radius: 24px;
      padding: 14px;
      background: radial-gradient(circle at top, #111827, #020617 60%, #020617 100%);
      border: 1px solid rgba(129, 140, 248, 0.6);
      box-shadow: var(--shadow-soft);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-illustration img {
      max-width: 100%;
      display: block;
      border-radius: 20px;
    }

    /* Example cartoon illustration from unDraw (you can replace URL if you want) */
    /* Sections generic */
    .section-header {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 18px;
    }

    .section-title {
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: 21px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .section-subtitle {
      display: none;
    }

    .impact-strip {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin: 28px 0 72px;
    }

    .impact-card {
      border-radius: var(--radius-xl);
      padding: 18px 16px;
      background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.94));
      border: 1px solid rgba(129, 140, 248, 0.35);
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.72);
    }

    .impact-value {
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: 28px;
      font-weight: 700;
      color: #e9d5ff;
      margin-bottom: 8px;
    }

    .impact-label {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    @media (max-width: 860px) {
      .card-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .card {
      border-radius: var(--radius-xl);
      padding: 14px 14px 12px;
      background: rgba(15, 23, 42, 0.96);
      border: 1px solid var(--border-subtle);
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.75);
      transition:
        transform 150ms ease-out,
        box-shadow 150ms ease-out,
        border-color 150ms ease-out,
        background 150ms ease-out;
    }

    .card:hover {
      transform: translateY(-3px);
      box-shadow: 0 20px 38px rgba(15, 23, 42, 0.9);
      border-color: rgba(129, 140, 248, 0.9);
      background: radial-gradient(circle at top, #020617, #020617 60%, #020617 100%);
    }

    .card-heading {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
    }

    .card-title {
      font-size: 16px;
      font-weight: 600;
    }

    .card-meta {
      font-size: 12px;
      color: var(--muted);
    }

    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }

    .tag {
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid rgba(168, 85, 247, 0.9);
      font-size: 12px;
      color: #e9d5ff;
      background: rgba(76, 29, 149, 0.35);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      line-height: 1.2;
    }

    .tag.accent {
      border-color: rgba(168, 85, 247, 0.9);
      background: rgba(76, 29, 149, 0.35);
      color: #e9d5ff;
    }

    .card-body {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.5;
      margin-top: 4px;
    }

    .card-list {
      margin-top: 6px;
      padding-left: 16px;
      font-size: 13px;
      color: var(--muted);
    }

    .card-list li {
      margin-bottom: 3px;
    }

    /* Skills */
.skills-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr;
  gap: 16px;
}

.skills-wrapper.skills-wrapper-single {
  grid-template-columns: minmax(0, 1fr);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stack-group {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.42);
}

.stack-title {
  font-size: 14px;
  font-weight: 600;
  color: #f3e8ff;
  margin-bottom: 10px;
}

    @media (max-width: 860px) {
      .skills-wrapper {
        grid-template-columns: minmax(0, 1fr);
      }

      .impact-strip,
      .stack-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .pill-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pill {
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(55, 65, 81, 0.9);
      background: rgba(15, 23, 42, 0.95);
      font-size: 13px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--accent);
    }

    .skills-summary {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .skills-highlight {
      font-size: 13px;
      border-radius: 14px;
      padding: 8px 10px;
      border: 1px dashed rgba(168, 85, 247, 0.9);
      background: rgba(46, 16, 101, 0.35);
      color: #e9d5ff;
    }

    /* Services section */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .case-study-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .case-study-card {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .case-study-block {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .case-study-label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #c4b5fd;
    }

    @media (max-width: 860px) {
      .services-grid,
      .case-study-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .service-icon {
      font-size: 24px;
      margin-right: 6px;
    }

    .service-preview {
      font-size: 14px;
      color: var(--muted);
      margin-top: 4px;
    }

    .service-more {
      margin-top: 6px;
      font-size: 13px;
      color: var(--muted);
      display: none;
    }

    .service-more.visible {
      display: block;
    }

    .service-readmore {
      margin-top: 8px;
      font-size: 12px;
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid rgba(129, 140, 248, 0.9);
      background: rgba(15, 23, 42, 0.95);
      color: #e5e7eb;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: background 150ms ease-out, transform 120ms ease-out;
    }

    .service-readmore:hover {
      background: rgba(76, 29, 149, 0.85);
      transform: translateY(-1px);
    }

    /* Contact */
    .contact-card {
      border-radius: 18px;
      padding: 16px 16px 14px;
      background: radial-gradient(circle at top left,
        rgba(76, 29, 149, 0.45),
        rgba(15, 23, 42, 0.98)
      );
      border: 1px solid rgba(168, 85, 247, 0.8);
      box-shadow:
        0 18px 40px rgba(76, 29, 149, 0.6),
        0 0 0 1px rgba(15, 23, 42, 0.9);
      display: grid;
      grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.8fr);
      gap: 14px;
      align-items: flex-start;
    }

    @media (max-width: 780px) {
      .contact-card {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .contact-title {
      font-family: "Space Grotesk", system-ui, sans-serif;
      font-size: 19px;
      margin-bottom: 4px;
    }

    .contact-text {
      font-size: 14px;
      color: #e5e7eb;
      margin-bottom: 10px;
    }

    .contact-detail-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 12px;
      color: #e5e7eb;
      margin-top: 4px;
      align-items: center;
    }
     /* Hamburger hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 760px) {
  .nav {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    right: 18px;
    background: rgba(15, 23, 42, 0.95);
    padding: 14px;
    display: none;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    width: 200px;
  }

  .nav-links.open,
  .nav-links.active {
    display: flex;
  }
}

    .contact-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.85);
    }

    .contact-item span.icon {
      font-size: 14px;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 13px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .form-group label {
      font-size: 13px;
      color: #e5e7eb;
    }

    .form-input,
    .form-select {
      width: 100%;
      padding: 7px 9px;
      border-radius: 10px;
      border: 1px solid rgba(148, 163, 184, 0.75);
      background: rgba(15, 23, 42, 0.92);
      color: #e5e7eb;
      font-size: 13px;
      outline: none;
      transition:
        border-color 150ms ease-out,
        box-shadow 150ms ease-out,
        background 150ms ease-out;
    }

    .form-input:focus,
    .form-select:focus {
      border-color: rgba(168, 85, 247, 0.9);
      box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.75);
      background: rgba(15, 23, 42, 0.98);
    }

    .form-hint {
      font-size: 11px;
      color: rgba(226, 232, 240, 0.8);
    }

    .contact-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
      margin-top: 4px;
    }

    /* Social icons with tooltip */
    .social-row {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }

    .social-link {
      position: relative;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 150ms ease-out, transform 120ms ease-out, border-color 150ms ease-out;
      font-size: 16px;
    }

    .social-link span:first-child {
      width: 100%;
      height: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .social-link img {
      display: block;
      width: 18px !important;
      height: 18px !important;
      object-fit: contain;
    }

    .social-link:hover {
      background: rgba(76, 29, 149, 0.85);
      border-color: rgba(196, 181, 253, 0.9);
      transform: translateY(-1px);
    }

    .social-link .tooltip {
      position: absolute;
      bottom: -28px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(15, 23, 42, 0.96);
      color: #e5e7eb;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 11px;
      border: 1px solid rgba(148, 163, 184, 0.7);
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 150ms ease-out, transform 150ms ease-out;
    }

    .social-link:hover .tooltip {
      opacity: 1;
      transform: translate(-50%, -2px);
    }

    /* Subtle scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(10px);
      transition:
        opacity 420ms ease-out,
        transform 420ms ease-out;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
