* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --bg-soft: #0b1729;
  --card: #101e33;
  --card-2: #142641;
  --card-3: #172b48;
  --text: #f5f7fb;
  --text-soft: #aab8cc;
  --muted: #72839e;
  --primary: #5884ff;
  --primary-2: #765df0;
  --green: #12c28b;
  --cyan: #0eb6c4;
  --orange: #ff9b2f;
  --border: rgba(123, 151, 196, 0.2);
  --border-strong: rgba(91, 132, 255, 0.38);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  --container: min(1200px, calc(100% - 40px));
  --nav-height: 74px;
}

body.light-theme {
  --bg: #f7faff;
  --bg-soft: #edf4ff;
  --card: #ffffff;
  --card-2: #f4f7fc;
  --card-3: #eef4ff;
  --text: #111827;
  --text-soft: #61708a;
  --muted: #8795aa;
  --primary: #356df3;
  --primary-2: #705cf0;
  --green: #08ad7d;
  --cyan: #0a9eaa;
  --border: rgba(44, 67, 103, 0.13);
  --border-strong: rgba(53, 109, 243, 0.3);
  --shadow: 0 24px 60px rgba(54, 76, 116, 0.14);
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

body.no-scroll {
  overflow: hidden;
}

body.assistant-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(93, 127, 178, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 127, 178, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
}

body.light-theme .background-grid {
  background-image:
    linear-gradient(rgba(71, 103, 150, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 103, 150, 0.05) 1px, transparent 1px);
}

.background-glow {
  position: fixed;
  z-index: -3;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.glow-left {
  left: -240px;
  top: 200px;
  width: 560px;
  height: 560px;
  background: rgba(53, 101, 255, 0.17);
}

.glow-right {
  right: -240px;
  bottom: 40px;
  width: 560px;
  height: 560px;
  background: rgba(16, 196, 149, 0.14);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: #06111f;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.intro-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 45px 45px;
}

.intro-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.intro-glow-one {
  width: 380px;
  height: 380px;
  left: -150px;
  top: 10%;
  background: rgba(70, 108, 255, 0.28);
}

.intro-glow-two {
  width: 380px;
  height: 380px;
  right: -150px;
  bottom: 8%;
  background: rgba(23, 196, 151, 0.22);
}

.intro-inner {
  position: relative;
  z-index: 2;
  width: min(92%, 560px);
  text-align: center;
}

.intro-logo {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #3977ff, #755df2);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 20px 55px rgba(59, 111, 255, 0.35);
  animation: introLogo 1.4s ease-in-out infinite alternate;
}

.intro-logo span {
  position: absolute;
  right: -3px;
  top: 8px;
  width: 12px;
  height: 12px;
  border: 3px solid #06111f;
  border-radius: 50%;
  background: #16d497;
}

.intro-inner > p {
  margin-bottom: 8px;
  color: #7899ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 4px;
}

.intro-inner h1 {
  font-size: clamp(2.4rem, 8vw, 4.1rem);
  line-height: 1;
  letter-spacing: -2px;
}

.intro-inner h1 strong {
  color: #668dff;
}

.intro-bar {
  width: 110px;
  height: 3px;
  margin: 21px auto;
  border-radius: 99px;
  background: linear-gradient(90deg, #5786ff, #19ce99);
}

.intro-inner h2 {
  margin-bottom: 9px;
  font-size: 1rem;
}

.intro-inner > small {
  color: #9babc0;
  font-size: 0.7rem;
}

.intro-loading {
  width: min(240px, 75%);
  height: 4px;
  margin: 27px auto 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.intro-loading span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, #5483ff, #18cb99);
  animation: introProgress 1.65s ease forwards;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--nav-height);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}

body.light-theme .navbar {
  background: rgba(248, 251, 255, 0.91);
}

.navbar.scrolled {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.17);
}

.nav-container {
  width: var(--container);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.brand-box {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #3d79ff, #725cf0);
  box-shadow: 0 12px 28px rgba(65, 113, 255, 0.26);
}

.brand-name {
  min-width: 0;
}

.brand-name strong {
  color: var(--primary);
}

.brand-online {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(18, 194, 139, 0.13);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > a {
  position: relative;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.nav-links > a:hover,
.nav-links > a.active {
  color: var(--primary);
  background: rgba(83, 128, 255, 0.12);
}

.nav-links > a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 23px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--primary);
}

.menu-close,
.mobile-whatsapp {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-button,
.menu-button {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--card);
  cursor: pointer;
}

.theme-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.talk-button {
  min-height: 44px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #427aff, #755cf0);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 12px 27px rgba(71, 112, 255, 0.22);
}

.menu-button {
  display: none;
}

.nav-overlay {
  display: none;
}

.hero {
  width: var(--container);
  min-height: calc(100vh - var(--nav-height));
  margin: auto;
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 70px;
}

.hero-content,
.hero-photo {
  min-width: 0;
}

.available-badge {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 21px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(18, 194, 139, 0.27);
  border-radius: 999px;
  color: #57dbac;
  background: rgba(18, 194, 139, 0.09);
  font-size: 0.72rem;
  font-weight: 850;
}

.available-badge span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #16ce96;
  box-shadow: 0 0 0 6px rgba(22, 206, 150, 0.12);
}

.eyebrow {
  margin-bottom: 15px;
  color: #6c91ff;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.hero h1 {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 0.99;
  letter-spacing: -4px;
}

.hero-name {
  display: block;
  margin-top: 11px;
  min-height: 2.1em;
  color: transparent;
  background: linear-gradient(90deg, #3b78ff, #775dff, #20abc1);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-name b {
  color: #5085ff;
  font-weight: 400;
  animation: cursorBlink 0.8s steps(1) infinite;
}

.hero h2 {
  margin: 25px 0 20px;
  color: var(--text);
  font-size: 1.17rem;
  line-height: 1.65;
}

.hero h2 i {
  margin: 0 6px;
  color: var(--primary);
  font-style: normal;
}

.hero-description {
  max-width: 750px;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.primary-button,
.secondary-button {
  min-height: 49px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #3977ff, #745cf1);
  box-shadow: 0 15px 30px rgba(59, 112, 255, 0.25);
}

.secondary-button {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--card);
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
}

.photo-glow {
  position: absolute;
  inset: 8% -8% -8%;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(74, 116, 255, 0.24),
    rgba(17, 201, 150, 0.17)
  );
  filter: blur(65px);
}

.photo-frame {
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 31px;
  background: linear-gradient(
    145deg,
    rgba(90, 132, 255, 0.11),
    rgba(17, 196, 149, 0.05)
  );
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 23px;
  object-fit: cover;
  object-position: center top;
}

.stats {
  width: var(--container);
  margin: -5px auto 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.stats article {
  min-width: 0;
  min-height: 142px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
}

.stats article > i {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 1.2rem;
}

.stats strong {
  color: var(--text);
  font-size: 1.33rem;
}

.stats span {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.section {
  width: var(--container);
  margin: auto;
  padding: 95px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 45px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title > span,
.project-heading > div > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  color: var(--text);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -2.3px;
}

.section-title h2 strong {
  color: var(--primary);
}

.section-title p,
.project-heading p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 0.91rem;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 55px;
}

.about-grid > * {
  min-width: 0;
}

.about-image {
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 21px;
  object-fit: cover;
  object-position: center top;
}

.about-text h3 {
  margin-bottom: 6px;
  font-size: 2rem;
  line-height: 1.2;
}

.about-text h4 {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 0.92rem;
}

.about-text > p {
  margin-bottom: 15px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.about-features {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.about-features article {
  min-width: 0;
  padding: 16px;
  display: flex;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--card);
}

.about-features i {
  margin-top: 3px;
  color: var(--primary);
}

.about-features strong,
.about-features span {
  display: block;
}

.about-features strong {
  font-size: 0.79rem;
}

.about-features span {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.66rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.services-grid article {
  position: relative;
  min-width: 0;
  min-height: 245px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: var(--card);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.services-grid article:hover {
  transform: translateY(-7px);
  border-color: var(--border-strong);
}

.services-grid article > b {
  position: absolute;
  right: 23px;
  top: 20px;
  color: var(--muted);
  font-size: 0.7rem;
}

.services-grid article > i {
  width: 47px;
  height: 47px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(82, 128, 255, 0.11);
}

.services-grid h3 {
  margin-bottom: 9px;
  font-size: 1rem;
}

.services-grid p {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.projects-section {
  padding-top: 90px;
}

.project-heading {
  margin: 85px 0 30px;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}

.project-heading:first-of-type {
  margin-top: 45px;
}

.project-heading h3 {
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.project-heading p {
  max-width: 520px;
  margin-top: 0;
}

.sheet-project-list {
  display: grid;
  gap: 34px;
}

.sheet-project {
  min-width: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 27px;
  background:
    linear-gradient(
      135deg,
      rgba(43, 85, 158, 0.13),
      rgba(9, 193, 148, 0.05)
    ),
    var(--card);
}

.sheet-project-reverse .sheet-side {
  order: 2;
}

.sheet-project-reverse .sheet-details {
  order: 1;
}

.sheet-side,
.sheet-details {
  min-width: 0;
}

.sheet-browser {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--bg-soft);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.17);
}

.browser-top {
  height: 45px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--card-2);
  font-size: 0.62rem;
  font-weight: 800;
}

.browser-top > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.browser-top > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: rgba(83, 130, 255, 0.12);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dots i:nth-child(1) {
  background: #ff6872;
}

.browser-dots i:nth-child(2) {
  background: #ffc252;
}

.browser-dots i:nth-child(3) {
  background: #38cf8e;
}

.sheet-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff;
}

.sheet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
  transition: transform 0.8s ease;
}

.sheet-project.project-visible .sheet-media img {
  animation: sheetZoom 7s ease-in-out infinite alternate;
}

.sheet-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -5%;
  height: 3px;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(62, 122, 255, 0.85),
    rgba(23, 209, 158, 0.85),
    transparent
  );
  box-shadow: 0 0 20px rgba(67, 128, 255, 0.5);
}

