/* =============================
   ROOT & RESET
============================= */
:root{
    --bg:#070A12;
    --panel:rgba(255,255,255,0.04);
    --panel2:rgba(255,255,255,0.06);
    --stroke:rgba(255,255,255,0.10);
    --text:rgba(255,255,255,0.92);
    --muted:rgba(255,255,255,0.62);
  
    --blue:#2F6BFF;
    --purple:#7B61FF;
    --green:#18C98B;
    --gold:#F2C94C;
  
    --radius:18px;
    --shadow:0 18px 70px rgba(0,0,0,.55);
    --shadow2:0 10px 40px rgba(0,0,0,.45);
  
    --container:1160px;
  }
  
  *{box-sizing:border-box}
  html,body{margin:0;padding:0}
  body{
    font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background:
      radial-gradient(900px 500px at 20% 10%, rgba(47,107,255,.15), transparent 55%),
      radial-gradient(900px 500px at 85% 25%, rgba(123,97,255,.12), transparent 60%),
      var(--bg);
    color:var(--text);
    overflow-x:hidden;
  }
  
  a{color:inherit;text-decoration:none}
  img{max-width:100%;display:block}
  ul{padding-left:18px}
  
  /* =============================
     LAYOUT HELPERS
  ============================= */
  .container{
    width:min(var(--container), calc(100% - 40px));
    margin:0 auto;
  }
  
  .section{
    padding:90px 0;
  }
  
  .section-head{
    max-width:720px;
    margin-bottom:42px;
  }
  
  .section-title{
  font-size:clamp(32px,4vw,44px);
  margin:0 0 14px;
  letter-spacing:-0.02em;   /* more consistent than px across sizes */
  line-height:1.12;         /* improves readability */
  word-spacing:-0.02em;     /* subtle tightening */
}
  
  .section-sub{
    color:var(--muted);
    line-height:1.65;
  }
  
  .grad{
    background:linear-gradient(135deg,var(--blue),var(--purple));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
  
  /* =============================
     BACKGROUND EFFECTS
  ============================= */
  .bg-grid{
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.35;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size:80px 80px;
    mask-image:radial-gradient(circle at 50% 10%, black 0%, transparent 65%);
  }
  
  .bg-glow{
    position:fixed;
    width:520px;
    height:520px;
    filter:blur(70px);
    opacity:.35;
    pointer-events:none;
  }
  .bg-glow-1{left:-160px;top:120px;background:rgba(47,107,255,.6)}
  .bg-glow-2{right:-160px;top:420px;background:rgba(123,97,255,.6)}
  
  /* Brand logo */
.brand-logo{
  height:34px;          /* adjust if needed */
  width:auto;
  display:block;
}

/* Optional: slightly bigger on desktop */
@media(min-width:900px){
  .brand-logo{
    height:38px;
  }
}

  
  /* =============================
     HEADER / NAV
  ============================= */
  .header{
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:blur(14px);
    background:rgba(7,10,18,.55);
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  
  .nav{
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  
  .brand{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .brand-mark{
    width:34px;height:34px;
    border-radius:10px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--blue),var(--purple));
    font-weight:800;
  }
  .brand-text{
  font-weight:800;
  letter-spacing:-.4px;
  line-height:1.1;
  display:flex;
  align-items:center;
  position:relative;
  top:1px;
}

  .brand-text span{color:var(--blue)}
  
  .nav-links{
    display:flex;
    gap:24px;
    color:rgba(255,255,255,.78);
  }
  .nav-links a:hover{color:#fff}
  .nav-links a.active{color:var(--blue)}
  
  .dropdown{position:relative}
  .dropdown-btn{
    background:none;border:0;color:inherit;
    cursor:pointer;font:inherit;
  }
  .dropdown-menu{
  display:none;
  position:absolute;
  left:0;
  top:100%;              /* ✅ anchor to the Services button/container */
  margin-top:12px;       /* ✅ space between button and menu */
  width:220px;
  padding:10px;
  border-radius:14px;
  background:rgba(14,18,30,.95);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow2);
  z-index:999;           /* ✅ stays above hero */
}

/* Invisible hover bridge (prevents close while moving cursor down) */
.dropdown-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-18px;        /* bridge sits above the menu */
  height:18px;      /* bigger bridge = more reliable */
}


  
  /* Hover buffer: prevents menu closing while moving mouse down */
.dropdown-menu{
  margin-top:8px;          /* creates space visually */
}

.dropdown-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-10px;               /* invisible bridge */
  height:10px;
}

  
  /* Keep menu open when hovering button OR menu */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  display:block;
}

  .dropdown-menu a{
    display:block;
    padding:10px;
    border-radius:10px;
  }
  .dropdown-menu a:hover{
    background:rgba(255,255,255,.06);
  }
  
  /* =============================
     BUTTONS
  ============================= */
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 18px;
    border-radius:999px;
    border:1px solid var(--stroke);
    background:rgba(255,255,255,.06);
    color:#fff;
    cursor:pointer;
    transition:.2s;
  }
  
  .btn:hover{transform:translateY(-1px)}
  
  .btn-primary{
    background:linear-gradient(135deg,var(--blue),var(--purple));
    border-color:rgba(47,107,255,.4);
    box-shadow:0 18px 50px rgba(47,107,255,.25);
  }
  
  .btn-ghost{background:rgba(255,255,255,.04)}
  
  .btn-accent{
    background:linear-gradient(135deg,#F2C94C,#E8B84A);
    color:#000;
  }
  
  .btn-success{
    background:linear-gradient(135deg,var(--green),#12b981);
    color:#000;
  }
  
  .btn-lg{padding:14px 22px;font-weight:600}
  
  .link-pill{
    padding:10px 14px;
    border-radius:999px;
    border:1px solid rgba(47,107,255,.35);
    background:rgba(47,107,255,.08);
    color:var(--blue);
  }
  
  /* =============================
     HERO
  ============================= */
  .hero{padding:70px 0 30px}
  
  .hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:46px;
    align-items:center;
  }
  
  .pill{
    display:inline-flex;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    border:1px solid rgba(47,107,255,.28);
    background:rgba(47,107,255,.1);
    color:var(--blue);
    font-weight:600;
  }
  
  .pill-green{
    border-color:rgba(24,201,139,.28);
    background:rgba(24,201,139,.1);
    color:var(--green);
  }
  
  .hero-title{
  margin:18px 0 14px;
  font-size:clamp(42px,5vw,68px);
  line-height:1.05;
  letter-spacing:-0.03em;  /* hero can be slightly tighter */
  word-spacing:-0.02em;
}
  
  .hero-sub{
    color:var(--muted);
    max-width:58ch;
    line-height:1.65;
  }
  
  .hero-actions{
    display:flex;
    gap:12px;
    margin-top:26px;
    flex-wrap:wrap;
  }
  
  /* =============================
   SERVICE PAGE HERO (Reusable)
============================= */
.service-hero{
  padding:86px 0 38px;
}

.service-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:34px;
  align-items:start;
}

