/*
Dalton-inspired: dark, crisp panels, teal accent, subtle circuit/hex pattern.
No external dependencies.
*/

:root{
  --bg0:#081826;
  --bg1:#0a2233;
  --panel:#0e2f42;
  --panel2:#0d2a3c;
  --text:#e7f2fb;
  --muted:#a7c0d6;
  --line:rgba(231,242,251,.12);
  --brand:#00a6a6;
  --brandSoft: rgba(0,166,166,.18);
  --brandSoft2: rgba(0,166,166,.10);
  --light:#f4fbfb;
  --ink:#06212a;
  --inkMuted:#2b4b55;
  --lineLight: rgba(6,33,42,.14);
  --cardLight:#ffffff;
  --brand2:#0b7dbf;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:24px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 15% 10%, rgba(0,201,167,.18), rgba(0,201,167,0) 65%),
    radial-gradient(900px 600px at 85% 30%, rgba(41,182,255,.16), rgba(41,182,255,0) 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  line-height:1.55;
  overflow-x:hidden;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}

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

/* ===== Header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(6,19,31,.72);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:750;
  letter-spacing:.2px;
}
.logo-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background: rgba(0,201,167,.14);
  border:1px solid rgba(0,201,167,.25);
}
.logo-icon svg{width:20px; height:20px; color:var(--brand)}

nav{display:flex; align-items:center; gap:12px}
.nav-links{display:flex; align-items:center; gap:18px}
.nav-links a{
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav-links a:hover{color:var(--text); border-color:rgba(231,242,251,.10); background:rgba(255,255,255,.03)}
.nav-links a.active{color:var(--text); border-color:rgba(0,201,167,.28); background:rgba(0,201,167,.08)}

.nav-toggle{display:none; background:transparent; border:0; padding:10px; border-radius:12px; cursor:pointer}
.nav-toggle span{display:block; width:24px; height:2px; background:rgba(231,242,251,.75); margin:5px 0; border-radius:2px}
.nav-toggle:hover{background:rgba(255,255,255,.03)}

.header-cta{display:flex; align-items:center; gap:10px}

/* ===== Services dropdown ===== */
.nav-dropdown{position:relative; display:flex; align-items:center}
.nav-link-btn{
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.nav-link-btn svg{width:16px; height:16px; opacity:.8}
.nav-link-btn:hover{color:var(--text); border-color:rgba(231,242,251,.10); background:rgba(255,255,255,.03)}
.nav-link-btn.active{color:var(--text); border-color:rgba(0,201,167,.28); background:rgba(0,201,167,.08)}
.dropdown-menu{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width: 240px;
  display:none;
  flex-direction:column;
  gap:4px;
  padding:10px;
  border-radius:18px;
  background: rgba(6,19,31,.92);
  border:1px solid rgba(231,242,251,.12);
  box-shadow: var(--shadow);
}
.dropdown-menu a{
  padding:10px 12px;
  border-radius:14px;
  color: var(--muted);
}
.dropdown-menu a:hover{color:var(--text); background:rgba(255,255,255,.04)}
.nav-dropdown.open .dropdown-menu{display:flex}
@media (hover:hover){
  .nav-dropdown:hover .dropdown-menu{display:flex}
}

/* Mobile dropdown adjustments */
@media (max-width: 720px){
  .nav-dropdown{width:100%; flex-direction:column; align-items:stretch}
  .nav-link-btn{width:100%; justify-content:space-between}
  .dropdown-menu{
    position:static;
    min-width:unset;
    width:100%;
    margin-top:6px;
    box-shadow:none;
    background: rgba(255,255,255,.03);
  }
}

/* ===== Buttons ===== */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius:999px; padding:12px 16px; border:1px solid transparent; font-weight:650; letter-spacing:.2px}
.btn svg{width:18px; height:18px}
.btn-sm{padding:9px 14px; font-size:14px}
.btn-lg{padding:14px 18px}
.btn-primary{
  background: linear-gradient(135deg, rgba(0,201,167,1), rgba(41,182,255,.95));
  color:#04131c;
  box-shadow: 0 10px 30px rgba(0,201,167,.18);
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-secondary{
  background: rgba(255,255,255,.04);
  border-color: rgba(231,242,251,.14);
  color:var(--text);
}
.btn-secondary:hover{background: rgba(255,255,255,.06)}
.btn-outline{
  background: transparent;
  border-color: rgba(0,201,167,.35);
  color:var(--text);
}
.btn-outline:hover{background: rgba(0,201,167,.08)}

/* ===== Hero ===== */
.hero{
  position:relative;
  overflow:hidden;
  padding:86px 0 64px;
}

/* Circuit/hex overlay */
.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 500px at 65% 30%, rgba(0,201,167,.22), rgba(0,201,167,0) 62%),
    radial-gradient(900px 650px at 80% 70%, rgba(41,182,255,.18), rgba(41,182,255,0) 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='rgba(231,242,251,0.08)' stroke-width='1'%3E%3Cpath d='M260 60l86.6 50v100L260 260l-86.6-50V110z'/%3E%3Cpath d='M86.8 160l86.6 50v100L86.8 360l-86.6-50V210z'/%3E%3Cpath d='M433.2 160l86.6 50v100L433.2 360l-86.6-50V210z'/%3E%3Cpath d='M260 260l86.6 50v100L260 460l-86.6-50V310z'/%3E%3Cpath d='M173.4 210h173.2'/%3E%3Cpath d='M260 160v200'/%3E%3C/g%3E%3C/svg%3E");
  opacity:.95;
  background-size: auto, auto, 520px 520px;
  background-position: 0 0, 0 0, 70% 40%;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  right:-180px;
  top:20px;
  width:560px;
  height:560px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 35%, rgba(0,201,167,.18), rgba(0,201,167,0) 60%);
  pointer-events:none;
}

