:root{
  --bg:#070B0A;
  --panel:#101614;
  --teal:#00E0A4;
  --mint:#7CF7D4;
  --text:#ffffff;
  --muted:rgba(255,255,255,.68);
  --line:rgba(255,255,255,.10);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

.container{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;

  z-index:100;

  background:rgba(7,11,10,0.18);

  backdrop-filter:blur(24px);

  -webkit-backdrop-filter:blur(24px);

  border-bottom:1px solid rgba(255,255,255,0.06);

  transition:all 0.3s ease;
}
.nav-inner{
  display:flex;

  align-items:center;

  justify-content:space-between;

  height:82px;

  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;

  height:50px;

  padding:6px 12px;

  border-radius:16px;

  background:rgba(255,255,255,0.16);

  border:1px solid rgba(255,255,255,0.18);

  backdrop-filter:blur(22px);

  -webkit-backdrop-filter:blur(22px);

  box-shadow:
    0 4px 18px rgba(0,0,0,0.18),
    inset 0 1px 1px rgba(255,255,255,0.18);

  text-decoration:none;

  overflow:hidden;
}

.site-logo{
  width:180px;

  height:68px;

  display:block;

  object-fit:contain;
}

nav{
  display:flex;
  align-items:center;
  gap:42px;
  margin-left:auto;
}

nav a{
  color:rgba(255,255,255,.72);
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  transition:.3s ease;
}

nav a:hover{
  color:var(--teal);
}

.btn,
.nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:12px 24px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  transition:.3s ease;
  cursor:pointer;
  flex-shrink:0;
}

.btn-primary,
.nav-btn{
  background:var(--teal);
  color:#04100c;
}

.btn-primary:hover,
.nav-btn:hover{
  background:var(--mint);
  box-shadow:0 0 30px rgba(0,224,164,.28);
}

.btn-outline{
  padding:10px 12px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
 
}

.btn-outline:hover{
  border-color:rgba(0,224,164,.45);
  background:rgba(0,224,164,.08);
}

/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  padding-top:210px;
}

.glow{
  position:absolute;
  border-radius:999px;
  filter:blur(90px);
  opacity:.42;
}

.glow-teal{
  right:-140px;
  top:120px;
  width:420px;
  height:420px;
  background:var(--teal);
}

.glow-green{
  left:-160px;
  bottom:-60px;
  width:460px;
  height:460px;
  background:#164f3d;
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:60px;
  align-items:center;
}

.eyebrow,
.section-label{
  display:inline-flex;
  color:var(--mint);
  background:rgba(124,247,212,.08);
  border:1px solid rgba(124,247,212,.22);
  padding:10px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

h1{
  margin:24px 0 0;
  font-size:64px;
  line-height:1.02;
  letter-spacing:-.05em;
}

h2{
  margin:14px 0 0;
  font-size:46px;
  line-height:1.1;
  letter-spacing:-.035em;
}

.hero-text{
  max-width:680px;
  color:var(--muted);
  font-size:18px;
  line-height:1.85;
  margin:26px 0 0;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:34px;
}

.launch-note{
  margin-top:26px;
  color:rgba(255,255,255,.68);
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
}

.launch-note span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--teal);
  box-shadow:0 0 20px rgba(0,224,164,.9);
}

/* MARKET PANEL */
.market-panel{
  position:relative;
  z-index:2;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:34px;
  padding:24px;
  box-shadow:0 35px 80px rgba(0,0,0,.35);
  animation:panelFloat 6s ease-in-out infinite;
  will-change:transform;
}

.panel-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}

.panel-header p{
  margin:0;
  color:var(--teal);
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:12px;
}

.panel-header h3{
  margin:8px 0 0;
  font-size:25px;
}

.verified-badge{
  border:1px solid rgba(124,247,212,.25);
  background:rgba(124,247,212,.08);
  color:var(--mint);
  border-radius:999px;
  padding:9px 14px;
  font-size:13px;
  font-weight:800;
}

.metrics-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
}

.metric-card{
  background:rgba(0,0,0,.24);
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
}

.metric-card h4{
  margin:0;
  color:var(--mint);
  font-size:30px;
}

.metric-card p{
  color:rgba(255,255,255,.56);
  margin:8px 0 0;
}

.chart-box{
  margin-top:15px;
  border:1px solid rgba(0,224,164,.18);
  background:rgba(0,224,164,.08);
  border-radius:24px;
  padding:22px;
  display:flex;
  align-items:end;
  justify-content:space-between;
}

.chart-box p{
  color:rgba(255,255,255,.62);
  margin:0;
}

.chart-box h3{
  margin:8px 0 0;
  color:var(--teal);
  font-size:32px;
}

.chart-bars{
  display:flex;
  align-items:end;
  gap:7px;
  height:55px;
}

.chart-bars i{
  display:block;
  width:10px;
  border-radius:8px;
  background:linear-gradient(var(--mint),var(--teal));
}

.chart-bars i:nth-child(1){height:26px}
.chart-bars i:nth-child(2){height:38px}
.chart-bars i:nth-child(3){height:32px}
.chart-bars i:nth-child(4){height:52px}
.chart-bars i:nth-child(5){height:44px}

/* STATS */
.stats-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.025);
  padding:34px 0;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.stats-grid div{
  text-align:center;
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:26px;
  padding:26px 18px;
}

.stats-grid h3{
  margin:0;
  color:var(--teal);
  font-size:34px;
}

.stats-grid p{
  margin:8px 0 0;
  color:rgba(255,255,255,.58);
}

/* SECTIONS */
.section{
  padding:90px 0;
}

.dark-section{
  background:#101614;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:42px;
}

.section-head p{
  max-width:560px;
  color:var(--muted);
  line-height:1.75;
}

.sector-grid,
.project-grid,
.workflow-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.sector-card,
.project-card,
.workflow-grid div{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius:30px;
  padding:28px;
  transition:.35s;
  position:relative;
  overflow:hidden;
}

.sector-card::before,
.project-card::before,
.workflow-grid div::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:var(--teal);
}

.sector-card:hover,
.project-card:hover,
.workflow-grid div:hover{
  transform:translateY(-7px);
  border-color:rgba(0,224,164,.35);
}

.sector-card span,
.workflow-grid span{
  color:var(--teal);
  font-size:13px;
  font-weight:900;
  letter-spacing:.22em;
}

.sector-card h3,
.project-card h3,
.workflow-grid h3{
  font-size:23px;
  margin:18px 0 0;
}

.sector-card p,
.project-card p,
.workflow-grid p{
  color:var(--muted);
  line-height:1.7;
}

/* PROJECTS */
.project-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.project-top span{
  background:rgba(124,247,212,.08);
  color:var(--mint);
  border:1px solid rgba(124,247,212,.22);
  padding:8px 13px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
}

.project-top b{
  color:var(--teal);
  font-size:22px;
}

.project-meta{
  display:flex;
  flex-direction:column;
  gap:10px;
  border-top:1px solid var(--line);
  margin-top:24px;
  padding-top:20px;
  color:rgba(255,255,255,.58);
}
.status-badge{

    display:inline-flex;
    align-items:center;

    padding:6px 14px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;
}

/* CTA */
.cta-section{
  padding-top:30px;
}

.cta-card{
  text-align:center;
  border:1px solid rgba(0,224,164,.25);
  background:linear-gradient(135deg,rgba(0,224,164,.10),rgba(255,255,255,.035));
  border-radius:42px;
  padding:56px;
}

.cta-card>p{
  max-width:720px;
  margin:22px auto 0;
  color:var(--muted);
  line-height:1.75;
}

.early-form{
  margin:34px auto 0;
  max-width:760px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.early-form input,
.early-form select,
.early-form textarea{
  width:100%;
  border:1px solid var(--line);
  background:rgba(0,0,0,.22);
  color:#fff;
  border-radius:18px;
  padding:16px 18px;
  font:inherit;
  outline:none;
}

.early-form textarea{
  min-height:120px;
  grid-column:1/-1;
  resize:vertical;
}

.early-form button{
  grid-column:1/-1;
}

/* FOOTER */
footer{
  border-top:1px solid var(--line);
  padding:42px 0 24px;
}

.footer-inner{
  display:grid;
  grid-template-columns:1.4fr .8fr 1fr;
  gap:30px;
}
.footer-inner > div:first-child p{
  max-width:500px;
  line-height:1.6;
}

footer h3{
  margin:0;
  letter-spacing:.16em;
}

footer h3 span{
  color:var(--mint);
}

footer p,
.footer-links a{
  color:rgba(255,255,255,.58);
  text-decoration:none;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:11px;
}

.footer-links a:hover{
  color:var(--teal);
}

.footer-bottom{
  border-top:1px solid var(--line);
  margin-top:28px;
  padding-top:22px;
  text-align:center;
  color:rgba(255,255,255,.48);
  font-size:14px;
}

/* ANIMATION */
.fade-up{
  opacity:0;
  transform:translateY(24px);
  animation:fadeUp .9s ease forwards;
}

.delay{
  animation-delay:.18s;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width:992px){
  nav{
    display:none;
  }

  .nav-btn{
    display:none;
  }

  .hero-grid{
    grid-template-columns:1fr;
  }

  .section-head{
    display:grid;
  }

  .sector-grid,
  .project-grid,
  .workflow-grid,
  .stats-grid{
    grid-template-columns:repeat(2,1fr);
  }

  h1{
    font-size:46px;
  }

  h2{
    font-size:36px;
  }
}

@media(max-width:640px){
  .container{
    width:min(100% - 28px,1180px);
  }

  .nav-inner{
    height:74px;
  }

  .site-logo{
    width:155px;
  }

  .hero{
    padding-top:130px;
  }

  .sector-grid,
  .project-grid,
  .workflow-grid,
  .stats-grid,
  .metrics-grid,
  .early-form,
  .footer-inner{
    grid-template-columns:1fr;
  }

  h1{
    font-size:38px;
  }

  h2{
    font-size:31px;
  }

  .cta-card{
    padding:34px 22px;
  }
}
.navbar.scrolled{
  background:rgba(7,11,10,0.52);

  backdrop-filter:blur(30px);

  -webkit-backdrop-filter:blur(30px);

  border-bottom:1px solid rgba(255,255,255,0.08);

  box-shadow:0 10px 30px rgba(0,0,0,0.18);
}
.reveal{
  opacity:0;
  transform:translateY(35px);
  transition:0.8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}
.sector-card:hover,
.project-card:hover,
.workflow-grid div:hover,
.metric-card:hover{
  box-shadow:0 18px 45px rgba(0,224,164,0.12);
}
body::before{
  content:"";

  position:fixed;

  inset:0;

  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size:40px 40px;

  mask-image:linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);

  pointer-events:none;

}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(
    circle at 70% 30%,
    rgba(0,224,164,0.12),
    transparent 45%
  );
  pointer-events:none;
  z-index:0;
}

