:root{
  /* New palette: professional, not boring */
  --ink: #0b1020;
  --text: #17181b;
  --muted: #666c76;
  --border: rgba(15, 20, 35, 0.12);
  --paper: #fbfbfd;
  --panel: rgba(255,255,255,0.78);

  /* Accent gradient (teal + violet) */
  --a1: #00b3a4;
  --a2: #7c3aed;

  --radius: 18px;
  --max: 1120px;

  /* button glow controls */
  --glow: 0 0 24px rgba(0,179,164,0.28), 0 0 40px rgba(124,58,237,0.18);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html, body { height: 100%; }

body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }

.container{
  width:100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow{ max-width: 860px; }
.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }

/* =========================
   GLOBAL AMBIENT BACKGROUND
   ========================= */

.ambient{
  position: fixed;
  inset: -30%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(800px 420px at 18% 18%, rgba(0,179,164,0.18), transparent 60%),
    radial-gradient(900px 520px at 78% 22%, rgba(124,58,237,0.14), transparent 62%),
    radial-gradient(720px 520px at 48% 82%, rgba(0,179,164,0.10), transparent 65%);
  filter: blur(18px);
  animation: ambientFloat 16s ease-in-out infinite alternate;
}

@keyframes ambientFloat{
  0%   { transform: translate3d(-1%, -1%, 0) scale(1.02); }
  50%  { transform: translate3d(2%, 1%, 0) scale(1.06); }
  100% { transform: translate3d(1%, -2%, 0) scale(1.04); }
}

/* subtle grain so it feels "designed" */
.grain{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .ambient{ animation: none; }
}

/* ========= NAVBAR ========= */

.navbar{
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(251,251,253,0.72);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo{
  font-weight: 800;
  letter-spacing: 2.2px;
  font-size: 15px;
}

.nav-simple a{
  margin-left: 26px;
  font-size: 14px;
  color: var(--muted);
  transition: 0.2s ease;
  position: relative;
  padding: 10px 6px;
}

.nav-simple a:hover{ color: var(--text); }

.nav-simple a.active{
  color: var(--text);
  font-weight: 700;
}

.nav-simple a.active::after{
  content:"";
  position:absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  box-shadow: 0 6px 18px rgba(0,179,164,0.18);
}

/* ========= HERO (home minimal) ========= */

.hero-min{
  position: relative;
  padding: 120px 0 90px;
}

.hero-min .hero-surface{
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 42px;
  box-shadow: 0 20px 60px rgba(15,20,35,0.08);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

/* animated “mesh” highlight inside the hero card */
.hero-min .hero-surface::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(800px 300px at 20% 25%, rgba(0,179,164,0.20), transparent 60%),
    radial-gradient(900px 340px at 80% 30%, rgba(124,58,237,0.16), transparent 62%);
  filter: blur(12px);
  animation: heroGlow 12s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes heroGlow{
  0% { transform: translate3d(-1%, -1%, 0) scale(1.04); }
  100% { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

.hero-min .hero-surface > *{ position: relative; z-index: 1; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(11,16,32,0.8);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,20,35,0.12);
  background: rgba(255,255,255,0.55);
}

.hero-min h1{
  margin-top: 16px;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -1px;
  max-width: 920px;
}

.hero-min p{
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
}

.hero-buttons{
  margin-top: 34px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========= PAGE HERO (inner pages) ========= */

.page-hero{
  padding: 72px 0 40px;
}

.page-hero .page-surface{
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 34px;
  box-shadow: 0 18px 48px rgba(15,20,35,0.07);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.page-hero .page-surface::before{
  content:"";
  position:absolute;
  inset:-35%;
  background:
    radial-gradient(650px 260px at 15% 20%, rgba(0,179,164,0.16), transparent 60%),
    radial-gradient(700px 300px at 85% 30%, rgba(124,58,237,0.12), transparent 62%);
  filter: blur(14px);
  animation: heroGlow 14s ease-in-out infinite alternate;
  pointer-events:none;
}

.page-hero .page-surface > *{ position: relative; z-index: 1; }

.page-hero h1{
  font-size: 44px;
  letter-spacing: -0.7px;
  margin-top: 10px;
}

.lead{
  margin-top: 12px;
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
}

/* ========= BUTTONS (glow + cursor hotspot) ========= */

.btn{
  display:inline-block;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
  position: relative;
}

.btn:active{ transform: translateY(1px); }

.btn.glow{
  isolation: isolate;
  overflow: hidden;

  /* subtle rim so button sits on screen */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.30),
    0 10px 26px rgba(15,20,35,0.10);
}

/* ===== Gradient border (unchanged) ===== */
.btn.glow::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 16px;
  z-index: 0;

  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a1));
  background-size: 200% 100%;
  opacity: 0.9;

  animation: borderShift 5s ease-in-out infinite alternate;
}

@keyframes borderShift{
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ===== Inner white glass ===== */
.btn.glow::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:13px;
  z-index:1;

  background: rgba(255,255,255,0.94);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.75),
    inset 0 0 0 2px rgba(255,255,255,0.18);
}

