:root{
  --bg:#0b1020;
  --border:rgba(255,255,255,.12);
  --text:#eef2ff;
  --muted:rgba(238,242,255,.78);
  --accent:#7c3aed;
  --accent2:#2563eb;
  --radius:18px;
  --card:rgba(255,255,255,.05);
  --glass:rgba(0,0,0,.35);
}

/* Reset */
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:var(--bg);
}
a{text-decoration:none;color:inherit}

/* Background */
.bg-animated{position:fixed;inset:0;z-index:-1;overflow:hidden}
canvas{width:100%;height:100%}
.blob{
  position:absolute;
  width:520px;height:520px;
  border-radius:999px;
  filter:blur(18px);
  opacity:.35;
  animation:floaty 18s infinite ease-in-out;
}
.b1{background:radial-gradient(circle,#7c3aed,transparent 60%);top:-140px;left:-140px}
.b2{background:radial-gradient(circle,#2563eb,transparent 60%);top:-140px;right:-140px}
.b3{background:radial-gradient(circle,#6366f1,transparent 60%);bottom:-220px;left:25%}

@keyframes floaty{
  0%{transform:translate(0,0)}
  50%{transform:translate(40px,30px)}
  100%{transform:translate(0,0)}
}

/* Grid overlay */
body::before{
  content:"";
  position:fixed;inset:0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:54px 54px;
  opacity:.1;
  z-index:-2;
}

/* Layout */
.wrap{max-width:1100px;margin:auto;padding:20px}
main{margin-top:16px;border:1px solid var(--border);border-radius:var(--radius);padding:28px;background:rgba(0,0,0,.2)}

/* HEADER */
.site-header{
  position:sticky;top:0;z-index:1000;
  display:flex;justify-content:space-between;align-items:center;
  padding:24px 28px;
  border:2px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(124,58,237,.15), rgba(37,99,235,.1));
  backdrop-filter:blur(16px);
  box-shadow:
    0 8px 32px rgba(0,0,0,.3),
    0 0 0 1px rgba(124,58,237,.2),
    inset 0 1px 0 rgba(255,255,255,.1);
  transition:all .3s ease;
  gap:24px;
  margin-bottom:24px;
}

/* Header shrink disabled to prevent glitching */
/* .site-header.is-shrunk{
  padding:16px 20px;
  box-shadow:
    0 4px 20px rgba(0,0,0,.25),
    0 0 0 1px rgba(124,58,237,.15),
    inset 0 1px 0 rgba(255,255,255,.08);
} */

.brand-link{
  display:flex;
  align-items:center;
  gap:16px;
  transition:transform .2s ease;
}
.brand-link:hover{
  transform:translateX(-2px);
}

.brand-logo{
  width:80px;height:80px;
  padding:12px;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(124,58,237,.2), rgba(37,99,235,.15));
  border:2px solid rgba(255,255,255,.3);
  box-shadow:
    0 0 0 2px rgba(124,58,237,.4),
    0 8px 24px rgba(124,58,237,.3),
    0 0 40px rgba(124,58,237,.2),
    inset 0 1px 0 rgba(255,255,255,.2);
  transition:all .3s ease;
}
.brand-link:hover .brand-logo{
  transform:scale(1.05);
  box-shadow:
    0 0 0 2px rgba(124,58,237,.5),
    0 12px 32px rgba(124,58,237,.4),
    0 0 50px rgba(124,58,237,.3),
    inset 0 1px 0 rgba(255,255,255,.3);
}

/* .site-header.is-shrunk .brand-logo{
  width:56px;height:56px;padding:8px;
} */

.brand-name{
  font-weight:900;
  font-size:20px;
  letter-spacing:.4px;
  background:linear-gradient(135deg, var(--text), rgba(238,242,255,.9));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  text-shadow:0 2px 8px rgba(124,58,237,.2);
}

/* .site-header.is-shrunk .brand-name{
  font-size:17px;
} */

.nav{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.nav a{
  padding:12px 16px;
  border-radius:12px;
  font-weight:800;
  font-size:14px;
  color:var(--muted);
  position:relative;
  transition:all .3s ease;
  border:1px solid transparent;
  background:rgba(0,0,0,.1);
  white-space:nowrap;
}
.nav a::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  padding:1px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .3s ease;
}
.nav a:hover{
  background:linear-gradient(135deg, rgba(124,58,237,.2), rgba(37,99,235,.15));
  color:var(--text);
  transform:translateY(-2px);
  box-shadow:0 4px 16px rgba(124,58,237,.3);
  border-color:rgba(124,58,237,.3);
}
.nav a:hover::before{
  opacity:1;
}
.nav a:active{
  transform:translateY(0);
}
.nav a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  background:rgba(124,58,237,.15);
}
.nav a.active{
  background:linear-gradient(135deg, rgba(124,58,237,.25), rgba(37,99,235,.2));
  color:var(--text);
  border-color:rgba(124,58,237,.4);
  box-shadow:0 2px 12px rgba(124,58,237,.25);
}
.nav a.active::before{
  opacity:1;
}

/* HERO */
.hero{text-align:center}
.hero h1{font-size:44px;margin:14px 0}
.lead{max-width:70ch;margin:auto;color:var(--muted);line-height:1.6}

/* Buttons */
.btns{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.btn{
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--border);
  font-weight:800;
  color:var(--text);
  transition:all .2s ease;
  display:inline-block;
}
.btn:hover{
  background:rgba(255,255,255,.1);
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.btn.primary{
  border:none;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:white;
}
.btn.primary:hover{
  background:linear-gradient(135deg,var(--accent2),var(--accent));
  box-shadow:0 4px 16px rgba(124,58,237,.4);
}

/* Cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:16px}
.card{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--card);
  transition:all .2s ease;
}
.card:hover{
  transform:translateY(-2px);
  border-color:var(--accent);
  box-shadow:0 8px 24px rgba(124,58,237,.15);
}

/* Contact */
.centered{text-align:center}
.contact-header{
  margin-bottom:32px;
}
.contact-icon{
  font-size:48px;
  margin-bottom:12px;
  display:inline-block;
  animation:float 3s ease-in-out infinite;
}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
.contact-form{
  max-width:750px;
  margin:auto;
  display:grid;
  gap:20px;
  background:linear-gradient(135deg, rgba(124,58,237,.1), rgba(37,99,235,.05));
  padding:32px;
  border-radius:20px;
  border:1px solid var(--border);
  box-shadow:0 8px 32px rgba(0,0,0,.2);
  position:relative;
  overflow:hidden;
}
.contact-form::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.contact-form .form-group{
  display:grid;
  gap:8px;
}
.contact-form label{
  font-weight:600;
  font-size:14px;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:8px;
}
.label-icon{
  font-size:18px;
}
.contact-form .required{
  color:#ef4444;
  margin-left:2px;
}
.contact-form input,
.contact-form textarea,
.contact-form select{
  padding:14px 16px;
  border-radius:12px;
  border:2px solid var(--border);
  background:rgba(0,0,0,.4);
  color:var(--text);
  font-size:15px;
  font-family:inherit;
  transition:all .3s ease;
  width:100%;
}
.contact-form select{
  background:rgba(0,0,0,.5);
  color:var(--text);
  cursor:pointer;
}
.contact-form select option{
  background:#1a1f3a;
  color:var(--text);
  padding:12px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color:rgba(255,255,255,.4);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  outline:none;
  border-color:var(--accent);
  background:rgba(0,0,0,.4);
  box-shadow:0 0 0 4px rgba(124,58,237,.2), 0 4px 12px rgba(124,58,237,.1);
  transform:translateY(-1px);
}
.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error{
  border-color:#ef4444;
  background:rgba(239,68,68,.15);
  animation:shake .3s ease;
}
@keyframes shake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-8px)}
  75%{transform:translateX(8px)}
}
.contact-form .error-message{
  color:#ef4444;
  font-size:13px;
  min-height:18px;
  display:block;
  font-weight:500;
}
.contact-form .hp-field{
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}
.select-wrapper{
  position:relative;
}
.select-wrapper .select-arrow{
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  color:var(--muted);
  font-size:12px;
}
.contact-form select{
  appearance:none;
  padding-right:40px;
  cursor:pointer;
}
.char-count{
  text-align:right;
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
}
.captcha-group{
  background:rgba(124,58,237,.05);
  padding:20px;
  border-radius:12px;
  border:1px solid rgba(124,58,237,.2);
}
.captcha-checkbox-wrapper{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.captcha-checkbox-wrapper input[type="checkbox"]{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}
.captcha-label{
  display:flex;
  gap:12px;
  align-items:flex-start;
  cursor:pointer;
  font-weight:400;
  line-height:1.6;
}
.captcha-checkbox-custom{
  width:24px;
  height:24px;
  min-width:24px;
  border:2px solid var(--border);
  border-radius:6px;
  background:rgba(0,0,0,.3);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .2s ease;
  margin-top:2px;
}
.captcha-checkbox-wrapper input[type="checkbox"]:checked + .captcha-label .captcha-checkbox-custom{
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  border-color:var(--accent);
}
.captcha-checkbox-wrapper input[type="checkbox"]:checked + .captcha-label .captcha-checkbox-custom::after{
  content:"✓";
  color:white;
  font-weight:900;
  font-size:16px;
}
.captcha-checkbox-wrapper input[type="checkbox"]:focus-visible + .captcha-label .captcha-checkbox-custom{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.captcha-text{
  color:var(--muted);
  font-size:14px;
  flex:1;
}
.captcha-explanation{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
  font-style:italic;
  line-height:1.5;
}
@media (max-width:768px){
  .form-row{
    grid-template-columns:1fr;
  }
  .contact-form{
    padding:24px 20px;
  }
}
.btn-submit{
  padding:14px 20px;
  border:none;
  border-radius:14px;
  font-weight:900;
  font-size:15px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:white;
  cursor:pointer;
  transition:all .2s ease;
  position:relative;
  min-height:48px;
}
.btn-submit:hover:not(:disabled){
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(124,58,237,.4);
}
.btn-submit:active:not(:disabled){
  transform:translateY(0);
}
.btn-submit:disabled{
  opacity:.7;
  cursor:not-allowed;
}
.btn-submit .btn-loader{
  display:none;
}
.form-status{
  padding:12px 14px;
  border-radius:12px;
  font-size:14px;
  font-weight:500;
  text-align:center;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.form-status.success{
  background:rgba(34,197,94,.15);
  border:1px solid rgba(34,197,94,.3);
  color:#86efac;
}
.form-status.error{
  background:rgba(239,68,68,.15);
  border:1px solid rgba(239,68,68,.3);
  color:#fca5a5;
}
.form-note{
  text-align:center;
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}
.form-note a{
  color:var(--accent);
  text-decoration:underline;
}
.form-note a:hover{
  color:var(--accent2);
}

/* Footer */
footer{
  margin-top:40px;
  padding-top:32px;
  border-top:1px solid var(--border);
}
.footer-content{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:32px;
  margin-bottom:24px;
}
.footer-section h3{
  font-size:18px;
  margin:0 0 8px;
  color:var(--text);
}
.footer-section h4{
  font-size:14px;
  font-weight:700;
  margin:0 0 12px;
  color:var(--text);
  text-transform:uppercase;
  letter-spacing:.5px;
}
.footer-section p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.footer-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.footer-nav a{
  color:var(--muted);
  font-size:14px;
  transition:color .2s ease;
}
.footer-nav a:hover{
  color:var(--text);
}
.footer-bottom{
  padding-top:24px;
  border-top:1px solid var(--border);
  text-align:center;
  font-size:12px;
  color:rgba(255,255,255,.5);
}
.footer-bottom a{
  color:rgba(255,255,255,.6);
}
.footer-bottom a:hover{
  color:var(--text);
}
@media (max-width:768px){
  .footer-content{
    grid-template-columns:1fr;
    gap:24px;
  }
}

/* Scroll reveal */
.reveal{opacity:0;transform:translateY(16px);transition:.6s}
.reveal.in{opacity:1;transform:none}

/* Kicker */
.kicker{
  font-size:14px;
  font-weight:700;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:8px;
}

/* Hero Metrics */
.hero-metrics{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--border);
}
.metric{
  text-align:center;
}
.metric-title{
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-bottom:6px;
}
.metric-value{
  font-size:16px;
  font-weight:800;
  color:var(--text);
}

/* Section Head */
.section-head{
  text-align:center;
  margin-bottom:24px;
}
.section-head h2{
  font-size:32px;
  margin:0 0 8px;
  letter-spacing:-.5px;
}
.section-head p{
  color:var(--muted);
  font-size:16px;
  max-width:60ch;
  margin:0 auto;
}

/* Timeline */
.timeline{
  display:grid;
  gap:20px;
  margin-top:24px;
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
}
.step{
  display:flex;
  gap:20px;
  align-items:flex-start;
  padding:20px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--card);
}
.step-num{
  font-size:32px;
  font-weight:900;
  color:var(--accent);
  line-height:1;
  min-width:60px;
}
.step h3{
  margin:0 0 6px;
  font-size:20px;
}
.step p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

/* CTA Section */
.cta2{
  text-align:center;
  padding:32px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--card);
  margin-top:32px;
}
.cta2 h2{
  font-size:32px;
  margin:0 0 8px;
  letter-spacing:-.5px;
}
.cta2 p{
  color:var(--muted);
  margin:0 0 20px;
  font-size:16px;
}

/* Icon in Cards */
.card .icon{
  font-size:32px;
  margin-bottom:12px;
  display:block;
}

/* Pills/Tags */
.stack{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:16px;
}
.pill{
  padding:8px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--card);
  font-size:14px;
  font-weight:600;
  color:var(--text);
}

