:root {
  --bg: #05070b;
  --surface: rgba(10, 15, 24, 0.58);
  --surface-strong: rgba(13, 20, 34, 0.82);
  --text: #f5f7fa;
  --muted: #a8b3c7;
  --muted-soft: #6f7b91;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #3b82f6;
  --blue-soft: #60a5fa;
  --glow: rgba(59, 130, 246, 0.28);
  --max: 1040px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 76vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::selection {
  background: rgba(96, 165, 250, 0.35);
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(96,165,250,0.14), transparent 34%),
    radial-gradient(circle at 85% 35%, rgba(59,130,246,0.12), transparent 30%),
    linear-gradient(180deg, #05070b 0%, #070b13 45%, #030509 100%);
}

.orb {
  position: absolute;
  width: 42vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.34;
  animation: floatOrb 16s ease-in-out infinite alternate;
}

.orb-one {
  left: -14vw;
  top: 18vh;
  background: rgba(59, 130, 246, 0.35);
}

.orb-two {
  right: -16vw;
  bottom: -8vh;
  background: rgba(96, 165, 250, 0.20);
  animation-duration: 21s;
}

.grid-noise {
  position: absolute;
  inset: 0;
  opacity: 0.20;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
}

@keyframes floatOrb {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(4vw,-3vh,0) scale(1.08); }
}

.site-header {
  position: relative;
  z-index: 5;
  width: min(760px, 100%);
  margin: 0 auto 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  display: block;
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255,255,255,0.065);
}

.nav-links .demo-link {
  color: #ffffff;
  border: 1px solid rgba(96, 165, 250, 0.32);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.08);
}

.nav-links .demo-link:hover,
.nav-links .demo-link.is-active {
  background: rgba(59, 130, 246, 0.24);
  border-color: rgba(96, 165, 250, 0.52);
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
  text-align: center;
}

.hero {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 46px;
}

.logo-stage {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(255,255,255,0.025);
  box-shadow: 0 0 70px rgba(59, 130, 246, 0.18);
}

.hero-symbol {
  width: 50px;
  height: 50px;
  animation: symbolBreath 4.8s ease-in-out infinite;
}

@keyframes symbolBreath {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(59,130,246,0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 22px rgba(59,130,246,0.38)); }
}

.kicker,
.section-label {
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(52px, 7.2vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-copy {
  margin: 18px auto 0;
  max-width: 820px;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.hero-subcopy,
.section-shell > p:not(.kicker):not(.section-label),
.micro-note {
  margin: 18px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
}

h2 {
  margin: 0 auto;
  max-width: 920px;
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.statement-section,
.audience-section,
.confidence-section {
  border-top: 1px solid var(--line);
}

.statement-section.section-shell,
.audience-section.section-shell,
.instant-section.section-shell,
.confidence-section.section-shell,
.no-more-section.section-shell,
.final-statement.section-shell {
  padding-top: 76px;
  padding-bottom: 76px;
}

.hero + .statement-section {
  margin-top: -24px;
}

.instant-section,
.experience-section,
.system-section,
.no-more-section,
.final-statement,
.final-cta {
  position: relative;
}

.pulse-line {
  width: min(520px, 64vw);
  height: 1px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.9), transparent);
  box-shadow: 0 0 30px rgba(96,165,250,0.45);
  animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.86); }
  50% { opacity: 1; transform: scaleX(1); }
}

.experience-section {
  margin-top: 22px;
  padding: 78px 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13,20,34,0.82), rgba(7,11,19,0.52));
  box-shadow: 0 30px 100px rgba(0,0,0,0.32), inset 0 0 70px rgba(59,130,246,0.045);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(96,165,250,0.45);
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, rgba(96,165,250,0.95), rgba(59,130,246,0.95));
  box-shadow: 0 16px 46px rgba(59,130,246,0.26);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 64px rgba(59,130,246,0.40);
  border-color: rgba(255,255,255,0.5);
}

.micro-note {
  max-width: 520px;
  font-size: 14px;
  color: var(--muted-soft);
}

.system-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.system-list div {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.035);
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.no-more-section h2,
.final-statement h2 {
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.035em;
}

.footer-logo {
  display: block;
  width: min(280px, 60vw);
  height: auto;
  margin: 0 auto 26px;
}