.service-hero .hero-title{
  margin:16px 0 12px;
  max-width:18ch;
}

.service-hero .hero-sub{
  max-width:64ch;
}

.service-side{
  display:grid;
  gap:14px;
  position:relative;
}

.service-panel{
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:18px 18px 16px;
  box-shadow:0 18px 70px rgba(0,0,0,.35);
}

.service-panel-title{
  font-weight:800;
  letter-spacing:-0.01em;
  margin:0 0 10px;
  font-size:18px;
}

.service-panel .list{
  margin:0;
  padding-left:18px;
  color:rgba(255,255,255,.80);
  line-height:1.7;
}

.service-panel.mini{
  padding:16px 18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.service-mini-icon{
  width:40px;height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(47,107,255,.10);
  border:1px solid rgba(47,107,255,.18);
  flex:0 0 auto;
}

.service-mini-title{
  font-weight:800;
  margin:0 0 4px;
}

.service-mini-desc{
  margin:0;
  color:rgba(255,255,255,.68);
  line-height:1.55;
  font-size:14px;
}

/* Trust strip under CTAs */
.trust-strip{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:rgba(255,255,255,.65);
  font-size:13px;
}

.trust-pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

/* Responsive */
@media(max-width:900px){
  .service-hero-grid{grid-template-columns:1fr}
  .service-hero .hero-title{max-width:unset}
}

  
  .hero-metrics{
    margin-top:26px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.08);
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
  }
  
  .metric-value{
    font-size:26px;
    font-weight:800;
    color:var(--blue);
  }
  .metric-label{
    font-size:12px;
    color:var(--muted);
  }
  
  /* =============================
     HERO VISUAL
  ============================= */
  .visual-card{
    position:relative;
    border-radius:22px;
    overflow:hidden;
    border:1px solid var(--stroke);
    background:rgba(255,255,255,.03);
    box-shadow:var(--shadow);
  }
  
  .hero-visual{
    width:100%;
    height:420px;
    object-fit:cover;
  }
  
  .floating-card{
    position:absolute;
    display:flex;
    gap:12px;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(10,14,26,.75);
    border:1px solid var(--stroke);
    backdrop-filter:blur(10px);
  }
  
  .fc-1{left:22px;top:22px}
  .fc-2{right:22px;bottom:22px}
  
  .fc-icon{
    width:34px;height:34px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:rgba(47,107,255,.12);
  }
  
  .fc-title{font-size:12px;color:var(--muted)}
  .fc-value{font-size:14px;font-weight:800;color:var(--green)}
  
  /* =============================
     CARDS / GRIDS
  ============================= */
  .grid-services{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(4, 1fr); /* desktop: 4 cards */
}

