:root {
  --bg: #000000;
  --card-bg: #09070b;
  --pink: #ff168a;
  --pink-soft: #ff4aa8;
  --pink-glow: rgba(255, 22, 138, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --muted-2: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.08);
  --card-line: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}


@keyframes appleFadeLift {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes appleAmbientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.018);
  }
}

@keyframes appleGlowBreath {
  0%,
  100% {
    opacity: 0.88;
    filter: saturate(1) brightness(1);
  }
  50% {
    opacity: 1;
    filter: saturate(1.06) brightness(1.04);
  }
}

@keyframes appleNoiseShift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.028;
  }
  50% {
    transform: translate3d(-0.8%, 0.6%, 0);
    opacity: 0.05;
  }
  100% {
    transform: translate3d(0.8%, -0.6%, 0);
    opacity: 0.035;
  }
}

@keyframes appleShimmer {
  0% {
    opacity: 0;
    transform: translateX(-18%);
  }
  18% {
    opacity: 0;
  }
  34% {
    opacity: 0.26;
  }
  52% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateX(28%);
  }
}

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

svg {
  display: block;
}

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

.page-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
}

.card {
  position: relative;
  width: 100%;
  max-width: 768px;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 20, 130, 0.24), rgba(255, 20, 130, 0) 30%),
    linear-gradient(180deg, #070509 0%, #09070b 55%, #060508 100%);
  box-shadow: var(--shadow);
}

.bg-layer,
.noise-layer,
.vignette-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-layer {
  background-image:
    linear-gradient(90deg, rgba(5, 3, 7, 0.97) 0%, rgba(10, 6, 11, 0.95) 20%, rgba(18, 8, 15, 0.68) 37%, rgba(24, 7, 18, 0.28) 52%, rgba(31, 7, 20, 0.08) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.14) 24%, rgba(0, 0, 0, 0.26) 76%, rgba(0, 0, 0, 0.68) 100%),
    url('assets/bg-portrait.jpg');
  background-repeat: no-repeat;
  background-size: auto, auto, min(94vw, 635px) auto;
  background-position: 0 0, 0 0, right -8px top 86px;
  transform: translate3d(0, 0, 0);
  transform-origin: 72% 34%;
  will-change: transform, opacity, filter;
  animation:
    appleFadeLift 1.25s cubic-bezier(0.16, 1, 0.3, 1) both,
    appleAmbientFloat 13s ease-in-out 1.25s infinite alternate,
    appleGlowBreath 9s ease-in-out 1.25s infinite;
}

.noise-layer {
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0.5px, transparent 0.6px),
    radial-gradient(circle at 80% 30%, #fff 0.5px, transparent 0.6px),
    radial-gradient(circle at 40% 70%, #fff 0.45px, transparent 0.55px),
    radial-gradient(circle at 75% 80%, #fff 0.55px, transparent 0.65px);
  background-size: 14px 14px, 17px 17px, 21px 21px, 19px 19px;
  will-change: transform, opacity;
  animation: appleNoiseShift 18s linear infinite alternate;
}

.vignette-layer {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.22) 86%, rgba(0, 0, 0, 0.66) 100%);
  will-change: opacity, transform;
  animation: appleGlowBreath 10s ease-in-out infinite;
}

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: clamp(34px, 6vw, 66px) clamp(18px, 4.2vw, 32px) clamp(24px, 3.8vw, 42px);
}

.content > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.99);
  filter: blur(10px);
  will-change: transform, opacity, filter;
  animation: appleFadeLift 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.top-row { animation-delay: 0.16s; }
.feature-list { animation-delay: 0.28s; }
.hero-copy { animation-delay: 0.42s; }
.contacts-grid { animation-delay: 0.56s; }
.trust-box { animation-delay: 0.68s; }
.bottom-row { animation-delay: 0.78s; }
.bottom-arrow { animation-delay: 0.88s; }

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(72px, 16vw, 100px);
}

