
/* NorthStar Pipeline — styles.css */
:root{
  --navy:#071A2E;
  --deep:#0E2B4A;
  --blue:#1F4E8C;
  --blue2:#3D77C6;
  --gold:#F2C14E;
  --white:#F7FAFF;
  --muted:rgba(247,250,255,.78);
  --line:rgba(247,250,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.40);
  --shadow2: 0 10px 30px rgba(0,0,0,.25);
  --radius: 18px;
  --radius2: 26px;
  --ease: cubic-bezier(.2,.9,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 60% -10%, rgba(61,119,198,.25), transparent 55%),
              radial-gradient(900px 600px at 20% 20%, rgba(242,193,78,.12), transparent 55%),
              linear-gradient(180deg, var(--navy), #051223);
  color:var(--white);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}
.row{display:flex; gap:24px}
@media (max-width: 900px){ .row{flex-direction:column} }

/* Top nav */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,26,46,.60);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  letter-spacing:.4px;
}
.brand img{width:42px; height:42px; border-radius:12px; box-shadow: var(--shadow2)}
.brand .name{font-weight:800; font-size:16px}
.brand .tag{font-size:12px; color:var(--muted); margin-top:2px}

.nav-links{
  display:flex; gap:18px; align-items:center;
}
.nav-links a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.nav-links a:hover{
  background: rgba(61,119,198,.14);
  color:var(--white);
  transform: translateY(-1px);
}
.nav-cta{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(61,119,198,.35);
  background: rgba(31,78,140,.18);
  color:var(--white);
  font-weight:700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  cursor:pointer;
}
.btn:hover{transform: translateY(-2px); background: rgba(31,78,140,.28); border-color: rgba(61,119,198,.65); box-shadow: 0 12px 30px rgba(0,0,0,.25)}
.btn:active{transform: translateY(0px) scale(.99)}
.btn.primary{
  border:1px solid rgba(242,193,78,.55);
  background: linear-gradient(135deg, rgba(242,193,78,.95), rgba(242,193,78,.65));
  color:#081427;
}
.btn.primary:hover{filter: brightness(1.02); box-shadow: 0 14px 40px rgba(242,193,78,.18)}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(242,193,78,.22);
  background: rgba(242,193,78,.10);
  color: rgba(247,250,255,.92);
  font-weight:650;
  font-size:12px;
}
.dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(242,193,78,.16);
}

/* Mobile menu */
.burger{display:none}
@media (max-width: 860px){
  .nav-links{display:none}
  .burger{display:inline-flex}
  .mobile{
    display:none;
    padding: 0 0 14px 0;
  }
  .mobile.open{display:block}
  .mobile a{
    display:block;
    padding:12px 10px;
    border-radius:12px;
    color:var(--muted);
    border:1px solid transparent;
  }
  .mobile a:hover{background: rgba(61,119,198,.14); color:var(--white); border-color: rgba(61,119,198,.25)}
}

/* Hero */
.hero{
  position:relative;
  padding:70px 0 36px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:center;
}
@media (max-width: 900px){ .hero-grid{grid-template-columns:1fr} }

