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

:root {
  --bg: #0d1117;
  --bg-soft: #111827;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #fff;
  --muted: #b8c0cc;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #e83e8c;
  --accent-2: #6f42c1;
  --shadow: rgba(0, 0, 0, 0.55);
}

body.light-mode {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text: #111827;
  --muted: #4b5563;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: rgba(15, 23, 42, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #0d1117;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader span {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.navbar {
  background: rgba(13, 17, 23, 0.82) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.86) !important;
}

.navbar-brand {
  color: var(--text);
  font-weight: 900;
}

.navbar-brand span {
  color: var(--accent);
}

.navbar-toggler {
  border-color: var(--line);
}

.navbar-toggler-icon {
  filter: invert(1);
}

body.light-mode .navbar-toggler-icon {
  filter: invert(0);
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
}

.nav-link:hover,
.navbar .nav-link.active,
.dropdown-item:hover {
  color: var(--accent) !important;
}

.glass-dropdown {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px var(--shadow);
}

.dropdown-item {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 1rem;
}

.sidebar-toggle,
.side-close,
.popup-close,
#lightbox button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
}

.theme-slider {
  position: relative;
  display: flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.theme-slider::before {
  content: '';
  position: absolute;
  inset: -85%;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 18%, transparent 58%);
  animation: liquidWave 5s linear infinite;
  pointer-events: none;
}

.theme-option {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.58rem 0.78rem;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 0.25s ease;
}

@keyframes liquidWave {
  to {
    transform: rotate(360deg);
  }
}

.theme-option[aria-pressed="true"] {
  color: #fff;
}

.theme-slider-thumb {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 50%;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--accent-2), var(--accent));
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-slider[data-selected="dark"] .theme-slider-thumb {
  transform: translateX(100%);
}

body.light-mode .theme-option[data-theme-choice="dark"] {
  color: #1f2937;
}

body.light-mode .theme-option[data-theme-choice="light"] {
  color: #fff;
}

.sidebar-toggle span {
  width: 5px;
  height: 5px;
  background: var(--text);
  border-radius: 999px;
  display: block;
}

section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.alt-section {
  background: var(--bg-soft);
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 50px;
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding-top: 130px;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(13, 17, 23, 0.93), rgba(13, 17, 23, 0.68), rgba(13, 17, 23, 0.35));
}

body.light-mode .hero-overlay {
  background: linear-gradient(90deg, rgba(245, 247, 251, 0.93), rgba(245, 247, 251, 0.72), rgba(245, 247, 251, 0.46));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: center;
}

#hero h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  margin-bottom: 20px;
  font-weight: 900;
  max-width: 850px;
}

#hero p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin-bottom: 30px;
  color: var(--muted);
  max-width: 670px;
}

.beams-section {
  min-height: 420px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(232, 62, 140, 0.2), transparent 34%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.beams-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0 46%, transparent 74%);
}

body.light-mode .beams-section {
  background:
    radial-gradient(circle at 50% 120%, rgba(232, 62, 140, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, #f5f7fb);
}

body.light-mode .beams-section::before {
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.07) 1px, transparent 1px);
}

.beams-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.beams-content h2 {
  color: var(--text);
  font-size: clamp(2rem, 5.4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

.beams-description {
  max-width: 860px;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  font-weight: 600;
}

.beam-gradient-text {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  filter: drop-shadow(0 1px 3px rgba(27, 37, 80, 0.14));
}

.beam-gradient-text span,
.beam-gradient-text::before {
  display: block;
  padding: 0.5rem 0;
  background: linear-gradient(90deg, #a855f7, #8b5cf6, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.beam-gradient-text::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 1px;
  text-shadow: 0 0 rgba(0, 0, 0, 0.1);
}

.beam {
  position: absolute;
  top: -40%;
  width: 2px;
  height: 270px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.95), rgba(236, 72, 153, 0.5), transparent);
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.55));
  animation: beamFall 3.8s linear infinite;
}

.beam-one {
  left: 18%;
  animation-delay: 0s;
}

.beam-two {
  left: 38%;
  height: 330px;
  animation-delay: 0.9s;
}

.beam-three {
  left: 62%;
  height: 300px;
  animation-delay: 1.7s;
}

.beam-four {
  left: 82%;
  animation-delay: 2.5s;
}

.collision {
  position: absolute;
  bottom: 22%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.76);
  box-shadow:
    0 0 0 0 rgba(236, 72, 153, 0.45),
    0 0 30px rgba(168, 85, 247, 0.7);
  opacity: 0;
  animation: beamCollision 3.8s ease-out infinite;
}

