/* =========================
   Root + Reset
========================= */
:root{
  --bg1:#050712;
  --bg2:#0b1a24;
  --accent:#6d5bff;
  --accent2:#4cc9f0;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.75);
}

*{ box-sizing:border-box; margin:0; padding:0; }

html,body{ 
  height:100%;
  scroll-behavior: smooth; 
}

html{
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(109,91,255,.25), transparent 60%),
    radial-gradient(900px 500px at 85% 60%, rgba(76,201,240,.22), transparent 65%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

body{
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(109,91,255,.25), transparent 60%),
    radial-gradient(900px 500px at 85% 60%, rgba(76,201,240,.22), transparent 65%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  color:var(--text);
  height: auto;
  min-height: 100vh;
  overflow-x:hidden;
}

/* =========================
   Containers
========================= */
.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* =========================
   Navigation
========================= */
.logo-img{
  width: 90px;   /* was ~34px */
  height: 90px;
}

.logo-text{
  font-size:16px; /* slightly stronger presence */
  color: var(--text);
  text-decoration: none !important;
  border-bottom: none;
}

.logo:hover{
  opacity: 0.8;
}

.nav{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(180deg, rgba(5,7,18,.95), rgba(5,7,18,.6));
  backdrop-filter: blur(10px);
  border-bottom: .5px solid rgba(255,255,255,.04);
}


.nav-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  text-decoration: none;
  white-space:nowrap;
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 0 14px rgba(109,91,255,.5);
}

.nav-links{
  display:flex;
  gap:22px;
}

.nav-links a{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
}

.nav-links a:hover{ color:white; }

/* =========================
   Buttons
========================= */
.btn{
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#000;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}


.ghost{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  color:white;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* =========================
   Mobile Nav
========================= */
.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  cursor:pointer;
  position:relative;
}

.burger span{
  position:absolute;
  left:12px;
  right:12px;
  height:2px;
  background:white;
  border-radius:999px;
  transition:.25s;
}

.burger span:nth-child(1){ top:15px; }
.burger span:nth-child(2){ top:21px; }
.burger span:nth-child(3){ top:27px; }

.burger.active span:nth-child(1){
  top:21px;
  transform:rotate(45deg);
}
.burger.active span:nth-child(2){ opacity:0; }
.burger.active span:nth-child(3){
  top:21px;
  transform:rotate(-45deg);
}

.mobile-menu{
  display:none;
  background:linear-gradient(180deg, rgba(5,7,18,.92), rgba(5,7,18,.8));
  backdrop-filter: blur(14px);
  border-top:1px solid rgba(255,255,255,.08);
}

.mobile-menu a{
  display:block;
  padding:14px 24px;
  text-decoration:none;
  color:var(--muted);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.mobile-menu a:hover{ color:white; }

.mobile-menu .mobile-cta{
  margin:16px 24px;
  width:calc(100% - 48px);
}

.mobile-menu.open{ display:block; }

/* =========================
   Hero Section
========================= */
.hero{
  padding:96px 0 80px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr;
  gap:48px;
}

.hero-grid > .panel{
  align-self: flex-start;
  margin-top: 56px;
}

.kicker{
  display:inline-block;
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  margin-bottom:18px;
}

.h1{
  font-size:clamp(32px,5vw,64px);
  line-height:1.05;
  font-weight:900;
  margin-bottom:18px;
}

.sub{
  font-size:18px;
  line-height:1.6;
  color:var(--muted);
  max-width:60ch;
}

.hero-ctas{
  margin-top:22px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================
   Panels
========================= */
.panel{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:28px;
  padding-bottom: 20px;
  backdrop-filter: blur(14px);
}

.outcomes{
  margin-top:16px;
  margin-bottom: 0;
  list-style:none;
  display:grid;
  gap:12px;
}

.outcomes li{
  display:flex;
  gap:10px;
  color:var(--muted);
}

.outcomes li:last-child{
    margin-bottom: 0;
}

.outcomes li::before{
  content:"";
  width:8px;
  height:8px;
  margin-top:8px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
}

/* =========================
   Sections
========================= */
section{
  padding:80px 0;
}

.section-title{
  font-size:36px;
  font-weight:900;
  margin-bottom:12px;
}

.section-sub{
  color:var(--muted);
  margin-bottom:32px;
  max-width:70ch;
}

/* =========================
   Cards
========================= */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.card{
  padding:24px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  transition:.25s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  color: #7187ff;
}

/* =========================
   Steps
========================= */
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top: 24px;
}

.step{
  padding:24px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}

.badge{
  width:32px;
  height:32px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  display:grid;
  place-items:center;
  font-weight:800;
  color:#000;
  margin-bottom:12px;
}

/* =========================
   CTA
========================= */
.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  background:linear-gradient(135deg,rgba(109,91,255,.18),rgba(76,201,240,.18));
  border:1px solid rgba(255,255,255,.15);
  padding:36px;
  border-radius:22px;
}

/* =========================
   Footer
========================= */
footer{
  padding:24px 0;
  text-align:center;
  font-size:13px;
  color:rgba(234,240,255,.6);
}

/* =========================
   ONLY CHANGE: Blend background in Workflows section
========================= */
#workflows{
  position: relative;
  overflow: visible;
}

#workflows::before{
  content: none;
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(5,7,18,0.55),
    rgba(5,7,18,0.85)
  );
  pointer-events:none;
  z-index:0;
}

#workflows .container{
  position: relative;
  z-index:1;
}

/* =========================
   Responsive
========================= */
@media(max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; }
  .cards, .steps{ grid-template-columns:repeat(2,1fr); }
}

@media(max-width:820px){
  .nav-links{ display:none; }
  .burger{ display:flex; }
}

@media(max-width:600px){
  .container { 
    padding:0 16px; 
  }
  .cards, .steps { 
    grid-template-columns:1fr; 
  }
  .btn, .ghost { 
    width:100%; 
  }
  .btn{
    text-align: center;
  }
  .nav-cta {
    display: none;
  }
  .logo-img{
    width: 60px;
    height: 60px;
  }
  .logo-text{
    font-size:18px;
  }
  .kicker{
    margin-top: 80px;
  }
}