/* Skip to content link */
.skip-link{
  position:absolute;
  top:-40px;
  left:0;
  background:var(--accent);
  color:white;
  padding:8px 16px;
  text-decoration:none;
  z-index:10000;
  border-radius:0 0 8px 0;
}
.skip-link:focus{
  top:0;
}

/* Mobile Menu */
.mobile-menu-toggle{
  display:none;
  background:none;
  border:none;
  color:var(--text);
  font-size:24px;
  cursor:pointer;
  padding:8px 12px;
  border-radius:8px;
  flex-shrink:0;
  transition:background .2s ease;
}
.mobile-menu-toggle:hover{
  background:rgba(255,255,255,.08);
}
.mobile-menu-toggle:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

/* Responsive */
@media (max-width:768px){
  .wrap{padding:12px}
  main{padding:20px}
  .hero h1{font-size:32px}
  .lead{font-size:15px}
  .nav{
    position:fixed;
    top:0;
    right:-100%;
    width:300px;
    height:100vh;
    background:linear-gradient(135deg, rgba(11,16,32,.98), rgba(11,16,32,.95));
    border-left:2px solid var(--border);
    box-shadow:-8px 0 32px rgba(0,0,0,.5);
    flex-direction:column;
    padding:100px 24px 24px;
    transition:right .3s ease;
    z-index:999;
    gap:12px;
  }
  .nav.is-open{
    right:0;
  }
  .nav a{
    width:100%;
    padding:16px 20px;
    font-size:16px;
  }
  .mobile-menu-toggle{
    display:block;
  }
  /* .site-header.is-shrunk .nav{
    padding-top:60px;
  } */
  .hero-metrics{
    grid-template-columns:1fr;
    gap:12px;
  }
  .timeline{
    gap:16px;
  }
  .step{
    flex-direction:column;
    gap:12px;
  }
  .step-num{
    min-width:auto;
  }
  .grid{
    grid-template-columns:1fr;
  }
  footer{
    flex-direction:column;
    gap:8px;
    text-align:center;
  }
  .brand-name{
    font-size:14px;
  }
  /* .site-header.is-shrunk .brand-name{
    font-size:13px;
  } */
}

