/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul { list-style: none; }

:root {
  --ivory: #FBF7F7;
  --surface: #FFFFFF;
  --ink: #2C2430;
  --ink-muted: #6B5E68;
  --accent: #B47FC2;
  --accent-tint: #F1E1F4;
  --accent-deep: #8F5C9E;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.eyebrow--light { color: rgba(255,255,255,0.85); }

/* ---------- Reveal utility ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal="up"] { transform: translateY(36px); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.85); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  background: rgba(251, 247, 247, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__mark span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.25s ease;
}
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink);
  padding: 12px 22px;
  display: inline-block;
}
.nav__cta-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav__cta-track span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
  white-space: nowrap;
  height: 15px;
  display: flex;
  align-items: center;
}
.nav__cta:hover .nav__cta-track { transform: translateY(-15px); }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 64px) 60px;
  overflow: hidden;
}

.hero__plates { position: absolute; inset: 0; z-index: 0; }
.hero__plate {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.hero__plate--a {
  width: 480px; height: 480px;
  background: var(--accent-tint);
  top: -120px; right: 8%;
}
.hero__plate--b {
  width: 340px; height: 340px;
  background: #E8D9EE;
  bottom: -80px; right: 26%;
}
.hero__plate--c {
  width: 260px; height: 260px;
  background: #FCEFE3;
  top: 40%; left: -60px;
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero__copy { max-width: 480px; }
.hero__headline {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 420px;
  margin-bottom: 34px;
}

.link-cta {
  position: relative;
  display: inline-block;
}
.link-cta__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.link-cta__arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.link-cta:hover .link-cta__arrow { transform: translateX(6px); }
.link-cta__underline {
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 6px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-cta.in-view .link-cta__underline { transform: scaleX(1); }

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__hand {
  width: 100%;
  max-width: 460px;
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(180, 127, 194, 0.45);
  will-change: transform;
}

@media (max-width: 860px) {
  .hero { padding-top: 140px; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__art { order: -1; margin-bottom: 20px; }
  .hero__hand { max-width: 320px; }
}

/* ---------- Benefits (De ce aplicatia) ---------- */
.benefits {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}

.phone-frame {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 17.5;
  background: var(--ink);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 50px 90px -40px rgba(44, 36, 48, 0.5);
  position: relative;
}
.phone-frame__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-frame__screen {
  background: linear-gradient(160deg, var(--accent-tint), var(--surface) 60%);
  height: 100%;
  border-radius: 28px;
  padding: 50px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone-frame__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.phone-frame__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-top: 6px;
}
.phone-frame__meta {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.phone-frame__chip {
  margin-top: auto;
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}

.benefits__copy h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  margin-bottom: 30px;
}
.benefits__list { display: flex; flex-direction: column; gap: 24px; }
.benefits__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.benefits__icon {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1.3;
}
.benefits__list strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.benefits__list span {
  color: var(--ink-muted);
  font-size: 15px;
}

@media (max-width: 860px) {
  .benefits { grid-template-columns: 1fr; gap: 50px; padding-top: 70px; padding-bottom: 70px; }
}

/* ---------- Steps ---------- */
.steps {
  background: var(--surface);
  padding: 100px clamp(20px, 5vw, 64px);
}
.steps__head { max-width: var(--container); margin: 0 auto 50px; text-align: center; }
.steps__head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.steps__row {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.step-card__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--ink-muted);
  font-size: 15px;
}

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

/* ---------- Gallery (Servicii) ---------- */
.gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px clamp(20px, 5vw, 64px);
}
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 44px;
}
.gallery__head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  max-width: 480px;
}

.slide-cta {
  position: relative;
  overflow: hidden;
  height: 22px;
  display: block;
}
.slide-cta__front, .slide-cta__back {
  display: block;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.slide-cta__front { color: var(--ink); }
.slide-cta__back {
  position: absolute;
  top: 0; left: 0;
  color: var(--accent-deep);
  transform: translateY(100%);
}
.slide-cta:hover .slide-cta__front { transform: translateY(-100%); }
.slide-cta:hover .slide-cta__back { transform: translateY(0); }

.gallery__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 22px;
}
.gallery__tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.gallery__tile--tall { aspect-ratio: 3 / 4.6; }
.gallery__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery__tile:hover img { transform: scale(1.06); }
.gallery__tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(44,36,48,0.65), transparent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
}
.gallery__tile figcaption span { color: var(--accent-tint); font-weight: 600; }

@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__tile--tall { grid-column: span 2; aspect-ratio: 16/10; }
}

/* ---------- Trust ---------- */
.trust {
  background: var(--surface);
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 50px;
  align-items: center;
}
.trust__numeral {
  font-family: var(--font-display);
  font-size: clamp(90px, 11vw, 160px);
  font-weight: 800;
  color: var(--accent-tint);
  line-height: 1;
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
}
.trust__copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
  line-height: 1.16;
}
.trust__copy p { color: var(--ink-muted); max-width: 440px; }
.trust__crop {
  width: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.trust__crop img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .trust { grid-template-columns: 1fr; text-align: left; padding-top: 70px; padding-bottom: 70px; }
  .trust__crop { width: 100%; max-width: 240px; }
}

/* ---------- Quotes ---------- */
.quotes {
  padding: 100px clamp(20px, 5vw, 64px);
}
.quotes__wall {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.quote-card {
  background: var(--accent-tint);
  border-radius: var(--radius);
  padding: 40px;
}
.quote-card p {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 26px;
}
.quote-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-card img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-card strong { display: block; font-size: 14px; }
.quote-card span { font-size: 13px; color: var(--accent-deep); }

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

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  margin: 0 clamp(12px, 3vw, 40px) 40px;
  border-radius: 32px;
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  padding: 120px clamp(20px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -220px; left: -140px;
}
.cta-final__inner { position: relative; z-index: 1; }
.cta-final h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  margin-bottom: 18px;
}
.cta-final__sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: 40px;
}

.stamp-cta {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 20px 44px;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.35);
}
.stamp-cta:active {
  transform: translateY(3px) skewX(-1deg);
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.3);
}

.cta-final__note {
  margin-top: 22px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

/* ---------- Footer ---------- */
.footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 64px) 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p:last-child {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 14px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}
.footer__col a { transition: color 0.2s ease; }
.footer__col a:hover { color: var(--accent-deep); }
.footer__col p { color: var(--ink-muted); }

.footer__bottom {
  border-top: 1px solid rgba(44,36,48,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
}

@media (max-width: 700px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