.hero-content{position:relative; max-width:760px}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(231,242,251,.14);
  color:var(--muted);
  font-size:13px;
}
.hero-badge svg{width:18px; height:18px; color:var(--brand)}

.hero h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 5vw, 52px);
  line-height:1.05;
  letter-spacing:-.6px;
}
.hero h1 span{color:var(--brand)}
.hero-sub{margin:0 0 18px; color:var(--muted); max-width:60ch}
.hero-btns{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

/* ===== Trust strip ===== */
.trust-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background: rgba(0,0,0,.10);
}

/* Trust strip in light sections */
.trust-strip.section-grey{
  background: var(--light);
  border-top:1px solid var(--lineLight);
  border-bottom:1px solid var(--lineLight);
}
.trust-strip.section-grey .trust-item{
  background: rgba(6,33,42,.04);
  border:1px solid rgba(6,33,42,.10);
  color: var(--inkMuted);
}
.trust-strip.section-grey .trust-item svg{color: var(--brand)}
.trust-items{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; padding:18px 0}
.trust-item{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-radius:16px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(231,242,251,.10);
  color:var(--muted);
  font-size:14px;
}
.trust-item svg{width:18px; height:18px; color:var(--brand)}

/* ===== Sections ===== */
.section{padding:72px 0}
.section-grey{background: var(--light); color: var(--ink); border-top: 1px solid var(--lineLight); border-bottom: 1px solid var(--lineLight)}
.section-header{margin-bottom:26px}
.section-header.center{text-align:center}
.section-label{
  display:inline-block;
  font-size:12px;
  color:var(--brand);
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.section-header h2{margin:0 0 8px; font-size: clamp(24px, 3vw, 34px); letter-spacing:-.3px}
.section-header p{margin:0; color:var(--muted)}

/* ===== Cards ===== */
.cards-grid{display:grid; gap:16px}
.cards-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.cards-grid.cols-2{grid-template-columns:repeat(2,1fr)}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(231,242,251,.12);
  border-radius:var(--radius2);
  padding:20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}
.card:hover{border-color: rgba(0,201,167,.30)}
.card-icon{
  width:42px;
  height:42px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background: rgba(0,201,167,.10);
  border:1px solid rgba(0,201,167,.20);
  margin-bottom:12px;
}
.card-icon svg{width:22px; height:22px; color:var(--brand)}
.card h3{margin:0 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted)}

/* ===== Audience list ===== */
.audience-list{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.audience-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(231,242,251,.10);
  background: rgba(255,255,255,.03);
}
.audience-item svg{width:18px; height:18px; color:var(--brand); margin-top:3px}
.audience-item p{margin:0; color:var(--muted)}

/* ===== Steps ===== */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.step{
  padding:16px;
  border-radius:18px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(231,242,251,.10);
}
.step h4{margin:0 0 6px}
.step p{margin:0; color:var(--muted)}