@media (max-width:480px){
  .hero h1{font-size:28px}
  .section-head h2{font-size:24px}
  .cta2 h2{font-size:24px}
  .btns{
    flex-direction:column;
  }
  .btn{
    width:100%;
    text-align:center;
  }
}

/* FAQ Styles */
.faq-section{
  max-width:800px;
  margin:auto;
}
.faq-item{
  margin-bottom:20px;
  padding:20px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--card);
  transition:all .2s ease;
  cursor:pointer;
}
.faq-item:hover{
  border-color:var(--accent);
  background:rgba(124,58,237,.05);
}
.faq-question{
  margin:0 0 12px;
  font-size:18px;
  font-weight:700;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  user-select:none;
}
.faq-question::after{
  content:"+";
  font-size:24px;
  font-weight:300;
  color:var(--accent);
  transition:transform .3s;
  flex-shrink:0;
  margin-left:16px;
}
.faq-item.active .faq-question::after{
  transform:rotate(45deg);
}
.faq-answer{
  color:var(--muted);
  line-height:1.7;
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease-out, margin-top .3s ease-out;
  margin-top:0;
}
.faq-item.active .faq-answer{
  max-height:500px;
  margin-top:12px;
}
.faq-answer p{
  margin:0 0 8px;
}
.faq-answer a{
  color:var(--accent);
  text-decoration:underline;
}
.faq-answer a:hover{
  color:var(--accent2);
}

/* Policy Content Styles */
.policy-content{
  max-width:800px;
  margin:auto;
}
.policy-section{
  margin-bottom:32px;
  padding-bottom:32px;
  border-bottom:1px solid var(--border);
}
.policy-section:last-child{
  border-bottom:none;
}
.policy-section h2{
  margin:0 0 12px;
  font-size:24px;
  color:var(--text);
}
.policy-section p{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.75;
}
.policy-section ul{
  margin:12px 0;
  padding-left:24px;
  color:var(--muted);
  line-height:1.8;
}
.policy-section li{
  margin-bottom:8px;
}
.policy-section a{
  color:var(--accent);
  text-decoration:underline;
}
.policy-section a:hover{
  color:var(--accent2);
}

