
:root {
  --ink: #07182f;
  --muted: #667188;
  --purple: #7b32e6;
  --purple-deep: #4a22d7;
  --violet: #a746f1;
  --line: rgba(25, 34, 61, 0.1);
  --surface: rgba(255, 255, 255, 0.72);
  --shadow: 0 32px 90px rgba(43, 24, 93, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 25%, rgba(123, 50, 230, .08), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(46, 89, 255, .08), transparent 25%),
    linear-gradient(145deg, #fbfbff 0%, #f6f3ff 45%, #f8fbff 100%);
  font-family: "DM Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(26,31,55,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(26,31,55,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.48), transparent 88%);
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .018;
  pointer-events: none;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(95px);
  opacity: .12;
  pointer-events: none;
}
.ambient-one { background: #8b42ff; left: -210px; top: 18%; }
.ambient-two { background: #3378ff; right: -210px; top: 35%; }

.site-header,
main,
footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.site-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  width: 220px;
  height: auto;
  display: block;
}
.header-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 10px 30px rgba(39, 28, 75, .05);
  backdrop-filter: blur(16px);
  color: #58637a;
  font-size: 13px;
  font-weight: 600;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b36ee;
  box-shadow: 0 0 0 6px rgba(139,54,238,.1);
  animation: statusPulse 2.4s infinite;
}

.hero {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(40px, 6vw, 95px);
  padding: 55px 0 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(123,50,230,.16);
  background: rgba(255,255,255,.64);
  color: #6532bd;
  border-radius: 999px;
  padding: 9px 14px 9px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 10px 25px rgba(76, 40, 142, .06);
}
.eyebrow-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8a3fff, #4427d9);
  color: white;
  font-size: 12px;
}

h1 {
  margin: 26px 0 22px;
  max-width: 700px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 800;
}
.gradient-text {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #5426d7 10%, #9b3ee9 52%, #3157e6 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.72;
}