.sheet-project.project-visible .sheet-scan {
  animation: sheetScan 4s ease-in-out infinite;
}

.sheet-workflow {
  margin-top: 13px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-2);
}

.workflow-title {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.workflow-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.workflow-step {
  min-width: 0;
  text-align: center;
  opacity: 0.48;
  transform: translateY(5px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.workflow-step i {
  width: 35px;
  height: 35px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: rgba(79, 126, 255, 0.1);
}

.workflow-step small,
.workflow-step strong {
  display: block;
}

.workflow-step small {
  color: var(--muted);
  font-size: 0.44rem;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.workflow-step strong {
  margin-top: 2px;
  color: var(--text);
  font-size: 0.55rem;
}

.workflow-line {
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--border);
}

.workflow-line span {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, var(--primary), var(--green));
}

.sheet-project.project-visible .step-one {
  animation: workflowStep 4s ease infinite 0s;
}

.sheet-project.project-visible .line-one span {
  animation: workflowLine 4s ease infinite 0.45s;
}

.sheet-project.project-visible .step-two {
  animation: workflowStep 4s ease infinite 0.85s;
}

.sheet-project.project-visible .line-two span {
  animation: workflowLine 4s ease infinite 1.3s;
}

.sheet-project.project-visible .step-three {
  animation: workflowStep 4s ease infinite 1.7s;
}

.sheet-project.project-visible .line-three span {
  animation: workflowLine 4s ease infinite 2.15s;
}

.sheet-project.project-visible .step-four {
  animation: workflowStep 4s ease infinite 2.55s;
}

.sheet-workflow > p {
  margin-top: 12px;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.61rem;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.status-label > i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(18, 194, 139, 0.11);
}

.sheet-details h3 {
  margin: 19px 0 17px;
  color: var(--text);
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -2px;
}

.sheet-details > p {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.8;
}

.project-features {
  margin-top: 23px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.project-features span {
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-soft);
  background: var(--card-2);
  font-size: 0.68rem;
  font-weight: 800;
}

.project-features i {
  width: 22px;
  color: var(--primary);
}

.project-note {
  margin-top: 15px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(80, 130, 255, 0.26);
  border-radius: 12px;
  color: var(--text-soft);
  background: rgba(75, 122, 255, 0.07);
  font-size: 0.65rem;
}

.project-note i {
  color: var(--primary);
}

.project-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.project-primary,
.project-secondary {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 900;
}

.project-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #477bff, #745cf0);
}

.project-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--card-2);
}