/* Blog Styles */
.blog-section{
  max-width:1200px;
  margin:auto;
}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:24px;
  margin-top:32px;
}
.blog-card{
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--card);
  overflow:hidden;
  transition:all .3s ease;
  display:flex;
  flex-direction:column;
}
.blog-card:hover{
  transform:translateY(-4px);
  border-color:var(--accent);
  box-shadow:0 8px 32px rgba(124,58,237,.2);
}
.blog-card-image{
  width:100%;
  height:200px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(124,58,237,.2), rgba(37,99,235,.15));
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.blog-card-image::after{
  content:attr(data-title);
  position:absolute;
  color:var(--text);
  font-size:18px;
  font-weight:700;
  text-align:center;
  padding:20px;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.blog-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
  position:relative;
  z-index:2;
}
.blog-card-image img.error,
.blog-card-image img[style*="display: none"]{
  display:none !important;
}
.blog-card-image.image-missing::after,
.blog-card-image:not(:has(img:not(.error)))::after{
  z-index:10;
  opacity:1;
}
.blog-card:hover .blog-card-image img{
  transform:scale(1.05);
}
.blog-card-content{
  padding:24px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.blog-card-content h2{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.3;
}
.blog-card-content h2 a{
  color:var(--text);
  transition:color .2s ease;
}
.blog-card-content h2 a:hover{
  color:var(--accent);
}
.blog-excerpt{
  color:var(--muted);
  line-height:1.7;
  margin:0 0 16px;
  flex:1;
}
.blog-read-more{
  color:var(--accent);
  font-weight:700;
  font-size:14px;
  transition:all .2s ease;
  display:inline-block;
}
.blog-read-more:hover{
  color:var(--accent2);
  transform:translateX(4px);
}

/* Blog Post Styles */
.blog-post{
  max-width:800px;
  margin:auto;
}
.blog-post-header{
  margin-bottom:32px;
}
.blog-back-link{
  display:inline-block;
  color:var(--muted);
  font-size:14px;
  margin-bottom:16px;
  transition:color .2s ease;
}
.blog-back-link:hover{
  color:var(--text);
}
.blog-post-header h1{
  margin:0 0 12px;
  font-size:42px;
  letter-spacing:-.8px;
  line-height:1.2;
}
.blog-meta{
  color:var(--muted);
  font-size:14px;
}
.blog-post-image{
  width:100%;
  margin:32px 0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background:linear-gradient(135deg, rgba(124,58,237,.2), rgba(37,99,235,.15));
  min-height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.blog-post-image[data-title]::after{
  content:attr(data-title);
  position:absolute;
  color:var(--text);
  font-size:32px;
  font-weight:900;
  text-align:center;
  padding:40px;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.blog-post-image img{
  width:100%;
  height:auto;
  display:block;
  position:relative;
  z-index:2;
  border-radius:16px;
}
.blog-post-image img.error,
.blog-post-image img[style*="display: none"]{
  display:none !important;
}
.blog-post-image.image-missing[data-title]::after,
.blog-post-image[data-title]:not(:has(img:not(.error)))::after{
  z-index:10;
  opacity:1;
}
.blog-post-content{
  line-height:1.8;
}
.blog-post-content .lead{
  font-size:20px;
  color:var(--text);
  font-weight:500;
  margin:0 0 32px;
  line-height:1.7;
}
.blog-post-content h2{
  margin:40px 0 16px;
  font-size:28px;
  color:var(--text);
  letter-spacing:-.5px;
}
.blog-post-content p{
  margin:0 0 20px;
  color:var(--muted);
  font-size:16px;
}
.blog-post-footer{
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid var(--border);
}

/* Pricing Styles */
.pricing-section{
  max-width:1000px;
  margin:auto;
}
.pricing-note{
  padding:20px;
  border-radius:12px;
  background:rgba(124,58,237,.1);
  border:1px solid rgba(124,58,237,.2);
  margin-bottom:24px;
}
.pricing-note p{
  margin:0;
  color:var(--text);
  line-height:1.7;
}
.pricing-card{
  text-align:center;
}
.pricing-range{
  font-size:24px;
  font-weight:900;
  color:var(--accent);
  margin:12px 0;
  letter-spacing:-.5px;
}
.pricing-factors{
  padding:32px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--card);
}
.pricing-factors h4{
  color:var(--text);
}

/* Focus styles for accessibility */
*:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
button:focus-visible,
a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:4px;
}

/* Back to Top Button */
.back-to-top{
  position:fixed;
  bottom:32px;
  right:32px;
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--accent);
  color:white;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  box-shadow:0 4px 12px rgba(124,58,237,.3);
  opacity:0;
  visibility:hidden;
  transition:all .3s;
  z-index:1000;
}
.back-to-top.visible{
  opacity:1;
  visibility:visible;
}
.back-to-top:hover{
  background:var(--accent2);
  transform:translateY(-4px);
  box-shadow:0 6px 16px rgba(124,58,237,.4);
}

/* Breadcrumbs */
.breadcrumbs{
  margin:0 0 24px;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:var(--muted);
}
.breadcrumbs li{
  display:flex;
  align-items:center;
}
.breadcrumbs li:not(:last-child)::after{
  content:"/";
  margin-left:8px;
  color:var(--muted);
}
.breadcrumbs a{
  color:var(--muted);
  text-decoration:none;
  transition:color .2s;
}
.breadcrumbs a:hover{
  color:var(--accent);
}
.breadcrumbs .current{
  color:var(--text);
  font-weight:600;
}

/* Blog Enhancements */
.blog-meta-extended{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin:16px 0;
  font-size:14px;
  color:var(--muted);
}
.reading-time{
  display:flex;
  align-items:center;
  gap:4px;
}
.blog-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0;
}
.blog-tag{
  padding:4px 12px;
  background:rgba(124,58,237,.1);
  color:var(--accent);
  border-radius:16px;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
  transition:all .2s;
}
.blog-tag:hover{
  background:rgba(124,58,237,.2);
  transform:translateY(-2px);
}
.social-share{
  display:flex;
  gap:12px;
  margin:24px 0;
  padding:20px;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.social-share-btn{
  padding:8px 16px;
  border-radius:8px;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:all .2s;
  display:flex;
  align-items:center;
  gap:6px;
}
.social-share-btn.twitter{
  background:#1DA1F2;
  color:white;
}
.social-share-btn.facebook{
  background:#1877F2;
  color:white;
}
.social-share-btn.linkedin{
  background:#0077B5;
  color:white;
}
.social-share-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 8px rgba(0,0,0,.2);
}
.related-posts{
  margin:48px 0;
  padding-top:32px;
  border-top:2px solid var(--border);
}
.related-posts h3{
  margin:0 0 24px;
  font-size:24px;
}
.related-posts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:24px;
}
.related-post-card{
  padding:20px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--card);
  transition:all .2s;
  text-decoration:none;
  color:inherit;
  display:block;
}
.related-post-card:hover{
  border-color:var(--accent);
  transform:translateY(-4px);
  box-shadow:0 8px 16px rgba(0,0,0,.1);
}
.related-post-card h4{
  margin:0 0 8px;
  font-size:18px;
  color:var(--text);
}
.related-post-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.table-of-contents{
  background:rgba(124,58,237,.05);
  border-left:4px solid var(--accent);
  padding:20px;
  border-radius:8px;
  margin:32px 0;
}
.table-of-contents h3{
  margin:0 0 16px;
  font-size:18px;
}
.table-of-contents ul{
  margin:0;
  padding-left:20px;
  list-style:none;
}
.table-of-contents li{
  margin:8px 0;
}
.table-of-contents a{
  color:var(--text);
  text-decoration:none;
  transition:color .2s;
}
.table-of-contents a:hover{
  color:var(--accent);
}

