:root {
  --bg: #070a12;
  --panel: #0c111d;
  --panel-2: #101725;
  --line: rgba(255,255,255,.09);
  --text: #f6f7fb;
  --muted: #9da7ba;
  --blue: #35a7ff;
  --purple: #8b5cf6;
  --pink: #ff4fb8;
  --gradient: linear-gradient(135deg, var(--blue), var(--purple) 52%, var(--pink));
  --shadow: 0 30px 100px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(71, 51, 160, .15), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(255, 79, 184, .08), transparent 27%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.shell { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }

.ambient { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .23; z-index: -1; }
.ambient-one { width: 360px; height: 360px; background: var(--purple); left: -130px; top: 20%; }
.ambient-two { width: 320px; height: 320px; background: var(--pink); right: -150px; top: 45%; }

.site-header {
  width: min(1320px, calc(100% - 32px));
  margin: 16px auto;
  min-height: 72px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 12px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7,10,18,.78);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 15px; letter-spacing: -.02em; }
.brand-copy small { font-size: 10px; color: var(--muted); letter-spacing: .05em; }
.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav > a { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.desktop-nav > a:hover { color: var(--text); }

.button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--text);
  background: transparent;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.22); }
.button-primary {
  border: 0;
  background: var(--gradient);
  box-shadow: 0 10px 35px rgba(139, 92, 246, .22);
}
.button-ghost { background: rgba(255,255,255,.025); }
.button-large { padding: 14px 22px; border-radius: 14px; font-weight: 700; }

