:root {
  --c-dark: #16121f;
  --c-light: #ffffff;
  --c-purple: #b18cff;
  --c-purple-deep: #8b5cf6;
  --c-orange: #ff9e64;
  --c-orange-deep: #ff7a3d;
  --c-lilac: #f2edff;
  --c-peach: #fff1e6;
  --c-text: #16121f;
  --c-muted: #6f6a7d;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --border-sharp: 1px solid var(--c-text);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--c-light);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

::selection { background: var(--c-purple); color: var(--c-dark); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease-smooth);
}

.preloader.is-done { transform: translateY(-100%); }

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--c-light);
  letter-spacing: 0.02em;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.preloader-logo span {
  display: inline-block;
  transform: translateY(110%);
  animation: plLetter 0.7s var(--ease-out) forwards;
}

.preloader-logo span:nth-child(1) { animation-delay: 0.05s; }
.preloader-logo span:nth-child(2) { animation-delay: 0.10s; }
.preloader-logo span:nth-child(3) { animation-delay: 0.15s; }
.preloader-logo span:nth-child(4) { animation-delay: 0.20s; }
.preloader-logo span:nth-child(5) { animation-delay: 0.25s; }
.preloader-logo span:nth-child(6) { animation-delay: 0.30s; }
.preloader-logo span:nth-child(7) { animation-delay: 0.35s; }
.preloader-logo span:nth-child(8) { animation-delay: 0.40s; }
.preloader-logo span:nth-child(9) { animation-delay: 0.45s; }
.preloader-logo span:nth-child(10) { animation-delay: 0.50s; }

.preloader-logo .pl-dot { color: var(--c-orange); }

@keyframes plLetter {
  to { transform: translateY(0); }
}

.preloader-phrase {
  position: relative;
  margin: 32px auto 0;
  padding: 0 24px;
  max-width: 620px;
  min-height: 3.4em;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.preloader-phrase .word-wrap {
  display: inline-block;
  white-space: nowrap;
}

.preloader-phrase .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) scale(1.3) rotate(8deg);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.preloader-phrase .ch.is-on {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
}

.preloader-phrase .ch.is-dot { color: var(--c-orange); }

.preloader-phrase .caret {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 1.15em;
  background: var(--c-orange);
  transition: transform 0.16s var(--ease-out);
  animation: caretBlink 0.7s steps(1) infinite;
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

.preloader-phrase.is-finished { animation: phraseShake 0.45s var(--ease-out); }

.preloader-phrase.is-finished .caret {
  opacity: 0;
  animation: none;
}

@keyframes phraseShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  55% { transform: translateX(4px); }
  80% { transform: translateX(-1px); }
}

@media (max-width: 720px) {
  .preloader-phrase.is-finished { animation: none; }
}

/* ---------- Cursor ---------- */
.cursor-cross, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-cross {
  width: 16px;
  height: 16px;
}

.cursor-cross::before,
.cursor-cross::after {
  content: '';
  position: absolute;
  background: var(--c-purple-deep);
  transition: background 0.3s;
}

.cursor-cross::before {
  left: 0;
  top: 7.5px;
  width: 16px;
  height: 1px;
}

.cursor-cross::after {
  left: 7.5px;
  top: 0;
  width: 1px;
  height: 16px;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px dashed var(--c-purple-deep);
  opacity: 0.55;
  animation: cursorSpin 8s linear infinite;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              border-color 0.3s, opacity 0.3s;
}

@keyframes cursorSpin {
  to { rotate: 360deg; }
}

.cursor-ring.is-active {
  width: 56px;
  height: 56px;
  border-color: var(--c-orange-deep);
  opacity: 1;
}

.cursor-cross.is-active::before,
.cursor-cross.is-active::after {
  background: var(--c-orange-deep);
}

@media (hover: none), (pointer: coarse) {
  .cursor-cross, .cursor-ring { display: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-sharp);
  transition: transform 0.4s var(--ease-out);
}