/* Search Functionality */
.search-container{
  position:relative;
  margin:24px 0;
}
.search-box{
  width:100%;
  padding:12px 16px;
  border:2px solid var(--border);
  border-radius:8px;
  font-size:16px;
  background:var(--bg);
  color:var(--text);
  transition:all .2s;
}
.search-box:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(124,58,237,.1);
}
.search-results{
  margin:24px 0;
}
.search-result-item{
  padding:20px;
  border:1px solid var(--border);
  border-radius:12px;
  margin-bottom:16px;
  background:var(--card);
  transition:all .2s;
}
.search-result-item:hover{
  border-color:var(--accent);
  transform:translateX(4px);
}
.search-result-item h3{
  margin:0 0 8px;
  font-size:20px;
}
.search-result-item h3 a{
  color:var(--text);
  text-decoration:none;
}
.search-result-item h3 a:hover{
  color:var(--accent);
}
.search-result-item p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.search-highlight{
  background:rgba(124,58,237,.2);
  padding:2px 4px;
  border-radius:4px;
  font-weight:600;
}

/* Newsletter Signup */
.newsletter-signup{
  background:linear-gradient(135deg, rgba(124,58,237,.1), rgba(37,99,235,.1));
  border:1px solid var(--border);
  border-radius:16px;
  padding:32px;
  margin:48px 0;
  text-align:center;
}
.newsletter-signup h3{
  margin:0 0 8px;
  font-size:24px;
}
.newsletter-signup p{
  margin:0 0 24px;
  color:var(--muted);
}
.newsletter-form{
  display:flex;
  gap:12px;
  max-width:500px;
  margin:0 auto;
}
.newsletter-form input{
  flex:1;
  padding:12px 16px;
  border:2px solid var(--border);
  border-radius:8px;
  font-size:16px;
  background:var(--bg);
  color:var(--text);
}
.newsletter-form input:focus{
  outline:none;
  border-color:var(--accent);
}
.newsletter-form button{
  padding:12px 24px;
  background:var(--accent);
  color:white;
  border:none;
  border-radius:8px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s;
}
.newsletter-form button:hover{
  background:var(--accent2);
  transform:translateY(-2px);
}