.h1{
  font-size: clamp(34px, 4.2vw, 58px);
  line-height:1.05;
  letter-spacing:-.8px;
  margin:14px 0 12px 0;
}
.sub{
  font-size: 16px;
  line-height:1.7;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.card{
  background: rgba(14,43,74,.52);
  border:1px solid rgba(247,250,255,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.hero-card{
  padding:18px;
  overflow:hidden;
  position:relative;
}
.glow{
  position:absolute; inset:-60px -80px auto auto;
  width:220px; height:220px;
  background: radial-gradient(circle, rgba(61,119,198,.42), transparent 60%);
  filter: blur(1px);
  pointer-events:none;
  animation: float 7s ease-in-out infinite;
}
@keyframes float{
  0%,100%{transform: translate(0,0)}
  50%{transform: translate(-22px, 18px)}
}
.hero-metric{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px; border-radius:18px;
  border:1px solid rgba(247,250,255,.10);
  background: rgba(7,26,46,.35);
  margin-top:12px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.hero-metric:hover{transform: translateY(-2px); border-color: rgba(242,193,78,.35); background: rgba(7,26,46,.55)}
.hero-metric b{display:block; font-size:14px}
.hero-metric span{display:block; color:var(--muted); font-size:12px; margin-top:3px}

/* Sections */
section{padding:46px 0}
.kicker{color:rgba(242,193,78,.92); font-weight:800; letter-spacing:.14em; font-size:12px}
.h2{font-size: clamp(24px, 2.6vw, 36px); margin:10px 0 12px 0}
.p{color:var(--muted); line-height:1.7}

.grid3{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.grid2{
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap:16px;
}
@media (max-width: 900px){ .grid3,.grid2{grid-template-columns:1fr} }

.tile{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(14,43,74,.46);
  border:1px solid rgba(247,250,255,.10);
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
  position:relative;
  overflow:hidden;
}
.tile:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(600px 240px at 20% 0%, rgba(61,119,198,.22), transparent 55%);
  opacity:.9;
  pointer-events:none;
}
.tile:hover{
  transform: translateY(-3px);
  border-color: rgba(61,119,198,.40);
  background: rgba(14,43,74,.60);
}
.tile h3{margin:2px 0 8px 0; font-size:16px}
.tile p{margin:0; color:var(--muted); line-height:1.6}

.list{
  margin:12px 0 0 0; padding:0; list-style:none;
}
.list li{
  display:flex; gap:10px;
  padding:10px 0;
  border-top:1px solid rgba(247,250,255,.08);
  color:var(--muted);
}
.list li:first-child{border-top:none}
.check{
  width:20px; height:20px; border-radius:6px;
  background: rgba(242,193,78,.14);
  border:1px solid rgba(242,193,78,.25);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 20px;
}

/* Pricing */
.pricing{
  display:grid; grid-template-columns: 1fr 1fr 1fr;
  gap:16px;
}
@media (max-width: 950px){ .pricing{grid-template-columns:1fr} }
.price-card{padding:20px; position:relative}
.price-card .price{
  font-size:34px; font-weight:900; letter-spacing:-.5px;
}
.price-card .per{color:var(--muted); font-weight:650}
.ribbon{
  position:absolute; top:16px; right:16px;
  padding:8px 10px; border-radius:999px;
  background: rgba(242,193,78,.12);
  border:1px solid rgba(242,193,78,.28);
  color:rgba(247,250,255,.92);
  font-weight:800; font-size:12px;
}
.price-card.highlight{
  border-color: rgba(242,193,78,.35);
  background: rgba(14,43,74,.62);
}

/* FAQ */
.faq{display:grid; gap:10px}
details{
  border:1px solid rgba(247,250,255,.10);
  border-radius: 16px;
  background: rgba(14,43,74,.42);
  padding:14px 16px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
details[open]{border-color: rgba(242,193,78,.35)}
details:hover{transform: translateY(-1px)}
summary{cursor:pointer; font-weight:800}
details p{margin:10px 0 0 0; color:var(--muted); line-height:1.7}

/* Forms */
form{display:grid; gap:12px}
.field{
  display:grid; gap:6px;
}
label{font-weight:700; color:rgba(247,250,255,.92); font-size:13px}
input, select, textarea{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(247,250,255,.12);
  background: rgba(7,26,46,.42);
  color: var(--white);
  outline:none;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
textarea{min-height: 120px; resize: vertical}
input:focus, select:focus, textarea:focus{
  border-color: rgba(61,119,198,.55);
  background: rgba(7,26,46,.60);
}
.helper{font-size:12px; color: var(--muted)}

/* Footer */
.footer{
  padding:34px 0;
  border-top:1px solid rgba(247,250,255,.10);
  background: rgba(7,26,46,.55);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:18px;
}
@media (max-width: 900px){ .footer-grid{grid-template-columns:1fr} }
.small{font-size:12px; color:var(--muted); line-height:1.7}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--white)}

/* Scroll reveal */
.reveal{opacity:0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease)}
.reveal.show{opacity:1; transform:none}

/* Subtle animated underline on links */
.uline{
  position:relative;
}
.uline:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  background: linear-gradient(90deg, transparent, rgba(242,193,78,.85), transparent);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
  transform-origin:center;
}
.uline:hover:after{transform: scaleX(1)}

/* Page header */
.pagehead{
  padding:44px 0 18px 0;
}
.breadcrumb{
  display:flex; gap:10px; flex-wrap:wrap;
  color:var(--muted); font-size:12px;
}
.hr{
  height:1px; background: rgba(247,250,255,.10);
  margin:18px 0 0 0;
}

/* Toast */
.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  background: rgba(14,43,74,.85);
  border: 1px solid rgba(247,250,255,.12);
  border-radius: 16px;
  padding: 12px 14px;
  max-width: 340px;
  box-shadow: var(--shadow2);
  display:none;
}
.toast.show{display:block; animation: pop .35s var(--ease)}
@keyframes pop{
  from{opacity:0; transform: translateY(10px) scale(.98)}
  to{opacity:1; transform:none}
}
.toast b{display:block; margin-bottom:4px}
.toast span{color:var(--muted); font-size:12px; line-height:1.5}

/* NorthStar Animated Section Divider */
.ns-divider{
  height: 2px;
  margin: 64px auto;
  width: 80%;
  position: relative;
  overflow: hidden;
}
.ns-divider::before{
  content:"";
  position:absolute;
  left:-30%;
  top:0;
  height:100%;
  width:30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  animation: nsSweep 2.8s infinite;
}
@keyframes nsSweep{
  0%{ left:-30%; }
  100%{ left:100%; }
}


/* --- Animated Section Dividers (NorthStar Pipeline) --- */
.section-divider{
  position: relative;
  width: 100%;
  height: 90px;
  margin: -20px 0 -20px 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.95;
}
.section-divider svg{
  width: 110%;
  height: 100%;
  display: block;
  transform: translateX(-5%);
}
.section-divider .divider-wave{
  fill: rgba(255, 205, 84, 0.11); /* gold tint */
}
.section-divider .divider-wave-1{
  fill: rgba(66, 135, 245, 0.18); /* blue tint */
  animation: waveFloat1 8s ease-in-out infinite;
  transform-origin: center;
}
.section-divider .divider-wave-2{
  fill: rgba(255, 205, 84, 0.12); /* gold tint */
  animation: waveFloat2 10s ease-in-out infinite;
  transform-origin: center;
}
@keyframes waveFloat1{
  0%{ transform: translateX(0px) translateY(0px); }
  50%{ transform: translateX(-18px) translateY(6px); }
  100%{ transform: translateX(0px) translateY(0px); }
}
@keyframes waveFloat2{
  0%{ transform: translateX(0px) translateY(0px); }
  50%{ transform: translateX(14px) translateY(-5px); }
  100%{ transform: translateX(0px) translateY(0px); }
}

/* Make sure divider looks good on small screens */
@media (max-width: 640px){
  .section-divider{ height: 70px; }
}