.status-title {
  font-size: clamp(18px, 3.6vw, 27px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  white-space: nowrap;
}

.status-title::after {
  content: '•••';
  display: inline-block;
  margin-left: 10px;
  color: var(--pink);
  letter-spacing: 0.08em;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: clamp(42px, 7vw, 58px);
  padding: 0 clamp(15px, 2.8vw, 22px);
  border: 1.5px solid rgba(255, 29, 144, 0.92);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(180deg, rgba(255, 26, 129, 0.12) 0%, rgba(255, 26, 129, 0.04) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 10px 30px rgba(0, 0, 0, 0.18);
  font-size: clamp(16px, 3.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.call-pill::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(110deg, transparent 0%, transparent 42%, rgba(255,255,255,0.16) 50%, transparent 58%, transparent 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: appleShimmer 5.8s ease-in-out 1.3s infinite;
}

.call-pill:hover,
.call-pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 80, 166, 0.98);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 12px 34px rgba(0, 0, 0, 0.24), 0 0 30px rgba(255, 22, 138, 0.12);
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.feature-list {
  width: min(332px, 48vw);
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(96px, 18vw, 180px);
}

.feature-item {
  display: grid;
  grid-template-columns: clamp(32px, 6vw, 56px) 1fr;
  gap: clamp(9px, 1.8vw, 14px);
  align-items: start;
}

.feature-icon {
  width: clamp(32px, 6vw, 56px);
  height: clamp(32px, 6vw, 56px);
  color: rgba(255, 65, 154, 0.48);
}

.feature-title {
  font-size: clamp(11px, 2.4vw, 20px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 84, 165, 0.7);
  margin-bottom: clamp(4px, 1vw, 8px);
}

.feature-text {
  font-size: clamp(10px, 2vw, 18px);
  line-height: 1.33;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.42);
}

.hero-copy {
  margin-top: 0;
  margin-bottom: clamp(22px, 4vw, 42px);
}

.hero-copy h1 {
  margin: 0 0 clamp(14px, 2.8vw, 24px);
  font-size: clamp(35px, 8.8vw, 69px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
  max-width: min(82vw, 598px);
  text-wrap: balance;
}

.hero-copy h1 span {
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255, 22, 138, 0.15);
}

.hero-copy p {
  margin: 0;
  padding-left: clamp(10px, 2vw, 16px);
  border-left: 3px solid var(--pink);
  font-size: clamp(14px, 2.9vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  max-width: min(72vw, 420px);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}

.contact-card {
  min-height: clamp(96px, 18vw, 138px);
  padding: clamp(14px, 2.8vw, 23px) clamp(10px, 2vw, 18px) clamp(12px, 2.4vw, 18px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 18, 22, 0.74) 0%, rgba(11, 11, 14, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-card:hover,
.contact-card:focus-visible,
.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(255, 29, 144, 0.24);
  background: linear-gradient(180deg, rgba(24, 16, 24, 0.84) 0%, rgba(12, 12, 14, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 22, 138, 0.08);
}

.contact-icon {
  width: clamp(18px, 4.2vw, 34px);
  height: clamp(18px, 4.2vw, 34px);
  color: var(--pink);
  margin-bottom: clamp(8px, 1.6vw, 14px);
}

.contact-title {
  font-size: clamp(11px, 2.3vw, 17px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: clamp(4px, 0.8vw, 6px);
}

.contact-subtitle {
  font-size: clamp(9px, 1.8vw, 13px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.73);
}

.trust-box {
  display: grid;
  grid-template-columns: clamp(28px, 6vw, 46px) 1fr;
  gap: clamp(10px, 2vw, 18px);
  align-items: start;
  padding: clamp(14px, 3vw, 19px) clamp(14px, 3vw, 24px) clamp(14px, 3vw, 20px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 14, 17, 0.78) 0%, rgba(10, 10, 12, 0.94) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin-bottom: clamp(22px, 4vw, 34px);
}

.trust-icon {
  width: clamp(28px, 6vw, 46px);
  height: clamp(28px, 6vw, 46px);
  color: var(--pink);
}

.trust-title {
  font-size: clamp(10px, 1.9vw, 14px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.94);
}

.trust-text {
  font-size: clamp(9px, 1.8vw, 13px);
  line-height: 1.36;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.64);
}

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.socials {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.2vw, 19px);
}

.social-link {
  width: clamp(16px, 3.6vw, 24px);
  height: clamp(16px, 3.6vw, 24px);
  color: rgba(255, 255, 255, 0.86);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease, filter 0.35s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: rgba(255, 255, 255, 1);
  filter: drop-shadow(0 0 12px rgba(255, 22, 138, 0.18));
}

.footer-copy {
  font-size: clamp(8px, 1.5vw, 11px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.54);
  text-align: right;
}

.bottom-arrow {
  width: clamp(22px, 4vw, 30px);
  height: clamp(22px, 4vw, 30px);
  color: rgba(255, 28, 142, 0.8);
  margin: clamp(16px, 3vw, 28px) auto 0;
}

@media (min-width: 560px) {
  .contacts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  /* Mobile only: move portrait slightly left so the nose lands near the marked point */
  .bg-layer {
    background-size: auto, auto, 760px auto;
    background-position: 0 0, 0 0, right -235px top 98px;
    transform: none;
  }

  .feature-list {
    width: 46.5vw;
    margin-bottom: clamp(84px, 21vw, 132px);
  }

  .hero-copy h1 {
    max-width: 80vw;
  }
}

@media (max-width: 420px) {
  .content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .bg-layer {
    background-size: auto, auto, 780px auto;
    background-position: 0 0, 0 0, right -255px top 104px;
  }

  .feature-list {
    width: 44vw;
    margin-bottom: clamp(76px, 20vw, 116px);
  }

  .hero-copy h1 {
    max-width: 84vw;
  }

  .bottom-row {
    align-items: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* Contact-save fallback UX */
.contact-modal-open,
.contact-modal-open body {
  overflow: hidden !important;
}

.contact-fallback {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: none;
  align-items: flex-end !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100dvh !important;
  padding: 18px max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) !important;
  background: rgba(0, 0, 0, .62) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-fallback.is-visible {
  display: flex !important;
}

.contact-fallback__panel {
  width: min(100%, 420px) !important;
  max-width: 420px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 28px !important;
  background: linear-gradient(180deg, rgba(24, 24, 29, .98), rgba(10, 10, 13, .98)) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  padding: 22px !important;
  color: rgba(255, 255, 255, .92) !important;
  animation: fallbackPanelIn .45s cubic-bezier(.2, .8, .2, 1) both;
}

.contact-fallback__title {
  margin: 0 0 8px !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
}

.contact-fallback__text {
  margin: 0 0 18px !important;
  color: rgba(255, 255, 255, .64) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.contact-fallback__actions {
  display: grid !important;
  gap: 10px !important;
}

.contact-fallback__button {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(255, 255, 255, .92) !important;
  font: inherit !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.contact-fallback__button--primary {
  border-color: rgba(190, 20, 106, .45) !important;
  background: linear-gradient(135deg, rgba(190, 20, 106, .92), rgba(110, 18, 74, .92)) !important;
  box-shadow: 0 16px 40px rgba(190, 20, 106, .22) !important;
}

.contact-fallback__button--ghost {
  background: transparent !important;
  color: rgba(255, 255, 255, .68) !important;
}

.contact-toast {
  position: fixed !important;
  left: 50% !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
  z-index: 10000 !important;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  width: min(calc(100vw - 36px), 390px) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  background: rgba(18, 18, 22, .94) !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .5) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity .3s ease, transform .3s ease;
}

.contact-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes fallbackPanelIn {
  from { opacity: 0; transform: translateY(26px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}


/* Smart contact router: keep fallback above layout on every mobile browser */
body > .contact-fallback {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  box-sizing: border-box !important;
}
body > .contact-fallback,
body > .contact-fallback * {
  box-sizing: border-box !important;
}
body > .contact-toast {
  z-index: 2147483001 !important;
}
