@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #13141C;
  --bg2: #1A1B26;
  --bg3: #222436;
  --card: #1F212E;
  --border: rgba(255, 255, 255, 0.05);
  --accent: #4FFFB0;
  --accent2: #38E5B6;
  --accent-glow: rgba(79, 255, 176, 0.2);
  --accent-warm: #D9A07B;
  --text: #F0F4F8;
  --muted: #8A91A6;
  --white: #ffffff;
  --radius: 32px;
  --radius-sm: 16px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--accent2);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px var(--accent-glow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
  overflow: hidden;
}

.hero-bg::before, .hero-bg::after {
  content: '';
  position: absolute;
  filter: blur(60px);
  z-index: 0;
  border-radius: 50%;
  opacity: 0.5;
}

.hero-bg::before {
  width: 800px;
  height: 800px;
  background: rgba(79, 255, 176, 0.05);
  top: -200px;
  right: -200px;
}

.hero-bg::after {
  width: 600px;
  height: 600px;
  background: rgba(217, 160, 123, 0.05);
  bottom: -100px;
  left: -200px;
}

.hero-grid {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 255, 176, 0.1);
  border: 1px solid rgba(79, 255, 176, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3)
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.hero-title .line2 {
  color: var(--white);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--accent-warm);
  color: var(--bg);
  border: 2px solid var(--accent-warm);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: transparent;
  color: var(--accent-warm);
}

.hero-photo-wrap {
  width: 300px;
  height: 300px;
  position: relative;
  flex-shrink: 0;
  margin: 0 auto;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: -1;
  animation: blob-bounce 8s infinite alternate;
}

.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  filter: blur(40px);
  border-radius: 50%;
  z-index: -2;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  display: block;
  animation: blob-bounce 8s infinite alternate-reverse;
}

@keyframes blob-bounce {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 40% 50% 60% 50% / 70% 30% 50% 60%; }
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--card), var(--bg3));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
}

.hero-photo-placeholder svg {
  opacity: 0.4;
}

/* ── STATS ── */
.stats-row {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat {
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px var(--accent-glow);
  min-width: 100px;
}

.stat-val {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.stat-val span {
  display: none;
}

.stat-label {
  font-size: 0.65rem;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 0;
  font-weight: 800;
  text-transform: uppercase;
}

/* ── SECTIONS ── */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79, 255, 176, 0.1);
  border: 1px solid rgba(79, 255, 176, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--accent2);
}

.section-sub {
  color: var(--muted);
  max-width: 520px;
  font-size: 0.95rem;
}

/* ── SERVICES ── */
#services {
  background: var(--bg2);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: rgba(79, 255, 176, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card.popular {
  border-color: rgba(79, 255, 176, 0.5);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent2);
  margin-bottom: 0.3rem;
}

.service-time {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-features li.yes {
  color: var(--text);
}

.service-features li.yes::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
}

.service-features li.no::before {
  content: '✗';
  color: #666;
  flex-shrink: 0;
}

.service-note {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(79, 255, 176, 0.08);
  border: 1px solid rgba(79, 255, 176, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── PORTFOLIO ── */
#portfolio {
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.case-card:hover {
  border-color: rgba(79, 255, 176, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.case-img-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s;
}

.case-card:hover .case-img-wrap img {
  transform: scale(1.05);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.8) 0%, transparent 50%);
}

.case-link-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(79, 255, 176, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.9rem;
  color: var(--bg);
}

.case-card:hover .case-link-icon {
  opacity: 1;
}

.case-body {
  padding: 1.5rem;
}

.case-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.case-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.case-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(79, 255, 176, 0.15);
  border: 1px solid rgba(79, 255, 176, 0.25);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.case-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.case-url {
  font-size: 0.8rem;
  color: var(--accent2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── PROCESS ── */
#process {
  background: var(--bg2);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.step:hover {
  border-color: rgba(79, 255, 176, 0.4);
  transform: translateY(-4px);
}

.step-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px var(--accent-glow);
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── CONTACT ── */
#contact {
  background: var(--bg);
}

.contact-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.contact-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.contact-link:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tg-icon {
  background: rgba(38, 164, 255, 0.15);
}

.ph-icon {
  background: rgba(74, 222, 128, 0.15);
}

.contact-link-info {
  flex: 1;
}

.contact-link-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-link-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.15rem;
}

.contact-link-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

footer span {
  color: var(--accent2);
}

/* ── MOBILE NAV ── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 2rem;
  gap: 2rem;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 800;
  transition: color 0.2s, transform 0.2s;
}

.mobile-menu a:hover {
  color: var(--accent2);
  transform: scale(1.05);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-photo-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    order: -1;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-sub {
    margin: 0 auto 2.5rem;
  }

  .stats-row {
    justify-content: center;
    gap: 1.5rem;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  #hero {
    min-height: auto;
    padding: 6rem 1rem 2rem;
  }

  section {
    padding: 2.5rem 1rem;
    overflow-x: hidden;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-photo-wrap {
    width: 130px;
    height: 130px;
    margin-bottom: -1rem;
  }

  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .section-sub {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Compact Stats Grid (No swiping needed) */
  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0;
  }

  .stat {
    padding: 0.5rem 0.25rem;
    background: var(--accent);
    border-radius: 50px;
    border: none;
    text-align: center;
    box-shadow: none;
    min-width: 90px;
  }

  .stat-val {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
    margin-top: 0.2rem;
    line-height: 1.1;
  }

  /* Compact Process Steps (2 columns) */
  .process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
  }

  .step {
    padding: 1rem;
    text-align: left;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
  }

  .step-title {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .step-desc {
    font-size: 0.75rem;
  }

  /* Compact Services */
  .service-card {
    padding: 1.25rem;
  }

  .service-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .service-name {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }

  .service-price {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }

  .service-time {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .service-features li {
    font-size: 0.8rem;
    padding: 0.1rem 0;
    gap: 0.4rem;
  }

  .service-note {
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.75rem;
  }

  /* Compact Portfolio */
  .case-img-wrap {
    height: 180px;
  }

  .case-body {
    padding: 1rem;
  }

  .case-title {
    font-size: 1.1rem;
  }

  .case-desc {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  /* Compact Contact */
  .contact-wrap {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .contact-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .contact-sub {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .contact-link {
    padding: 0.75rem;
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
  }

  .contact-link-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .contact-link-val {
    font-size: 0.85rem;
  }

  .contact-link-label {
    font-size: 0.65rem;
  }

  .contact-link-sub {
    display: none;
  }

  /* Hide extra text to save space */
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── LANGUAGE TOGGLE ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch span {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  transition: color 0.3s;
  cursor: pointer;
}

.lang-switch span.active {
  color: var(--white);
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg3);
  transition: .4s;
  border: 1px solid var(--border);
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: var(--accent);
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--bg3);
}

input:checked + .slider:before {
  transform: translateX(16px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (max-width: 768px) {
  .nav-right {
    gap: 1rem;
    margin-right: 1rem;
  }
}