.nav.is-hidden { transform: translateY(-100%); }

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.3s;
}

.logo:hover { color: var(--c-purple-deep); }
.logo-dot { color: var(--c-orange); }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  color: var(--c-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-purple-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:hover { color: var(--c-purple-deep); }

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-nav { font-size: 0.82rem; padding: 12px 22px !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--c-text);
  transition: transform 0.3s;
}

/* ---------- Buttons & Links ---------- */
.btn-primary {
  display: inline-block;
  position: relative;
  padding: 16px 32px;
  background-color: var(--c-dark);
  color: var(--c-light);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--c-dark);
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: color 0.35s var(--ease-out), border-color 0.35s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-smooth);
  z-index: -1;
}

.btn-primary:hover { color: var(--c-dark); border-color: var(--c-purple); }
.btn-primary:hover::before { transform: scaleX(1); }

.btn-light {
  display: inline-block;
  padding: 16px 32px;
  background: var(--c-light);
  color: var(--c-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--c-light);
  transition: background 0.3s, color 0.3s;
}

.btn-light:hover { background: transparent; color: var(--c-light); }

.link-secondary {
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 2px;
}

.link-secondary::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--c-text);
  transform-origin: right;
  transition: transform 0.4s var(--ease-smooth), background 0.3s;
}

.link-secondary:hover { color: var(--c-purple-deep); }
.link-secondary:hover::after {
  background: var(--c-purple-deep);
  transform: scaleX(0.3);
  transform-origin: left;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6vh 5vw 5vh;
  min-height: 92vh;
  position: relative;
}

.hero-text {
  width: 100%;
  max-width: 1050px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding: 0.1em 0.05em 0.16em;
  margin-bottom: -0.16em;
}

.line-mask .line {
  display: block;
  opacity: 0;
  transform: translateY(110%) scale(1.05);
  filter: blur(12px);
  transition: transform 1.2s var(--ease-smooth), opacity 0.9s ease, filter 0.9s ease;
}

