:root {
  --bg: #070d22;
  --surface: #101a3b;
  --surface-soft: #0d1734;
  --ink: #f2ecd7;
  --muted: #acb6d1;
  --accent: #d9bb7b;
  --accent-soft: #212d57;
  --accent-ink: #241707;
  --border: #2c3b69;
  --shadow: 0 22px 56px rgba(1, 5, 14, 0.55);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, #192a5e 0%, transparent 38%),
    radial-gradient(circle at 90% 100%, #131d45 0%, transparent 32%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section.surface {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 12px;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #151b26;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #273245;
}

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

.logo {
  font-family: "Outfit", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.brand-logo {
  width: auto;
  height: 82px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  border: 0;
  filter: none;
}

.drawer-logo .brand-logo {
  width: auto;
  height: 70px;
}

.brand-fallback {
  display: none;
  font-family: "Outfit", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f0ddb1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(17, 28, 63, 0.8);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 998;
}

.drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 85vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.2s ease;
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  border: none;
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 700;
}

.drawer-nav {
  display: grid;
  gap: 14px;
}

.drawer-nav a {
  font-weight: 600;
  color: var(--ink);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.tag {
  padding: 6px 14px;
  background: rgba(217, 187, 123, 0.15);
  color: #ebd7a8;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 28px rgba(217, 187, 123, 0.35);
}

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

.btn.ghost {
  background: transparent;
  border-color: rgba(217, 187, 123, 0.55);
  color: #efdcb0;
}

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

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--ink);
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(150deg, rgba(16, 26, 59, 0.94), rgba(13, 23, 52, 0.9));
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  border: 1px solid var(--border);
}

.portrait {
  height: 320px;
  margin: 0;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0a132f, #111f46);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 60%;
  position: relative;
  z-index: 1;
}

.portrait-fallback {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  place-items: center;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f0ddb1;
  background:
    linear-gradient(145deg, rgba(10, 19, 47, 0.95), rgba(17, 31, 70, 0.92)),
    url("../images/usman-placeholder.svg");
  background-size: cover;
  background-position: center;
}

.portrait::before {
  content: "Founder: Mohd Usman";
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 13, 34, 0.58);
  color: #f0ddb1;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  z-index: 2;
}

.portrait::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 40px;
  background: rgba(217, 187, 123, 0.22);
  right: -40px;
  bottom: -40px;
  z-index: 2;
}

.hero-note {
  background: rgba(217, 187, 123, 0.12);
  padding: 16px;
  border-radius: 16px;
  color: #c9d3ef;
}
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(150deg, rgba(16, 26, 59, 0.95), rgba(13, 23, 52, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 16px 42px rgba(1, 5, 14, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(1, 5, 14, 0.66);
}

.card-thumb {
  height: 160px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background-color: #223567;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.card-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(8, 15, 39, 0.06), rgba(8, 15, 39, 0.5));
  z-index: 0;
}

.card-thumb::after {
  content: "Reference";
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  color: #f0ddb1;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: rgba(7, 13, 34, 0.65);
}

.thumb-diagnostics {
  background-image: url("../images/thumb-diagnostics.svg");
}

.thumb-troubleshoot {
  background-image: url("../images/thumb-diagnostics.svg");
}

.thumb-windows {
  background-image: url("../images/thumb-diagnostics.svg");
}

.thumb-wordpress {
  background-image: url("../images/thumb-web.svg");
}

.thumb-hosting {
  background-image: url("../images/thumb-web.svg");
}

.thumb-ai {
  background-image: url("../images/thumb-web.svg");
}

.thumb-ecommerce {
  background-image: url("../images/thumb-commerce.svg");
}

.thumb-marketplace {
  background-image: url("../images/thumb-commerce.svg");
}

.thumb-support {
  background-image: url("../images/thumb-commerce.svg");
}

.thumb-diagnostics::after {
  content: "Diagnostics";
}

.thumb-troubleshoot::after {
  content: "Troubleshoot";
}

.thumb-windows::after {
  content: "Windows Repair";
}

.thumb-wordpress::after {
  content: "WordPress";
}

.thumb-hosting::after {
  content: "Hosting";
}

.thumb-ai::after {
  content: "AI Workflow";
}

.thumb-ecommerce::after {
  content: "E-Commerce";
}

.thumb-marketplace::after {
  content: "Marketplaces";
}

.thumb-support::after {
  content: "Client Support";
}

.card-title {
  margin-top: 16px;
  font-size: 1.1rem;
}

.card-sub {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.95rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.card-tags span {
  background: rgba(217, 187, 123, 0.16);
  color: #ebd7a8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.timeline-body h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.timeline-body span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.skill {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
}

.skill-bar {
  height: 10px;
  background: #22315d;
  border-radius: 999px;
  overflow: hidden;
}

.skill-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #b8934b, #efd59a);
  width: var(--level);
}

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

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(217, 187, 123, 0.1);
  font-weight: 600;
  font-size: 0.85rem;
  color: #efddb2;
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.quote-card p {
  color: var(--muted);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a77f41, #ebd29c);
}

.form-grid {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(7, 13, 34, 0.5);
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: #95a2c8;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  margin-top: 56px;
  background: #151b26;
  color: #ffffff;
  padding: 58px 0 38px;
  border-top: 1px solid #273245;
}

.footer-stack {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.footer-brand-top {
  display: grid;
  justify-items: center;
}

.footer-main-logo {
  width: min(270px, 82vw);
  height: auto;
  object-fit: contain;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  max-width: 1200px;
}

.footer-nav a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: #d8e6ff;
}

.footer-legal {
  margin: 0;
  color: #dce6ff;
  font-size: 0.98rem;
}

.footer-legal a {
  color: #ffffff;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.65);
}

.footer-copy {
  color: #d5def8;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-stack {
    gap: 24px;
  }

  .footer-nav {
    gap: 10px 24px;
  }

  .footer-nav a {
    font-size: 0.84rem;
    letter-spacing: 0.09em;
  }

  .footer-legal {
    font-size: 0.95rem;
  }

  .footer-main-logo {
    width: min(230px, 84vw);
  }

  .brand-logo {
    width: auto;
    height: 66px;
  }

  .drawer-logo .brand-logo {
    width: auto;
    height: 60px;
  }

}

@media (max-width: 640px) {
  .hero {
    padding-top: 72px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-main-logo {
    width: min(200px, 88vw);
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }

  .footer-nav {
    display: grid;
    gap: 10px;
    justify-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