/* ===== Colorful cursor-follow glow INSIDE ===== */
.btn.glow .hotspot{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;

  background:
    radial-gradient(
      220px 220px at var(--mx,50%) var(--my,50%),
      rgba(0,179,164,0.35),
      rgba(124,58,237,0.25) 40%,
      rgba(124,58,237,0.12) 55%,
      transparent 70%
    );

  opacity: 0;
  transition: opacity 0.18s ease;
}

.btn.glow:hover .hotspot{
  opacity: 1;
}

.btn.glow span{
  position: relative;
  z-index: 3;
}

/* ===== Hover lift ===== */
.btn.primary.glow:hover{
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.55),
    0 0 26px rgba(0,179,164,0.20),
    0 0 36px rgba(124,58,237,0.14),
    0 14px 36px rgba(15,20,35,0.12);
}

.btn.secondary.glow:hover{
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.45),
    0 0 22px rgba(124,58,237,0.12),
    0 14px 34px rgba(15,20,35,0.10);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .btn.glow::before{ animation: none; }
  .btn{ transition:none; }
}


/* ========= SECTIONS / CONTENT ========= */

.section{ padding: 30px 0; }

.grid{
  display:grid;
  gap: 18px;
}
.grid.two{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: rgba(255,255,255,0.70);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 16px 42px rgba(15,20,35,0.07);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

/* subtle animated shimmer line on hover */
.card::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: rotate(18deg);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(124,58,237,0.22);
}
.card:hover::before{
  opacity: 1;
  animation: shimmer 1.2s ease forwards;
}

@keyframes shimmer{
  to{ left: 140%; }
}

.list{ padding-left: 18px; }
.list li{ margin: 8px 0; }

/* ========= SCROLL REVEAL ========= */

.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition:none; }
}

/* ========= CONTACT LAYOUT ========= */

.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.form{
  margin-top: 14px;
  display:grid;
  gap: 14px;
}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label{
  display:grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.form input, .form textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
  outline:none;
  background: rgba(255,255,255,0.85);
}

.form input:focus, .form textarea:focus{
  border-color: rgba(0,179,164,0.35);
  box-shadow: 0 0 0 4px rgba(0,179,164,0.10);
}

.divider{
  height:1px;
  background: var(--border);
  margin: 16px 0;
}

/* ========= CTA ========= */

.cta{
  padding: 86px 0;
  color: #fff;
  background: linear-gradient(135deg, rgba(0,179,164,0.92), rgba(124,58,237,0.88));
  position: relative;
  overflow: hidden;
}

.cta::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(700px 380px at 20% 25%, rgba(255,255,255,0.20), transparent 60%),
    radial-gradient(800px 420px at 80% 40%, rgba(255,255,255,0.14), transparent 62%);
  filter: blur(14px);
  animation: ambientFloat 12s ease-in-out infinite alternate;
  pointer-events:none;
}

.cta > *{ position: relative; z-index: 1; }

.cta p{ margin-top: 10px; opacity: 0.92; }

.cta .btn.primary{
  color: var(--ink);
}

/* ========= FOOTER ========= */

.footer{
  padding: 50px 0;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
}

.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 10px;
}