.collision-one {
  left: 38%;
  animation-delay: 0.9s;
}

.collision-two {
  left: 62%;
  animation-delay: 1.7s;
}

@keyframes beamFall {
  0% {
    transform: translateY(0) scaleY(0.8);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  72% {
    opacity: 1;
  }
  100% {
    transform: translateY(650px) scaleY(1);
    opacity: 0;
  }
}

@keyframes beamCollision {
  0%, 66% {
    opacity: 0;
    transform: scale(0.5);
    box-shadow:
      0 0 0 0 rgba(236, 72, 153, 0.45),
      0 0 30px rgba(168, 85, 247, 0.7);
  }
  72% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
    box-shadow:
      0 0 0 70px rgba(236, 72, 153, 0),
      0 0 46px rgba(168, 85, 247, 0);
  }
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
}

.hero-buttons,
.dashboard-top {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent), var(--accent-2));
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 35px rgba(232, 62, 140, 0.25);
}

.btn-outline-light {
  border-color: var(--line);
  color: var(--text);
}

.encrypt-action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(163, 163, 163, 0.55) !important;
  border-radius: 10px !important;
  background: rgba(38, 38, 38, 0.92) !important;
  color: #d4d4d8 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.encrypt-action:hover,
.encrypt-action:focus-visible {
  color: #c7d2fe !important;
  border-color: rgba(129, 140, 248, 0.8) !important;
  transform: scale(1.025);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.2);
}

.encrypt-action:active {
  transform: scale(0.975);
}

.encrypt-action::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(100%) scale(1.25);
  background: linear-gradient(
    to top,
    rgba(129, 140, 248, 0) 0%,
    rgba(129, 140, 248, 0) 40%,
    rgba(129, 140, 248, 0.95) 50%,
    rgba(129, 140, 248, 0) 60%,
    rgba(129, 140, 248, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: encryptSweep 1s linear infinite alternate;
}

.encrypt-action:hover::before,
.encrypt-action:focus-visible::before {
  opacity: 1;
}

.encrypt-action-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
}

.encrypt-action .encrypt-lock {
  font-size: 0.95em;
}

@keyframes encryptSweep {
  from {
    transform: translateY(100%) scale(1.25);
  }
  to {
    transform: translateY(-100%) scale(1.25);
  }
}

body.light-mode .encrypt-action {
  background: rgba(245, 245, 245, 0.92) !important;
  color: #1f2937 !important;
  border-color: rgba(31, 41, 55, 0.24) !important;
}

body.light-mode .encrypt-action:hover,
body.light-mode .encrypt-action:focus-visible {
  color: #4f46e5 !important;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  backdrop-filter: blur(14px);
  padding: 2rem;
  transition: transform 0.5s, box-shadow 0.5s, border-color 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.glass-card:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(3deg);
  box-shadow: 0 25px 50px var(--shadow);
  border-color: rgba(232, 62, 140, 0.4);
}

.hero-widget {
  min-height: 380px;
}

.hero-tech-card {
  --tech-blur: 12px;
  --tech-move: 1.25rem;
  position: relative;
  border-radius: 18px;
  padding: 0;
  overflow: visible;
  cursor: default;
}

.hero-tech-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(2deg);
}

.hero-tech-base,
.hero-tech-glass {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  min-height: 100%;
}

.hero-tech-base {
  top: var(--tech-move);
  left: calc(var(--tech-move) * -1);
  background:
    linear-gradient(90deg, rgba(111, 66, 193, 0.95), rgba(232, 62, 140, 0.82)),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.28), transparent 30%);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.16);
}

.hero-tech-glass {
  top: calc(var(--tech-move) * -1);
  left: var(--tech-move);
  overflow: hidden;
  color: transparent;
  backdrop-filter: blur(var(--tech-blur));
  -webkit-backdrop-filter: blur(var(--tech-blur));
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow: 0 25px 50px var(--shadow);
}

.hero-tech-glass::before,
.hero-tech-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.hero-tech-glass::before {
  border: 1px solid rgba(255, 255, 255, 0.72);
  mask-image: linear-gradient(135deg, #fff, transparent 50%);
}

.hero-tech-glass::after {
  border: 1px solid rgba(232, 62, 140, 0.72);
  mask-image: linear-gradient(135deg, transparent 50%, #fff);
}

.hero-tech-content {
  height: 100%;
  min-height: 380px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background:
    linear-gradient(transparent 3.1rem, rgba(147, 197, 253, 0.92) 3.35rem, rgba(103, 232, 249, 0.76) 4.5rem) 0 0 / calc(100% - 3rem) 50%,
    linear-gradient(90deg, rgba(103, 232, 249, 0.72) 45%, rgba(147, 197, 253, 0.88) 72%, transparent 96%) 0 100% / 100% 50%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.48) 18%, rgba(255, 255, 255, 0.18)) 0 0 / 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  background-repeat: no-repeat;
}