.hero {
  min-height: calc(100vh - 104px);
  padding: 72px 0 90px;
  display: grid;
  grid-template-columns: .78fr 1.42fr;
  align-items: center;
  gap: 54px;
}
.eyebrow {
  color: #c9c3ff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow span { width: 26px; height: 2px; background: var(--gradient); border-radius: 99px; }
.eyebrow.small { font-size: 9px; }
.hero h1, .section-heading h2, .cta h2 {
  margin: 20px 0 22px;
  font-size: clamp(48px, 6vw, 86px);
  line-height: .95;
  letter-spacing: -.065em;
}
.hero h1 em, .section-heading h2 em, .cta h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--muted); font-size: 12px; }
.trust-row span::before { content: "✓"; color: #c49bff; margin-right: 7px; }

.hero-product { position: relative; min-width: 0; }
.app-window {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(10,14,24,.96);
  box-shadow: var(--shadow);
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
}
.window-bar {
  height: 62px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff6f61; }
.window-dots i:nth-child(2) { background: #f7c64b; }
.window-dots i:nth-child(3) { background: #42d981; }
.fake-search { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #778198; padding: 11px 16px; border-radius: 13px; font-size: 11px; }
.mini-post { border: 0; background: var(--gradient); color: white; border-radius: 11px; padding: 11px 14px; font-size: 10px; font-weight: 700; }
.app-layout { display: grid; grid-template-columns: 150px 1fr 145px; min-height: 510px; }

.sidebar { padding: 18px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.sidebar-brand { display: flex; align-items: center; gap: 8px; padding: 4px 5px 16px; font-size: 10px; }
.mini-logo { width: 24px; height: 24px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--gradient); font-size: 11px; font-weight: 800; }
.sidebar a { color: #aab3c4; padding: 8px 10px; border-radius: 9px; font-size: 9px; }
.sidebar a.active { color: white; background: linear-gradient(90deg, rgba(139,92,246,.36), rgba(255,79,184,.08)); }
.crew-title { margin: 16px 10px 4px; color: #667085; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }

.feed { padding: 20px; min-width: 0; }
.feed-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.feed-heading h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.04em; }
.feed-chip { color: #c5bddc; background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 8px 10px; border-radius: 10px; font-size: 8px; }
.post-card, .small-card, .panel-card, .feature-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border-radius: 16px;
}
.post-head { display: flex; align-items: center; gap: 9px; padding: 11px; }
.post-head > div:nth-child(2) { display: grid; gap: 1px; }
.post-head strong { font-size: 9px; }
.post-head small { font-size: 7px; color: var(--muted); }
.post-head button { margin-left: auto; color: var(--muted); background: transparent; border: 0; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-weight: 800; border: 1px solid rgba(255,255,255,.14); }
.avatar-one { background: linear-gradient(135deg,#2f80ed,#9b51e0); }
.avatar-two { background: linear-gradient(135deg,#ff9966,#ff5e62); }
.avatar-three { background: linear-gradient(135deg,#00c6ff,#0072ff); }
.avatar-four { background: linear-gradient(135deg,#f7971e,#ffd200); color: #121212; }
.avatar.more { background: #202738; color: #adb6c7; }

.photo { border-radius: 12px; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.photo::before, .photo::after { content: ""; position: absolute; inset: 0; }
.photo-ocean {
  height: 220px;
  margin: 0 10px;
  background:
    radial-gradient(circle at 70% 42%, rgba(255,225,140,.95) 0 2%, transparent 3%),
    linear-gradient(to top, #07182b 0 28%, transparent 29%),
    linear-gradient(170deg, #372661 0%, #d76772 42%, #ffba62 58%, #3f78a4 75%, #061624 100%);
}
.photo-ocean::before {
  background:
    radial-gradient(ellipse at 18% 70%, #09111d 0 4%, transparent 4.5%),
    radial-gradient(ellipse at 34% 70%, #09111d 0 5%, transparent 5.5%),
    radial-gradient(ellipse at 50% 70%, #09111d 0 4%, transparent 4.5%),
    linear-gradient(7deg, transparent 0 68%, rgba(255,255,255,.08) 69% 70%, transparent 71%);
}
.photo-copy { position: absolute; inset: auto 15px 14px; z-index: 2; display: grid; gap: 2px; text-shadow: 0 2px 18px #000; }
.photo-copy span { font-size: 8px; color: #d8dce7; }
.photo-copy strong { font-size: 13px; }
.post-actions { display: flex; align-items: center; gap: 14px; padding: 10px 12px; color: #c7ceda; font-size: 9px; }
.post-actions .save { margin-left: auto; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 11px; }
.small-card { padding: 8px; }
.small-card .photo { height: 115px; margin-bottom: 9px; }
.small-card strong { display: block; font-size: 9px; }
.small-card span { font-size: 7px; color: var(--muted); }
.photo-gym { background: linear-gradient(135deg,#111827,#a05d4b 55%,#252f45); }
.photo-gym::before { background: radial-gradient(ellipse at 52% 48%, rgba(0,0,0,.65) 0 13%, transparent 14%), linear-gradient(115deg, transparent 45%, rgba(255,255,255,.12) 46% 47%, transparent 48%); }
.photo-fire { background: radial-gradient(circle at 55% 68%, #ffd16e 0 5%, #f26c33 6% 13%, transparent 14%), linear-gradient(#07101e,#241323 65%,#05070c); }
.photo-fire::after { background: radial-gradient(circle at 28% 55%, rgba(0,0,0,.8) 0 7%, transparent 8%), radial-gradient(circle at 72% 54%, rgba(0,0,0,.75) 0 8%, transparent 9%); }

.activity-panel { padding: 18px 12px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.panel-card { padding: 12px; }
.panel-label { display: block; font-size: 8px; color: var(--muted); margin-bottom: 9px; }
.avatar-row { display: flex; }
.avatar-row .avatar { margin-left: -5px; }
.avatar-row .avatar:first-child { margin-left: 0; }
.invite-card { margin-top: auto; background: radial-gradient(circle at 100% 100%, rgba(255,79,184,.4), transparent 60%), linear-gradient(140deg, rgba(53,167,255,.12), rgba(139,92,246,.18)); }
.invite-card strong { display: block; font-size: 11px; line-height: 1.4; margin-bottom: 12px; }
.invite-card .button { padding: 8px 12px; font-size: 8px; }

.phone {
  position: absolute;
  width: 210px;
  right: -60px;
  bottom: -82px;
  border: 7px solid #1b2230;
  border-radius: 34px;
  background: #070b13;
  box-shadow: 0 25px 90px rgba(0,0,0,.65);
  overflow: hidden;
}
.phone-top { padding: 11px 15px 6px; display: flex; justify-content: space-between; font-size: 8px; }
.mobile-title { padding: 10px 13px; display: flex; gap: 8px; align-items: center; font-size: 10px; }
.stories { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; padding: 6px 10px 13px; }
.stories > div { text-align: center; }
.story { width: 31px; height: 31px; display: block; margin: auto; border-radius: 50%; padding: 2px; border: 2px solid var(--pink); background: #20283a; }
.story.s1 { background: linear-gradient(135deg,#7357ff,#ff709c); }
.story.s2 { background: linear-gradient(135deg,#177cc4,#73d0f4); }
.story.s3 { background: linear-gradient(135deg,#c27648,#2d1b18); }
.story.s4 { background: linear-gradient(135deg,#ff9b43,#421256); }
.stories small { font-size: 6px; color: var(--muted); }
.mobile-post { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-head.compact { padding: 9px; }
.photo-jump {
  height: 240px;
  border-radius: 0;
  background:
    radial-gradient(circle at 35% 35%, #10141c 0 3%, transparent 3.5%),
    radial-gradient(circle at 58% 30%, #10141c 0 4%, transparent 4.5%),
    linear-gradient(to top, #071827 0 30%, transparent 31%),
    linear-gradient(170deg,#2e1e56,#dd716b 43%,#ffbb69 60%,#487ea2 76%,#061522);
}
.photo-jump::before { background: linear-gradient(18deg, transparent 0 55%, rgba(0,0,0,.65) 56% 58%, transparent 59%); }
.mobile-nav { height: 48px; display: flex; justify-content: space-around; align-items: center; color: #ccd2dd; }
.mobile-nav .plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); font-size: 19px; }

.feature-section { padding: 130px 0 100px; }
.section-heading { max-width: 750px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-card { padding: 24px; min-height: 220px; }
.feature-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 23px; background: linear-gradient(135deg,rgba(53,167,255,.16),rgba(255,79,184,.18)); border: 1px solid rgba(139,92,246,.25); }
.feature-card h3 { margin: 32px 0 10px; letter-spacing: -.03em; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }

.cta {
  margin-bottom: 80px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  background: radial-gradient(circle at 80% 100%, rgba(255,79,184,.16), transparent 44%), radial-gradient(circle at 10% 0%, rgba(53,167,255,.12), transparent 45%), var(--panel);
}
.cta h2 { font-size: clamp(42px, 5vw, 72px); margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.small-mark { width: 35px; height: 35px; }
.footer-brand .brand-copy strong { color: var(--text); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #151c2a;
  border: 1px solid var(--line);
  color: white;
  border-radius: 13px;
  padding: 13px 18px;
  box-shadow: var(--shadow);
  transition: .25s ease;
  z-index: 50;
  font-size: 13px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { max-width: 720px; }
  .hero-product { width: calc(100% - 50px); }
  .phone { right: -40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 26px, 1220px); }
  .desktop-nav > a, .desktop-nav .button-ghost { display: none; }
  .brand-copy small { display: none; }
  .hero { padding: 42px 0 80px; }
  .hero h1 { font-size: clamp(48px, 15vw, 74px); }
  .hero-product { width: 100%; }
  .app-window { transform: none; }
  .window-bar { grid-template-columns: 55px 1fr; }
  .mini-post { display: none; }
  .app-layout { grid-template-columns: 80px 1fr; }
  .activity-panel { display: none; }
  .sidebar { padding-inline: 7px; }
  .sidebar-brand strong, .sidebar a { font-size: 0; }
  .sidebar a::first-letter { font-size: 13px; }
  .sidebar-brand { justify-content: center; }
  .crew-title { display: none; }
  .feed { padding: 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .phone { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .cta { padding: 35px 25px; align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; gap: 18px; flex-direction: column; }
}