.footer-logo{
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* ========= RESPONSIVE ========= */

@media (max-width: 900px){
  .grid.two{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .navbar{ padding: 16px 24px; }
  .nav-simple a{ margin-left: 14px; font-size: 13px; }

  .hero-min{ padding: 85px 0 60px; }
  .hero-min .hero-surface{ padding: 28px; }
  .hero-min h1{ font-size: 40px; }

  .page-hero .page-surface{ padding: 24px; }
  .page-hero h1{ font-size: 34px; }
}


/* Founder card with right image */
.founder-card{
  display:grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap:24px;
  align-items:center;
}

.founder-image{
  display:flex;
  justify-content:center;
}

.founder-image img{
  width:100%;
  max-width:220px;
  height:auto;
  border-radius:14px;
  object-fit:cover;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6),
    0 14px 34px rgba(15,20,35,0.12);
}

/* Mobile: stack */
@media (max-width:900px){
  .founder-card{
    grid-template-columns: 1fr;
  }

  .founder-image{
    order:-1;
    justify-content:flex-start;
  }

  .founder-image img{
    max-width:160px;
  }
}


/* Executive rails layout */
.services-rails{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.rail{
  display:grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap:18px;
  padding:22px;
  border-radius:18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(10px);
}

.rail-left{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.rail-kicker{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color: rgba(11,16,32,0.85);
  background: rgba(255,255,255,0.65);
  border:1px solid rgba(15,20,35,0.12);
}

.rail h3{
  font-size:18px;
  letter-spacing:-0.2px;
}

.rail-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.tag{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,20,35,0.12);
  background: rgba(255,255,255,0.55);
  font-size:13px;
  font-weight:650;
  color: rgba(11,16,32,0.80);
}

.rail-outcome{
  margin-top:10px;
  color: var(--muted);
  font-size:14px;
}

/* Details (accordion) */
.rail-details{
  margin-top:10px;
  border-top:1px solid rgba(15,20,35,0.10);
  padding-top:10px;
}

.rail-details summary{
  cursor:pointer;
  font-weight:750;
  color: rgba(11,16,32,0.88);
  list-style:none;
}

.rail-details summary::-webkit-details-marker{ display:none; }

.rail-detail-body{
  margin-top:10px;
  color: var(--muted);
  font-size:14px;
}

/* responsive */
@media (max-width:900px){
  .rail{
    grid-template-columns: 1fr;
  }
}


/* hide honeypot anti-spam field */
.honeypot{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}


/* ===== Contact booking calendar ===== */
.booking2{
  display:grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 18px;
  margin-top: 16px;
  align-items:start;
}

.calendar{
  border: 1px solid rgba(15,20,35,0.10);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 14px;
}

.cal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.cal-title{
  font-weight: 900;
  letter-spacing: -0.2px;
}

.cal-nav{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15,20,35,0.10);
  background: rgba(255,255,255,0.75);
  cursor:pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.cal-nav:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15,20,35,0.08);
}

.cal-weekdays{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-align:center;
}

.cal-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day{
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,20,35,0.08);
  background: rgba(255,255,255,0.65);
  cursor:pointer;
  font-weight: 800;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.cal-day:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15,20,35,0.08);
}
.cal-day.muted{
  opacity: 0.40;
  cursor: default;
}
.cal-day.today{
  border-color: rgba(0,179,164,0.25);
}
.cal-day.selected{
  border-color: rgba(0,179,164,0.45);
  box-shadow: 0 0 0 2px rgba(0,179,164,0.10), 0 16px 28px rgba(15,20,35,0.10);
}

/* Times panel */
.times{
  border: 1px solid rgba(15,20,35,0.10);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 14px;
  min-height: 320px;
}

.times-top{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.times-pill{
  border: 1px solid rgba(15,20,35,0.10);
  background: rgba(255,255,255,0.70);
  border-radius: 16px;
  padding: 10px 12px;
}

.times-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* Slot buttons use your glow system */
.times-grid .btn{
  width:100%;
  text-align:center;
  padding: 12px 10px;
  border-radius: 14px;
  font-weight: 900;
}

.times-grid .btn.selected{
  box-shadow: 0 0 0 2px rgba(124,58,237,0.14), 0 14px 34px rgba(15,20,35,0.10);
}

@media (max-width: 1050px){
  .booking2{
    grid-template-columns: 1fr;
  }
  .times-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Mobile hamburger menu ===== */
.nav-left{ display:flex; align-items:center; }

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,20,35,0.10);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  cursor:pointer;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease;
}
.nav-toggle:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15,20,35,0.08);
}
.nav-toggle span{
  position:absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: rgba(15,20,35,0.75);
  border-radius: 999px;
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}
.nav-toggle span:nth-child(1){ top: 14px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 28px; }

/* X when open */
.menu-open .nav-toggle span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2){ opacity: 0; }
.menu-open .nav-toggle span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* Mobile menu panel */
.nav-mobile{
  display:none;
  width:100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(15,20,35,0.10);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
}

.nav-mobile a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 700;
}

.nav-mobile a:hover{
  background: rgba(15,20,35,0.05);
}

/* Active underline still works */
.nav-mobile a.active{
  position: relative;
  font-weight: 900;
}
.nav-mobile a.active::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,179,164,0.9), rgba(124,58,237,0.9));
}

/* Responsive behavior */
@media (max-width: 768px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:block; }
  .menu-open .nav-mobile{ display:block; }
}

.nav-simple a.active{
  position: relative;
  font-weight: 800;
}

.nav-simple a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,179,164,0.9), rgba(124,58,237,0.9));
}