/* ===== Tables / pricing ===== */
.price-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.pricing-card{
  position:relative;
  overflow:hidden;
}
.pricing-card .pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  color:var(--muted);
  border:1px solid rgba(231,242,251,.12);
  background: rgba(255,255,255,.03);
}
.pricing-card .price{
  font-size:40px;
  line-height:1.1;
  margin:10px 0 6px;
}
.pricing-card .price small{font-size:14px; color:var(--muted); font-weight:600}
.pricing-card ul{margin:14px 0 0; padding:0 0 0 18px; color:var(--muted)}
.pricing-card li{margin:8px 0}
.pricing-card.featured{
  border-color: rgba(0,201,167,.32);
  background: linear-gradient(180deg, rgba(0,201,167,.12), rgba(255,255,255,.02));
}

/* ===== CTA band ===== */
.cta-band{
  padding:76px 0;
  background:
    radial-gradient(900px 520px at 20% 50%, rgba(0,201,167,.16), rgba(0,201,167,0) 60%),
    radial-gradient(900px 520px at 80% 40%, rgba(41,182,255,.14), rgba(41,182,255,0) 62%),
    var(--light);
  border-top: 1px solid var(--lineLight);
  border-bottom: 1px solid var(--lineLight);
  text-align:center;
  color: var(--ink);
}
.cta-band h2{margin:0 0 10px; letter-spacing:-.3px; color: var(--ink)}
.cta-band p{margin:0 0 18px; color: var(--inkMuted)}

/* ===== Forms ===== */
.form-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
label{display:block; font-size:13px; color:var(--muted); margin:0 0 6px}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(231,242,251,.14);
  color:var(--text);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus, textarea:focus, select:focus{border-color: rgba(0,166,166,.45)}

