/* =====================================
   ROOT VARIABLES
===================================== */
:root {
  --bg: #050509;
  --text-main: #f5f5f7;
  --text-muted: #a3a3b4;

  --accent: #a855f7; /* purple */
  --accent-light: rgba(168, 85, 247, 0.18);

  --radius-pill: 999px;

  --max-width: 1200px;

  --font-body: "Inter", system-ui, sans-serif;
}

/* =====================================
   RESET
===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-main);
}

/* CUSTOM CURSOR ORB ------------------------------------------ */

.cursor-orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 999;

  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.9), rgba(15, 23, 42, 0.95));

  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.7),
    0 0 40px rgba(79, 70, 229, 0.7);
  mix-blend-mode: screen;
  opacity: 0; /* start hidden until we get mouse movement */

  transform: translate(-50%, -50%);
  transition:
    opacity 0.25s ease-out,
    box-shadow 0.25s ease-out,
    background 0.4s ease-out;
}

/* Hide orb on small/touch screens */
@media (max-width: 768px) {
  .cursor-orb {
    display: none;
  }
}

/* =====================================
   GLOBAL UTILS
===================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 1.5rem;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Header / Nav --------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 9, 0.96),
    rgba(5, 5, 9, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

/* LEFT: Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-main);
  flex: 0 0 auto;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 1.1rem;
  background: radial-gradient(circle at 0 0, #f5f3ff 0, #a855f7 35%, #4b0082 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-subtle);
}

.logo-text {
  font-size: 0.78rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* CENTER: Nav links */

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

.main-nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

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

.main-nav a:hover {
  color: var(--text-main);
}

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

/* RIGHT: CTA + mobile toggle wrapper */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
}

/* CTA button */

.nav-cta {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    to right,
    rgba(168, 85, 247, 0.32),
    rgba(168, 85, 247, 0.06)
  );
  color: #fefefe;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  text-decoration: none;
}

.nav-cta:hover {
  border-color: rgba(168, 85, 247, 0.8);
  background: linear-gradient(
    to right,
    rgba(168, 85, 247, 0.45),
    rgba(168, 85, 247, 0.18)
  );
  transform: translateY(-1px);
}

/* Mobile toggle (hamburger) */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  margin: 3px 0;
}

/* MOBILE BEHAVIOUR ---------------------------------------------- */

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.4rem;
    border-radius: 16px;
    background: rgba(5, 5, 12, 0.98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    flex-direction: column;
    gap: 0.9rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-cta {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }

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

/* =====================================
   HERO – CENTERED LAYOUT
===================================== */

.hero-section {
  padding: 120px 0 96px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tag spacing */
.hero-section .tag {
  margin-bottom: 16px;
}

/* Heading */
.hero-heading {
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 22ch;
}

/* Subtext */
.hero-subtext {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 28px;
}

/* CTAs */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 18px;
}

/* Use existing .btn, .primary-btn, .ghost-btn styles.
   Just control sizing here if needed. */
.hero-cta-row .btn {
  font-size: 0.92rem;
}

/* Meta pills */
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 8px;
}

.hero-meta-pill {
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
  background: rgba(10, 10, 18, 0.9);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero-section {
    padding: 96px 0 72px;
  }

  .hero-heading {
    font-size: clamp(2rem, 7vw, 2.4rem);
  }

  .hero-subtext {
    font-size: 0.94rem;
  }
}
/* Stronger primary CTA */
.primary-btn {
  background: linear-gradient(135deg, #b06ffd, #8b5cf6);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow:
    0 8px 25px rgba(168, 85, 247, 0.45),
    0 0 20px rgba(168, 85, 247, 0.35);
  border: none;
  transition: 0.25s ease-out;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  transform: translateY(-2px);
  box-shadow:
    0 10px 30px rgba(168, 85, 247, 0.55),
    0 0 30px rgba(168, 85, 247, 0.45);
}

/* Stronger ghost CTA */
.ghost-btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
  transition: 0.25s ease-out;
}

.ghost-btn:hover {
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.12);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* Button base style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none; /* remove underline for all buttons */
}

a.nav-cta,
.work-card,
.footer-links a,
.contact-btn {
  text-decoration: none;
}

/* MY VALUE SECTION ------------------------------------------ */

.value-section {
  /* uses global .section padding */
}

.value-tag {
  display: inline-block;
  margin-bottom: 16px; /* tag → heading */
}

.value-heading {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px; /* heading → subtext */
}

.value-subtext {
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 32px; /* subtext → grid */
}

/* GRID */

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

/* CARD */

.value-card {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 18, 0.96);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(168, 85, 247, 0.16);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.6);
  background: radial-gradient(circle at 0 0, rgba(168, 85, 247, 0.25), transparent 55%),
              rgba(12, 12, 20, 0.98);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.7),
    0 0 16px rgba(168, 85, 247, 0.35);
}

.value-title {
  font-size: 1rem;
  margin: 0 0 6px; /* title → body */
}

.value-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* CTA WRAPPER */