body.is-ready .line-mask .line {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body.is-ready .line-mask:nth-child(2) .line { transition-delay: 0.12s; }
body.is-ready .line-mask:nth-child(3) .line { transition-delay: 0.24s; }
body.is-ready .line-mask:nth-child(4) .line { transition-delay: 0.36s; }

.hero-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

body.is-ready .hero-reveal { opacity: 1; transform: translateY(0); }
body.is-ready .hero-actions { transition-delay: 0.7s; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-actions .btn-primary,
.hero-actions .link-secondary {
  font-size: 0.86rem;
}

.hero-actions .btn-primary { padding: 13px 26px; }

.hero-world {
  margin-top: 8px;
  width: 100%;
  display: flex;
  justify-content: center;
  transform: translateX(-110vw);
}

body.is-ready .hero-world {
  animation: balloonEnter 6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

@keyframes balloonEnter {
  0% { transform: translateX(-110vw); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

.hero-world img {
  width: min(820px, 86vw);
  height: auto;
  display: block;
  transform: translateY(-14px);
}

.hero-world img.drift {
  animation: driftFloat 24s ease-in-out infinite;
}

@keyframes driftFloat {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  20%  { transform: translate(64px, -26px) rotate(3deg); }
  40%  { transform: translate(48px, 28px) rotate(1deg); }
  60%  { transform: translate(-34px, 30px) rotate(-2deg); }
  80%  { transform: translate(-22px, -30px) rotate(-3deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

@keyframes driftFloatMobile {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  25%  { transform: translate(18px, -8px) rotate(1deg); }
  50%  { transform: translate(14px, 8px) rotate(0.5deg); }
  75%  { transform: translate(-12px, 6px) rotate(-1deg); }
}

/* ---------- Sections ---------- */
.section { padding: 12vh 5vw; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  max-width: 22ch;
  margin-bottom: 20px;
}

.section-lead {
  color: var(--c-muted);
  max-width: 62ch;
  font-size: 1.05rem;
  margin-bottom: 56px;
}

.section-dark {
  background: var(--c-dark);
  color: var(--c-light);
}

.section-dark .section-lead { color: #a39fb3; }

.section-lilac { background: var(--c-lilac); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }

.reveal-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.reveal-words .word > span {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  transform-origin: left bottom;
  transition: transform 0.8s var(--ease-smooth);
}

.reveal-words.is-visible .word > span { transform: translateY(0) rotate(0); }

.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-smooth);
}

.reveal-clip.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Desktop fx reveal ---------- */
body.fx [data-fx] {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-smooth);
}

body.fx [data-fx="left"] { transform: translateX(-70px); }
body.fx [data-fx="right"] { transform: translateX(70px); }
body.fx [data-fx="up"] { transform: translateY(60px); }
body.fx [data-fx="scale"] { transform: scale(0.88); }
body.fx [data-fx="tilt"] { transform: translateY(50px) rotate(-3deg); }

body.fx [data-fx].is-visible { transform: none; }

body.fx [data-fx][data-delay="1"] { transition-delay: 0.15s; }
body.fx [data-fx][data-delay="2"] { transition-delay: 0.3s; }
body.fx [data-fx][data-delay="3"] { transition-delay: 0.45s; }
body.fx [data-fx][data-delay="4"] { transition-delay: 0.6s; }

/* ---------- Features (bento) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature-media {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 560px;
  transform: translate(-16px, -28px);
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}

.feature-media:hover img { transform: translate(-16px, -28px) scale(1.05); }

.features-stack { display: flex; flex-direction: column; }

.feature {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  border-bottom: var(--border-sharp);
  overflow: hidden;
  transition: background-color 0.4s;
}

.feature:last-child { border-bottom: none; }
.feature:hover { background: var(--c-peach); }

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: var(--c-orange-deep);
  margin-bottom: 20px;
  transition: color 0.4s, transform 0.5s var(--ease-out);
}

.feature:hover .feature-icon {
  color: var(--c-purple-deep);
  transform: translateY(-4px) rotate(-4deg);
}

.feature h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.feature p { color: var(--c-muted); font-size: 0.95rem; max-width: 44ch; }

.feature-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--c-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

.feature:hover .feature-line { transform: scaleX(1); }

/* ---------- Works (portfolio) ---------- */
.works {
  border-top: 1px solid #342e44;
}

.work {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  color: var(--c-light);
  text-decoration: none;
  border-bottom: 1px solid #342e44;
  overflow: hidden;
}

.work-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.work-reverse .work-media { order: 2; }
.work-reverse .work-body { order: 1; }

.work::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--c-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-smooth);
  z-index: 3;
}

.work:hover::before { transform: scaleX(1); }

.work-media {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1s var(--ease-out), filter 0.6s;
}

.work:hover .work-media img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.work-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(177, 140, 255, 0.22);
  opacity: 0;
  transition: opacity 0.5s;
}

.work:hover .work-media::after { opacity: 1; }

.work-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 78px);
}

.work-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 18px;
}

.work-body h3 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-light);
  transition: color 0.4s, transform 0.5s var(--ease-out);
}

.work:hover .work-body h3 {
  color: var(--c-purple);
  transform: translateX(10px);
}

.work-body p {
  margin-top: 16px;
  color: #a39fb3;
  font-size: 1.02rem;
  max-width: 42ch;
}

.work-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--c-light);
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.4s;
}

.work:hover .work-cta { border-color: var(--c-purple); }

.arrow-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.12em;
  margin-left: 6px;
  color: var(--c-orange);
  transition: transform 0.4s var(--ease-out);
}

.work-cta .arrow-icon { color: var(--c-orange); }

.work:hover .work-cta .arrow-icon { transform: translate(4px, -4px); }

.btn-light .arrow-icon { color: var(--c-dark); }
.btn-light:hover .arrow-icon { color: var(--c-light); transform: translate(4px, -4px); }