.app-heading,
.client-heading {
  margin-top: 110px;
}

.hisabflow-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background: var(--card);
}

.hisabflow-promo,
.hisabflow-details {
  min-width: 0;
}

.hisabflow-promo {
  position: relative;
  min-height: 560px;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 92%, rgba(13, 202, 151, 0.26), transparent 36%),
    linear-gradient(135deg, #10244b, #08152d 60%);
  color: #fff;
}

.hf-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  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: 44px 44px;
}

.hf-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  bottom: -100px;
  border-radius: 50%;
  background: rgba(20, 203, 155, 0.25);
  filter: blur(55px);
}

.hf-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
}

.hf-logo {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #4b80ff, #755cf0);
  font-size: 1.2rem;
  font-weight: 900;
}

.hf-brand strong,
.hf-brand span {
  display: block;
}

.hf-brand strong {
  font-size: 1rem;
}

.hf-brand span {
  color: #a9b9d3;
  font-size: 0.56rem;
}

.hf-copy {
  position: relative;
  z-index: 2;
  margin-top: 100px;
  max-width: 430px;
}

.hf-copy small {
  color: #67ead0;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.hf-copy h3 {
  margin: 15px 0;
  font-size: clamp(2.45rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -2px;
}

.hf-copy h3 strong {
  color: #ff9f33;
}

.hf-copy p {
  color: #c1cbe0;
  font-size: 0.8rem;
  font-weight: 800;
}

.hf-mini-tags {
  position: relative;
  z-index: 3;
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hf-mini-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e8edfa;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.56rem;
  font-weight: 800;
}

.hf-phone {
  position: absolute;
  right: -55px;
  bottom: -95px;
  width: 260px;
  height: 460px;
  padding: 12px;
  transform: rotate(4deg);
  border: 8px solid #040914;
  border-radius: 40px;
  background: #08101d;
  box-shadow: -25px 30px 65px rgba(0, 0, 0, 0.35);
}

.hf-speaker {
  width: 70px;
  height: 14px;
  margin: -7px auto 7px;
  border-radius: 0 0 13px 13px;
  background: #02050b;
}

.hf-screen {
  height: 100%;
  padding: 20px 14px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #101b35, #0a1223);
}

.hf-phone-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hf-phone-title > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #5e74ff;
  font-weight: 900;
}