/* medium screens: 2x2 */
@media (max-width: 1100px){
  .grid-services{
    grid-template-columns:repeat(2, 1fr);
  }
}

/* mobile: 1 column */
@media (max-width: 640px){
  .grid-services{
    grid-template-columns:1fr;
  }
}

  
 .section-actions{
  margin-top:40px;
  padding-top:18px;
  padding-inline:10px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
  border-top:1px solid rgba(255,255,255,.06);
}

  
  .card{
    background:var(--panel);
    border:1px solid var(--stroke);
    border-radius:var(--radius);
    padding:26px;
  }
  
  .card-highlight{
    border-color:rgba(47,107,255,.4);
    box-shadow:0 0 0 1px rgba(47,107,255,.25);
  }
  
  .card-icon{
  width: 80px;               /* slightly bigger badge */
  height: 80px;

  margin: 0 auto 20px;       /* center horizontally */

  border-radius: 20px;
  overflow: hidden;          /* important for full fill */
  
  background: rgba(20, 40, 90, 0.35);
  border: 1px solid rgba(110, 160, 255, 0.28);

  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img{
   width: 100%;
  height: 100%;
  object-fit: cover;   /* makes it fully fill */
  display: block;

  /* optional glow to match your futuristic UI */
  filter: drop-shadow(0 0 10px rgba(80,140,255,0.35));
}
  
  
  .card-title{
  margin:0 0 8px;
  letter-spacing:-0.015em;
  line-height:1.2;
  word-spacing:-0.01em;
}
  .card-desc{color:var(--muted);margin-bottom:12px}
  
  /* Make service cards clickable without looking like links */
.card-link{
  display:block;              /* <a> behaves like a block card */
  color:inherit;
}

.card-link:hover{
  transform:translateY(-2px);
  border-color:rgba(47,107,255,.28);
  box-shadow:0 10px 40px rgba(0,0,0,.35);
}

.card-link .card-title{
  text-decoration:none;
}


  
  /* =============================
     AI FLOW
  ============================= */
  .flow{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
  }
  
  .flow-step{
    background:var(--panel);
    border:1px solid var(--stroke);
    border-radius:var(--radius);
    padding:22px;
  }
  
  .flow-num{color:var(--blue);font-weight:800}
  
  /* =============================
     CTA / AUDIT
  ============================= */
  .cta-box{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:36px;
    background:var(--panel2);
    border:1px solid var(--stroke);
    border-radius:26px;
    padding:36px;
  }
  
  .checklist{list-style:none;padding:0}
  .checklist li{margin:10px 0}
  .check{color:var(--green);margin-right:8px}
  
    .progress-panel{
    background:rgba(0,0,0,.35);
    border:1px solid var(--stroke);
    border-radius:20px;
    padding:24px;
    overflow:visible;   /* let the iframe grow naturally */
  }
  .progress-panel iframe{
    display:block;
    width:100%;
    max-width:100%;
  }

  
  .progress-bar{
    height:8px;
    background:rgba(255,255,255,.1);
    border-radius:999px;
    overflow:hidden;
    margin:12px 0 20px;
  }
  
  .progress-fill{
    width:75%;
    height:100%;
    background:linear-gradient(135deg,var(--blue),var(--purple));
  }
  
  .kpi-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }
  
  .kpi .big{font-size:26px;font-weight:800}
  .kpi .small{font-size:12px;color:var(--muted)}
  
  /* =============================
   FOOTER (Reimagined)
============================= */
.footer{
  padding:70px 0 40px;
  border-top:1px solid rgba(255,255,255,.06);
}

