
:root {
  --bg: #0b0b14;
  --sf: #14141f;
  --tx: #f1f1f7;
  --mu: #aaa9bd;
  --ac: #8b5cf6;
  --ac2: #ec4899;
  --bd: #26263a;
  --sh: 0 10px 30px rgba(139,92,246,.15);
  --r: 14px;
}

[data-theme="light"] {
  --bg: #f8f7ff;
  --sf: #ffffff;
  --tx: #1a1530;
  --mu: #625d78;
  --ac: #7c3aed;
  --ac2: #db2777;
  --bd: #e3defa;
  --sh: 0 10px 30px rgba(124,58,237,.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--tx);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  transition: background .3s, color .3s;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  color: var(--tx);
}

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

img {
  max-width: 100%;
  height: auto;
}

.w {
  max-width: 1120px;
  margin: auto;
  padding: 0 22px;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--bd);
}

header .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ac);
}

nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

nav a,
.dd > button {
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--mu);
  font: 500 .93rem 'Inter', sans-serif;
  background: none;
  border: 0;
  cursor: pointer;
}

nav a:hover,
.dd > button:hover,
nav a.on {
  color: var(--ac);
}

.dd {
  position: relative;
}

.dd ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  box-shadow: var(--sh);
}

.dd:hover ul,
.dd.open ul {
  display: block;
}

.dd ul a {
  display: block;
}

.tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ib {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: var(--sf);
  color: var(--tx);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ib:hover {
  border-color: var(--ac);
  color: var(--ac);
}

.ib svg {
  width: 20px;
  height: 20px;
}

.sun {
  display: none;
}

[data-theme="light"] .sun {
  display: block;
}

[data-theme="light"] .moon {
  display: none;
}

#mb {
  display: none;
}

/* HERO */

.hero {
  padding: 90px 0 70px;
}

.hero.home {
  padding: 110px 0 90px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--bd);
  border-radius: 99px;
  color: var(--ac);
  font-size: .85rem;
  margin-bottom: 20px;
  background: var(--sf);
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  margin-bottom: 16px;
}

.hero.in h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.hero h1 span {
  background: linear-gradient(90deg, var(--ac), var(--ac2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 640px;
  color: var(--mu);
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.hero.home .w {
  text-align: center;
}

.hero.home p {
  margin-left: auto;
  margin-right: auto;
}

/* PROFILE IMAGE */

.hero-img {
  display: block;
  width: clamp(150px, 48vw, 260px);
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 26px;
  border: 3px solid var(--ac);
  box-shadow: 0 0 0 8px var(--sf), var(--sh);
  background: linear-gradient(135deg, var(--ac), var(--ac2));
}

/* SQUARE IMAGE OPTION */

.hero-img.square {
  border-radius: 18px;
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--ac), var(--ac2));
  color: #fff;
  font-weight: 600;
  margin: 0 10px 10px 0;
  box-shadow: var(--sh);
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.btn.o {
  background: transparent;
  color: var(--tx);
  border: 1px solid var(--bd);
  box-shadow: none;
}

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

/* SECTIONS */

section {
  padding: 56px 0;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 8px;
  color: var(--tx);
}

.sub {
  color: var(--mu);
  margin-bottom: 30px;
  max-width: 640px;
}

/* GRID AND CARDS */

.g {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.c {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: var(--sh);
  transition: .25s;
  color: var(--tx);
}

.c:hover {
  transform: translateY(-5px);
  border-color: var(--ac);
}

.c h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--tx);
}

.c p {
  color: var(--mu);
  font-size: .95rem;
}

.num {
  font: 700 2.3rem 'Poppins', sans-serif;
  color: var(--ac);
}

.ph {
  height: 150px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  margin-bottom: 16px;
  opacity: .85;
}

/* SKILL BARS */

.bar {
  height: 8px;
  background: var(--bd);
  border-radius: 99px;
  margin-top: 12px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ac), var(--ac2));
}

/* TIMELINE */

.tl {
  border-left: 2px solid var(--bd);
  padding-left: 26px;
  display: grid;
  gap: 22px;
}

.tl .c {
  position: relative;
}

.tl .c:before {
  content: "";
  position: absolute;
  left: -35px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ac);
}

.yr {
  color: var(--ac);
  font-weight: 600;
  font-size: .9rem;
}

/* FAQ */

details {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  color: var(--tx);
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--tx);
}

details p {
  color: var(--mu);
  margin-top: 10px;
}

/* PRICING */