.hf-phone-title strong,
.hf-phone-title small {
  display: block;
}

.hf-phone-title strong {
  font-size: 0.65rem;
}

.hf-phone-title small {
  color: #8492ae;
  font-size: 0.45rem;
}

.hf-assistant-card {
  margin-top: 26px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(105, 135, 255, 0.18);
  border-radius: 16px;
  background: #131f3c;
}

.hf-assistant-card i {
  color: #80a0ff;
}

.hf-assistant-card small,
.hf-assistant-card strong {
  display: block;
}

.hf-assistant-card small {
  color: #8593ac;
  font-size: 0.43rem;
}

.hf-assistant-card strong {
  margin-top: 2px;
  font-size: 0.55rem;
}

.hf-tools {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.hf-tools div {
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.hf-tools i {
  color: #6c93ff;
}

.hf-tools small {
  margin-top: -20px;
  font-size: 0.43rem;
}

.hisabflow-details {
  position: relative;
  padding: 55px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hisabflow-number {
  position: absolute;
  right: 28px;
  top: 27px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(82, 128, 255, 0.11);
  font-size: 0.7rem;
  font-weight: 900;
}

.hisabflow-details > h3 {
  margin: 22px 0 4px;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -2px;
}

.hisabflow-details > h4 {
  color: var(--primary);
  font-size: 0.86rem;
}

.hisabflow-details > p {
  margin-top: 19px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.app-highlight {
  margin-top: 22px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(70, 128, 255, 0.23);
  border-radius: 15px;
  background: linear-gradient(
    100deg,
    rgba(69, 110, 255, 0.12),
    rgba(18, 194, 139, 0.09)
  );
}

.app-highlight > i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #4d7fff, #755cf0);
}

.app-highlight strong,
.app-highlight span {
  display: block;
}

.app-highlight strong {
  font-size: 0.75rem;
}

.app-highlight span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.61rem;
}

.app-tags {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.app-tags span,
.built-with span,
.portfolio-tags span {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  background: var(--card-2);
  font-size: 0.54rem;
  font-weight: 800;
}

.built-with {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.built-with b {
  margin-right: 2px;
  color: var(--muted);
  font-size: 0.53rem;
  letter-spacing: 1px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 0.3s ease;
}

.portfolio-card:nth-child(2) {
  transition-delay: 0.12s;
}

.portfolio-card:nth-child(3) {
  transition-delay: 0.24s;
}

.portfolio-card.project-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.portfolio-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-7px) scale(1.005);
}

.portfolio-browser {
  margin: 12px 12px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--bg-soft);
}

.portfolio-bar {
  height: 43px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--card-2);
  font-size: 0.54rem;
}

.portfolio-bar > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-preview {
  position: relative;
  min-height: 240px;
  padding: 35px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.preview-orb {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.18;
  background: var(--primary);
  animation: previewFloat 5s ease-in-out infinite;
}

.medical-card .preview-orb {
  background: #16c996;
}

.personal-card .preview-orb {
  background: #7b5dff;
}

.preview-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary);
  background: rgba(82, 129, 255, 0.11);
  font-size: 1.2rem;
}

.medical-card .preview-icon {
  color: #17d59f;
  background: rgba(23, 213, 159, 0.11);
}

.personal-card .preview-icon {
  color: #886dff;
  background: rgba(136, 109, 255, 0.11);
}