.hero-grid{
  position:relative;
  z-index:1;
}

@keyframes floatGlow{
  0%{
    transform:translateY(0px) translateX(0px);
  }

  50%{
    transform:translateY(25px) translateX(-20px);
  }

  100%{
    transform:translateY(0px) translateX(0px);
  }
}
.btn{
  position:relative;
  overflow:hidden;
}

.btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.28),
    transparent
  );
  transition:0.7s ease;
}

.btn:hover::before{
  left:120%;
}
#particles{
  position:fixed;

  inset:0;

  width:100%;
  height:100%;

  z-index:-2;

  pointer-events:none;
}
.chart-bars i{
  animation:barsUp 1.4s ease forwards;
  transform-origin:bottom;
}

.chart-bars i:nth-child(1){animation-delay:.1s;}
.chart-bars i:nth-child(2){animation-delay:.2s;}
.chart-bars i:nth-child(3){animation-delay:.3s;}
.chart-bars i:nth-child(4){animation-delay:.4s;}
.chart-bars i:nth-child(5){animation-delay:.5s;}

@keyframes barsUp{

  0%{
    transform:scaleY(0);
    opacity:0;
  }

  100%{
    transform:scaleY(1);
    opacity:1;
  }
}
.footer-logo{
  display:inline-flex;

  align-items:center;

  margin-bottom:14px;
}

.footer-logo img{
  width:220px;

  height:auto;

  object-fit:contain;

  opacity:0.96;
}
.early-form select{
  appearance:none;

  -webkit-appearance:none;

  -moz-appearance:none;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.10),
      rgba(255,255,255,0.04)
    )
    padding-box,

    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%2300E0A4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 18px center;

  backdrop-filter:blur(22px);

  -webkit-backdrop-filter:blur(22px);

  border:1px solid rgba(255,255,255,0.12);

  border-radius:18px;

  color:#ffffff;

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.06),
    0 8px 30px rgba(0,0,0,0.12);

  transition:all 0.3s ease;

  cursor:pointer;
}

.early-form select:hover{
  border-color:rgba(0,224,164,0.35);

  box-shadow:
    0 0 22px rgba(0,224,164,0.08),
    inset 0 1px 1px rgba(255,255,255,0.08);
}

.early-form select:focus{
  outline:none;

  border-color:#00E0A4;

  box-shadow:
    0 0 28px rgba(0,224,164,0.14),
    inset 0 1px 1px rgba(255,255,255,0.08);
}

.early-form option{
  background:#0a1110;

  color:#ffffff;

  padding:14px;
}

.early-form option{
  background:rgba(7,11,10,0.96);

  color:#ffffff;

  padding:14px;

  border:none;
}
.AI Intelligence-section{
  background:rgba(255,255,255,0.018);
}

.AI Intelligence-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.insight-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,0.04);
  border-radius:30px;
  padding:30px;
  position:relative;
  overflow:hidden;
  transition:0.35s ease;
}

.insight-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:var(--teal);
}

.insight-card:hover{
  transform:translateY(-7px);
  border-color:rgba(0,224,164,0.35);
  box-shadow:0 18px 45px rgba(0,224,164,0.12);
}

.AI Intelligence-card span{
  color:var(--teal);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.2em;
}

.AI Intelligence-card h3{
  font-size:23px;
  margin:18px 0 0;
}

.AI Intelligence-card p{
  color:var(--muted);
  line-height:1.7;
}

@media(max-width:992px){
  .AI Intelligence-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:640px){
  .AI Intelligence-grid{
    grid-template-columns:1fr;
  }
}
.marketplace-section{
  position:relative;
}

.listing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:24px;
  align-items:stretch;
}

.listing-card{
  position:relative;

  border:1px solid rgba(255,255,255,0.08);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.02)
    );

  border-radius:32px;

  padding:30px;

  overflow:hidden;

  transition:0.35s ease;

  backdrop-filter:blur(18px);

  -webkit-backdrop-filter:blur(18px);
}

.listing-card::before{
  content:"";

  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:4px;

  background:linear-gradient(
    90deg,
    var(--teal),
    var(--mint)
  );
}

.listing-card:hover{
  transform:translateY(-8px);

  border-color:rgba(0,224,164,0.28);

  box-shadow:
    0 18px 50px rgba(0,224,164,0.10);
}

.listing-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}

.verified-tag{
  background:rgba(0,224,164,0.10);
  border:1px solid rgba(0,224,164,0.18);
  color:var(--mint);
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.sample-tag{
  background:rgba(255,196,80,0.10);
  border:1px solid rgba(255,196,80,0.28);
  color:#ffd27a;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.sample-ribbon{
  position:absolute;
  top:12px;
  left:12px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  background:rgba(12,18,16,0.92);
  border:1px solid rgba(255,196,80,0.45);
  color:#ffd27a;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:0.1em;
  pointer-events:none;
}

.price{
  color:var(--teal);
  font-size:18px;
  font-weight:800;
}

.listing-card h3{
  font-size:24px;

  margin:0 0 14px;
}

.listing-location{
  color:var(--muted);

  line-height:1.7;

  margin-bottom:22px;
}

.listing-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;

  margin-bottom:28px;
}

.listing-tags span{
  padding:8px 14px;

  border-radius:999px;

  background:rgba(255,255,255,0.06);

  border:1px solid rgba(255,255,255,0.08);

  font-size:12px;

  color:#ffffff;
}

.listing-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;

  border-top:1px solid rgba(255,255,255,0.08);

  padding-top:22px;

  color:rgba(255,255,255,0.72);
}

.listing-btn{
  background:none;
  border:none;
  color:var(--teal);
  font-weight:700;
  cursor:pointer;
  padding:0;
  font:inherit;
}

.listing-btn:hover{
  color:var(--mint);
}

@media(max-width:992px){

  .listing-grid{
    grid-template-columns:repeat(2,1fr);
  }

}


@media(max-width:640px){

  .listing-grid{
    grid-template-columns:1fr;
  }

}
.market-filter{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:34px;
}

.market-filter button{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.78);
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
  transition:0.3s ease;
}

.market-filter button:hover,
.market-filter button.active{
  background:rgba(0,224,164,0.12);
  border-color:rgba(0,224,164,0.35);
  color:var(--mint);
}.project-modal{
  position:fixed;

  inset:0;

  display:flex;

  align-items:center;

  justify-content:center;

  opacity:0;

  visibility:hidden;

  transition:0.3s ease;

  z-index:9999;
}

.project-modal.active{
  opacity:1;

  visibility:visible;
}

.modal-overlay{
  position:absolute;

  inset:0;

  background:rgba(0,0,0,0.65);

  backdrop-filter:blur(10px);
}

.modal-content{
  position:relative;
  width:min(680px,92%);
  max-height:88vh;
  overflow-y:auto;

  background:linear-gradient(
    145deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  border:1px solid rgba(255,255,255,0.10);
  border-radius:28px;
  padding:28px;
  z-index:2;
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow:0 25px 80px rgba(0,0,0,0.35);
  transform:translateY(30px);
  transition:0.3s ease;
}

.modal-image{
  height:170px;
  border-radius:20px;
  margin-bottom:22px;
}

.modal-header h2{
  font-size:30px;
  margin:14px 0 8px;
}

.modal-metrics{
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:22px 0;
}

.modal-metrics div{
  padding:16px;
  border-radius:18px;
}

.modal-metrics h3{
  font-size:22px;
}

.modal-actions{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:28px;
}
.modal-actions .btn{
  flex:1;
  height:54px;
  white-space:nowrap;
}

@media(max-width:640px){

  .modal-content{
    padding:28px;
  }

  .modal-metrics{
    grid-template-columns:1fr;
  }

  .modal-actions{
    flex-direction:column;
  }

}
.modal-image{
  position:relative;

  width:100%;

  height:240px;

  border-radius:24px;

  overflow:hidden;

  margin-bottom:30px;
}

.modal-image::after{
  content:"";

  position:absolute;

  inset:0;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,0.45),
    transparent
  );
}