.link-secondary .arrow-down { margin-left: 8px; }

.link-secondary .arrow-icon,
.link-secondary:hover .arrow-icon { color: var(--c-text); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-light);
  border: var(--border-sharp);
  padding: 44px 34px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
}

.pricing-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--c-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

.pricing-card:hover::before { transform: scaleX(1); }

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--c-purple);
  box-shadow: 12px 12px 0 var(--c-purple);
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.pricing-card h3::after {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  background: var(--c-orange-deep);
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--c-muted);
  margin-bottom: 28px;
  min-height: 3.2em;
}

.pricing-featured {
  background: var(--c-dark);
  color: var(--c-light);
  border-color: var(--c-dark);
}

.pricing-featured::before { background: var(--c-orange); }

.pricing-featured:hover {
  border-color: var(--c-orange);
  box-shadow: 12px 12px 0 var(--c-orange);
}

.pricing-featured h3::after { background: var(--c-purple); }

.pricing-featured .pricing-desc { color: #a39fb3; }

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-orange);
  color: var(--c-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  white-space: nowrap;
}

.pricing-list {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid #e8e2f5;
}

.pricing-featured .pricing-list li { border-bottom-color: #342e44; }

.pricing-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--c-dark);
  background: var(--c-purple);
  margin-top: 1px;
}

.pricing-featured .pricing-list li::before { background: var(--c-orange); }

.pricing-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: var(--c-purple-deep);
  border-top: 2px solid currentColor;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing-value::after {
  content: '→';
  font-family: var(--font-body);
  transition: transform 0.3s var(--ease-out);
}

.pricing-card:hover .pricing-value::after { transform: translateX(6px); }

.pricing-featured .pricing-value { color: var(--c-orange); }

.pricing-advanced {
  background: var(--c-purple);
  color: var(--c-dark);
  border-color: var(--c-purple-deep);
}

.pricing-advanced::before { background: var(--c-purple-deep); }

.pricing-advanced:hover {
  border-color: var(--c-purple-deep);
  box-shadow: 12px 12px 0 var(--c-purple-deep);
}

.pricing-advanced h3::after { background: var(--c-dark); }

.pricing-advanced .pricing-desc { color: var(--c-dark); opacity: 0.8; }

.pricing-advanced .pricing-list li { border-bottom-color: rgba(22, 18, 31, 0.15); }

.pricing-advanced .pricing-list li::before { background: var(--c-dark); color: var(--c-purple); }

.pricing-advanced .pricing-value { color: var(--c-dark); }

.badge-advanced {
  background: var(--c-dark);
  color: var(--c-light);
}

.pricing-note {
  margin-top: 40px;
  text-align: center;
  color: var(--c-muted);
  font-size: 1.02rem;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--border-sharp);
}

.process-card {
  position: relative;
  padding: 44px 28px 52px;
  border-right: var(--border-sharp);
  overflow: hidden;
  transition: background-color 0.4s;
}

.process-card:last-child { border-right: none; }
.process-card:hover { background: var(--c-peach); }

.process-top {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.process-icon {
  width: 2.6rem;
  height: 2.6rem;
  color: var(--c-orange-deep);
  transition: color 0.4s, transform 0.5s var(--ease-out);
}

.process-card:hover .process-icon {
  color: var(--c-purple-deep);
  transform: translateY(-4px) rotate(-4deg);
}

.process-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.process-card p { color: var(--c-muted); font-size: 0.93rem; }

.process-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--c-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

.process-card:hover::after { transform: scaleX(1); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 14vh 5vw;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url('public/baner.png') center / cover no-repeat;
  z-index: 0;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 31, 0.55);
}

.cta-inner { position: relative; z-index: 1; }

.cta-inner h2 {
  color: var(--c-light);
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 36px;
}

/* ---------- Contact ---------- */
.section-center { text-align: center; }