/* Cookie Consent */
.cookie-consent{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:var(--card);
  border-top:2px solid var(--border);
  padding:20px;
  box-shadow:0 -4px 12px rgba(0,0,0,.1);
  z-index:10000;
  transform:translateY(100%);
  transition:transform .3s;
}
.cookie-consent.show{
  transform:translateY(0);
}
.cookie-consent-content{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.cookie-consent-text{
  flex:1;
  min-width:250px;
}
.cookie-consent-text p{
  margin:0;
  color:var(--text);
  line-height:1.6;
}
.cookie-consent-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.cookie-consent-btn{
  padding:10px 20px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s;
  border:none;
}
.cookie-consent-btn.accept{
  background:var(--accent);
  color:white;
}
.cookie-consent-btn.accept:hover{
  background:var(--accent2);
}
.cookie-consent-btn.decline{
  background:transparent;
  color:var(--text);
  border:2px solid var(--border);
}
.cookie-consent-btn.decline:hover{
  border-color:var(--accent);
  color:var(--accent);
}

/* Social Media Links */
.social-links{
  display:flex;
  gap:12px;
  align-items:center;
}
.social-link{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(124,58,237,.1);
  color:var(--accent);
  text-decoration:none;
  transition:all .2s;
  font-size:18px;
}
.social-link:hover{
  background:var(--accent);
  color:white;
  transform:translateY(-2px);
  box-shadow:0 4px 8px rgba(124,58,237,.3);
}

/* Smooth Scroll */
html{
  scroll-behavior:smooth;
}

/* Print Styles */
@media print{
  .site-header,
  .mobile-menu-toggle,
  .back-to-top,
  .cookie-consent,
  .newsletter-signup,
  .social-share,
  .btns,
  nav{
    display:none !important;
  }
  body{
    background:white;
    color:black;
  }
  .wrap{
    max-width:100%;
    padding:0;
  }
  a{
    color:black;
    text-decoration:underline;
  }
  .blog-post-image img{
    max-width:100%;
    page-break-inside:avoid;
  }
  .section{
    page-break-inside:avoid;
  }
}

/* Chatbot Widget */
.chatbot-widget{
  position:fixed;
  bottom:100px;
  right:32px;
  width:380px;
  max-width:calc(100vw - 64px);
  height:600px;
  max-height:calc(100vh - 140px);
  background:var(--card);
  border-radius:20px;
  box-shadow:0 8px 32px rgba(0,0,0,.2);
  display:flex;
  flex-direction:column;
  z-index:9999;
  transform:translateY(calc(100% + 20px)) scale(0.9);
  opacity:0;
  transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);
  border:1px solid var(--border);
  overflow:hidden;
}
.chatbot-widget.open{
  transform:translateY(0) scale(1);
  opacity:1;
}
.chatbot-header{
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.chatbot-header-content{
  display:flex;
  align-items:center;
  gap:12px;
}
.chatbot-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}
.chatbot-name{
  font-weight:700;
  font-size:16px;
}
.chatbot-status{
  font-size:12px;
  opacity:.9;
}
.chatbot-close{
  background:none;
  border:none;
  color:white;
  font-size:24px;
  cursor:pointer;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition:background .2s;
}
.chatbot-close:hover{
  background:rgba(255,255,255,.2);
}
.chatbot-messages{
  flex:1;
  overflow-y:auto;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:16px;
  background:var(--bg);
}
.chatbot-message{
  display:flex;
  gap:8px;
  animation:messageSlideIn .3s ease-out;
}
@keyframes messageSlideIn{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.chatbot-message.user-message{
  flex-direction:row-reverse;
}
.message-content{
  max-width:75%;
  padding:12px 16px;
  border-radius:16px;
  line-height:1.5;
}
.bot-message .message-content{
  background:var(--card);
  border:1px solid var(--border);
  color:var(--text);
  border-bottom-left-radius:4px;
}
.user-message .message-content{
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  border-bottom-right-radius:4px;
}
.message-content p{
  margin:0;
  font-size:14px;
}
.typing-indicator .message-content{
  padding:12px 20px;
}
.typing-dots{
  display:inline-flex;
  gap:4px;
  align-items:center;
}
.typing-dots span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  animation:typingDot 1.4s infinite ease-in-out;
}
.typing-dots span:nth-child(1){
  animation-delay:-0.32s;
}
.typing-dots span:nth-child(2){
  animation-delay:-0.16s;
}
.typing-dots span:nth-child(3){
  animation-delay:0;
}
@keyframes typingDot{
  0%,80%,100%{
    transform:scale(0.8);
    opacity:0.5;
  }
  40%{
    transform:scale(1);
    opacity:1;
  }
}
.chatbot-quick-replies{
  padding:12px 20px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  border-top:1px solid var(--border);
  background:var(--card);
}
.quick-reply-btn{
  padding:6px 12px;
  background:rgba(124,58,237,.1);
  border:1px solid rgba(124,58,237,.2);
  border-radius:16px;
  font-size:12px;
  font-weight:600;
  color:var(--accent);
  cursor:pointer;
  transition:all .2s;
  white-space:nowrap;
}
.quick-reply-btn:hover{
  background:rgba(124,58,237,.2);
  transform:translateY(-2px);
}
.chatbot-input-container{
  display:flex;
  gap:8px;
  padding:16px 20px;
  border-top:1px solid var(--border);
  background:var(--card);
}
.chatbot-input{
  flex:1;
  padding:12px 16px;
  border:2px solid var(--border);
  border-radius:24px;
  font-size:14px;
  background:var(--bg);
  color:var(--text);
  outline:none;
  transition:all .2s;
}
.chatbot-input:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(124,58,237,.1);
}
.chatbot-input:disabled{
  opacity:.6;
  cursor:not-allowed;
  background:rgba(0,0,0,.1);
}
.chatbot-send{
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--accent);
  color:white;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  transition:all .2s;
  flex-shrink:0;
}
.chatbot-send:hover{
  background:var(--accent2);
  transform:scale(1.1);
}
.chatbot-send:disabled{
  opacity:.5;
  cursor:not-allowed;
  transform:none;
}
.chatbot-toggle{
  position:fixed;
  bottom:32px;
  right:32px;
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  border:none;
  cursor:pointer;
  box-shadow:0 4px 16px rgba(124,58,237,.4);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  z-index:9998;
  transition:all .3s;
  font-size:24px;
}
.chatbot-toggle:hover{
  transform:scale(1.1);
  box-shadow:0 6px 20px rgba(124,58,237,.5);
}
.chatbot-toggle.hidden{
  opacity:0;
  pointer-events:none;
  transform:scale(0.8);
}
.chatbot-toggle-icon{
  font-size:28px;
  line-height:1;
}
.chatbot-toggle-text{
  font-size:10px;
  font-weight:600;
  line-height:1;
}

/* Responsive adjustments for new features */
@media (max-width:768px){
  .back-to-top{
    bottom:20px;
    right:20px;
    width:44px;
    height:44px;
  }
  .cookie-consent-content{
    flex-direction:column;
    text-align:center;
  }
  .cookie-consent-buttons{
    width:100%;
    justify-content:center;
  }
  .newsletter-form{
    flex-direction:column;
  }
  .newsletter-form button{
    width:100%;
  }
  .social-share{
    flex-wrap:wrap;
  }
  .related-posts-grid{
    grid-template-columns:1fr;
  }
  .chatbot-widget{
    right:16px;
    bottom:80px;
    width:calc(100vw - 32px);
    height:calc(100vh - 120px);
    max-height:calc(100vh - 120px);
  }
  .chatbot-toggle{
    bottom:20px;
    right:20px;
    width:56px;
    height:56px;
  }
  .chatbot-toggle-text{
    display:none;
  }
}

/* Calculator Styles */
.calculator-form{
  margin-top:24px;
}
.calculator-form .form-group{
  margin-bottom:16px;
}
.calculator-form label{
  display:block;
  margin-bottom:6px;
  font-weight:600;
  font-size:14px;
  color:var(--text);
}
.calculator-form input{
  width:100%;
  padding:12px;
  border:2px solid var(--border);
  border-radius:8px;
  font-size:16px;
  background:var(--bg);
  color:var(--text);
  transition:all .2s;
  box-sizing:border-box;
}
.calculator-form input:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(124,58,237,.1);
}
.calculator-result{
  animation:slideDown .3s ease-out;
}
@keyframes slideDown{
  from{
    opacity:0;
    transform:translateY(-10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Before/After Section */
.before-after-section{
  margin:64px 0;
  padding:48px 0;
}
.before-after-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:32px;
  margin-top:40px;
}
.before-after-item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:32px;
  transition:all .3s;
}
.before-after-item:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.1);
  border-color:var(--accent);
}
.before-after-header{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:24px;
}
.before-after-icon{
  width:56px;
  height:56px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  flex-shrink:0;
}
.before-after-title{
  margin:0;
  font-size:20px;
  font-weight:700;
}
.before-after-comparison{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:20px;
}
.before-after-col{
  padding:16px;
  border-radius:8px;
}
.before-after-col.before{
  background:rgba(239,68,68,.1);
  border:1px solid rgba(239,68,68,.2);
}
.before-after-col.after{
  background:rgba(34,197,94,.1);
  border:1px solid rgba(34,197,94,.2);
}
.before-after-col-label{
  font-weight:700;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:12px;
}
.before-after-col.before .before-after-col-label{
  color:#ef4444;
}
.before-after-col.after .before-after-col-label{
  color:#22c55e;
}
.before-after-col ul{
  margin:0;
  padding-left:20px;
  list-style:none;
}
.before-after-col li{
  margin:8px 0;
  font-size:14px;
  line-height:1.6;
  position:relative;
  padding-left:20px;
}
.before-after-col.before li::before{
  content:"✗";
  position:absolute;
  left:0;
  color:#ef4444;
  font-weight:bold;
}
.before-after-col.after li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#22c55e;
  font-weight:bold;
}
.before-after-metrics{
  display:flex;
  gap:16px;
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid var(--border);
  flex-wrap:wrap;
}
.before-after-metric{
  flex:1;
  min-width:120px;
  text-align:center;
}
.before-after-metric-value{
  font-size:32px;
  font-weight:900;
  color:var(--accent);
  line-height:1;
  margin-bottom:4px;
}
.before-after-metric-label{
  font-size:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1px;
}