.waitlist { margin-top: 34px; max-width: 655px; }
.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 18px;
  border: 1px solid rgba(25,34,61,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 50px rgba(44,29,89,.09);
  transition: .25s ease;
}
.input-wrap:focus-within {
  border-color: rgba(123,50,230,.5);
  box-shadow: 0 20px 55px rgba(90,43,188,.14), 0 0 0 4px rgba(123,50,230,.07);
}
.mail-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.mail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #7c8496;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.input-wrap input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 13px 0;
}
.input-wrap input::placeholder { color: #9ca3b3; }
.input-wrap button {
  border: 0;
  border-radius: 13px;
  padding: 15px 20px;
  color: white;
  background: linear-gradient(115deg, #6a2de0, #8f39e9 65%, #6246ec);
  box-shadow: 0 12px 28px rgba(105,45,224,.28);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.input-wrap button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(105,45,224,.34);
}
.input-wrap button:active { transform: translateY(0); }

.form-message {
  margin: 11px 0 0 3px;
  color: #858da0;
  font-size: 13px;
}
.form-message.error { color: #b33a58; }

.trust-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}
.avatars { display: flex; }
.avatars span {
  width: 36px;
  height: 36px;
  margin-left: -8px;
  display: grid;
  place-items: center;
  border: 3px solid #f8f6ff;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #7f37e8, #233ce0);
  font-size: 11px;
  font-weight: 700;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(145deg, #c04ee0, #7440ef); }
.avatars span:nth-child(3) { background: linear-gradient(145deg, #324fe6, #142a7e); }
.avatars span:nth-child(4) { color: #6732c0; background: white; }
.trust-row p { margin: 0; color: #7c8596; font-size: 13px; line-height: 1.45; }
.trust-row strong { color: #344056; }

.visual {
  min-height: 660px;
  display: grid;
  place-items: center;
  position: relative;
  perspective: 1200px;
}
.visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,54,230,.22), rgba(86,76,230,.05) 45%, transparent 68%);
  filter: blur(10px);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(115,61,208,.11);
  border-radius: 50%;
  animation: rotate 22s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7c35e8;
  box-shadow: 0 0 18px rgba(124,53,232,.6);
}
.orbit-one { width: 590px; height: 590px; }
.orbit-one::after { left: 70px; top: 72px; }
.orbit-two { width: 480px; height: 480px; animation-direction: reverse; animation-duration: 17s; }
.orbit-two::after { right: 20px; bottom: 120px; background: #3157e6; }

.portfolio-card {
  width: min(100%, 530px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  position: relative;
  z-index: 2;
}
.portfolio-card:hover { transform: rotateY(0) rotateX(0) translateY(-8px); }

.browser-bar {
  height: 48px;
  display: grid;
  grid-template-columns: 80px 1fr 48px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d4d8e1; }
.browser-dots span:first-child { background: #b688f1; }
.browser-address {
  justify-self: center;
  padding: 6px 17px;
  border-radius: 999px;
  background: #f3f1f8;
  color: #9097a7;
  font-size: 10px;
}
.browser-action { color: #a7adba; text-align: right; font-size: 11px; }

.profile-cover {
  height: 145px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.15), transparent 50%),
    linear-gradient(120deg, #2d1fb8, #7032dc 42%, #a43ce6 72%, #3547e3);
}
.profile-cover::before,
.profile-cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.profile-cover::before { width: 330px; height: 330px; right: -80px; top: -200px; }
.profile-cover::after { width: 200px; height: 200px; left: -70px; bottom: -150px; }
.cover-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 30%, rgba(255,255,255,.28), transparent 27%);
}
.cover-mark {
  position: absolute;
  right: 50px;
  top: 24px;
  color: rgba(255,255,255,.14);
  font-family: "Manrope", sans-serif;
  font-size: 92px;
  font-weight: 800;
  transform: rotate(-12deg);
}

.profile-content { padding: 0 30px 28px; }
.profile-avatar {
  width: 82px;
  height: 82px;
  margin-top: -41px;
  position: relative;
  display: grid;
  place-items: center;
  border: 5px solid white;
  border-radius: 24px;
  color: white;
  background: linear-gradient(145deg, #1d2c74, #7b35df);
  box-shadow: 0 12px 30px rgba(29,44,116,.2);
  font-weight: 800;
  letter-spacing: .04em;
}
.profile-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
}
.mini-label {
  margin: 0 0 4px;
  color: #8c6cbc;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}
.profile-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  letter-spacing: -.03em;
}
.connect-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 15px;
  background: #101c33;
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.profile-description {
  max-width: 395px;
  margin: 15px 0 20px;
  color: #7d8595;
  font-size: 12px;
  line-height: 1.55;
}
.profile-stats {
  display: flex;
  gap: 31px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-stats div { display: flex; flex-direction: column; }
.profile-stats strong { font-size: 15px; }
.profile-stats span { margin-top: 2px; color: #9aa1af; font-size: 9px; }

.work-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.work-card-large { grid-row: span 2; }
.work-art { height: 78px; position: relative; overflow: hidden; }
.work-card-large .work-art { height: 171px; }
.art-one { background: linear-gradient(145deg, #160b49, #5c25c7 55%, #b04de6); }
.art-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  border: 18px solid rgba(255,255,255,.15);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.art-gem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 58px;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(255,255,255,.35);
}
.art-two { background: linear-gradient(135deg, #dcd8ff, #a7b2ff); }
.art-panel {
  position: absolute;
  width: 74px;
  height: 48px;
  left: 50%;
  top: 50%;
  border-radius: 7px;
  background: rgba(255,255,255,.82);
  box-shadow: -15px 12px 0 rgba(76,52,195,.18);
  transform: translate(-50%,-50%) rotate(-6deg);
}
.art-three { background: linear-gradient(135deg, #211066, #4d30bb); }
.art-lines {
  position: absolute;
  inset: 18px;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,.72) 0 2px, transparent 2px 12px);
  border-radius: 4px;
}
.work-meta { padding: 9px 11px; display: flex; flex-direction: column; }
.work-meta span { color: #9ba1ae; font-size: 8px; }
.work-meta strong { margin-top: 2px; font-size: 10px; }

.floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 17px 45px rgba(40,27,83,.14);
  font-size: 11px;
  font-weight: 700;
}
.badge-top { right: -26px; top: 95px; animation: float 4.6s ease-in-out infinite; }
.badge-bottom { left: -33px; bottom: 95px; animation: float 5.2s ease-in-out infinite reverse; }
.badge-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg,#7f36e7,#4435d7);
  color: white;
}
.badge-check {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f8ee;
  color: #1f9b5a;
  font-size: 10px;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6f38e6;
  box-shadow: 0 0 0 6px rgba(111,56,230,.1);
}
.badge-bottom strong { color: #6f38e6; margin-left: 6px; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 55px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.feature-strip > div {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}
.feature-strip > div:last-child { border-right: 0; }
.feature-number {
  color: #7d38e5;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.feature-strip strong { font-size: 14px; }
.feature-strip p { margin: 4px 0 0; color: #8a92a1; font-size: 12px; }

footer {
  min-height: 80px;
  padding: 24px 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #8e95a4;
  font-size: 12px;
}
.footer-tagline { letter-spacing: .32em; font-size: 10px; color: #697287; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 270px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 60px rgba(32,20,70,.2);
  backdrop-filter: blur(18px);
  transform: translateY(130px);
  opacity: 0;
  transition: .4s cubic-bezier(.2,.8,.2,1);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-check {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg,#7140df,#3f36db);
}
.toast div { display: flex; flex-direction: column; }
.toast strong { font-size: 13px; }
.toast small { margin-top: 2px; color: #8b93a3; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal .8s forwards cubic-bezier(.2,.8,.2,1);
}
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }
.delay-4 { animation-delay: .48s; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes statusPulse {
  50% { box-shadow: 0 0 0 9px rgba(139,54,238,0); }
}

@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .hero-copy { text-align: center; }
  .eyebrow { margin-inline: auto; }
  h1, .intro, .waitlist { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; text-align: left; }
  .visual { min-height: 630px; }
  .feature-strip { margin-top: 25px; }
}

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 28px, 1240px); }
  .site-header { min-height: 88px; }
  .brand img { width: 168px; }
  .header-pill { display: none; }
  .hero { min-height: auto; padding: 35px 0 75px; }
  h1 { font-size: clamp(43px, 13vw, 64px); }
  .intro { font-size: 16px; }
  .input-wrap { padding: 8px; flex-wrap: wrap; }
  .mail-icon { margin-left: 8px; }
  .input-wrap input { min-width: calc(100% - 48px); }
  .input-wrap button { width: 100%; justify-content: center; }
  .visual { min-height: 545px; margin-top: 10px; }
  .portfolio-card { transform: none; border-radius: 22px; }
  .portfolio-card:hover { transform: translateY(-5px); }
  .profile-cover { height: 118px; }
  .profile-content { padding: 0 18px 20px; }
  .profile-avatar { width: 68px; height: 68px; margin-top: -34px; }
  .badge-top { top: 42px; right: -6px; }
  .badge-bottom { left: -4px; bottom: 30px; }
  .orbit-one { width: 470px; height: 470px; }
  .orbit-two { width: 390px; height: 390px; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-strip > div:last-child { border-bottom: 0; }
  footer { gap: 16px; flex-direction: column; text-align: center; }
}

@media (max-width: 430px) {
  .visual { min-height: 500px; }
  .portfolio-card { width: 100%; }
  .floating-badge { display: none; }
  .browser-address { padding-inline: 10px; }
  .profile-heading h2 { font-size: 21px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card-large { grid-column: span 2; grid-row: auto; }
  .work-card-large .work-art { height: 120px; }
  .profile-stats { justify-content: space-between; gap: 12px; }
  .orbit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