/* ===== Footer ===== */
.site-footer{padding:54px 0 26px; background: rgba(0,0,0,.14); border-top:1px solid rgba(231,242,251,.06)}
.footer-grid{display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap:18px}
.footer-col h4{margin:0 0 12px; font-size:14px; letter-spacing:.1px}
.footer-col a{display:block; padding:7px 0; color:var(--muted)}
.footer-col a:hover{color:var(--text)}
.footer-brand p{color:var(--muted); margin:10px 0 0}
.footer-bottom{
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(231,242,251,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.footer-legal{display:flex; gap:14px; flex-wrap:wrap}
.footer-legal a{color:var(--muted)}
.footer-legal a:hover{color:var(--text)}

/* ===== Simple animations ===== */
.animate{opacity:0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease}
.animate.is-visible{opacity:1; transform:none}
.stagger > *{opacity:0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease}
.stagger.is-visible > *{opacity:1; transform:none}
.stagger.is-visible > *:nth-child(2){transition-delay:.06s}
.stagger.is-visible > *:nth-child(3){transition-delay:.12s}
.stagger.is-visible > *:nth-child(4){transition-delay:.18s}
.stagger.is-visible > *:nth-child(5){transition-delay:.24s}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .trust-items{grid-template-columns:repeat(2,1fr)}
  .cards-grid.cols-3{grid-template-columns:repeat(2,1fr)}
  .audience-list{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns: 1.5fr 1fr 1fr;}
}

@media (max-width: 720px){
  .hero{padding:72px 0 52px}
  .nav-toggle{display:inline-flex}
  .nav-links{
    position:absolute;
    left:20px;
    right:20px;
    top:62px;
    display:none;
    flex-direction:column;
    gap:6px;
    padding:12px;
    border-radius:18px;
    background: rgba(6,19,31,.92);
    border:1px solid rgba(231,242,251,.12);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open{display:flex}
  .header-cta{display:none}
  .cards-grid.cols-3{grid-template-columns:1fr}
  .audience-list{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns: 1fr 1fr;}
}

@media (prefers-reduced-motion: reduce){
  .animate, .stagger > *{transition:none}
  .animate{opacity:1; transform:none}
  .stagger > *{opacity:1; transform:none}
}


/* ===== Light sections (Dalton-style mid-page contrast) ===== */
.section-light,
.section-grey{
  background: var(--light);
  color: var(--ink);
  border-top: 1px solid var(--lineLight);
  border-bottom: 1px solid var(--lineLight);
}
.section-light .section-title,
.section-grey .section-title,
.section-light h2,
.section-grey h2,
.section-light h3,
.section-grey h3,
.section-light h4,
.section-grey h4{color: var(--ink)}
.section-light p,
.section-grey p,
.section-light li,
.section-grey li{color: var(--inkMuted)}
.section-light a,
.section-grey a{color: var(--ink)}
.section-light .muted,
.section-grey .muted{color: var(--inkMuted)}
.section-light .card,
.section-grey .card,
.section-light .panel,
.section-grey .panel,
.section-light .service-block,
.section-grey .service-block{
  background: var(--cardLight);
  border: 1px solid var(--lineLight);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.section-light .btn-secondary,
.section-grey .btn-secondary{
  background: transparent;
  border-color: rgba(6,33,42,.22);
  color: var(--ink);
}
.section-light .btn-secondary:hover,
.section-grey .btn-secondary:hover{
  background: rgba(6,33,42,.06);
}

/* Prevent any inline SVG used as a decorative illustration from taking over the page */
svg.illustration,
.illustration svg{
  max-width: 420px;
  max-height: 320px;
  width: 100%;
  height: auto;
  opacity: .9;
}

/* Two-column content blocks */
.two-col{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 26px;
  align-items:start;
}
@media (max-width: 920px){
  .two-col{grid-template-columns: 1fr}
}

/* Team */
.team-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px){
  .team-grid{grid-template-columns: 1fr}
}
.profile-card{
  padding: 18px;
  border-radius: var(--radius2);
}
.profile-top{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}
.avatar{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 800;
  letter-spacing: .6px;
  background: rgba(0,166,166,.14);
  border: 1px solid rgba(0,166,166,.25);
  color: var(--brand);
}
.profile-card h3{margin:0}
.profile-role{margin:0; font-size: 14px; color: var(--muted)}
.section-light .profile-role,
.section-grey .profile-role{color: var(--inkMuted)}
.profile-meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: rgba(231,242,251,.04);
}
.section-light .pill,
.section-grey .pill{
  border-color: var(--lineLight);
  color: var(--inkMuted);
  background: rgba(6,33,42,.04);
}


/* Light section variants for component blocks */
.section-light .audience-item,
.section-grey .audience-item,
.section-light .step,
.section-grey .step,
.section-light .package-item,
.section-grey .package-item{
  background: var(--cardLight);
  border-color: var(--lineLight);
}
.section-light .audience-item p,
.section-grey .audience-item p,
.section-light .step p,
.section-grey .step p{color: var(--inkMuted)}
.section-light .pricing-card .pill,
.section-grey .pricing-card .pill{
  border-color: var(--lineLight);
  color: var(--inkMuted);
  background: rgba(6,33,42,.04);
}
.section-light .pricing-card ul,
.section-grey .pricing-card ul{color: var(--inkMuted)}


/* Legal pages */
.legal h1{margin:0 0 8px}
.legal h2{margin: 26px 0 10px}
.legal p{margin: 0 0 12px}
.legal ul{margin: 0 0 12px}
.small-note{font-size: 13px; color: var(--muted)}
.section-light .small-note,
.section-grey .small-note{color: var(--inkMuted)}


/* ===== Clickable card links ===== */
.card-link{display:block; color:inherit; text-decoration:none}
.card-link:hover{transform: translateY(-2px)}
.link-inline{display:inline-flex; align-items:center; gap:8px; margin-top:12px; color:var(--brand); font-weight:600; font-size:14px}
.card-link .link-inline:after{
  content:'→';
  font-weight:700;
}

/* Mobile nav drawer override */
@media (max-width: 720px){
  /* Ensure the toggle is visible and looks like a burger */
  .nav-toggle{
    display:inline-flex;
    width:44px;
    height:40px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(10, 20, 30, .45);
    backdrop-filter: blur(10px);
    align-items:center;
    justify-content:center;
    padding:10px;
  }
  .nav-toggle span{
    width:18px;
    height:2px;
    margin:6px 0;
    background: rgba(231,242,251,.88);
  }

  /* Convert the existing .nav-links dropdown into a right drawer */
  .nav-links{
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(82vw, 340px);
    height: 100vh;
    padding: 78px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;

    background: rgba(6,19,31,.92);
    border-left: 1px solid rgba(231,242,251,.12);
    box-shadow: var(--shadow);

    transform: translateX(102%);
    transition: transform 220ms ease;
    border-radius: 0;
  }

  .nav-links.is-open{
    transform: translateX(0);
  }

  .nav-links a{
    width: 100%;
  }

  /* Overlay */
  .nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 49;
  }
  .nav-links{ z-index: 50; }
}