.modal-image img{
  width:100%;
  height:100%;

  object-fit:cover;
}
.close-modal{
  position:absolute;
  top:16px;
  right:16px;

  width:42px;
  height:42px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(255,255,255,0.12);
  border-radius:50%;

  background:rgba(7,11,10,0.72);
  color:#ffffff;

  font-size:18px;
  font-weight:700;

  cursor:pointer;
  z-index:20;

  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);

  box-shadow:0 8px 24px rgba(0,0,0,0.25);

  transition:0.3s ease;
}

.close-modal:hover{
  background:rgba(0,224,164,0.18);
  color:var(--mint);
  border-color:rgba(0,224,164,0.35);
}
.login-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  z-index:9999;
  transition:.3s ease;
}

.login-modal.active{
  opacity:1;
  visibility:visible;
}

.login-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.68);
  backdrop-filter:blur(12px);
}

.login-box{
  position:relative;
  z-index:2;
  width:min(480px,92%);
  padding:36px;
  border-radius:32px;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(24px);
  box-shadow:0 25px 80px rgba(0,0,0,.35);
}

.close-login{
  position:absolute;
  top:18px;
  right:18px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:white;
  cursor:pointer;
}
.close-login:hover{
  background:rgba(0,224,164,0.16);
  border-color:rgba(0,224,164,0.35);
  color:var(--mint);

  transform:scale(1.05);
}

.login-box h2{
  margin:18px 0 8px;
  font-size:34px;
}

.login-sub,
.login-note{
  color:var(--muted);
}

.login-box input{
  width:100%;
  margin-top:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
  color:white;
  border-radius:18px;
  padding:16px;
  font:inherit;
}

.login-box .btn{
  width:100%;
  margin-top:18px;
}

.login-note{
  font-size:14px;
  text-align:center;
  margin-top:18px;
}

.login-note a{
  color:var(--teal);
  text-decoration:none;
}
.dashboard-section{
  background:rgba(255,255,255,0.018);
}

.dashboard-preview{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:22px;
  align-items:stretch;
}

.dash-card{
  position:relative;
  display:flex;
  flex-direction:column;
  height:auto;
  min-height:160px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(255,255,255,0.06),rgba(255,255,255,0.025));
  border-radius:28px;
  padding:28px;
  overflow:hidden;
  box-sizing:border-box;
}

.dash-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:var(--teal);
}

.dash-card:hover{
  transform:translateY(-7px);
  border-color:rgba(0,224,164,0.35);
  box-shadow:0 18px 45px rgba(0,224,164,0.12);
}

.dash-card span{
  color:var(--mint);
  font-size:13px;
  font-weight:900;
  letter-spacing:0.18em;
  text-transform:uppercase;
}

.dash-card h3,
.dash-card h2{
  font-size:clamp(28px, 3.5vw, 42px);
  line-height:1.1;
  min-height:0;
  margin:10px 0 12px;
  overflow:hidden;
  word-break:break-word;
}

.dash-card p{
  color:var(--muted);
  line-height:1.7;
  margin:0;
}

.large-dash{
  grid-row:span 2;
  min-height:0;
}

.dash-card .hero-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:auto !important;
}

.dash-card .hero-actions .btn,
.dash-card .hero-actions button{
  width:100%;
  min-height:52px;
  padding:12px 18px;
}

.dash-card .hero-actions button:nth-child(3){
  grid-column:1 / -1;
}
.project-meta{
    margin-bottom:auto;
}

@media(max-width:992px){
  .dashboard-preview{
    grid-template-columns:1fr 1fr;
  }

  .large-dash{
    grid-column:1 / -1;
    grid-row:auto;
  }
}

@media(max-width:640px){
  .dashboard-preview{
    grid-template-columns:1fr;
  }
}

.activity-panel,
.watchlist-panel,
.ai-insight-panel{
  width:100%;
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}

.activity-panel{
  margin-top:28px;

  border:1px solid var(--line);

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.025)
  );

  border-radius:32px;

  padding:30px;
}

.activity-head{
  display:flex;

  justify-content:space-between;

  align-items:center;

  margin-bottom:24px;
}

.activity-head h3{
  font-size:28px;
}

.activity-head span{
  color:var(--mint);

  font-size:13px;

  letter-spacing:0.16em;

  text-transform:uppercase;
}

.activity-list{
  display:flex;

  flex-direction:column;

  gap:18px;
}

.activity-item{
  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:20px;

  padding:18px;

  border-radius:22px;

  background:rgba(255,255,255,0.03);

  border:1px solid rgba(255,255,255,0.06);

  transition:0.3s ease;
}

.activity-item:hover{
  transform:translateX(6px);

  border-color:rgba(0,224,164,0.25);
}

.activity-dot{
  width:12px;
  height:12px;

  border-radius:50%;

  background:var(--teal);

  box-shadow:
  0 0 18px rgba(0,224,164,0.7);
}

.activity-item h4{
  margin-bottom:4px;
}

.activity-item p{
  color:var(--muted);

  font-size:14px;
}

.activity-item span{
  color:rgba(255,255,255,0.52);

  font-size:13px;
}

@media(max-width:768px){

  .activity-item{
    flex-direction:column;
    align-items:flex-start;
  }

}
.watchlist-panel{
  margin-top:28px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(255,255,255,0.06),rgba(255,255,255,0.025));
  border-radius:32px;
  padding:30px;
}

.watchlist-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.watchlist-item{
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.03);
  border-radius:24px;
  padding:22px;
  transition:0.3s ease;
}

.watchlist-item:hover{
  transform:translateY(-6px);
  border-color:rgba(0,224,164,0.25);
  box-shadow:0 16px 36px rgba(0,224,164,0.10);
}

.watchlist-item h4{
  margin:0 0 10px;
}

.watchlist-item p{
  color:var(--muted);
  font-size:14px;
}

.watchlist-item span{
  color:var(--teal);
  font-size:22px;
  font-weight:900;
}

@media(max-width:768px){
  .watchlist-grid{
    grid-template-columns:1fr;
  }
}
.submission-section{
  background:rgba(255,255,255,0.018);
}

.submission-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(255,255,255,0.06),rgba(255,255,255,0.025));
  border-radius:34px;
  padding:34px;
}

.submission-info h3{
  font-size:30px;
}

.submission-info p,
.submission-info li{
  color:var(--muted);
  line-height:1.7;
}

.submission-info ul{
  margin-top:24px;
  padding-left:20px;
}

.submission-form{
  display:grid;
  gap:14px;
}

.submission-form input,
.submission-form textarea{
  width:100%;
  border:1px solid var(--line);
  background:rgba(0,0,0,0.25);
  color:white;
  border-radius:18px;
  padding:16px;
  font:inherit;
  outline:none;
}

.submission-form textarea{
  min-height:130px;
  resize:vertical;
}

.submission-form input:focus,
.submission-form textarea:focus{
  border-color:var(--teal);
  box-shadow:0 0 20px rgba(0,224,164,0.12);
}

@media(max-width:768px){
  .submission-box{
    grid-template-columns:1fr;
  }
}
.profile-menu{
  position:relative;
}

.profile-btn{
  display:flex;

  align-items:center;

  gap:10px;

  padding:12px 14px;

  border-radius:999px;
  
  height:42px;
  display:flex;
  align-items:center;
  
  gap:10px;

  border:1px solid rgba(255,255,255,0.08);

  background:rgba(255,255,255,0.05);

  color:white;

  cursor:pointer;

  transition:0.3s ease;
}

.profile-btn:hover{
  border-color:rgba(0,224,164,0.35);

  background:rgba(0,224,164,0.08);
}

.profile-avatar{
  width:32px;
  height:32px;

  display:flex;

  align-items:center;

  justify-content:center;

  border-radius:50%;

  background:var(--teal);

  color:#04110d;

  font-weight:800;
}

.profile-arrow{
  font-size:12px;

  opacity:0.7;
}

.profile-dropdown{
  position:absolute;

  top:115%;
  right:0;

  min-width:220px;

  display:flex;

  flex-direction:column;

  padding:12px;

  border-radius:24px;

  border:1px solid rgba(255,255,255,0.08);

  background:
  linear-gradient(
    145deg,
    rgba(12,18,16,0.96),
    rgba(15,24,21,0.94)
  );

  backdrop-filter:blur(22px);

  opacity:0;

  visibility:hidden;

  transform:translateY(10px);

  transition:0.3s ease;

  z-index:999;
}

.profile-dropdown a{
  padding:14px 16px;

  border-radius:14px;

  color:white;

  text-decoration:none;

  transition:0.25s ease;
}

.profile-dropdown a:hover{
  background:rgba(0,224,164,0.10);

  color:var(--mint);
}

.profile-menu.active .profile-dropdown{
  opacity:1;

  visibility:visible;

  transform:translateY(0);
}
.market-ticker{
  position:fixed;

  top:82px;

  left:0;

  width:100%;

  overflow:hidden;

  border-top:1px solid rgba(255,255,255,0.06);

  border-bottom:1px solid rgba(255,255,255,0.06);

  background:
  linear-gradient(
    90deg,
    rgba(0,224,164,0.05),
    rgba(255,255,255,0.01),
    rgba(0,224,164,0.05)
  );

  backdrop-filter:blur(12px);

  padding:14px 0;

  z-index:99;
}
.ticker-track{
  display:flex;

  gap:80px;

  width:max-content;

  animation:tickerMove 28s linear infinite;
}

.ticker-track span{
  color:var(--mint);

  font-size:14px;

  font-weight:700;

  letter-spacing:0.06em;

  white-space:nowrap;

  text-transform:uppercase;
}