/* ============================================
   CLIENT PORTAL - LOGIN & DASHBOARD
   ============================================ */

/* Login Page */
.login-container{
  max-width:480px;
  margin:48px auto;
  padding:0 24px;
}
.login-card{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:40px;
  backdrop-filter:blur(16px);
  box-shadow:0 8px 32px rgba(0,0,0,.3);
}
.login-header{
  text-align:center;
  margin-bottom:32px;
}
.login-icon{
  font-size:64px;
  margin-bottom:16px;
}
.login-form .form-group{
  margin-bottom:20px;
}
.login-form input[type="email"],
.login-form input[type="password"]{
  width:100%;
  padding:14px 16px;
  background:rgba(0,0,0,.2);
  border:1px solid var(--border);
  border-radius:12px;
  color:var(--text);
  font-size:16px;
  transition:all .3s ease;
}
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(124,58,237,.1);
}
.login-form input[type="email"].error,
.login-form input[type="password"].error{
  border-color:#ef4444;
  box-shadow:0 0 0 3px rgba(239,68,68,.1);
}
.checkbox-label{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-size:14px;
  color:var(--muted);
}
.checkbox-label input[type="checkbox"]{
  width:18px;
  height:18px;
  cursor:pointer;
  accent-color:var(--accent);
}

/* Dashboard */
.dashboard-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:32px;
  flex-wrap:wrap;
}
.dashboard-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
  margin-bottom:32px;
}
.stat-card{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  display:flex;
  align-items:center;
  gap:16px;
  transition:all .3s ease;
}
.stat-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(124,58,237,.2);
  border-color:rgba(124,58,237,.3);
}
.stat-icon{
  font-size:40px;
  flex-shrink:0;
}
.stat-content{
  flex:1;
}
.stat-value{
  font-size:28px;
  font-weight:700;
  color:var(--text);
  margin-bottom:4px;
}
.stat-label{
  font-size:14px;
  color:var(--muted);
}

/* Services Grid */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(350px,1fr));
  gap:24px;
  margin-top:32px;
}
.service-card{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  transition:all .3s ease;
}
.service-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(124,58,237,.2);
  border-color:rgba(124,58,237,.3);
}
.service-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:20px;
}
.service-status{
  padding:6px 12px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  white-space:nowrap;
  flex-shrink:0;
}
.service-status.status-active{
  background:rgba(34,197,94,.15);
  color:#22c55e;
  border:1px solid rgba(34,197,94,.3);
}
.service-status.status-in-progress{
  background:rgba(59,130,246,.15);
  color:#3b82f6;
  border:1px solid rgba(59,130,246,.3);
}
.service-status.status-completed{
  background:rgba(124,58,237,.15);
  color:var(--accent);
  border:1px solid rgba(124,58,237,.3);
}
.service-progress{
  margin-top:20px;
}
.progress-bar{
  width:100%;
  height:8px;
  background:rgba(0,0,0,.2);
  border-radius:4px;
  overflow:hidden;
  margin-bottom:12px;
}
.progress-fill{
  height:100%;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  border-radius:4px;
  transition:width .5s ease;
}
.service-meta{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  font-size:13px;
  color:var(--muted);
}

/* Reports Grid */
.reports-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:24px;
  margin-top:32px;
}
.report-card{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  display:flex;
  gap:16px;
  transition:all .3s ease;
}
.report-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(124,58,237,.2);
  border-color:rgba(124,58,237,.3);
}
.report-icon{
  font-size:40px;
  flex-shrink:0;
}
.report-content{
  flex:1;
}
.report-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-top:12px;
  font-size:13px;
  color:var(--muted);
}
.report-link{
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  transition:color .2s;
}
.report-link:hover{
  color:var(--accent2);
}

/* Dashboard Tabs */
.dashboard-tabs{
  display:flex;
  gap:8px;
  border-bottom:2px solid var(--border);
  margin-bottom:32px;
  flex-wrap:wrap;
}
.dashboard-tab{
  padding:12px 24px;
  background:transparent;
  border:none;
  border-bottom:3px solid transparent;
  color:var(--muted);
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s;
  margin-bottom:-2px;
}
.dashboard-tab:hover{
  color:var(--text);
  background:rgba(124,58,237,.05);
}
.dashboard-tab.active{
  color:var(--accent);
  border-bottom-color:var(--accent);
  background:rgba(124,58,237,.1);
}
.dashboard-tab-content{
  display:none;
}
.dashboard-tab-content.active{
  display:block;
}

/* Chat Sessions */
.chat-sessions-container{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(400px,1fr));
  gap:24px;
  margin-top:24px;
}
.chat-session-card{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  transition:all .3s ease;
}
.chat-session-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(124,58,237,.2);
  border-color:rgba(124,58,237,.3);
}
.chat-session-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:12px;
}
.status-badge{
  padding:4px 12px;
  border-radius:12px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  white-space:nowrap;
}
.status-badge.active{
  background:rgba(59,130,246,.15);
  color:#3b82f6;
  border:1px solid rgba(59,130,246,.3);
}
.status-badge.completed{
  background:rgba(34,197,94,.15);
  color:#22c55e;
  border:1px solid rgba(34,197,94,.3);
}
.chat-session-stats{
  display:flex;
  gap:16px;
  margin-bottom:12px;
  font-size:13px;
  color:var(--muted);
  flex-wrap:wrap;
}
.chat-session-preview{
  margin-bottom:16px;
  padding:12px;
  background:rgba(0,0,0,.1);
  border-radius:8px;
}
.chat-session-actions{
  display:flex;
  gap:12px;
}
.chat-session-actions .btn{
  flex:1;
}