.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 15, 24, 0.92);
  color: var(--text);
  box-shadow: 0 18px 70px rgba(0,0,0,0.32);
  backdrop-filter: blur(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

@media (max-width: 820px) {
  .site-header {
    width: 100%;
    margin-bottom: 28px;
    gap: 14px;
  }

  .brand-mark { justify-self: center; }
  .brand-mark img { height: 34px; }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 6px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links a {
    flex: 0 0 auto;
    font-size: 12px;
    padding: 9px 11px;
  }

  .section-shell { padding: 70px 0; }

  .hero { padding-top: 40px; min-height: 78vh; }

  .logo-stage {
    width: 74px;
    height: 74px;
    border-radius: 26px;
  }

  .hero-symbol {
    width: 44px;
    height: 44px;
  }

  .experience-section {
    padding: 64px 20px;
    border-radius: 28px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

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


/* ===== Linkive v5 Sections ===== */

.solution-copy{
  margin-top:16px;
  font-size:1.2rem;
  opacity:.95;
}

.video-placeholder{
  margin-top:40px;
  margin-bottom:32px;
}

.video-frame{
  border:1px solid rgba(255,255,255,.08);
  border-radius:28px;
  padding:80px 30px;
  background:rgba(255,255,255,.03);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}

.video-frame span{
  font-size:1.3rem;
  font-weight:600;
}

.video-frame small{
  opacity:.65;
  letter-spacing:.05em;
}

.cards-placeholder{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:28px;
}

.demo-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  padding:24px;
  background:rgba(255,255,255,.025);
}

.card-status{
  display:block;
  margin-bottom:20px;
  opacity:.8;
  font-size:.9rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.card-preview{
  height:320px;
  border-radius:20px;
  background:linear-gradient(180deg,#161616,#0a0a0a);
  border:1px solid rgba(255,255,255,.05);
}

.card-preview.updated{
  background:linear-gradient(180deg,#1f1f1f,#0d0d0d);
  box-shadow:0 0 40px rgba(255,255,255,.04);
}

.shared-link{
  margin-top:30px;
  text-align:center;
  font-family:monospace;
  opacity:.7;
}

.interactive-section{
  text-align:center;
}

.interactive-grid{
  margin-top:40px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}

.interactive-grid span{
  border:1px solid rgba(255,255,255,.08);
  padding:14px 22px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  font-size:.95rem;
}

.cta-subtext{
  margin-top:18px;
  opacity:.75;
}


/* ===== Linkive v6 ===== */

.philosophy-section{
  text-align:center;
  padding-top:40px;
}

.manifesto-line{
  max-width:920px;
  margin:0 auto;
  font-size:1.25rem;
  line-height:1.9;
  opacity:.82;
  letter-spacing:.01em;
}

.publishing-section{
  text-align:center;
}

.publishing-grid{
  margin-top:40px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}

.publishing-grid span{
  border:1px solid rgba(255,255,255,.08);
  padding:14px 22px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  font-size:.95rem;
}



/* ===== Linkive v7 polishing ===== */

/* Stronger philosophical definition */
.philosophy-section{
  padding-top:72px !important;
  padding-bottom:52px !important;
}

.manifesto-line{
  max-width:1040px !important;
  font-size:clamp(1.25rem, 1.6vw, 1.72rem) !important;
  line-height:1.75 !important;
  opacity:.94 !important;
  color:rgba(245,247,250,.92);
  text-wrap:balance;
  position:relative;
}

.manifesto-line::before,
.manifesto-line::after{
  content:"";
  display:block;
  width:88px;
  height:1px;
  margin:0 auto 28px;
  background:linear-gradient(90deg, transparent, rgba(96,165,250,.65), transparent);
}

.manifesto-line::after{
  margin:28px auto 0;
}

/* More impact for the core slogan */
.final-statement,
.no-more-section,
section:has(#final-title){
  position:relative;
}

#final-title,
.final-statement h2,
.no-more-section + section h2{
  text-shadow:0 0 34px rgba(59,130,246,.14);
}

/* Extra glow around One link moment, safely scoped */
h2:has(+ .cta-subtext),
.final-cta h2{
  text-shadow:0 0 30px rgba(59,130,246,.16);
}

/* Experience block gets more visual weight */
.experience-section{
  box-shadow:
    0 0 0 1px rgba(96,165,250,.07),
    0 34px 120px rgba(37,99,235,.10);
}

.video-frame{
  position:relative;
  overflow:hidden;
  box-shadow:inset 0 0 50px rgba(96,165,250,.04);
}

.video-frame::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 50% 50%, rgba(96,165,250,.12), transparent 34%),
    linear-gradient(120deg, transparent, rgba(255,255,255,.035), transparent);
  opacity:.55;
  animation:linkiveSlowDrift 10s ease-in-out infinite alternate;
}

.video-frame span,
.video-frame small{
  position:relative;
  z-index:1;
}

/* Cards become more obviously interactive without disturbing final assets */
.demo-card{
  transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.demo-card:hover{
  transform:translateY(-4px);
  border-color:rgba(96,165,250,.22);
  box-shadow:0 18px 70px rgba(37,99,235,.09);
}

.card-preview{
  position:relative;
  overflow:hidden;
  cursor:pointer;
}

.card-preview::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 0%, rgba(96,165,250,.12), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  opacity:.65;
}

.card-preview span{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%) translateY(8px);
  opacity:0;
  z-index:2;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(12,18,30,.76);
  border:1px solid rgba(255,255,255,.10);
  font-size:.78rem;
  letter-spacing:.04em;
  transition:opacity .3s ease, transform .3s ease;
  white-space:nowrap;
}

.card-preview:hover span{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* Publishing and interactive pills get a little more presence */
.publishing-grid span,
.interactive-grid span{
  transition:transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.publishing-grid span:hover,
.interactive-grid span:hover{
  transform:translateY(-3px);
  border-color:rgba(96,165,250,.22);
  background:rgba(96,165,250,.055);
  box-shadow:0 14px 38px rgba(37,99,235,.08);
}

.interactive-grid span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* WhatsApp CTA refinement */
.final-cta .cta-button,
#request .cta-button,
a[href*="wa.me"],
a[href*="whatsapp"]{
  box-shadow:0 0 0 rgba(59,130,246,0);
  animation:linkiveSoftPulse 3.8s ease-in-out infinite;
}

.final-cta .cta-button:hover,
#request .cta-button:hover,
a[href*="wa.me"]:hover,
a[href*="whatsapp"]:hover{
  transform:translateY(-2px) scale(1.02);
}

/* Improve final spacing slightly */
.final-cta{
  padding-top:90px !important;
}

.cta-subtext{
  font-size:1rem;
  opacity:.82 !important;
}

/* Balanced section breathing */
.publishing-section{
  padding-top:78px !important;
}

.interactive-section{
  padding-top:64px !important;
}

@keyframes linkiveSoftPulse{
  0%,100%{
    box-shadow:0 0 0 rgba(59,130,246,0), 0 0 28px rgba(59,130,246,.16);
  }
  50%{
    box-shadow:0 0 0 8px rgba(59,130,246,.035), 0 0 46px rgba(59,130,246,.28);
  }
}

@keyframes linkiveSlowDrift{
  from{
    transform:translate3d(-2%, -1%, 0) scale(1);
  }
  to{
    transform:translate3d(2%, 1%, 0) scale(1.06);
  }
}

@media (max-width: 760px){
  .manifesto-line{
    font-size:1.08rem !important;
    line-height:1.7 !important;
  }

  .philosophy-section{
    padding-top:48px !important;
    padding-bottom:34px !important;
  }

  .video-frame{
    padding:58px 20px !important;
  }
}


/* ===== Refined Vertical Video Experience ===== */

.video-placeholder {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 120px auto 70px;
}

.video-frame {
  width: 580px;
  height: 1030px;
  border-radius: 42px;
  overflow: hidden;
  position: relative;

  background:
    radial-gradient(circle at top,
      rgba(18, 50, 120, 0.55),
      rgba(5, 8, 22, 0.98) 72%);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 40px 120px rgba(0,0,0,0.55),
    0 10px 50px rgba(10,42,102,0.25);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

@media (max-width: 768px) {
  .video-frame {
    width: 92vw;
    height: auto;
    aspect-ratio: 9 / 16;
  }
}

/* ===== Linkive v9 media integration ===== */
.logo-stage,
.hero-symbol {
  flex: 0 0 auto;
}

.hero-symbol {
  display: block;
  object-fit: contain;
}

.video-showcase {
  width: min(520px, 100%);
  margin: 42px auto 30px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    rgba(2, 6, 14, .52);
  box-shadow:
    0 34px 120px rgba(0,0,0,.42),
    0 0 80px rgba(59,130,246,.08),
    inset 0 0 0 1px rgba(255,255,255,.025);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 78vh;
  border: 0;
  border-radius: 26px;
  background: #02050b;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.demo-card {
  margin: 0;
  overflow: hidden;
}

.image-preview {
  position: relative;
  height: auto;
  aspect-ratio: 1014 / 1551;
  padding: 0;
  overflow: hidden;
  background: #050505;
}

.image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.image-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.055), inset 0 -70px 90px rgba(0,0,0,.22);
}

.cards-placeholder {
  align-items: start;
}

.shared-link span {
  color: rgba(255,255,255,.78);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

@media (max-width: 640px) {
  .video-showcase {
    width: min(390px, 100%);
    border-radius: 28px;
    padding: 8px;
  }

  .demo-video {
    border-radius: 22px;
    max-height: 72vh;
  }

  .cards-placeholder {
    gap: 18px;
  }

  .demo-card {
    padding: 16px;
    border-radius: 22px;
  }
}

.live-card-link{
  text-decoration:none;
  color:inherit;
  display:block;
}

.live-card-link figure{
  margin:0;
}

.open-live{
  display:inline-flex;
  align-items:center;
  margin-top:18px;
  opacity:.72;
  font-size:.82rem;
  letter-spacing:.05em;
  transition:opacity .25s ease, transform .25s ease;
}

.live-card-link:hover .open-live{
  opacity:1;
  transform:translateX(2px);
}