@keyframes tickerMove{

  0%{
    transform:translateX(0);
  }

  100%{
    transform:translateX(-50%);
  }

}
html, body{
  overflow-x:hidden;
}

.profile-dropdown{
  position:absolute;
  top:115%;
  right:0;
  min-width:220px;
  display:flex;
  flex-direction:column;
  padding:12px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(145deg,rgba(12,18,16,0.96),rgba(15,24,21,0.94));
  backdrop-filter:blur(22px);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:0.3s ease;
  z-index:9999;
}

.profile-menu.active .profile-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.market-filter button{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.78);
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
}

.market-filter button:hover,
.market-filter button.active{
  background:rgba(0,224,164,0.12);
  border-color:rgba(0,224,164,0.35);
  color:var(--mint);
}
.notification-menu{
  position:relative;
}

.notification-btn{
  position:relative;

  width:38px;
  height:38px;
padding:0;
  display:flex;

  align-items:center;
  justify-content:center;

  border-radius:50%;

  border:1px solid rgba(255,255,255,0.08);

  background:rgba(255,255,255,0.05);

  color:white;

  font-size:22px;

  cursor:pointer;

  transition:0.3s ease;
}

.notification-btn:hover{
  background:rgba(0,224,164,0.10);

  border-color:rgba(0,224,164,0.35);

  transform:translateY(-2px);
}

.notification-count{
  position:absolute;

  top:8px;
  right:8px;

  width:16px;
  height:16px;

  display:flex;

  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:var(--teal);

  color:#04110d;

  font-size:11px;

  font-weight:800;
}

.notification-dropdown{
  position:absolute;

  top:115%;
  right:0;

  width:320px;

  padding:14px;

  border-radius:28px;

  border:1px solid rgba(255,255,255,0.08);

  background:
  linear-gradient(
    145deg,
    rgba(12,18,16,0.96),
    rgba(15,24,21,0.94)
  );

  backdrop-filter:blur(22px);

  opacity:0;

  visibility:hidden;

  transform:translateY(10px);

  transition:0.3s ease;

  z-index:9999;
}

.notification-item{
  padding:16px;

  border-radius:18px;

  transition:0.25s ease;
}

.notification-item:hover{
  background:rgba(0,224,164,0.08);
}

.notification-item h4{
  margin-bottom:6px;

  font-size:15px;
}

.notification-item p{
  color:var(--muted);

  font-size:13px;

  line-height:1.6;
}

.notification-menu.active .notification-dropdown{
  opacity:1;

  visibility:visible;

  transform:translateY(0);
}
.nav-inner{
  gap:18px;
}

nav{
  gap:28px;
}

.nav-btn{
  padding:14px 24px;
  min-width:190px;
}

.notification-btn{
  width:46px;
  height:46px;
  font-size:20px;
}

.profile-btn{
  padding:10px 14px;
}

.login-open{
  padding:14px 26px;
}


@media(max-width:1200px){
  nav{
    gap:22px;
  }

  nav a{
    font-size:14px;
  }

  .nav-btn{
    min-width:170px;
  }

  .site-logo{
    width:135px;
  }
}.portfolio-chart{
  margin-top:32px;
}

.chart-line{
  position:relative;

  height:180px;

  border-radius:24px;

  overflow:hidden;

  background:
  linear-gradient(
    180deg,
    rgba(0,224,164,0.14),
    rgba(0,224,164,0.02)
  );

  border:1px solid rgba(0,224,164,0.12);
}

.chart-line::before{
  content:"";

  position:absolute;

  inset:0;

  background:
  linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,224,164,0.12) 50%,
    transparent 100%
  );

  animation:chartGlow 4s linear infinite;
}

.chart-line span{
  position:absolute;

  left:0;
  bottom:28px;

  width:100%;
  height:120px;

  background:
  linear-gradient(
    135deg,
    transparent 0%,
    transparent 10%,
    var(--teal) 10%,
    var(--teal) 18%,
    transparent 18%,
    transparent 28%,
    var(--teal) 28%,
    var(--teal) 38%,
    transparent 38%,
    transparent 52%,
    var(--teal) 52%,
    var(--teal) 64%,
    transparent 64%,
    transparent 76%,
    var(--teal) 76%,
    var(--teal) 88%,
    transparent 88%
  );

  opacity:0.9;

  filter:
  drop-shadow(
    0 0 12px rgba(0,224,164,0.6)
  );
}

.chart-labels{
  display:flex;

  justify-content:space-between;

  margin-top:14px;

  color:rgba(255,255,255,0.48);
}

@keyframes chartGlow{

  0%{
    transform:translateX(-100%);
  }

  100%{
    transform:translateX(100%);
  }

}
.ai-insight-panel{
  margin-top: 34px;
  border: 1px solid rgba(0,229,176,0.18);
  background:
    radial-gradient(circle at top right, rgba(0,229,176,0.10), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border-radius: 32px;
  padding: 30px;
}

.ai-pulse-lead{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  font-size: 14px;
}

.ai-pulse-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.ai-pulse-actions .btn{
  min-height: 42px;
  padding: 10px 16px;
  min-width: auto;
  height: auto;
}

.ai-pulse-live{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ai-pulse-live-body{
  margin-top: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,229,176,0.16);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  font-size: 14px;
}

.ai-pulse-live-body strong{
  color: #fff;
}

.ai-insight-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.ai-card{
  border:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.035);
  border-radius:24px;
  padding:22px;
}

.ai-card span{
  color:var(--teal);
  font-size:12px;
  font-weight:900;
  letter-spacing:0.16em;
  text-transform:uppercase;
}

.ai-card h4{
  font-size:19px;
  line-height:1.4;
}

.ai-card p{
  color:var(--muted);
  line-height:1.7;
}

@media(max-width:768px){
  .ai-insight-grid{
    grid-template-columns:1fr;
  }
}
.market-search{
  margin-bottom:22px;
}

.market-search input{
  width:100%;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.045);
  color:white;
  border-radius:999px;
  padding:18px 24px;
  font:inherit;
  outline:none;
}

.market-search input:focus{
  border-color:var(--teal);
  box-shadow:0 0 24px rgba(0,224,164,0.12);
}
html, body{
  overflow-x:hidden;
}

.profile-dropdown,
.notification-dropdown{
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
}

.profile-menu.active .profile-dropdown,
.notification-menu.active .notification-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.profile-dropdown,
.notification-dropdown{
  opacity:0 !important;
  visibility:hidden !important;
  transform:translateY(10px);
}

.profile-menu.active .profile-dropdown,
.notification-menu.active .notification-dropdown{
  opacity:1 !important;
  visibility:visible !important;
  transform:translateY(0);
}

.market-filter button{
  appearance:none;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.78);
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
}
@media(max-width:768px){

  .navbar{
    padding:8px 0;
  }

  .nav-inner{
    height:auto;
    gap:12px;
  }

  .brand{
    height:44px;
    padding:5px 9px;
  }

  .site-logo{
    width:118px;
  }

  .notification-menu,
  .profile-menu,
  .login-open{
    display:none;
  }

  .market-ticker{
    top:64px;
    padding:10px 0;
  }

  .ticker-track span{
    font-size:12px;
  }

  .hero{
    padding-top:150px;
  }

}
.hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:22px;
}

.hero-actions .btn,
.hero-actions button{

    height:48px;
    font-size:16px;
    border-radius:14px;
}

.hero-actions button:last-child{

    grid-column:1/-1;
}
.dash-card{

    transition:.3s;
}

.dash-card:hover{

    transform:translateY(-6px);

    box-shadow:0 20px 60px rgba(0,255,180,.18);
}
.mobile-menu-btn{
  display:none;
}

.mobile-menu{
  display:none;
}

@media(max-width:768px){
  .mobile-menu-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(255,255,255,0.06);
    color:white;
    font-size:22px;
  }

  .mobile-menu{
  position:fixed;
  top:82px;
  left:14px;
  right:14px;
  z-index:9999;
}
.mobile-menu-btn{
  position:relative;
  z-index:10001;
}

  .mobile-menu.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .mobile-menu a{
    color:white;
    text-decoration:none;
    padding:14px;
    border-radius:14px;
  }

  .mobile-menu a:hover{
    background:rgba(0,224,164,0.10);
    color:var(--mint);
  }
}
@media(max-width:768px){

  .section{
    padding:64px 0;
  }

  h1{
    font-size:36px;
    line-height:1.1;
  }

  h2{
    font-size:30px;
  }

  .hero-text{
    font-size:16px;
    line-height:1.7;
  }

  .listing-card,
  .dash-card,
  .activity-panel,
  .watchlist-panel,
  .ai-insight-panel,
  .submission-box{
    padding:22px;
    border-radius:24px;
  }

  .modal-content{
    width:94%;
    padding:22px;
    max-height:86vh;
  }

  .modal-image{
    height:150px;
  }

  .modal-header h2{
    font-size:25px;
  }

  .modal-actions{
    flex-direction:column;
  }

  .modal-actions .btn{
    width:100%;
  }

  .market-filter{
    gap:8px;
  }

  .market-filter button{
    padding:10px 14px;
    font-size:13px;
  }

}
.mobile-overlay{
  display:none;
}