.section-center .section-title,
.section-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field { position: relative; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-light);
  border: 2px solid var(--c-text);
  outline: none;
  resize: vertical;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #a5a1b0; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--c-purple-deep);
  background: #fdfbff;
  transform: translateY(-2px);
}

.contact-form .btn-primary { align-self: center; }

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.92rem;
  text-align: center;
  color: var(--c-muted);
}

.form-status.is-ok { color: var(--c-purple-deep); }

.form-status.is-error { color: var(--c-orange-deep); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-light);
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=1800&auto=format&fit=crop') center 65% / cover no-repeat;
}

.footer-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 31, 0.85);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 130px) 5vw clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.footer-brand .logo { color: var(--c-light); font-size: 1.5rem; }

.footer-tagline {
  margin-top: 22px;
  color: #b7b2c4;
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-location {
  margin-top: 18px;
  color: #9a94ab;
  font-size: 0.92rem;
}

.footer-location::before {
  content: '◦ ';
  color: var(--c-orange);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #cfcbd9;
  text-decoration: none;
  font-size: 0.98rem;
  width: fit-content;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.footer-nav a:hover {
  color: var(--c-orange);
  transform: translateX(4px);
}

.footer-contact,
.footer-col { display: flex; flex-direction: column; gap: 34px; }

.footer-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 14px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-email,
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cfcbd9;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  width: fit-content;
  word-break: break-word;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.footer-email svg,
.footer-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c-orange);
  transition: transform 0.3s var(--ease-out);
}

.footer-email:hover,
.footer-phone:hover {
  color: var(--c-orange);
  transform: translateX(4px);
}

.footer-email:hover svg,
.footer-phone:hover svg { transform: scale(1.12); }

.footer-hours p {
  color: #b7b2c4;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 5vw;
  text-align: center;
}

.footer-bottom p {
  color: #9a94ab;
  font-size: 0.85rem;
}

/* ---------- About page ---------- */
.nav-links a.is-active { color: var(--c-purple-deep); }
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.laptop-stage {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 3vw;
  background: var(--c-light);
}

.about-back {
  position: absolute;
  top: 24px;
  left: 3vw;
  z-index: 2;
  color: var(--c-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.about-back:hover {
  color: var(--c-purple-deep);
  transform: translateX(-4px);
}

.laptop {
  width: min(1500px, 96vw);
  filter: drop-shadow(0 40px 70px rgba(22, 18, 31, 0.2));
}

.laptop-screen {
  border: 4px solid var(--c-dark);
  background: var(--c-dark);
  padding: 12px;
}

.notes {
  background: var(--c-light);
  min-height: 60vh;
  display: flex;
  overflow: hidden;
}

.notes-sidebar {
  width: 20%;
  min-width: 150px;
  background: #f3f1f8;
  border-right: 1px solid #e3dff0;
  padding: 18px 12px;
}

.notes-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--c-text);
  border-radius: 0;
}

.notes-side-item.is-active {
  background: #e6e1f5;
  font-weight: 600;
}

.notes-side-item .folder {
  width: 16px;
  height: 13px;
  background: #c9c2e0;
  position: relative;
  flex-shrink: 0;
}

.notes-side-item .folder::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 4px;
  background: #c9c2e0;
}

.side-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.notes-main {
  flex: 1;
  padding: 36px 40px;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  line-height: 1.8;
  color: var(--c-text);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--c-purple) transparent;
}

.notes-main p { margin: 0; }

.notes-main .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--c-purple-deep);
  vertical-align: -0.15em;
  animation: caretBlink 0.7s steps(1) infinite;
}

.laptop-base {
  height: 24px;
  background: linear-gradient(180deg, var(--c-dark), #0c0a12);
  border: 4px solid var(--c-dark);
  border-top: none;
  margin: 0 5%;
  position: relative;
}

.laptop-base::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 140px;
  height: 8px;
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 720px) {
  .laptop-stage { min-height: calc(100vh - 70px); padding: 3vh 2vw; }
  .about-back { top: 14px; left: 20px; font-size: 0.82rem; }
  .notes { min-height: 55vh; }
  .notes-sidebar { width: 26%; min-width: 90px; padding: 14px 8px; }
  .notes-main { padding: 22px 18px; font-size: 0.9rem; }
}