.hero-tech-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-tech-content p {
  max-width: 540px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.6;
  font-weight: 700;
  margin: 0;
}

#hero-lottie {
  width: 120px;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 12px 22px rgba(111, 66, 193, 0.35));
}

.service-grid,
.packages-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-grid .glass-card span {
  color: var(--accent);
  font-weight: 900;
}

.service-grid h3,
.portfolio-grid h3,
.package-card h3,
.dashboard h3,
.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.85rem 0;
}

.service-grid p,
.package-card li,
.contact-card p,
.dashboard p,
.glass-card p,
.lead {
  color: var(--muted);
}

.service-grid a,
.instagram-link,
.contact-card a,
footer a {
  color: var(--accent);
  font-weight: 800;
}

.social-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.social-btn {
  --social-color: var(--accent);
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  position: relative;
  overflow: hidden;
  border-radius: 28%;
  background-color: #fff;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.18);
  opacity: 0.99;
  transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.social-btn::before {
  content: '';
  width: 120%;
  height: 120%;
  position: absolute;
  top: 90%;
  left: -110%;
  background-color: var(--social-color);
  transform: rotate(45deg);
  transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.social-btn i {
  position: relative;
  z-index: 1;
  color: var(--social-color);
  font-size: 1.8rem;
  transform: scale(0.82);
  transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}

.social-btn:hover,
.social-btn:focus {
  transform: translateY(-4px);
}

.social-btn:hover::before,
.social-btn:focus::before {
  top: -10%;
  left: -10%;
}

.social-btn:hover i,
.social-btn:focus i {
  color: #fff;
  transform: scale(1);
}

.social-btn.instagram {
  --social-color: #e4405f;
}

.social-btn.contact-form {
  --social-color: #dc4a38;
}

.social-btn.portfolio {
  --social-color: #6f42c1;
}

.social-btn.packages {
  --social-color: #00aff0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  transition: all 0.5s;
}

.portfolio-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  cursor: zoom-in;
}

.filter-btns {
  text-align: center;
  margin-bottom: 2rem;
}

.gooey-search-wrap {
  display: flex;
  justify-content: center;
  margin: -1rem 0 1.5rem;
}

.gooey-input {
  position: relative;
  width: min(460px, 100%);
  isolation: isolate;
  filter: url("#gooey");
}

.gooey-input input {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(232, 62, 140, 0.35);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--text);
  padding: 0 1.35rem;
  outline: none;
  box-shadow: 0 18px 40px rgba(232, 62, 140, 0.12);
  backdrop-filter: blur(16px);
}

.gooey-input input::placeholder {
  color: var(--muted);
}

.gooey-input input:focus {
  border-color: var(--accent);
}

.gooey-blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(45deg, var(--accent), var(--accent-2));
  transform: translateY(-50%);
  opacity: 0.8;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.blob-one {
  right: 18px;
}

.blob-two {
  right: 44px;
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.blob-three {
  right: 70px;
  width: 12px;
  height: 12px;
  opacity: 0.35;
}

.gooey-input:focus-within .blob-one {
  transform: translate(16px, -50%) scale(1.15);
}

.gooey-input:focus-within .blob-two {
  transform: translate(30px, -50%) scale(1.35);
}

.gooey-input:focus-within .blob-three {
  transform: translate(42px, -50%) scale(1.55);
  opacity: 0.7;
}

.filter-btns button {
  margin: 0.35rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--accent-2);
  color: #fff;
  transition: 0.3s;
  font-weight: 700;
}

.filter-btns button.active,
.filter-btns button:hover {
  background: rgba(38, 38, 38, 0.92);
  transform: scale(1.05);
}

.filter-btns button.active.encrypt-action {
  border-color: rgba(232, 62, 140, 0.85) !important;
  box-shadow: 0 12px 28px rgba(232, 62, 140, 0.18);
}

.macbook-scroll {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.macbook-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 1rem;
}

.macbook-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.macbook-stage {
  position: relative;
  perspective: 1200px;
  padding: 2rem 0 3rem;
}

.showcase-badge {
  position: absolute;
  top: 0.6rem;
  right: 13%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  transform: rotate(-12deg);
  box-shadow: 0 18px 36px var(--shadow);
}