.value-cta-wrapper {
  margin-top: 32px;
}

.value-cta {
  /* uses .btn + .ghost-btn styles */
}

/* RESPONSIVE */

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

/* SELECTED WORK SECTION -------------------------------------- */

.work-section {
  /* uses global .section spacing */
}

.work-tag {
  display: inline-block;
  margin-bottom: 16px; /* tag → heading */
}

.work-heading {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;    /* heading → subtext */
}

.work-subtext {
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 32px;    /* subtext → grid */
}

/* GRID */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* CARD */

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border-radius: 18px;

  background: rgba(10, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(168, 85, 247, 0.16);
  backdrop-filter: blur(14px);

  text-decoration: none;
  color: inherit;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.55);
  background: radial-gradient(circle at 0 0, rgba(168, 85, 247, 0.24), transparent 55%),
              rgba(10, 10, 20, 0.96);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.7),
    0 0 16px rgba(168, 85, 247, 0.35);
}

/* THUMBNAIL – soft zoom */

.work-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  margin-bottom: 14px;

  background-position: center;
  background-repeat: no-repeat;
  background-size: 104%;

  transition:
    background-size 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.work-card:hover .work-card-thumb {
  background-size: 112%;
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.6),
    0 0 12px rgba(168, 85, 247, 0.28);
}

/* PROJECT TITLE + BODY */

.work-card-title {
  font-size: 1rem;
  margin: 0 0 6px;
}

.work-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 10px;
}

/* TAGS / CHIPS */

.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto; /* pushes tags to bottom for consistent heights */
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 15, 25, 0.95);
  color: var(--text-muted);
}

/* VIEW MORE CTA */

.work-cta-wrapper {
  margin-top: 32px;
}

.work-cta {
  /* uses .btn + .ghost-btn */
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* THUMBNAIL SOURCES – update URLs to your actual images */
.thumb-resigo {
  background-image: url("../images/Resigo.jpg");
}

.thumb-velo {
  background-image: url("../images/Velo.jpg");
}

.thumb-shop {
  background-image: url("../images/Showcase.jpg");
}

.thumb-finance {
  background-image: url("../images/Finance\ Flow.jpg");
}

.thumb-parcel {
  background-image: url("../images/Parcel\ Q\ Dashboard.jpg");
}

.thumb-prime {
  background-image: url("../images/Prime.jpg");
}

/* ABOUT ME SECTION ------------------------------------------- */

.about-section {
  /* uses global .section padding */
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* LEFT */

.about-left .tag {
  margin-bottom: 16px; /* tag → heading, matches other sections */
}

.about-heading {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px; /* heading → first paragraph */
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.about-text:last-of-type {
  margin-bottom: 18px; /* last paragraph → chips */
}

/* Meta chips row (reuses .chip from work section) */

.about-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px; /* chips → CTA */
}

.about-cta-wrapper .btn {
  font-size: 0.9rem;
}

/* RIGHT – photo card */

.about-right {
  display: flex;
  justify-content: flex-end;
}

.about-photo-frame {
  max-width: 360px;
  width: 100%;
  padding: 5px;
  border-radius: 20px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(168, 85, 247, 0.4);
}

.about-photo {
  display: block;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .about-right {
    justify-content: flex-start;
  }

  .about-photo-frame {
    max-width: 100%;
  }
}

/* CONTACT / BOOK A CALL SECTION ----------------------------- */

.contact-section {
  /* uses global .section padding */
}

.contact-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;

  padding: 32px 28px;
  border-radius: 20px;

  background: rgba(10, 10, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.7),
    0 0 16px rgba(168, 85, 247, 0.28);
  backdrop-filter: blur(16px);
}

.contact-tag {
  display: inline-block;
  margin-bottom: 16px; /* tag → heading (consistent with others) */
}

.contact-heading {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 12px;    /* heading → subtext */
}

.contact-subtext {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 24px;    /* subtext → CTA row */
}

.contact-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.contact-btn {
  min-width: 220px;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0;
}

/* Responsive */

@media (max-width: 600px) {
  .contact-inner {
    padding: 24px 18px;
  }

  .contact-heading {
    font-size: 1.7rem;
  }
}

/* FOOTER ----------------------------------------------------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0 24px;
  background: radial-gradient(circle at 0 0, rgba(168, 85, 247, 0.16), transparent 55%),
              rgba(3, 3, 8, 0.98);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-main {
  max-width: 360px;
}

.footer-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.footer-role {
  font-size: 0.9rem;
  margin: 0 0 6px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive footer */

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}


/* Medium screens: stack grids and about */
@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: 1fr;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-right {
    justify-content: flex-start;
  }
}

/* Small screens: single-column work, tighter padding, mobile nav */
@media (max-width: 640px) {
  .container {
    margin-left: 0;
    margin-right: 0;
    padding: 0 16px;
  }

  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  /* Mobile nav */
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    background: rgba(5, 5, 9, 0.98);
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav.is-open {
    display: flex;
  }

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