/* Top mini CTA */
.footer-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 20px;
  margin-bottom:34px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.footer-cta-title{
  font-weight:700;
  letter-spacing:-0.01em;
}

.footer-cta-sub{
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
}

.footer-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Footer grid */
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:34px;
  padding-bottom:26px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.footer-brand .brand{margin-bottom:12px}

.footer-blurb{
  margin:0 0 16px;
  color:rgba(255,255,255,.75);
  line-height:1.6;
  max-width:46ch;
}

.footer-contact{
  display:grid;
  gap:10px;
  color:rgba(255,255,255,.62);
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-title{
  margin-bottom:6px;
  font-weight:700;
  letter-spacing:-0.01em;
}

.footer-col a{
  color:rgba(255,255,255,.70);
  transition:.2s;
}

.footer-col a:hover{
  color:#fff;
  transform:translateX(2px);
}

/* Bottom bar */
.footer-bottom{
  margin-top:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:14px;
}

.footer-social{
  display:flex;
  gap:10px;
}

.footer-social a{
  width:34px;height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.8);
  transition:.2s;
}

.footer-social a:hover{
  transform:translateY(-1px);
  color:#fff;
  border-color:rgba(47,107,255,.35);
}

/* Responsive footer */
@media(max-width:900px){
  .footer-cta{flex-direction:column; align-items:flex-start}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column; gap:12px; align-items:flex-start}
}

  
  /* =============================
   CONVERSION BAND (CTA + NEWSLETTER)
============================= */
.conversion-band{
  padding:90px 0 70px;
  position:relative;
}

.conversion-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:26px;
  align-items:stretch;
}

.conversion-cta{
  border-radius:26px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 420px at 15% 20%, rgba(47,107,255,.18), transparent 55%),
    radial-gradient(700px 360px at 85% 20%, rgba(123,97,255,.14), transparent 60%),
    rgba(255,255,255,.03);
  padding:34px;
  box-shadow:var(--shadow2);
}

.conversion-cta .final-title{
  margin:0 0 12px;
  letter-spacing:-0.02em;
  line-height:1.12;
}

.final-sub{
  color:var(--muted);
  line-height:1.65;
  margin:0;
  max-width:60ch;
}

.conversion-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}

.conversion-proof{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.72);
  font-size:13px;
}

/* Newsletter card */
.newsletter-card{
  border-radius:26px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  padding:26px;
  box-shadow:var(--shadow2);
}

.newsletter-kicker{
  font-size:12px;
  letter-spacing:0.14em;
  color:rgba(255,255,255,.55);
  margin-bottom:10px;
}

.newsletter-title{
  margin:0 0 10px;
  letter-spacing:-0.02em;
}

.newsletter-sub{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
}

.newsletter-form{
  display:flex;
  gap:10px;
  align-items:center;
}