/* ---------- O nama: Notes ekran ---------- */
.about-notes-stage {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 74px 4vw 5vh;
  background: radial-gradient(circle at 20% 20%, #e9e7ee 0%, #d8d5df 60%, #cbc8d4 100%);
  display: flex;
  align-items: center;
}

.about-notes-window {
  width: 100%;
  max-width: 1480px;
  min-height: min(760px, calc(100vh - 150px));
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #c3c2c8;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(22, 18, 31, 0.22), 0 4px 14px rgba(22, 18, 31, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.notes-toolbar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: linear-gradient(180deg, #f8f8fb 0%, #ececf1 100%);
  border-bottom: 1px solid #d3d2d8;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.notes-toolbar-title {
  margin-left: 16px;
  color: #55535c;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.notes-toolbar .notes-dot {
  width: 12px;
  height: 12px;
  border-radius: 50% !important;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 1px 1px rgba(0, 0, 0, 0.1);
}

.notes-dot.red { background: #ff5f57; }
.notes-dot.yellow { background: #febc2e; }
.notes-dot.green { background: #28c840; }

.about-notes-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 600px;
}

.about-notes-sidebar {
  padding: 26px 12px;
  background: #f1f0f4;
  border-right: 1px solid #dedde3;
  color: var(--c-muted);
  font-size: 0.85rem;
}

.about-notes-sidebar p {
  padding: 0 14px 16px;
  color: #75737c;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.about-note-item {
  position: relative;
  display: block;
  padding: 10px 14px;
  margin-bottom: 4px;
  color: #4a4852;
}

.about-note-item.is-active {
  color: var(--c-text);
  background: linear-gradient(180deg, #e5e0f5 0%, #dcd6ef 100%);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--c-purple-deep), 0 1px 2px rgba(22, 18, 31, 0.06);
}

.about-note-page {
  padding: clamp(34px, 5vw, 76px) clamp(28px, 7vw, 110px);
  background: linear-gradient(180deg, #ffffff 0%, #fdfdfe 100%);
  overflow-y: auto;
}

.about-note-page h1 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--c-text);
}

.about-note-page h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 16px;
  background: var(--c-orange);
}

.about-note-page #about-type {
  max-width: 850px;
  color: var(--c-text);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.85;
}

.about-note-page #about-type p { margin: 0; }

.about-note-page .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: var(--c-purple-deep);
  vertical-align: -0.13em;
  animation: caretBlink 0.7s steps(1) infinite;
}

@media (max-width: 720px) {
  .about-notes-stage {
    min-height: calc(100vh - 70px);
    padding: 64px 12px 20px;
    align-items: flex-start;
  }

  .about-notes-window { min-height: calc(100vh - 110px); }
  .notes-toolbar { height: 44px; padding: 0 12px; }
  .notes-toolbar-title { font-size: 0.72rem; margin-left: 8px; }
  .notes-status { display: none; }
  .about-notes-content { grid-template-columns: 1fr; min-height: 0; }
  .about-notes-sidebar { display: none; }
  .about-note-page { min-height: calc(100vh - 170px); padding: 30px 22px 44px; }
  .about-note-page h1 { font-size: 2rem; margin-bottom: 22px; }
  .about-note-page #about-type { font-size: 0.98rem; line-height: 1.75; }
}

/* ---------- Call button ---------- */
.call-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 58px;
  width: 58px;
  padding: 0;
  background: #d96f33;
  color: #150b1f;
  text-decoration: none;
  border-radius: 50% !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(217, 111, 51, 0.45);
  transition: width 0.45s var(--ease-out), gap 0.45s var(--ease-out),
              background 0.35s, transform 0.35s var(--ease-out),
              box-shadow 0.35s, border-radius 0.45s var(--ease-out);
}