.macbook-lid {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 24px 24px 14px 14px;
  background: linear-gradient(145deg, #1f2937, #06070a);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotateX(8deg);
  transform-origin: bottom center;
  box-shadow: 0 40px 90px var(--shadow);
}

.macbook-camera {
  width: 7px;
  height: 7px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #374151;
}

.macbook-screen {
  min-height: 360px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(232, 62, 140, 0.28), rgba(111, 66, 193, 0.16)),
    url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1100&q=80') center/cover;
  position: relative;
}

.macbook-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 17, 23, 0.84), rgba(13, 17, 23, 0.35));
}

.screen-topbar,
.screen-hero,
.screen-grid {
  position: relative;
  z-index: 1;
}

.screen-topbar {
  display: flex;
  gap: 7px;
  padding: 16px;
}

.screen-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
}

.screen-topbar span:nth-child(2) {
  background: #facc15;
}

.screen-topbar span:nth-child(3) {
  background: #22c55e;
}

.screen-hero {
  padding: 4rem 2rem 1.5rem;
  max-width: 430px;
}

.screen-hero strong {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1;
}

.screen-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1rem;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 2rem 2rem;
}

.screen-grid span {
  min-height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.macbook-base {
  width: min(780px, 106%);
  height: 28px;
  margin: -1px auto 0;
  border-radius: 8px 8px 38px 38px;
  background: linear-gradient(180deg, #d1d5db, #6b7280);
  box-shadow: 0 26px 50px var(--shadow);
}

.apple-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.apple-glass-card {
  position: relative;
  min-height: 430px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid var(--line);
}

.apple-glass-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.apple-glass-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.apple-glass-card:hover {
  box-shadow: 0 28px 60px var(--shadow);
}

.apple-glass-card:hover img {
  transform: scale(1.05);
}

.apple-glass-card:hover .apple-glass-overlay,
.apple-glass-card.is-tilting .apple-glass-overlay {
  opacity: 1;
}

.apple-card-content {
  text-align: center;
  max-width: 280px;
  padding: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.12s, transform 0.6s ease 0.12s;
}

.apple-glass-card:hover .apple-card-content,
.apple-glass-card.is-tilting .apple-card-content {
  opacity: 1;
  transform: translateY(0);
}

.apple-glass-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.apple-glass-overlay p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
}

.apple-glass-overlay button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.55rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  font-weight: 700;
}

.light-sweep {
  position: absolute;
  width: 150%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) rotate(45deg);
  pointer-events: none;
}

.apple-glass-card:hover .light-sweep,
.apple-glass-card.is-tilting .light-sweep {
  animation: lightSweep 2s ease-in-out forwards;
}

@keyframes lightSweep {
  to {
    transform: translateX(100%) rotate(45deg);
  }
}

body.light-mode .apple-glass-overlay {
  background: rgba(255, 255, 255, 0.28);
  color: #111827;
}

body.light-mode .apple-glass-overlay p {
  color: rgba(17, 24, 39, 0.78);
}

body.light-mode .apple-glass-overlay button {
  color: #111827;
  background: rgba(255, 255, 255, 0.54);
}

.package-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.package-card strong {
  font-size: 1.6rem;
}

.package-card.featured {
  border-color: rgba(232, 62, 140, 0.62);
  transform: translateY(-8px);
}

.skill-chart {
  width: 150px;
  max-width: 150px;
  margin: 0 auto;
}

.dashboard {
  max-width: 960px;
  margin: 0 auto;
}

.dashboard-top {
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dashboard-grid div,
.panel-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

body.light-mode .dashboard-grid div,
body.light-mode .panel-metric {
  background: rgba(17, 24, 39, 0.04);
}

.dashboard-grid span,
.panel-metric span {
  color: var(--muted);
  display: block;
  margin-bottom: 0.35rem;
}

.dashboard-grid strong,
.panel-metric strong {
  font-size: 2rem;
}

.task-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.task-list p {
  margin: 0;
}

.task-list span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: var(--accent);
  margin-right: 0.6rem;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
  min-height: 52px;
}

.form-control::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.15);
}

.form-select option {
  color: #111827;
}

.form-status {
  min-height: 24px;
  margin: 0;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: #0a0d11;
}

body.light-mode footer {
  background: #eef2f7;
}

.trwpwhatsappall {
  position: fixed;
  z-index: 9997;
  right: 16px;
  bottom: 16px;
  width: min(310px, calc(100vw - 32px));
  font-family: 'Inter', sans-serif;
}

.trwpwhatsappballon {
  position: relative;
  display: none;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--panel-strong);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 54px var(--shadow);
}

.trwpwhatsappballon.is-open {
  display: block;
  animation: whatsappPop 0.28s ease both;
}