.newsletter-input{
  flex:1;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  color:var(--text);
  padding:0 14px;
}

.newsletter-input::placeholder{
  color:rgba(255,255,255,.45);
}

.newsletter-btn{
  height:44px;
  padding:0 18px;
}

.newsletter-note{
  margin-top:12px;
  color:rgba(255,255,255,.55);
  font-size:12px;
}

/* Responsive */
@media(max-width:900px){
  .conversion-grid{grid-template-columns:1fr}
  .newsletter-form{flex-direction:column; align-items:stretch}
  .newsletter-btn{width:100%}
}

/* =============================
   FOOTER
============================= */
.footer{
  padding:70px 0 30px;
  border-top:1px solid rgba(255,255,255,.06);
}

.footer-meta{
  margin-top:30px;
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:14px;
}

/* Reduce bottom spacing before conversion band */
.section-tight-bottom{
  padding-bottom:40px;
}
 
 /* =============================
   WHY CHOOSE (Reimagined)
============================= */
.proof-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:14px 0 26px;
}

.proof-item{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:16px;
}

.proof-num{
  font-size:22px;
  font-weight:800;
  letter-spacing:-0.02em;
  color:rgba(255,255,255,.92);
}

.proof-label{
  margin-top:6px;
  font-size:12px;
  color:rgba(255,255,255,.62);
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.why-card{
  display:flex;
  gap:14px;
  align-items:center;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
  transition:.2s;
}

.why-card:hover{
  transform:translateY(-2px);
  border-color:rgba(47,107,255,.28);
  box-shadow:0 10px 40px rgba(0,0,0,.35);
}

.why-icon{
  width:40px;
  height:40px;
  border-radius:14px;

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

  background:rgba(47,107,255,.10);
  border:1px solid rgba(47,107,255,.18);

  flex:0 0 auto;
  overflow:hidden;
}

.why-icon img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;   /* prevents edge clipping */
  background:transparent;
}

.why-title{
  font-weight:800;
  letter-spacing:-0.01em;
  margin-bottom:6px;
}

.why-desc{
  color:rgba(255,255,255,.70);
  line-height:1.55;
  font-size:14px;
}

/* Responsive */
@media(max-width:900px){
  .proof-strip{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:1fr}
}

  
  /* =============================
     RESPONSIVE
  ============================= */
  @media(max-width:900px){
  /* Layout stacks */
  .hero-grid,
  .cta-box,
  .grid-3,
  .flow,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .hero-visual{height:320px}

  /* ✅ Mobile header fixes */
  .nav{
    height:auto;
    padding:14px 0;
    gap:12px;
  }

  /* Hide desktop nav links on mobile to avoid overflow */
  .nav-links{
    display:none;
  }

  /* Keep brand left and CTA right */
  .nav-cta{
    margin-left:auto;
    display:flex;
    gap:10px;
  }

  /* Prevent CTA pills from forcing horizontal scroll */
  .nav-cta .btn,
  .nav-cta .link-pill{
    white-space:nowrap;
  }
}

@media(max-width:520px){
  .container{
    width:calc(100% - 28px);
  }

  .hero{
    padding:46px 0 24px;
  }

  .hero-title{
    font-size:40px;
    line-height:1.06;
  }

  .hero-sub{
    font-size:15px;
  }

  /* Stack hero CTAs nicely */
  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .hero-actions .btn{
    width:100%;
    justify-content:center;
  }

  /* Metrics into 2 columns instead of 4 */
  .hero-metrics{
    grid-template-columns:repeat(2, 1fr);
  }
}

/* Fix header overlap on very small screens (<410px) */
@media (max-width: 410px){
  .nav{
    gap:10px;
  }

  .brand-logo{
    height:24px; /* reduce logo */
  }

  .brand-text{
    font-size:16px; /* reduce brand text */
  }

  .nav-cta{
    gap:8px;
  }

  .nav-cta .link-pill,
  .nav-cta .btn{
    padding:10px 12px; /* tighten buttons */
    font-size:14px;
    border-radius:12px;
    white-space:nowrap;
  }
}

