:root {
  --ink: #f7f7fb;
  --muted: #9c9bab;
  --panel: rgba(24, 23, 31, 0.78);
  --line: rgba(255, 255, 255, 0.1);
  --purple: #8b5cf6;
  --pink: #ec4899;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #0a090e;
  font-family: "DM Sans", sans-serif;
}

.ambient { position: fixed; width: 42rem; height: 42rem; border-radius: 50%; filter: blur(130px); opacity: .18; pointer-events: none; }
.ambient-one { background: var(--purple); top: -25rem; right: -12rem; }
.ambient-two { background: var(--pink); bottom: -32rem; left: -15rem; }
.shell { width: min(1120px, calc(100% - 40px)); margin: auto; padding-bottom: 70px; position: relative; }
nav { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font: 700 18px "Manrope"; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: linear-gradient(135deg, var(--purple), var(--pink)); }
.brand-dim { color: #858392; }
.secure-pill { color: #aaa8b6; border: 1px solid var(--line); border-radius: 99px; padding: 8px 13px; font-size: 12px; }
.secure-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #5ee098; box-shadow: 0 0 12px #5ee098; }
.hero { text-align: center; padding: 78px 0 48px; }
.eyebrow { display: inline-block; margin-bottom: 20px; color: #c8b7ff; background: rgba(139, 92, 246, .12); border: 1px solid rgba(139, 92, 246, .26); border-radius: 99px; padding: 8px 13px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font: 800 clamp(42px, 7vw, 76px)/1.04 "Manrope"; letter-spacing: -.06em; }
h1 span { background: linear-gradient(100deg, #aa89ff, #f075b5); color: transparent; background-clip: text; }
.hero p { max-width: 630px; margin: 24px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.connection-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; max-width: 850px; margin: 0 auto; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 25px; backdrop-filter: blur(20px); box-shadow: 0 24px 90px rgba(0,0,0,.35); }
.card-glow { position: absolute; inset: auto -40px -90px auto; width: 180px; height: 180px; background: var(--purple); filter: blur(80px); opacity: .16; pointer-events: none; }
.instagram-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(145deg, #6d3ef2, #e844a0 70%, #fb9a42); box-shadow: inset 0 1px rgba(255,255,255,.35), 0 12px 35px rgba(185,67,180,.22); }
.instagram-icon svg { width: 33px; fill: none; stroke: white; stroke-width: 1.8; }
.connection-copy h2 { margin: 4px 0 6px; font: 700 21px "Manrope"; }
.connection-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.status-label { color: #aa89ff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.primary-button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 49px; padding: 0 18px; color: white; background: linear-gradient(120deg, #7650e7, #b64ccc); border: 0; border-radius: 13px; box-shadow: inset 0 1px rgba(255,255,255,.22), 0 8px 30px rgba(133,70,214,.24); font: 700 13px "DM Sans"; cursor: pointer; text-decoration: none; transition: transform .2s, filter .2s; }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.arrow { font-size: 17px; }
.text-button { grid-column: 3; color: #b2afbd; background: none; border: 0; cursor: pointer; font: 600 12px "DM Sans"; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 850px; margin: 30px auto 0; }
.feature-grid article { padding: 22px; border: 1px solid rgba(255,255,255,.07); border-radius: 18px; background: rgba(255,255,255,.025); }
.feature-grid span { color: #7d5fc9; font: 700 11px "Manrope"; }
.feature-grid h3 { margin: 22px 0 8px; font: 700 14px "Manrope"; }
.feature-grid p { margin: 0; color: #858392; font-size: 12px; line-height: 1.6; }
.hidden { display: none !important; }
dialog { width: min(460px, calc(100% - 30px)); color: var(--ink); background: #17151e; border: 1px solid rgba(255,255,255,.12); border-radius: 25px; padding: 34px; box-shadow: 0 30px 120px #000; }
dialog::backdrop { background: rgba(5,4,8,.75); backdrop-filter: blur(8px); }
.close-button { position: absolute; top: 16px; right: 18px; color: #aaa; background: none; border: 0; font-size: 25px; cursor: pointer; }
.dialog-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 15px; background: linear-gradient(145deg, var(--purple), var(--pink)); font: 800 13px "Manrope"; }
dialog h2 { margin: 0; font: 800 24px "Manrope"; }
dialog p, dialog small { color: var(--muted); line-height: 1.6; }
dialog ul { display: grid; gap: 12px; padding: 0; margin: 24px 0; list-style: none; color: #d0ced8; font-size: 13px; }
dialog li span { margin-right: 8px; color: #8ce3ad; }
.dialog-action { margin-bottom: 18px; }
dialog small { display: block; text-align: center; font-size: 10px; }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translateX(-50%); padding: 12px 17px; color: white; background: #24212e; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; box-shadow: 0 15px 50px #000; }

@media (max-width: 760px) {
  .brand-dim, .secure-pill { display: none; }
  .hero { padding-top: 55px; }
  .connection-card { grid-template-columns: auto 1fr; }
  .connection-card .primary-button, .text-button { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: 1fr; }
}