.price {
  font: 700 2rem 'Poppins', sans-serif;
  color: var(--ac);
}

ul.l {
  list-style: none;
  margin: 12px 0;
}

ul.l li {
  padding: 5px 0;
  color: var(--mu);
}

ul.l li:before {
  content: "✓ ";
  color: var(--ac);
}

/* FORMS */

form {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: var(--sf);
  color: var(--tx);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: var(--mu);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--ac);
}

/* ABOUT AND PROSE CONTENT */

.prose {
  color: var(--tx);
  padding-bottom: 10px;
  visibility: visible;
}

.prose p {
  color: var(--mu);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 18px;
  max-width: 820px;
  opacity: 1;
  visibility: visible;
}

.prose h2 {
  color: var(--tx);
  margin-bottom: 14px;
}

.prose h3 {
  color: var(--tx);
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.prose strong {
  color: var(--ac);
}

.prose a {
  color: var(--ac);
}

.prose a:hover {
  color: var(--ac2);
}

/* SPLIT LAYOUT */

.split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.av {
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: grid;
  place-items: center;
  font: 700 5rem 'Poppins', sans-serif;
  color: #fff;
  box-shadow: var(--sh);
}

/* CHIPS */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.chips span {
  padding: 8px 16px;
  border: 1px solid var(--bd);
  border-radius: 99px;
  background: var(--sf);
  color: var(--tx);
  font-size: .9rem;
}

/* THREE IMAGE GRID */

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.trio img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--bd);
  box-shadow: var(--sh);
  background: linear-gradient(135deg, var(--ac), var(--ac2));
}

/* SOCIAL LINKS */

.soc {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.soc a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background: var(--sf);
  color: var(--tx);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  transition: .25s;
}

.soc a:hover {
  background: var(--ac);
  color: #fff;
  border-color: var(--ac);
  transform: translateY(-4px);
}

/* FOOTER */

footer {
  border-top: 1px solid var(--bd);
  padding: 44px 0 26px;
  margin-top: 40px;
  background: var(--bg);
}

.fg {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}

.fg h4 {
  margin-bottom: 10px;
  color: var(--tx);
}

.fg a {
  display: block;
  color: var(--mu);
  padding: 3px 0;
}

.fg a:hover {
  color: var(--ac);
}

.fg p {
  color: var(--mu);
}

.cp {
  text-align: center;
  color: var(--mu);
  font-size: .88rem;
  margin-top: 30px;
}

/* REVEAL ANIMATION */

.rv {
  opacity: 1;
  transform: none;
}

.rv.v {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE TABLET */

@media (max-width: 960px) {
  #mb {
    display: grid;
  }

  nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--bd);
    display: none;
    max-height: 80vh;
    overflow: auto;
    padding: 10px 22px 18px;
  }

  nav.open {
    display: block;
  }

  nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .dd ul {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding-left: 14px;
    background: var(--sf);
  }

  .dd:hover ul {
    display: none;
  }

  .dd.open ul {
    display: block;
  }

  .dd > button {
    width: 100%;
    text-align: left;
  }

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

/* RESPONSIVE MOBILE */

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }

  .av {
    max-width: 240px;
    font-size: 4rem;
  }
}

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

@media (max-width: 560px) {
  .hero {
    padding: 60px 0 40px;
  }

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

  .btn {
    display: block;
    text-align: center;
    margin-right: 0;
  }

  .c {
    padding: 20px;
  }

  h2 {
    font-size: 1.6rem;
  }

  .tl {
    padding-left: 18px;
  }

  .tl .c:before {
    left: -27px;
  }

  .hero-img {
    width: min(220px, 65vw);
  }
}

/* LARGE SCREENS */

@media (min-width: 1400px) {
  .w {
    max-width: 1240px;
  }
}

/* THEME BASED CONTENT COLORS */

[data-theme="light"] .prose p,
[data-theme="light"] .c p,
[data-theme="light"] .hero p {
  color: var(--mu);
}

[data-theme="light"] .prose h2,
[data-theme="light"] .prose h3,
[data-theme="light"] .c h3 {
  color: var(--tx);
}

[data-theme="dark"] .prose p,
[data-theme="dark"] .c p,
[data-theme="dark"] .hero p {
  color: var(--mu);
}

[data-theme="dark"] .prose h2,
[data-theme="dark"] .prose h3,
[data-theme="dark"] .c h3 {
  color: var(--tx);
}

::selection {
  background: var(--ac);
  color: #fff;
}