@media(max-width:768px){

  .mobile-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    backdrop-filter:blur(6px);
    z-index:998;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
  }

  .mobile-overlay.active{
    display:block;
    opacity:1;
    visibility:visible;
  }

  .mobile-menu-btn{
    flex-direction:column;
    gap:5px;
  }

  .mobile-menu-btn span{
    width:20px;
    height:2px;
    background:white;
    border-radius:999px;
    transition:0.3s ease;
  }

  .mobile-menu-btn.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2){
    opacity:0;
  }

  .mobile-menu-btn.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  body.menu-open{
    overflow:hidden;
  }
}
.section{
  position:relative;
}

.section-head{
  margin-bottom:56px;
}

.section-head h2{
  max-width:720px;
}

.section-head p{
  font-size:17px;
}

@media(max-width:768px){

  .section-head{
    margin-bottom:38px;
  }

}
h1,h2,h3{
  font-weight:800;
}

p{
  letter-spacing:0.01em;
}

.hero-text,
.section-head p,
.insight-card p,
.project-card p{
  color:rgba(255,255,255,0.72);
}
.listing-card,
.dash-card,
.insight-card,
.project-card,
.watchlist-item,
.ai-card{
  will-change:transform;
}
html{
  scroll-padding-top:120px;
}
.listing-card,
.dash-card,
.insight-card,
.activity-panel,
.watchlist-panel,
.ai-insight-panel{
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    inset 0 1px 1px rgba(255,255,255,0.04);
}

.hero-actions .btn{
  min-width:220px;
  height:58px;
}


@keyframes panelFloat{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-8px);
  }

  100%{
    transform:translateY(0px);
  }

}
.marketplace-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:34px;
}

.marketplace-stats div{
  border:1px solid var(--line);
  background:rgba(255,255,255,0.04);
  border-radius:24px;
  padding:22px;
}

.marketplace-stats h3{
  margin:0;
  color:var(--teal);
  font-size:28px;
}

.marketplace-stats p{
  margin:8px 0 0;
  color:var(--muted);
}

@media(max-width:768px){
  .marketplace-stats{
    grid-template-columns:1fr 1fr;
  }
}

.listing-image{
  position:relative;
}


.listing-card{
  overflow:hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.listing-card:hover{
  transform:translateY(-8px);
  border-color:rgba(0,224,164,0.28);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.28),
    0 0 0 1px rgba(0,224,164,0.08);
}

.listing-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(0,224,164,0.06),
    transparent 40%
  );
  opacity:0;
  transition:0.35s ease;
  pointer-events:none;
  z-index:1;
}

.listing-card:hover::after{
  opacity:1;
}

.listing-card > *{
  position:relative;
  z-index:2;
}

.listing-image{
  position:relative;
  width:100%;
  height:180px;
  border-radius:22px;
  overflow:hidden;
  margin-bottom:18px;
  border:1px solid rgba(255,255,255,0.08);
  z-index:1;
}

.listing-image .sample-ribbon,
.listing-image .featured-ribbon{
  position:absolute;
  z-index:5;
}

.listing-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:0.4s ease;
}

.listing-card:hover .listing-image img{
  transform:scale(1.06);
}

.listing-specs{
  display:grid;
  gap:8px;
  margin-bottom:24px;
}

.listing-specs span{
  color:rgba(255,255,255,0.62);
  font-size:13px;
  border-left:2px solid rgba(0,224,164,0.45);
  padding-left:10px;
}
.market-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.market-status::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:currentColor;
}

.active-status{
  background:rgba(0,224,164,0.10);
  color:var(--teal);
}

.demand-status{
  background:rgba(255,184,77,0.12);
  color:#ffb84d;
}

.new-status{
  background:rgba(90,160,255,0.12);
  color:#5aa0ff;
}
.listing-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}

.listing-top .price{
  margin-left:auto;
  white-space:nowrap;
  font-size:18px;
  font-weight:800;
  line-height:1.2;
}

.market-status,
.verified-tag,
.sample-tag{
  white-space:nowrap;
  padding:6px 10px;
  font-size:11px;
}
.featured-ribbon{
  position:absolute;
  top:14px;
  right:-42px;
  transform:rotate(35deg);
  background:#00e0a4;
  color:#04110d;
  padding:6px 50px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  z-index:5;
}
.navbar nav a{
  white-space: nowrap;
}
.nav-btn{
  padding:10px 18px !important;
  min-width:auto !important;
}
.brand{
  height:70px !important;
  padding:0 !important;
  overflow:hidden !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

.site-logo{
  width:300px !important;
  height:auto !important;
}
.nav-inner{
  height:78px !important;
  gap:18px !important;
  justify-content:flex-start !important;
}

.brand{
  width:110px !important;
  height:40px !important;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.site-logo{
  width:100px !important;
  height:auto !important;
}
.mobile-menu-btn{
  /* Do not absolute-position — overlaps avatar when logged in on mobile */
  position: static;
}
nav{
  margin-left:10px !important;
  gap:24px !important;
  flex:1 !important;
}

nav a{
  font-size:13px !important;
}

.nav-btn{
  padding:10px 20px !important;
  height:46px !important;
  min-width:auto !important;
}

.notification-btn{
  width:46px !important;
  height:46px !important;
}

.profile-btn{
  height:46px !important;
  padding:8px 14px !important;
}

.login-open{
  height:46px !important;
  padding:8px 22px !important;
}
.brand{
  width:120px !important;
}

.site-logo{
  width:120px !important;
}

nav{
  margin-left:0 !important;
  gap:16px !important;
}
nav a.active{
  color:#12e0b5;
  position:relative;
}

nav a.active::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background:#12e0b5;
}
.contact-form{
  max-width:700px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.contact-form input,
.contact-form textarea{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px 18px;
  color:#fff;
  font-size:15px;
}

.contact-form textarea{
  resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:#12e0b5;
}
footer h4{
  margin:0 0 18px;
  color:#ffffff;
  font-size:18px;
  font-weight:700;
}

.footer-links a{
  transition:.3s ease;
}

.footer-links a:hover{
  color:var(--teal);
  transform:translateX(4px);
}

.footer-inner{
  align-items:start;
}
.footer-links a{
  transition:.3s ease;
}

.footer-links a:hover{
  color:#12e0b5;
  padding-left:6px;
}
.content-card{
  max-width:900px;
  margin:0 auto;
}

.content-card h2{
  margin:40px 0 12px;
}

.content-card p{
  color:rgba(255,255,255,.75);
  line-height:1.8;
}
.status{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  text-transform:capitalize;
}

.status.verified,
.status.approved{
  background:rgba(0,224,164,.12);
  color:#00e0a4;
}

.status.pending{
  background:rgba(255,193,7,.14);
  color:#ffcc33;
}

.status.rejected{
  background:rgba(255,77,77,.14);
  color:#ff6b6b;
}
.search-box{
  width:100%;
  padding:12px 15px;
  margin:15px 0 20px;
  border:none;
  border-radius:10px;
  background:#10231d;
  color:white;
  font-size:14px;
}

.search-box:focus{
  outline:1px solid #00e0a4;
}
.export-btn{
  background:#00e0a4;
  color:#06110e;
  border:none;
  padding:10px 15px;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
  margin-bottom:15px;
}

.export-btn:hover{
  opacity:.9;
}

.modal-content{
  max-height:90vh;
  overflow-y:auto;
}
.listing-top{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.price{
  white-space:nowrap;
}
#approvedProjectsGrid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:24px;
}

#approvedProjectsGrid .listing-card{
  max-width:100%;
}
.status-badge.draft{

    background:#3b2f00;

    color:#ffd54f;

    border:1px solid #ffd54f55;
}
.status-badge.published{

    background:#003d25;
    color:#00ff99;
}
.status-badge.review{

    background:#002b45;
    color:#4fc3f7;
}
.status-badge.rejected{

    background:#450000;
    color:#ff5252;
}

@media(max-width:992px){
  #approvedProjectsGrid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:640px){
  #approvedProjectsGrid{
    grid-template-columns:1fr;
  }
}
.project-modal .modal-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
  margin-top:28px !important;
}

.project-modal .modal-actions .btn{
  width:100% !important;
  height:54px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
}

@media(max-width:640px){
  .project-modal .modal-actions{
    grid-template-columns:1fr !important;
  }
}
.broker-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  z-index:10000;
  transition:.3s ease;
}

.broker-modal.active{
  opacity:1;
  visibility:visible;
}

.broker-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.68);
  backdrop-filter:blur(12px);
}

.broker-box{
  position:relative;
  z-index:2;
  width:min(520px,92%);
  padding:36px;
  border-radius:32px;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(24px);
}

.broker-box input,
.broker-box textarea{
  width:100%;
  margin-top:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
  color:white;
  border-radius:18px;
  padding:16px;
  font:inherit;
}

.broker-box textarea{
  min-height:120px;
  resize:vertical;
}

.broker-box .btn{
  width:100%;
  margin-top:18px;
}
.broker-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.broker-modal.active {
  display: flex;
}
.close-broker {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-broker:hover {
  background: #00e0a4;
  color: #000;
  transform: rotate(90deg);
}
#projectTable td{
  vertical-align:top;
}

#projectTable td:nth-child(5){
  max-width:420px;
  white-space:normal;
  line-height:1.4;
}

#projectTable td:last-child{
  min-width:170px;
}

#projectTable .action-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.login-card{
  max-width:520px;
  margin:120px auto;
  padding:42px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}

.login-card input{
  width:100%;
  padding:18px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:white;
}

.login-card button{
  width:100%;
  margin-top:16px;
  border-radius:14px;
}
#projectTable td:nth-child(5){
  max-width:420px;
  white-space:normal;
  line-height:1.4;
}

#projectTable td:last-child{
  min-width:190px;
}