.call-btn:hover {
  width: 236px;
  gap: 12px;
  justify-content: flex-start;
  padding: 0 22px;
  border-radius: 30px !important;
  background: #c45f28;
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(196, 95, 40, 0.5);
}

.call-icon-wrap {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.call-icon-wrap svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
  color: #150b1f;
}

.call-pulse {
  position: absolute;
  inset: -9px;
  border: 2px solid #150b1f;
  border-radius: 50% !important;
  animation: callPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes callPulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  70% { opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.call-number {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  color: var(--c-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: max-width 0.45s var(--ease-out), opacity 0.3s;
}

.call-btn:hover .call-number,
.call-btn:focus-visible .call-number {
  max-width: 220px;
  opacity: 1;
}

@media (max-width: 720px) {
  .call-btn { right: 16px; bottom: 16px; height: 54px; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .call-pulse { animation: none; opacity: 0.5; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-clip { clip-path: none !important; transition: none !important; }
  .reveal-words .word > span { transform: none !important; transition: none !important; }
  .line-mask .line { transform: none !important; opacity: 1 !important; filter: none !important; transition: none !important; }
  .hero-world { animation: none !important; transform: none !important; }
  .hero-world img.drift { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1600px) {
  .hero-world img { width: min(1180px, 88vw); }
}

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-world { margin-top: 48px; }
  .hero-world img { width: min(780px, 92vw); }
  .hero-world img.drift { animation: driftFloatMobile 24s ease-in-out infinite; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-media { border-right: none; border-bottom: none; min-height: 340px; clip-path: none; }
  .work,
  .work-reverse { grid-template-columns: 1fr; }
  .work-media { min-height: 300px; }
  .work-reverse .work-media { order: 0; }
  .work-reverse .work-body { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-card:nth-child(2) { border-right: none; }
  .process-card:nth-child(1),
  .process-card:nth-child(2) { border-bottom: var(--border-sharp); }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-card { border-right: none !important; border-bottom: var(--border-sharp); }
  .process-card:last-child { border-bottom: none; }
}

@media (max-width: 720px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--c-light);
    border-bottom: var(--border-sharp);
  }
  .nav.is-open .nav-links a {
    padding: 16px 5vw;
    border-top: 1px solid #ece8f4;
    height: auto;
  }

  .section { padding: 64px 20px; }

  .hero { padding: 32px 20px 72px; gap: 48px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .hero-actions .btn-primary,
  .hero-actions .link-secondary { text-align: center; }

  .section-title { font-size: 1.7rem; }

  .section-lead { font-size: 0.98rem; margin-bottom: 40px; }

  .work-body { padding: 28px 22px 34px; }
  .work-body h3 { font-size: 1.9rem; }
  .work-media { min-height: 240px; }

  .pricing-grid { gap: 24px; }

  .pricing-card { padding: 28px 22px; }

  .pricing-card:hover { transform: none; box-shadow: none; }

  .pricing-desc { font-size: 0.9rem; margin-bottom: 18px; }

  .pricing-list { margin-bottom: 24px; }

  .pricing-list li {
    font-size: 0.88rem;
    padding: 9px 0;
  }

  .pricing-note { font-size: 0.95rem; margin-top: 28px; }

  .process-card { padding: 32px 22px 40px; }

  .cta-banner { padding: 72px 20px; }

  .contact-form input,
  .contact-form textarea { font-size: 16px; padding: 14px 16px; }

  .contact-form .btn-primary { align-self: stretch; text-align: center; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 20px 32px;
  }

  .footer-brand .logo { font-size: 1.3rem; }

  .footer-bottom { padding: 22px 20px; text-align: center; }

  .reveal {
    transform: translateY(16px);
    transition-duration: 0.55s;
  }

  .reveal-clip { transition-duration: 0.7s; }
}