.portfolio-preview > small {
  position: relative;
  color: var(--muted);
  font-size: 0.51rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.portfolio-preview > strong {
  position: relative;
  margin-top: 7px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.portfolio-preview > span {
  position: relative;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.preview-lines {
  position: relative;
  width: 65%;
  margin-top: 23px;
  display: grid;
  gap: 5px;
}

.preview-lines i {
  height: 5px;
  margin: auto;
  border-radius: 99px;
  background: rgba(98, 130, 177, 0.18);
  animation: previewLine 2.5s ease-in-out infinite;
}

.preview-lines i:nth-child(1) {
  width: 100%;
}

.preview-lines i:nth-child(2) {
  width: 80%;
  animation-delay: 0.2s;
}

.preview-lines i:nth-child(3) {
  width: 60%;
  animation-delay: 0.4s;
}

.portfolio-content {
  padding: 22px;
}

.portfolio-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.portfolio-top > div {
  min-width: 0;
}

.portfolio-top small {
  color: var(--primary);
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.medical-card .portfolio-top small {
  color: #1dd2a0;
}

.portfolio-top h4 {
  margin-top: 4px;
  font-size: 1rem;
}

.portfolio-top > b {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(82, 128, 255, 0.1);
  font-size: 0.6rem;
}

.portfolio-content > p {
  min-height: 67px;
  margin-top: 13px;
  color: var(--text-soft);
  font-size: 0.72rem;
}

.portfolio-tags {
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-content > a {
  min-height: 44px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #4279ff, #735cf1);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 900;
}

.skills-box {
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 23px;
  background: var(--card);
}

.skill-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--border);
}

.skill-tab {
  position: relative;
  min-height: 64px;
  border: 0;
  color: var(--text-soft);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.skill-tab.active {
  color: var(--primary);
  background: rgba(82, 128, 255, 0.07);
}

.skill-tab.active::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: var(--primary);
}

.skill-panel {
  display: none;
  padding: 34px;
}

.skill-panel.active {
  display: block;
  animation: panelIn 0.4s ease;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.skills-cloud span {
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text-soft);
  background: var(--card-2);
  font-size: 0.69rem;
  font-weight: 800;
}

.skills-cloud i {
  color: var(--primary);
}

.work-timeline {
  max-width: 700px;
  margin: auto;
}

.work-timeline article {
  position: relative;
  padding: 0 0 26px 34px;
}

.work-timeline article:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: -3px;
  width: 2px;
  background: linear-gradient(var(--primary), rgba(82, 128, 255, 0.05));
}

.work-timeline article > span {
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--card);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(83, 128, 255, 0.13);
}

.work-timeline article > div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--card-2);
}

.work-timeline small {
  color: var(--primary);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.work-timeline h3 {
  margin: 5px 0;
  font-size: 0.9rem;
}

.work-timeline p {
  color: var(--text-soft);
  font-size: 0.7rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 28px;
}

.contact-grid > * {
  min-width: 0;
}

.availability-card,
.contact-item {
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--card);
}

.availability-card {
  margin-bottom: 10px;
}

.availability-card > span {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(18, 194, 139, 0.1);
}

.availability-card strong,
.availability-card p {
  display: block;
}

.availability-card strong {
  font-size: 0.8rem;
}

.availability-card p {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.65rem;
}

.contact-item {
  margin-bottom: 10px;
  text-decoration: none;
}

.contact-item > i {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: rgba(82, 128, 255, 0.1);
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  color: var(--muted);
  font-size: 0.55rem;
}

.contact-item strong {
  overflow-wrap: anywhere;
  font-size: 0.76rem;
}

.social-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.social-grid a {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 850;
}

.social-grid i {
  color: var(--primary);
}

.contact-form-card {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
}

.form-heading {
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-heading > i {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #477bff, #745cf0);
}

.form-heading h3 {
  font-size: 1rem;
}

.form-heading p {
  color: var(--text-soft);
  font-size: 0.62rem;
}

.contact-form-card form {
  display: grid;
  gap: 8px;
}

.contact-form-card label {
  margin-top: 5px;
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 850;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  outline: none;
  border-radius: 12px;
  color: var(--text);
  background: var(--card-2);
  font-size: 0.78rem;
}

.contact-form-card input {
  height: 48px;
  padding: 0 14px;
}

.contact-form-card textarea {
  padding: 13px 14px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(82, 128, 255, 0.09);
}

.contact-form-card form > button {
  min-height: 49px;
  margin-top: 11px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #3d79ff, #755cf0);
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 900;
}

.footer {
  width: var(--container);
  margin: 30px auto 0;
  border-top: 1px solid var(--border);
}

.footer-main {
  min-height: 125px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
}

.footer-main strong {
  font-size: 0.86rem;
}

.footer-main p {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.62rem;
}

.footer-main nav,
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-main nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.65rem;
}