.trwpwhatsapptitle {
  background: linear-gradient(45deg, #22c15e, #16a34a);
  color: white;
  padding: 16px 42px 16px 16px;
  text-align: center;
  font-weight: 800;
}

.trwpwhatsappmessage {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  font-weight: 600;
}

.trwpwhatsappinput {
  background: rgba(255, 255, 255, 0.94);
  padding: 0 12px 12px;
}

.trwpwhatsappinput form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trwpwhatsappinput input[type="text"] {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 46px 0 12px;
  font: 500 0.88rem 'Inter', sans-serif;
  background-color: #efefef;
  border: 1px solid #d4d4d4;
  color: #111827;
  outline: none;
}

.trwpwhatsappinput input[type="text"]:focus {
  border-color: #22c15e;
  box-shadow: 0 0 0 3px rgba(34, 193, 94, 0.18);
}

.trwpwhatsappsendbutton {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #22c15e;
  cursor: pointer;
}

.trwpwhatsappbutton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 10px;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(45deg, #22c15e, #16a34a);
  box-shadow: 0 14px 32px rgba(34, 193, 94, 0.28);
  font-weight: 800;
  user-select: none;
}

.trwpwhatsappbutton i {
  font-size: 1.2rem;
}

.kapat {
  position: absolute;
  right: 10px;
  top: 9px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  cursor: pointer;
}

@keyframes whatsappPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  padding: 1.5rem;
}

#lightbox.is-open {
  display: flex;
}

#lightbox img {
  max-width: min(900px, 86vw);
  max-height: 62vh;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: contain;
}

#lightbox .close-btn,
#lightbox .nav-btn {
  position: absolute;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  width: 48px;
  height: 48px;
}

#lightbox .close-btn {
  top: 20px;
  right: 30px;
}

#lightbox .close-btn:hover,
#lightbox .nav-btn:hover {
  color: var(--accent);
}

#lightbox .nav-btn {
  top: 50%;
  transform: translateY(-50%);
}

#lightbox .nav-prev {
  left: 30px;
}

#lightbox .nav-next {
  right: 30px;
}

#lightbox .project-info {
  text-align: center;
  max-width: 680px;
}

#lightbox .project-info h3 {
  margin-bottom: 10px;
}

#lightbox .project-info p {
  margin-bottom: 5px;
  color: #ccc;
}

#lightbox .project-info a {
  color: var(--accent);
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(390px, 92vw);
  height: 100vh;
  z-index: 9990;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--line);
  padding: 5rem 1.5rem 1.5rem;
  transform: translateX(105%);
  transition: transform 0.35s ease;
}

.side-panel.is-open {
  transform: translateX(0);
}

.side-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
}

.panel-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.panel-backdrop,
.project-popup {
  position: fixed;
  inset: 0;
  z-index: 9989;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.panel-backdrop.is-open,
.project-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.project-popup {
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.popup-card {
  width: min(520px, 94vw);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
}

@media (max-width: 991px) {
  .nav-actions {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .theme-option {
    padding: 0.58rem 0.68rem;
  }

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

  .macbook-scroll {
    grid-template-columns: 1fr;
  }

  .hero-widget {
    max-width: 560px;
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 76px 0;
  }

  #hero {
    min-height: auto;
    padding-top: 115px;
    text-align: left;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .beams-section {
    min-height: 360px;
  }

  .beam-gradient-text {
    width: auto;
  }

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

  .social-btn {
    width: 56px;
    height: 56px;
  }

  .trwpwhatsappall {
    right: 10px;
    bottom: 10px;
    width: min(300px, calc(100vw - 20px));
  }

  .theme-option span:last-child {
    display: none;
  }

  .theme-option {
    min-width: 38px;
    justify-content: center;
  }

  .glass-card {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .hero-tech-card {
    --tech-move: 0.75rem;
    min-height: 360px;
  }

  .hero-tech-content {
    min-height: 360px;
  }

  .portfolio-grid,
  .service-grid,
  .packages-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }

  .macbook-screen {
    min-height: 260px;
  }

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

  .apple-glass-card,
  .apple-glass-card img {
    min-height: 340px;
  }

  .apple-glass-overlay {
    opacity: 1;
  }

  .apple-card-content {
    opacity: 1;
    transform: translateY(0);
  }

  #lightbox .nav-prev {
    left: 8px;
  }

  #lightbox .nav-next {
    right: 8px;
  }
}

@media (hover: none) {
  .apple-glass-overlay {
    opacity: 1;
  }

  .apple-card-content {
    opacity: 1;
    transform: translateY(0);
  }
}