/* Chat Modal */
.chat-modal{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,.8);
  backdrop-filter:blur(8px);
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  animation:fadeIn .2s ease;
}
@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}
.chat-modal-content{
  background:var(--bg);
  border:2px solid var(--border);
  border-radius:var(--radius);
  max-width:800px;
  width:100%;
  max-height:90vh;
  display:flex;
  flex-direction:column;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.chat-modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 24px;
  border-bottom:2px solid var(--border);
}
.chat-modal-header h2{
  margin:0;
  font-size:24px;
}
.chat-modal-close{
  background:none;
  border:none;
  color:var(--text);
  font-size:24px;
  cursor:pointer;
  padding:4px 8px;
  border-radius:4px;
  transition:background .2s;
}
.chat-modal-close:hover{
  background:rgba(255,255,255,.1);
}
.chat-modal-body{
  padding:24px;
  overflow-y:auto;
  flex:1;
}
.chat-session-info{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:8px;
  padding:16px;
  margin-bottom:24px;
}
.chat-session-info p{
  margin:8px 0;
  font-size:14px;
}
.chat-messages-view{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.chat-message-view{
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--border);
}
.chat-message-view.user-msg{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:white;
  margin-left:20%;
  border:none;
}
.chat-message-view.bot-msg{
  background:var(--card);
  margin-right:20%;
}
.chat-msg-header{
  display:flex;
  justify-content:space-between;
  margin-bottom:8px;
  font-size:12px;
  opacity:.8;
}
.chat-msg-content{
  line-height:1.6;
}
.chat-modal-footer{
  padding:20px 24px;
  border-top:2px solid var(--border);
  display:flex;
  justify-content:flex-end;
}

/* Usage Reports */
.usage-overview{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  margin-bottom:32px;
}
.usage-stat-card{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  display:flex;
  gap:16px;
  align-items:center;
}
.usage-stat-icon{
  font-size:40px;
  flex-shrink:0;
}
.usage-stat-content{
  flex:1;
}
.usage-stat-value{
  font-size:32px;
  font-weight:900;
  margin-bottom:4px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.usage-stat-label{
  font-size:14px;
  color:var(--muted);
  margin-bottom:4px;
}
.usage-stat-sublabel{
  font-size:12px;
  color:var(--muted);
}
.usage-stat-sublabel.over-limit{
  color:#ef4444;
  font-weight:600;
}
.usage-chart-container{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  margin-top:24px;
}
.usage-chart{
  display:flex;
  gap:24px;
  align-items:flex-end;
  height:200px;
  margin-bottom:12px;
}
.usage-bar{
  flex:1;
  background:linear-gradient(180deg,var(--accent),var(--accent2));
  border-radius:8px 8px 0 0;
  position:relative;
  min-height:20px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:8px;
}
.usage-bar-label{
  color:white;
  font-size:12px;
  font-weight:600;
  text-shadow:0 1px 2px rgba(0,0,0,.3);
}
.usage-chart-labels{
  display:flex;
  gap:24px;
  justify-content:space-around;
  font-size:14px;
  color:var(--muted);
}

/* Billing */
.billing-overview{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:24px;
  margin-bottom:32px;
}
.billing-plan-card,.billing-usage-card{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}
.plan-name{
  font-size:18px;
  font-weight:700;
  margin-bottom:8px;
  color:var(--accent);
}
.plan-price{
  font-size:36px;
  font-weight:900;
  margin-bottom:8px;
}
.plan-period{
  font-size:18px;
  color:var(--muted);
  font-weight:400;
}
.plan-limit{
  color:var(--muted);
  font-size:14px;
}
.usage-meter{
  margin-top:16px;
}
.usage-meter-bar{
  width:100%;
  height:24px;
  background:rgba(0,0,0,.2);
  border-radius:12px;
  overflow:hidden;
  margin-bottom:8px;
}
.usage-meter-fill{
  height:100%;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  border-radius:12px;
  transition:width .5s ease;
}
.usage-meter-labels{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:var(--muted);
}
.over-limit-badge{
  color:#ef4444;
  font-weight:600;
}
.overage-warning{
  background:rgba(239,68,68,.1);
  border:1px solid rgba(239,68,68,.3);
  border-radius:8px;
  padding:16px;
  margin-top:16px;
}
.overage-warning strong{
  color:#ef4444;
  display:block;
  margin-bottom:8px;
}
.billing-details{
  background:var(--card);
  border:2px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}
.billing-breakdown{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.billing-line{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--border);
}
.billing-line:last-child{
  border-bottom:none;
}
.billing-line.billing-total{
  border-top:2px solid var(--border);
  margin-top:8px;
  padding-top:16px;
  font-size:18px;
}
.overage-cost{
  color:#ef4444;
  font-weight:600;
}
.billing-next-date{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--border);
}

@media (max-width:768px){
  .dashboard-tabs{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .dashboard-tab{
    white-space:nowrap;
    font-size:14px;
    padding:10px 16px;
  }
  .chat-sessions-container{
    grid-template-columns:1fr;
  }
  .chat-modal-content{
    max-height:95vh;
  }
  .chat-message-view.user-msg,.chat-message-view.bot-msg{
    margin-left:0;
    margin-right:0;
  }
  .usage-overview,.billing-overview{
    grid-template-columns:1fr;
  }
}
  text-decoration:none;
  font-weight:600;
  transition:color .2s ease;
}
.report-link:hover{
  color:var(--accent2);
  text-decoration:underline;
}

/* Responsive */
@media(max-width:768px){
  .login-card{
    padding:32px 24px;
  }
  .dashboard-header{
    flex-direction:column;
  }
  .dashboard-stats{
    grid-template-columns:1fr;
  }
  .services-grid,
  .reports-grid{
    grid-template-columns:1fr;
  }
  .service-header{
    flex-direction:column;
    align-items:flex-start;
  }
  .service-meta{
    flex-direction:column;
    gap:8px;
  }
  .report-meta{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}