.footer-social a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  text-decoration: none;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: 0.6rem;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.video-modal.show {
  opacity: 1;
  visibility: visible;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 12, 0.84);
  backdrop-filter: blur(12px);
}

.video-dialog {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  border: 1px solid rgba(111, 143, 196, 0.2);
  border-radius: 21px;
  background: #0d1728;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.video-header {
  min-height: 67px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.video-header small {
  color: #6f94ff;
  font-size: 0.52rem;
  font-weight: 900;
}

.video-header h3 {
  color: #fff;
  font-size: 0.9rem;
}

.video-header button {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.video-container {
  padding: 13px;
  display: flex;
  justify-content: center;
  background: #03070d;
}

.video-container video {
  width: 100%;
  max-height: 72dvh;
  border-radius: 13px;
  background: #000;
}

.vertical-video video {
  width: auto;
  height: min(68dvh, 620px);
  aspect-ratio: 9 / 16;
}

.assistant-button {
  position: fixed;
  right: 17px;
  bottom: 76px;
  z-index: 1600;
  min-height: 54px;
  padding: 7px 15px 7px 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(103, 139, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #3676f6, #705bec);
  box-shadow: 0 16px 40px rgba(55, 101, 235, 0.32);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.assistant-button:hover {
  transform: translateY(-3px);
}

.assistant-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.assistant-button > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
}

.assistant-button small {
  margin-top: 2px;
  opacity: 0.72;
  font-size: 0.5rem;
}

.assistant-panel {
  position: fixed;
  right: 17px;
  bottom: 143px;
  z-index: 4000;
  width: min(390px, calc(100vw - 28px));
  height: min(590px, calc(100dvh - 175px));
  max-height: calc(100dvh - 30px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 23px;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.97);
  transform-origin: bottom right;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.assistant-panel.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.assistant-header {
  min-height: 67px;
  padding: 10px 13px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(
      110deg,
      rgba(77, 124, 255, 0.11),
      rgba(19, 196, 147, 0.04)
    ),
    var(--card);
}

.assistant-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.assistant-title > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #497eff, #745cf0);
}

.assistant-title strong,
.assistant-title small {
  display: block;
}

.assistant-title strong {
  font-size: 0.82rem;
}

.assistant-title small {
  margin-top: 2px;
  color: var(--green);
  font-size: 0.53rem;
}

.assistant-header > button {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  border: 0;
  border-radius: 11px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.assistant-messages {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.assistant-message {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.assistant-message > div {
  max-width: 85%;
  padding: 11px 13px;
  overflow-wrap: anywhere;
  border-radius: 15px;
  font-size: 0.69rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.assistant-message.bot {
  justify-content: flex-start;
}

.assistant-message.bot > div {
  color: var(--text-soft);
  background: var(--card-2);
  border-bottom-left-radius: 5px;
}

.assistant-message.user {
  justify-content: flex-end;
}

.assistant-message.user > div {
  color: #fff;
  background: linear-gradient(135deg, #3674ed, #285fdb);
  border-bottom-right-radius: 5px;
}

.message-avatar {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #477bff, #705cef);
  font-size: 0.65rem;
  font-weight: 900;
}

.assistant-thinking {
  margin: 2px 0 13px;
  display: flex;
  justify-content: flex-start;
}

.assistant-thinking > div {
  min-width: 102px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 15px 15px 15px 5px;
  color: var(--text-soft);
  background: var(--card-2);
  font-size: 0.65rem;
}

.thinking-dots {
  display: inline-flex;
  gap: 3px;
}

.thinking-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  animation: thinkingDot 1s ease-in-out infinite;
}

.thinking-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.thinking-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.assistant-suggestions {
  flex: 0 0 auto;
  padding: 10px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  scrollbar-width: none;
}

.assistant-suggestions::-webkit-scrollbar {
  display: none;
}

.assistant-suggestions button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(89, 131, 255, 0.26);
  border-radius: 999px;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.53rem;
  font-weight: 850;
}

.assistant-form {
  flex: 0 0 auto;
  padding: 10px 12px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--card);
}

.assistant-form input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 13px;
  border: 1px solid var(--border);
  outline: none;
  border-radius: 13px;
  color: var(--text);
  background: var(--card-2);
  font-size: 0.72rem;
}

.assistant-form input:focus {
  border-color: var(--primary);
}

.assistant-form button {
  width: 52px;
  height: 50px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: #4e7fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.assistant-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.whatsapp-float {
  position: fixed;
  right: 17px;
  bottom: 17px;
  z-index: 1550;
  min-height: 49px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  color: #fff;
  background: #0bbb83;
  box-shadow: 0 15px 35px rgba(10, 180, 125, 0.24);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 900;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.top-button {
  position: fixed;
  left: 17px;
  bottom: 17px;
  z-index: 1500;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  background: var(--card);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.top-button.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.section-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-motion {
  opacity: 0;
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.motion-left {
  transform: translateX(-55px);
}

.motion-right {
  transform: translateX(55px);
}

.motion-up {
  transform: translateY(45px);
}

.project-motion.project-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes introLogo {
  from {
    transform: translateY(0) rotate(-2deg);
  }
  to {
    transform: translateY(-7px) rotate(2deg);
  }
}

@keyframes introProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

@keyframes sheetZoom {
  from {
    transform: scale(1.002);
  }
  to {
    transform: scale(1.045);
  }
}

@keyframes sheetScan {
  0% {
    top: -4%;
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  84% {
    opacity: 0.75;
  }
  100% {
    top: 103%;
    opacity: 0;
  }
}

@keyframes workflowStep {
  0%,
  100% {
    opacity: 0.48;
    transform: translateY(5px);
  }
  18%,
  55% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes workflowLine {
  0% {
    transform: translateX(-100%);
  }
  30%,
  65% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -10px, 0);
  }
}

@keyframes previewLine {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.94);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes thinkingDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (max-width: 1050px) {
  .hero {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  }

  .sheet-project {
    grid-template-columns: 1fr;
  }

  .sheet-project-reverse .sheet-side,
  .sheet-project-reverse .sheet-details {
    order: initial;
  }

  .hisabflow-card {
    grid-template-columns: 1fr;
  }

  .hisabflow-promo {
    min-height: 520px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 720px);
    --nav-height: 68px;
  }

  .talk-button {
    display: none;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
  }

  .menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: var(--text);
  }

  .nav-links {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2500;
    width: min(84vw, 350px);
    height: 100dvh;
    padding: 85px 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-right: 1px solid var(--border);
    background: var(--card);
    transform: translateX(-105%);
    transition: transform 0.3s ease;
  }

  .nav-links.show {
    transform: translateX(0);
  }

  .nav-links > a {
    padding: 13px 10px;
  }

  .nav-links > a.active::after {
    display: none;
  }

  .menu-close {
    position: absolute;
    right: 18px;
    top: 17px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 11px;
    color: var(--text);
    background: var(--card-2);
  }

  .mobile-whatsapp {
    margin-top: 15px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff !important;
    background: var(--green) !important;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: block;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.55);
    transition: 0.25s ease;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    min-height: auto;
    padding: 45px 0 55px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-photo {
    order: 1;
    width: min(100%, 340px);
    margin: auto;
  }

  .hero-content {
    order: 2;
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 4.2rem);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    width: min(100%, 380px);
    margin: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card:last-child {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-main nav,
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 650px) {
  :root {
    --container: calc(100% - 24px);
    --nav-height: 66px;
  }

  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .navbar {
    height: 66px;
  }

  .nav-container {
    width: calc(100% - 24px);
    max-width: 100%;
    gap: 9px;
  }

  .brand {
    gap: 7px;
    font-size: 1rem;
  }

  .brand-box {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-online {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
  }

  .theme-button,
  .menu-button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .hero {
    width: calc(100% - 24px);
    padding: 32px 0 45px;
    gap: 30px;
  }

  .hero-photo {
    width: min(100%, 295px);
    max-width: 295px;
  }

  .photo-frame {
    padding: 7px;
    border-radius: 25px;
  }

  .photo-frame img {
    aspect-ratio: 4 / 5;
    border-radius: 19px;
  }

  .available-badge {
    padding: 7px 10px;
    font-size: 0.62rem;
  }

  .eyebrow {
    font-size: 0.61rem;
    letter-spacing: 1.4px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -2px;
  }

  .hero-name {
    min-height: 2.05em;
  }

  .hero h2 {
    margin: 17px 0;
    font-size: 0.83rem;
    line-height: 1.7;
  }

  .hero-description {
    font-size: 0.78rem;
    line-height: 1.75;
  }

  .hero-buttons {
    margin-top: 20px;
  }

  .primary-button,
  .secondary-button {
    flex: 1 1 135px;
    min-width: 0;
    min-height: 45px;
    padding: 10px 12px;
    font-size: 0.68rem;
  }

  .stats {
    width: calc(100% - 24px);
    gap: 8px;
  }

  .stats article {
    min-height: 110px;
    padding: 14px;
    border-radius: 16px;
  }

  .stats strong {
    font-size: 1rem;
  }

  .stats span {
    font-size: 0.6rem;
  }

  .section {
    width: calc(100% - 24px);
    padding: 63px 0;
  }

  .section-title {
    margin-bottom: 31px;
  }

  .section-title h2 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
    letter-spacing: -1.3px;
  }

  .section-title p {
    font-size: 0.78rem;
  }

  .about-text h3 {
    font-size: 1.55rem;
  }

  .about-text h4 {
    font-size: 0.76rem;
  }

  .about-text > p {
    font-size: 0.78rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid article {
    min-height: auto;
    padding: 22px;
  }

  .project-heading {
    margin-top: 70px;
  }

  .sheet-project {
    padding: 12px;
    gap: 23px;
    border-radius: 20px;
  }

  .browser-top {
    height: 40px;
    padding: 0 9px;
    gap: 7px;
    font-size: 0.49rem;
  }

  .browser-top > b {
    width: 30px;
    height: 30px;
  }

  .sheet-media {
    aspect-ratio: 16 / 9;
  }

  .sheet-workflow {
    padding: 11px;
  }

  .workflow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .workflow-line {
    display: none;
  }

  .workflow-step {
    padding: 8px 4px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(82, 128, 255, 0.04);
  }

  .sheet-workflow > p {
    font-size: 0.55rem;
  }

  .sheet-details {
    padding: 3px 4px 8px;
  }

  .sheet-details h3 {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }

  .sheet-details > p {
    font-size: 0.76rem;
  }

  .project-features {
    grid-template-columns: 1fr;
  }

  .project-actions {
    flex-direction: column;
  }

  .project-primary,
  .project-secondary {
    width: 100%;
  }

  .hisabflow-card {
    border-radius: 21px;
  }

  .hisabflow-promo {
    min-height: 440px;
    padding: 24px 19px;
  }

  .hf-copy {
    margin-top: 64px;
    max-width: 74%;
  }

  .hf-copy h3 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .hf-phone {
    width: 180px;
    height: 340px;
    right: -68px;
    bottom: -60px;
  }

  .hf-mini-tags {
    max-width: 68%;
  }

  .hisabflow-details {
    padding: 32px 20px;
  }

  .hisabflow-details > h3 {
    font-size: 2rem;
  }

  .portfolio-content {
    padding: 18px;
  }

  .portfolio-preview {
    min-height: 210px;
  }

  .portfolio-content > p {
    min-height: 0;
  }

  .skill-panel {
    padding: 22px 13px;
  }

  .skills-cloud {
    gap: 7px;
  }

  .skills-cloud span {
    padding: 8px 9px;
    font-size: 0.58rem;
  }

  .contact-form-card {
    padding: 19px 14px;
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-button {
    right: 10px;
    bottom: 68px;
    width: auto;
    min-width: 142px;
    min-height: 48px;
    padding: 6px 12px 6px 6px;
    gap: 7px;
  }

  .assistant-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .assistant-button > span:last-child {
    display: flex;
    font-size: 0.66rem;
  }

  .assistant-button small {
    display: block;
    font-size: 0.48rem;
  }

  .assistant-panel {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 8px;
    width: auto;
    max-width: none;
    height: min(74dvh, 590px);
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
    transform-origin: bottom center;
  }

  .assistant-messages {
    padding: 12px;
  }

  .assistant-message > div {
    max-width: 88%;
    padding: 10px 11px;
    font-size: 0.66rem;
  }

  .assistant-form {
    padding: 9px;
    padding-bottom: max(9px, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) 51px;
  }

  .assistant-form input {
    height: 51px;
    font-size: 16px;
  }

  .assistant-form button {
    width: 51px;
    height: 51px;
  }

  body.assistant-open .assistant-button,
  body.assistant-open .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .whatsapp-float {
    right: 10px;
    bottom: 12px;
    min-height: 46px;
    padding: 7px 13px;
    font-size: 0.61rem;
  }

  .top-button {
    left: 10px;
    bottom: 12px;
  }

  .video-modal {
    padding: 8px;
  }

  .video-dialog {
    max-height: calc(100dvh - 16px);
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 0.93rem;
  }

  .brand-box {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .nav-actions {
    gap: 6px;
  }

  .theme-button,
  .menu-button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero-photo {
    width: min(100%, 270px);
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .primary-button,
  .secondary-button {
    flex-basis: 100%;
  }

  .assistant-button {
    min-width: 137px;
  }

  .assistant-button > span:last-child {
    display: flex !important;
  }

  .whatsapp-float span {
    display: inline !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .section-reveal,
  .project-motion,
  .portfolio-card {
    opacity: 1 !important;
    transform: none !important;
  }
}