.action-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:flex-start;
}
#projectTable td:nth-child(5){
  max-width:420px;
  white-space:normal;
  line-height:1.4;
}

#projectTable td:last-child{
  min-width:190px;
}

.action-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.action-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.action-buttons button{
  min-width: 80px;
}
th:last-child,
td:last-child{
  width: 220px;
  white-space: nowrap;
}
td:nth-child(5){
  max-width: 500px;
  word-break: break-word;
  white-space: normal;
}
.card{
    overflow-x: auto;
}

table{
    min-width: 1200px;
}
.status{
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.status.approved{
    background: rgba(0,224,164,.15);
    color: #00e0a4;
}

.status.pending{
    background: rgba(255,204,51,.15);
    color: #ffcc33;
}

.status.rejected{
    background: rgba(255,77,77,.15);
    color: #ff4d4d;
}


/* =========================================================
   AUTHORITATIVE MOBILE NAV + TICKER FIX
   Place this at the very bottom of style.css.
   ========================================================= */

@media (max-width: 768px){

  html{
    scroll-padding-top: 100px !important;
  }

  body{
    overflow-x: hidden !important;
  }

  .navbar{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 !important;
    z-index: 10000 !important;
    background: rgba(7,11,10,0.92) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .nav-inner{
    width: 100% !important;
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    position: relative !important;
  }

  .brand{
    width: 126px !important;
    max-width: 126px !important;
    height: 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .site-logo{
    width: 118px !important;
    max-width: 118px !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  .navbar nav,
  .nav-btn,
  .notification-menu,
  .login-open{
    display: none !important;
  }

  /* profile-menu restored later for logged-in users (avatar dropdown) */

  .mobile-menu-btn{
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin-left: auto !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: rgba(255,255,255,0.07) !important;
    z-index: 10003 !important;
    cursor: pointer !important;
  }

  .mobile-menu-btn span{
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 999px !important;
    transition: 0.3s ease !important;
  }

  .mobile-menu-btn.active span:nth-child(1){
    transform: translateY(7px) rotate(45deg) !important;
  }

  .mobile-menu-btn.active span:nth-child(2){
    opacity: 0 !important;
  }

  .mobile-menu-btn.active span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  .market-ticker{
    display: block !important;
    position: fixed !important;
    top: 76px !important;
    left: 0 !important;
    width: 100% !important;
    padding: 9px 0 !important;
    z-index: 9998 !important;
    background: rgba(7,11,10,0.94) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .ticker-track span{
    font-size: 12px !important;
  }

  .mobile-overlay{
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 9997 !important;
    background: rgba(0,0,0,0.45) !important;
    backdrop-filter: blur(6px) !important;
    transition: 0.3s ease !important;
  }

  .mobile-overlay.active{
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu{
    display: flex !important;
    position: fixed !important;
    top: 88px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 10002 !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 16px !important;
    border-radius: 24px !important;
    background: rgba(7,11,10,0.96) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: 0.3s ease !important;
  }

  .mobile-menu.active{
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .mobile-menu a{
    display: block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .mobile-menu a:hover{
    background: rgba(0,224,164,0.10) !important;
    color: var(--mint) !important;
  }

  body.menu-open{
    overflow: hidden !important;
  }

  /* Normal inner pages: Marketplace / Projects / About / AI Intelligence */
  main > .section:first-child,
  .marketplace-page-hero,
  .page-hero{
    padding-top: 112px !important;
  }

  /* Home page has ticker, so it needs a little more top space */
  body:has(.market-ticker) .hero{
    padding-top: 150px !important;
  }

  .hero{
    padding-top: 112px !important;
  }
}

@media (max-width: 480px){
  .nav-inner{
    padding: 0 14px !important;
  }

  .brand{
    width: 116px !important;
    max-width: 116px !important;
  }

  .site-logo{
    width: 108px !important;
    max-width: 108px !important;
  }

  h1{
    font-size: 34px !important;
    line-height: 1.1 !important;
  }

  h2{
    font-size: 29px !important;
    line-height: 1.12 !important;
  }
}
/* SMALL MOBILE HEADER ADJUSTMENT */
@media(max-width:768px){

  .navbar{
    height:64px !important;
    min-height:64px !important;
  }

  .nav-inner{
    height:64px !important;
    padding:0 18px !important;
  }

  .brand{
    width:125px !important;
    height:44px !important;
    align-items:center !important;
  }

  .site-logo{
    width:118px !important;
  }

  .mobile-menu-btn{
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width:42px !important;
    height:42px !important;
  }

  .market-ticker{
    top:64px !important;
  }

  .mobile-menu{
    top:106px !important;
  }

  .marketplace-hero,
  .marketplace-page-hero,
  main > .section:first-child{
    padding-top:118px !important;
  }
}
.listing-footer{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.listing-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
  max-width:100%;
}

.listing-actions .listing-btn{
  min-height:38px;
  padding:8px 12px;
  font-size:12px;
  white-space:nowrap;
}

.listing-btn-ai{
  color:#7cf7d4 !important;
}

.listing-btn-ai:hover{
  color:#fff !important;
}

.watchlist-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(0,224,164,.35);
  background:rgba(0,224,164,.06);
  color:rgba(255,255,255,0.72);
  cursor:pointer;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s ease;
}

.watchlist-btn:hover{
  transform:scale(1.08);
  background:rgba(0,224,164,.16);
  color:#fff;
}

.watchlist-btn.saved{
  background:rgba(229,57,53,0.16);
  border-color:rgba(229,57,53,0.55);
  color:#ff3b30 !important;
  box-shadow:0 0 0 1px rgba(229,57,53,0.18);
}

.watchlist-btn.saved:hover{
  background:rgba(229,57,53,0.24);
  color:#ff5248 !important;
}

@media(max-width:768px){
  .market-ticker{
    display:block;
    top:70px;
    z-index:90;
  }

  .hero{
    padding-top:190px;
  }
}
/* FINAL MOBILE FIX - CLEAN */
@media(max-width:768px){

  .navbar{
  min-height:72px !important;
  height:auto !important;
  padding:0 !important;
}

  .nav-inner{
    height:72px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  .brand{
    width:128px !important;
    height:46px !important;
    max-width:128px !important;
    flex-shrink:0 !important;
  }

  .site-logo{
    width:128px !important;
    height:auto !important;
  }

  .mobile-menu-btn{
    display:flex !important;
    position:relative !important;
    z-index:10003 !important;
    margin-left:auto !important;
    flex-shrink:0 !important;
  }

  .market-ticker{
    display:block !important;
    position:fixed !important;
    top:72px !important;
    left:0 !important;
    width:100% !important;
    z-index:9998 !important;
    padding:9px 0 !important;
    background:rgba(7,11,10,0.95) !important;
  }

  .mobile-menu{
    display:flex !important;
    position:fixed !important;
    top:116px !important;
    left:14px !important;
    right:14px !important;
    z-index:10002 !important;
    flex-direction:column !important;
    gap:8px !important;
    padding:16px !important;
    border-radius:24px !important;
    background:rgba(7,11,10,0.96) !important;
    border:1px solid rgba(255,255,255,0.10) !important;
    backdrop-filter:blur(20px) !important;
    opacity:0 !important;
    visibility:hidden !important;
    transform:translateY(-10px) !important;
    transition:0.3s ease !important;
  }

  .mobile-menu.active{
    opacity:1 !important;
    visibility:visible !important;
    transform:translateY(0) !important;
  }

  .mobile-overlay{
    z-index:9997 !important;
  }

  .hero{
    padding-top:120px !important;
  }

  .marketplace-page-hero,
.section:first-of-type{
    padding-top:100px !important;
}
}}
.password-rules{

margin-top:15px;

font-size:14px;

line-height:1.8;

}

.password-rules p{

margin:3px 0;

color:#bbbbbb;

}

.password-rules .valid{

color:#00e5b0;

font-weight:600;

}
.dashboard-greeting{
    color:#00e5b0;
    font-size:18px;
    font-weight:600;
    margin:12px 0;
}

/* Green Energy AI Intelligence */
.ai-engine-layout{
  display:grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap:24px;
  align-items:start;
}

.ai-chat-panel,
.ai-side-panel{
  background:rgba(8,18,16,0.72);
  border:1px solid rgba(0,229,176,0.18);
  border-radius:18px;
  padding:20px;
}

.ai-quota-bar{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
  margin-bottom:14px;
  font-size:13px;
  color:#b7c7c1;
}

.ai-quota-bar strong{
  color:#00e5b0;
}

.ai-chat-log{
  min-height:360px;
  max-height:520px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:8px 2px 16px;
}

.ai-bubble{
  max-width:92%;
  padding:12px 14px;
  border-radius:14px;
  white-space:pre-wrap;
  line-height:1.55;
  font-size:14px;
}

.ai-bubble-user{
  align-self:flex-end;
  background:rgba(0,229,176,0.14);
  border:1px solid rgba(0,229,176,0.28);
  color:#e9fff8;
}

.ai-bubble-assistant{
  align-self:flex-start;
  max-width:100%;
  width:100%;
  box-sizing:border-box;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:#d7e7e1;
  /* HTML/markdown blocks need normal wrapping â€” pre-wrap breaks table borders */
  white-space:normal;
  overflow:visible;
}

.ai-bubble-assistant .ai-bubble-body{
  white-space:normal;
  overflow-x:auto;
  max-width:100%;
}

.ai-bubble-label{
  font-size:11px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:#00e5b0;
  margin-bottom:6px;
}

.ai-thinking{
  opacity:0.8;
  font-style:italic;
}

.ai-ask-form{
  display:grid;
  gap:10px;
  margin-top:10px;
}

.ai-ask-form .ai-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.ai-ask-form input,
.ai-ask-form textarea{
  width:100%;
  background:rgba(0,0,0,0.35);
  border:1px solid rgba(0,229,176,0.22);
  border-radius:12px;
  color:#fff;
  padding:12px 14px;
  font:inherit;
}

.ai-ask-form textarea{
  min-height:90px;
  resize:vertical;
}

.ai-example-list{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.ai-example-list button{
  text-align:left;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(0,229,176,0.16);
  color:#d9ece6;
  border-radius:12px;
  padding:12px;
  cursor:pointer;
  font:inherit;
  line-height:1.4;
}

.ai-example-list button:hover{
  border-color:rgba(0,229,176,0.45);
  background:rgba(0,229,176,0.08);
}

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.pricing-card{
  background:rgba(8,18,16,0.72);
  border:1px solid rgba(0,229,176,0.18);
  border-radius:18px;
  padding:22px;
}

.pricing-card.featured{
  border-color:rgba(0,229,176,0.55);
  box-shadow:0 0 0 1px rgba(0,229,176,0.2);
}

.pricing-card h3{
  margin:0 0 6px;
}

.pricing-card .price{
  font-size:28px;
  color:#00e5b0;
  margin:10px 0 16px;
}

.pricing-card ul{
  margin:0 0 18px;
  padding-left:18px;
  color:#b9cac4;
  line-height:1.7;
}

.billing-note{
  margin-top:24px;
  color:#9db0a9;
  font-size:14px;
  line-height:1.6;
}

.billing-banner{
  margin-top:18px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(0,229,176,0.28);
  background:rgba(0,229,176,0.08);
  color:#c9fff0;
  font-size:14px;
}

.billing-banner-warn{
  border-color:rgba(255,196,80,0.35);
  background:rgba(255,196,80,0.08);
  color:#ffe6b0;
}

.billing-banner-ok{
  border-color:rgba(0,229,176,0.4);
  background:rgba(0,229,176,0.12);
  color:#b8ffe8;
}

.ai-compose-row{
  display:flex;
  gap:10px;
  justify-content:space-between;
  align-items:center;
}

.ai-advanced-fields{
  margin-top:4px;
}

.ai-mode-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  font-size:12px;
  color:#b7c7c1;
}

.ai-mode-badge.is-green{
  border-color:rgba(0,229,176,0.45);
  color:#00e5b0;
  background:rgba(0,229,176,0.08);
}

@media (max-width: 960px){
  .ai-engine-layout,
  .pricing-grid,
  .ai-ask-form .ai-row{
    grid-template-columns:1fr;
  }

  .ai-compose-row{
    flex-direction:column;
    align-items:stretch;
  }
}

/* =========================================================
   MOBILE HOME FIX + SIMPLE AI CHAT
   ========================================================= */
@media (max-width: 768px){
  .container{
    width: calc(100% - 28px) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero,
  .hero .container,
  .hero-grid,
  .market-panel,
  .section,
  .stats-strip,
  .footer-inner{
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .hero h1{
    color: #ffffff !important;
    font-size: clamp(30px, 8vw, 38px) !important;
    line-height: 1.12 !important;
  }

  .hero-text{
    color: rgba(255,255,255,0.84) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .hero-actions{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-actions .btn{
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .market-panel,
  .stats-strip .container,
  .sector-grid,
  .project-grid,
  .listing-grid,
  .workflow-grid,
  .metrics-grid{
    grid-template-columns: 1fr !important;
  }

  .stats-strip{
    overflow: hidden !important;
  }

  #particles{
    max-width: 100vw !important;
  }

  /* AI page: single clean chat column */
  .ai-engine-layout{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .ai-side-panel{
    order: -1;
  }
}

.ai-chat-simple{
  max-width: 860px;
  margin: 0 auto;
}

.ai-chat-simple .ai-chat-panel{
  min-height: 70vh;
  display: flex;
  flex-direction: column;
}

.ai-chat-simple .ai-chat-log{
  flex: 1;
  min-height: 420px;
  max-height: none;
}

.ai-compose-bar{
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-top: 12px;
}

.ai-compose-bar textarea{
  flex: 1;
  min-height: 56px;
  max-height: 140px;
  margin: 0;
}

.ai-compose-bar .btn{
  flex-shrink: 0;
  min-width: 96px;
}

.ai-suggestion-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ai-suggestion-row button{
  border: 1px solid rgba(0,229,176,0.22);
  background: rgba(255,255,255,0.03);
  color: #cfe8df;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.ai-suggestion-row button:hover{
  border-color: rgba(0,229,176,0.5);
  color: #fff;
}

.ai-bubble-body strong{
  color: #eafff7;
  font-weight: 700;
}

.ai-bubble-body em{
  font-style: italic;
  color: #d7e7e1;
}

.ai-bubble-body code{
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,229,176,0.18);
  border-radius: 6px;
  padding: 1px 6px;
}

.ai-table-wrap{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 12px 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,229,176,0.22);
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  background: rgba(0,0,0,0.18);
}

.ai-md-table{
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
}

.ai-md-table th,
.ai-md-table td{
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  box-sizing: border-box;
}

/* full grid through header + body */
.ai-md-table th{
  background: rgba(0,229,176,0.14);
  color: #7cf7d4;
  font-weight: 700;
  border-top: none;
}

.ai-md-table td{
  color: rgba(255,255,255,0.88);
  background: transparent;
}

.ai-md-table th:last-child,
.ai-md-table td:last-child{
  border-right: none;
}

.ai-md-table tr:last-child td{
  border-bottom: none;
}

.ai-md-table th:nth-child(1),
.ai-md-table td:nth-child(1){
  width: 22%;
  font-weight: 600;
  color: #7cf7d4;
}

.ai-md-table th:nth-child(2),
.ai-md-table td:nth-child(2),
.ai-md-table th:nth-child(3),
.ai-md-table td:nth-child(3){
  width: 39%;
}

.ai-md-h{
  margin: 16px 0 8px;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
}

.ai-md-p{
  margin: 0 0 8px;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}

.ai-md-list{
  margin: 8px 0 14px;
  padding-left: 1.25em;
}

.ai-md-list li{
  margin: 0 0 8px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.ai-md-gap{
  height: 10px;
}

.ai-md-pre{
  margin: 10px 0 14px;
  padding: 12px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.35);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
}

@keyframes aiBlink{
  0%, 49%{ opacity: 1; }
  50%, 100%{ opacity: 0; }
}

.ai-quota-bar{
  justify-content: space-between;
}

@media (max-width: 768px){
  .ai-compose-bar{
    flex-direction: column;
    align-items: stretch;
  }
  .ai-compose-bar .btn{
    width: 100%;
  }
}

.ai-chat-top{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.ai-view-tabs{
  display:inline-flex;
  gap:6px;
  padding:4px;
  border-radius:999px;
  border:1px solid rgba(0,229,176,0.18);
  background:rgba(0,0,0,0.25);
}

.ai-view-tab{
  border:none;
  background:transparent;
  color:rgba(255,255,255,0.72);
  font:inherit;
  font-size:13px;
  font-weight:700;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
}

.ai-view-tab.is-active{
  background:rgba(0,229,176,0.18);
  color:#00e5b0;
}

.ai-compare-form{
  margin-top:10px;
  padding:16px;
  border:1px solid rgba(0,229,176,0.16);
  border-radius:18px;
  background:rgba(8,18,16,0.55);
}

.ai-compare-lead{
  margin:0 0 14px;
  color:rgba(255,255,255,0.72);
  font-size:14px;
  line-height:1.5;
}

.ai-compare-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.ai-compare-grid label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:12px;
  color:#8fa89f;
  text-transform:uppercase;
  letter-spacing:0.04em;
}

.ai-compare-grid select,
.ai-compare-grid input{
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.04);
  color:#fff;
  border-radius:12px;
  padding:12px 14px;
  font:inherit;
  text-transform:none;
  letter-spacing:normal;
}

.ai-compare-full{
  grid-column:1 / -1;
}

.ai-compare-actions{
  margin-top:14px;
  display:flex;
  justify-content:flex-end;
}

@media (max-width: 768px){
  .ai-compare-grid{
    grid-template-columns:1fr;
  }
  .ai-view-tabs{
    order:3;
    width:100%;
    justify-content:center;
  }
}

/* GPT-style private threads workspace */
.ai-workspace{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: calc(100vh - 90px);
  max-width: 1280px;
  margin: 90px auto 24px;
  padding: 0 16px;
  box-sizing: border-box;
}

.ai-thread-sidebar{
  background: rgba(8,18,16,0.9);
  border: 1px solid rgba(0,229,176,0.14);
  border-radius: 18px 0 0 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 70vh;
}

.ai-new-chat{
  width: 100%;
}

.ai-thread-label{
  margin: 8px 0 0;
  font-size: 12px;
  color: #8fa89f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ai-thread-privacy{
  margin-top: auto;
  font-size: 12px;
  color: #7f968d;
}

.ai-thread-list{
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
  max-height: 55vh;
}

.ai-thread-empty{
  color: #8fa89f;
  font-size: 13px;
}

.ai-thread-item{
  display: flex;
  gap: 4px;
  align-items: center;
}

.ai-thread-item.active .ai-thread-open{
  border-color: rgba(0,229,176,0.45);
  background: rgba(0,229,176,0.1);
}

.ai-thread-open{
  flex: 1;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #d7e7e1;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-thread-delete{
  border: none;
  background: transparent;
  color: #889890;
  cursor: pointer;
  padding: 6px;
}

.ai-chat-main{
  border: 1px solid rgba(0,229,176,0.14);
  border-left: none;
  border-radius: 0 18px 18px 0;
  background: rgba(8,18,16,0.72);
  padding: 14px;
  min-width: 0;
}

.ai-chat-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ai-threads-toggle{
  display: none;
}

.ai-chat-panel-flex{
  min-height: 65vh;
  display: flex;
  flex-direction: column;
}

.ai-chat-panel-flex .ai-chat-log{
  flex: 1;
  min-height: 360px;
  max-height: none;
}

@media (max-width: 900px){
  .ai-workspace{
    grid-template-columns: 1fr;
    margin-top: 100px;
  }

  .ai-thread-sidebar{
    display: none;
    position: fixed;
    top: 90px;
    left: 12px;
    right: 12px;
    z-index: 9000;
    border-radius: 16px;
    max-height: 70vh;
  }

  .ai-thread-sidebar.open{
    display: flex;
  }

  .ai-chat-main{
    border-left: 1px solid rgba(0,229,176,0.14);
    border-radius: 18px;
  }

  .ai-threads-toggle{
    display: inline-flex;
  }
}

/* =========================================================
   MOBILE HOME + LOGGED-IN HEADER HARD FIX
   ========================================================= */

/* Auth visibility via body class */
.profile-menu,
.notification-menu{
  display: none;
}
body.user-logged-in .navbar .profile-menu,
body.user-logged-in .navbar .notification-menu{
  display: block !important;
}
body.user-logged-in .login-open{
  display: none !important;
}
body.user-logged-in .nav-early-access,
body.user-logged-in .hide-when-logged-in,
body.user-logged-in .launch-note{
  display: none !important;
}
body.user-guest .show-when-logged-in{
  display: none !important;
}
body.user-logged-in .show-when-logged-in{
  display: inline-flex !important;
}
body.user-guest .profile-menu,
body.user-guest .notification-menu{
  display: none !important;
}

@media (max-width: 768px){
  html, body{
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Keep page nav / CTAs hidden on phone */
  body.user-logged-in .navbar nav,
  body.user-logged-in .navbar .nav-btn,
  body.user-logged-in .navbar .notification-menu,
  .navbar .login-open{
    display: none !important;
  }

  /* Right cluster: avatar + hamburger as one aligned pair */
  body.user-logged-in .navbar .nav-inner{
    gap: 10px !important;
  }

  body.user-logged-in .navbar .profile-menu{
    display: flex !important;
    position: relative !important;
    margin-left: auto !important;
    margin-right: 12px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 40px !important;
    z-index: 10004 !important;
    order: 20;
  }

  body.user-logged-in .navbar .profile-btn{
    padding: 0 !important;
    gap: 0 !important;
    height: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    border: 1px solid rgba(0,229,176,0.35) !important;
    background: rgba(0,229,176,0.12) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body.user-logged-in .navbar .profile-btn span:not(.profile-avatar){
    display: none !important;
  }

  body.user-logged-in .navbar .profile-avatar{
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    margin: 0 !important;
  }

  body.user-logged-in .navbar .profile-dropdown{
    right: 0 !important;
    left: auto !important;
    min-width: 200px !important;
    top: calc(100% + 10px) !important;
  }

  body.user-logged-in .navbar .mobile-menu-btn{
    display: flex !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    order: 21;
    margin: 0 !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  /* Guest: hamburger alone on the right */
  body.user-guest .navbar .mobile-menu-btn,
  body:not(.user-logged-in) .navbar .mobile-menu-btn{
    margin-left: auto !important;
  }

  .navbar .nav-inner{
    gap: 8px !important;
  }

  .navbar .mobile-menu-btn{
    display: flex !important;
  }

  /* Logo shrinks when avatar + menu both need space */
  body.user-logged-in .navbar .brand{
    height: 44px !important;
    padding: 3px 6px !important;
    max-width: min(148px, calc(100vw - 120px)) !important;
  }

  body.user-logged-in .navbar .site-logo{
    max-width: 136px !important;
    height: 34px !important;
  }

  .hero{
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero .container,
  .hero-grid{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  .hero-grid{
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .hero-content,
  .market-panel{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-actions{
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-actions .btn,
  .hero-actions a{
    width: 100% !important;
    grid-column: auto !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  .hero h1,
  .hero-text,
  .eyebrow,
  .launch-note{
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .metrics-grid{
    grid-template-columns: 1fr 1fr !important;
  }

  .stats-grid{
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  .market-ticker,
  .ticker-track{
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  #particles{
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
  }
}

/* Navbar logo visibility — cropped logo-nav.png fills the brand plate */
.navbar .brand{
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 56px !important;
  padding: 6px 12px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: rgba(0,0,0,0.45) !important;
  border: 1px solid rgba(0,229,176,0.32) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 8px 22px rgba(0,0,0,0.28) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.navbar .site-logo{
  width: auto !important;
  max-width: 210px !important;
  height: 44px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: brightness(1.1) contrast(1.06) drop-shadow(0 0 10px rgba(0,229,176,0.2));
}

@media (max-width: 768px){
  .navbar .brand{
    height: 48px !important;
    padding: 4px 8px !important;
    max-width: min(168px, calc(100vw - 100px)) !important;
  }

  .navbar .site-logo{
    max-width: 152px !important;
    height: 36px !important;
  }
}

@media (max-width: 380px){
  .navbar .brand{
    max-width: min(128px, calc(100vw - 108px)) !important;
    height: 42px !important;
    padding: 2px 5px !important;
  }

  .navbar .site-logo{
    max-width: 118px !important;
    height: 32px !important;
  }

  body.user-logged-in .navbar .profile-btn,
  body.user-logged-in .navbar .mobile-menu-btn{
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
}

.mobile-account-block{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.mobile-account-label{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,229,176,0.85);
}

body.user-guest .mobile-account-block{
  display: none !important;
}

/* ===== My Deals / OTC desk ===== */
.deals-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:28px;
}
.deals-stats div{
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04);
  border-radius:20px;
  padding:18px;
}
.deals-stats h3{
  margin:0;
  color:var(--teal);
  font-size:28px;
}
.deals-stats p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
}
.deals-layout{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(260px,0.7fr);
  gap:24px;
  align-items:start;
}
.deals-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}
.deals-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.deals-filters button{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  color:rgba(255,255,255,0.78);
  border-radius:999px;
  padding:8px 14px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.deals-filters button.active,
.deals-filters button:hover{
  border-color:rgba(0,229,176,0.4);
  color:#7cf7d4;
  background:rgba(0,229,176,0.08);
}
.deals-grid{
  display:grid;
  gap:16px;
}
.deal-card{
  border:1px solid rgba(0,229,176,0.16);
  background:linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-radius:22px;
  padding:20px;
}
.deal-empty{
  text-align:center;
  padding:36px 22px;
}
.deal-empty h3{ margin:0 0 10px; }
.deal-empty p{ color:rgba(255,255,255,0.7); margin:0 0 18px; }
.deal-card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:12px;
}
.deal-date{ color:rgba(255,255,255,0.5); font-size:12px; }
.deal-card h3{ margin:0 0 6px; font-size:20px; }
.deal-meta{ margin:0 0 14px; color:rgba(255,255,255,0.65); }
.deal-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}
.deal-metrics div{
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:10px 12px;
}
.deal-metrics span{
  display:block;
  font-size:11px;
  color:rgba(255,255,255,0.5);
  margin-bottom:4px;
}
.deal-metrics strong{ color:#fff; font-size:14px; }
.deal-note,.deal-counter{
  margin:0 0 12px;
  color:rgba(255,255,255,0.72);
  font-size:13px;
  line-height:1.55;
}
.deal-counter{ color:#ffd27a; }
.deal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.deal-status{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
.deal-status-open{ background:rgba(0,229,176,0.12); color:#7cf7d4; }
.deal-status-info{ background:rgba(90,160,255,0.14); color:#8ec5ff; }
.deal-status-warn{ background:rgba(255,196,80,0.14); color:#ffd27a; }
.deal-status-ok{ background:rgba(0,229,176,0.18); color:#00e5b0; }
.deal-status-bad{ background:rgba(255,100,100,0.14); color:#ff9b9b; }
.deals-side{ display:grid; gap:16px; }
.deals-side-card{
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(8,18,16,0.72);
  border-radius:20px;
  padding:18px;
}
.deals-side-card h3{ margin:0 0 12px; font-size:16px; }
.deals-steps,.deals-check{
  margin:0 0 16px;
  padding-left:18px;
  color:rgba(255,255,255,0.72);
  line-height:1.7;
  font-size:13px;
}
.deals-loading{ color:rgba(255,255,255,0.6); }
@media (max-width:900px){
  .deals-layout{ grid-template-columns:1fr; }
  .deal-metrics{ grid-template-columns:1fr; }
  .deals-stats{ grid-template-columns:1fr; }
}

/* Final mobile header: avatar + hamburger never overlap */
@media (max-width: 768px){
  .navbar .mobile-menu-btn{
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
  }

  body.user-logged-in .navbar .nav-inner{
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  body.user-logged-in .navbar .profile-menu{
    margin-left: auto !important;
    margin-right: 14px !important;
    max-width: 40px !important;
  }

  body.user-logged-in .navbar .mobile-menu-btn{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}