:root{
  --ah-bg:#050816;
  --ah-panel:rgba(11,18,38,.78);
  --ah-panel2:rgba(255,255,255,.045);
  --ah-line:rgba(34,211,238,.18);
  --ah-line2:rgba(168,85,247,.22);
  --ah-text:#eaf3ff;
  --ah-muted:rgba(205,218,240,.72);
  --ah-dim:rgba(205,218,240,.50);
  --ah-cyan:#22d3ee;
  --ah-purple:#a855f7;
  --ah-amber:#f59e0b;
  --ah-green:#34d399;
  --ah-pink:#ec4899;
}

.dashboard-main .dashboard-shell>h2{display:none!important}
.dashboard-main .dashboard-shell{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
.dashboard-main{padding:0!important}

.ah{
  min-height:100vh;
  color:var(--ah-text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;
  background:
    radial-gradient(circle at 14% 0,rgba(34,211,238,.10),transparent 35%),
    radial-gradient(circle at 86% 0,rgba(168,85,247,.14),transparent 36%),
    linear-gradient(180deg,#050816,#060818 55%,#040611);
  overflow:hidden;
}

.ah *{box-sizing:border-box}

.ah-wrap{
  max-width:1500px;
  margin:0 auto;
  padding:22px clamp(16px,3vw,42px) 44px;
}

.ah-card{
  border:1px solid rgba(34,211,238,.16);
  border-radius:32px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(8,13,31,.96),rgba(5,8,22,.99));
  box-shadow:0 28px 92px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.04);
}

/* HERO */

.ah-hero{
  position:relative;
  min-height:680px;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.ah-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(4,8,20,.97) 0%,rgba(4,8,20,.86) 36%,rgba(4,8,20,.48) 65%,rgba(4,8,20,.82) 100%),
    linear-gradient(180deg,rgba(4,8,20,.08),rgba(4,8,20,.94)),
    url('/api/astrocore/dashboard/img/astrocore.png');
  background-size:cover;
  background-position:center;
  filter:saturate(1.08) contrast(1.04);
  transform:scale(1.01);
}

.ah-hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:46%;
  background:linear-gradient(180deg,transparent,rgba(5,8,22,.98));
}

.ah-hero-in{
  position:relative;
  z-index:2;
  min-height:680px;
  padding:44px clamp(22px,3.8vw,58px) 32px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:36px;
}

.ah-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
}

.ah-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid rgba(34,211,238,.24);
  background:rgba(34,211,238,.06);
  border-radius:999px;
  color:#a5f3fc;
  font-size:10px;
  letter-spacing:.20em;
  text-transform:uppercase;
  font-weight:1000;
}

.ah-title{
  max-width:980px;
  margin:20px 0 0;
  font-family:Orbitron,Inter,system-ui,sans-serif;
  color:#fff;
  text-transform:uppercase;
  font-size:clamp(42px,6.6vw,98px);
  line-height:.90;
  letter-spacing:-.075em;
  text-shadow:0 18px 54px rgba(0,0,0,.55);
}

.ah-title span{
  display:block;
  background:linear-gradient(90deg,#22d3ee,#e9d5ff,#f59e0b);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.ah-sub{
  max-width:820px;
  margin:22px 0 0;
  color:var(--ah-muted);
  font-size:clamp(15px,1.25vw,18px);
  line-height:1.75;
}

.ah-sub strong{color:#fff}

.ah-note{
  max-width:820px;
  margin:16px 0 0;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(34,211,238,.18);
  background:rgba(34,211,238,.05);
  color:rgba(230,244,255,.84);
  font-size:13px;
  line-height:1.62;
}

.ah-note strong{color:#fff}

.ah-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.ah-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:11px 16px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:1000;
  cursor:pointer;
  transition:.2s ease;
  white-space:nowrap;
}

.ah-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(34,211,238,.38);
}

.ah-btn.primary{
  border-color:transparent;
  background:linear-gradient(90deg,#7c3aed,#22d3ee);
  box-shadow:0 16px 38px rgba(34,211,238,.18);
}

.ah-btn.cyan{
  border-color:rgba(34,211,238,.28);
  background:rgba(34,211,238,.07);
  color:#a5f3fc;
}

.ah-btn.purple{
  border-color:rgba(168,85,247,.36);
  background:linear-gradient(90deg,rgba(168,85,247,.24),rgba(34,211,238,.10));
  color:#f3e8ff;
}

.ah-btn.amber{
  border-color:rgba(245,158,11,.32);
  background:rgba(245,158,11,.08);
  color:#fde68a;
}

.ah-bottom{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:end;
}

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

.ah-flow article{
  padding:14px;
  border-radius:17px;
  border:1px solid rgba(255,255,255,.085);
  background:rgba(7,14,30,.66);
  backdrop-filter:blur(10px);
}

.ah-flow small{
  display:block;
  color:#67e8f9;
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:8px;
  font-weight:1000;
}

.ah-flow b{
  display:block;
  color:#fff;
  font-size:14px;
  margin-bottom:5px;
}

.ah-flow span{
  display:block;
  color:rgba(205,218,240,.58);
  font-size:12px;
  line-height:1.45;
}

.ah-help-card{
  border:1px solid rgba(168,85,247,.24);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(168,85,247,.14),rgba(34,211,238,.055));
  backdrop-filter:blur(12px);
  padding:18px;
}

.ah-help-card h3{
  margin:0 0 8px;
  color:#fff;
  font-size:19px;
}

.ah-help-card p{
  margin:0 0 14px;
  color:var(--ah-muted);
  font-size:13px;
  line-height:1.58;
}

/* SHARED */

.ah-section{
  padding:34px clamp(22px,3vw,40px);
  border-bottom:1px solid rgba(255,255,255,.055);
}

.ah-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.ah-kicker{
  font-size:10px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#67e8f9;
  font-weight:1000;
}

.ah-section h2{
  font-family:Orbitron,Inter,sans-serif;
  margin:8px 0 0;
  color:#fff;
  font-size:clamp(24px,3vw,38px);
  letter-spacing:-.04em;
}

.ah-lead{
  max-width:960px;
  color:var(--ah-muted);
  font-size:14px;
  line-height:1.72;
  margin:10px 0 0;
}

.ah-badge{
  position:relative;
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(34,211,238,.22);
  background:rgba(34,211,238,.055);
  color:#a5f3fc;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:1000;
}

/* WELCOME */

.ah-welcome{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:18px;
  align-items:stretch;
  border:1px solid rgba(34,211,238,.24);
  border-radius:26px;
  background:
    radial-gradient(circle at 8% 0%,rgba(34,211,238,.16),transparent 34%),
    radial-gradient(circle at 88% 0%,rgba(168,85,247,.16),transparent 38%),
    linear-gradient(135deg,rgba(8,15,35,.92),rgba(17,11,38,.78));
  box-shadow:0 24px 80px rgba(0,0,0,.28);
  padding:clamp(20px,3vw,32px);
}

.ah-welcome:after{
  content:'Guest demo · 20 KR testui';
  position:absolute;
  right:20px;
  bottom:14px;
  font-family:Orbitron,Inter,sans-serif;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(165,243,252,.38);
}

.ah-welcome-main{position:relative;z-index:1}
.ah-welcome-main strong{color:#67e8f9}

.ah-welcome-side{
  position:relative;
  z-index:1;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:rgba(2,6,23,.36);
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
}

.ah-welcome-side small{
  color:#67e8f9;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:1000;
}

.ah-welcome-side b{
  color:#fff;
  font-size:1.35rem;
}

.ah-welcome-side span{
  color:rgba(218,228,245,.72);
  line-height:1.55;
  font-size:13px;
}

/* MODULES */

.ah-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.ah-module{
  position:relative;
  min-height:250px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:21px;
  background:linear-gradient(180deg,rgba(12,22,44,.82),rgba(7,12,27,.96));
  overflow:hidden;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.ah-module:before{
  content:"";
  position:absolute;
  inset:-70px -70px auto auto;
  width:170px;
  height:170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(34,211,238,.18),transparent 66%);
  pointer-events:none;
}

.ah-module.purple:before{background:radial-gradient(circle,rgba(168,85,247,.20),transparent 66%)}
.ah-module.amber:before{background:radial-gradient(circle,rgba(245,158,11,.20),transparent 66%)}
.ah-module.green:before{background:radial-gradient(circle,rgba(52,211,153,.16),transparent 66%)}

.ah-module h3{
  position:relative;
  margin:18px 0 8px;
  color:#fff;
  font-size:20px;
  line-height:1.18;
}

.ah-module p{
  position:relative;
  margin:0;
  color:rgba(205,218,240,.62);
  font-size:13px;
  line-height:1.58;
}

.ah-module a{
  position:relative;
  margin-top:18px;
  align-self:flex-start;
}

/* CONSOLE */

.ah-console{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.ah-console-card,
.ah-prompt-card{
  border:1px solid rgba(255,255,255,.085);
  border-radius:21px;
  background:rgba(8,14,31,.78);
  padding:20px;
}

.ah-console-card h3,
.ah-prompt-card h3{
  margin:0 0 10px;
  color:#fff;
  font-size:22px;
}

.ah-console-card p,
.ah-prompt-card p{
  margin:0;
  color:var(--ah-muted);
  line-height:1.65;
  font-size:14px;
}

.ah-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:16px;
}

.ah-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 13px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:#dff7ff;
  text-decoration:none;
  font-size:13px;
}

.ah-links a:hover{
  border-color:rgba(34,211,238,.32);
  color:#67e8f9;
}

/* AI GUIDE */

.ah-interpret-section{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:14px;
}

.ah-prompt{
  display:flex;
  gap:8px;
  margin-top:14px;
}

.ah-prompt input{
  flex:1;
  min-width:0;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(2,6,18,.62);
  color:#fff;
  border-radius:12px;
  padding:12px 13px;
  outline:none;
}

.ah-prompt input:focus{border-color:rgba(34,211,238,.36)}

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

.ah-template{
  border:1px solid rgba(255,255,255,.085);
  background:rgba(255,255,255,.035);
  border-radius:16px;
  padding:14px;
  cursor:pointer;
}

.ah-template b{
  display:block;
  color:#fff;
  margin-bottom:6px;
  font-size:14px;
}

.ah-template span{
  display:block;
  color:rgba(205,218,240,.58);
  font-size:12px;
  line-height:1.45;
}

.ah-template:focus-visible{outline:2px solid rgba(34,211,238,.45);outline-offset:2px}
.ah-template:hover{
  border-color:rgba(168,85,247,.36);
  background:rgba(168,85,247,.08);
}

/* PRICING */

.ah-pricing{
  margin-top:18px;
  border:1px solid rgba(34,211,238,.22);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(8,14,31,.88),rgba(12,8,28,.72));
  padding:clamp(18px,2.5vw,26px);
  box-shadow:0 20px 60px rgba(0,0,0,.22);
}

.ah-pricing-head{margin-bottom:16px}

.ah-pricing-head h3{
  margin:0;
  font-family:Orbitron,Inter,sans-serif;
  color:#fff;
  font-size:clamp(18px,2.4vw,24px);
  letter-spacing:-.03em;
}

.ah-pricing-lead{
  margin:10px 0 0;
  color:rgba(205,218,240,.72);
  font-size:13px;
  line-height:1.65;
  max-width:960px;
}

.ah-pricing-table-wrap{
  overflow-x:auto;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(2,6,23,.45);
}

.ah-pricing-table{
  width:100%;
  min-width:920px;
  border-collapse:collapse;
  font-size:13px;
  table-layout:fixed;
}

.ah-pricing-table thead th{
  text-align:left;
  padding:12px 16px;
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(148,163,184,.95);
  border-bottom:1px solid rgba(255,255,255,.1);
  background:rgba(15,23,42,.55);
}

.ah-pricing-table tbody td{
  padding:11px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  color:rgba(226,232,240,.92);
  vertical-align:top;
}

.ah-pricing-table tbody tr:last-child td{border-bottom:none}
.ah-pricing-table th:nth-child(1),.ah-pricing-table td:nth-child(1){width:24%}
.ah-pricing-table th:nth-child(2),.ah-pricing-table td:nth-child(2){width:108px;min-width:108px;white-space:nowrap;overflow:visible;text-overflow:clip}
.ah-pricing-table th:nth-child(3),.ah-pricing-table td:nth-child(3){width:96px;color:rgba(148,163,184,.88);font-size:12px}
.ah-pricing-table th:nth-child(4),.ah-pricing-table td:nth-child(4){width:auto;color:rgba(205,218,240,.62);font-size:12px;line-height:1.5}

.ah-kr-pill{
  display:inline-flex;
  min-width:58px;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(34,211,238,.35);
  background:rgba(34,211,238,.1);
  color:#a5f3fc;
  font-weight:900;
  white-space:nowrap;
  font-family:Inter,system-ui,sans-serif;
  font-size:12px;
  letter-spacing:.02em;
}

.ah-pricing-foot{
  margin-top:14px;
  display:grid;
  gap:8px;
}

.ah-pricing-foot p{
  margin:0;
  color:rgba(205,218,240,.68);
  font-size:12px;
  line-height:1.55;
}

.ah-pricing-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

/* FINAL */

.ah-final{
  padding:24px clamp(22px,3vw,40px);
  background:rgba(34,211,238,.035);
  border-top:1px solid rgba(34,211,238,.10);
}

.ah-final-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
}

.ah-final p{
  margin:0;
  color:rgba(220,235,255,.72);
  line-height:1.7;
  font-size:13px;
}

.ah-final strong{color:#fff}

/* RESPONSIVE */

@media(max-width:1180px){
  .ah-top,
  .ah-bottom,
  .ah-interpret-section{
    display:block;
  }

  .ah-actions{
    justify-content:flex-start;
    margin-top:18px;
  }

  .ah-help-card{
    margin-top:16px;
  }

  .ah-flow,
  .ah-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ah-console{
    grid-template-columns:1fr;
  }

  .ah-final-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .ah-welcome{grid-template-columns:1fr}
  .ah-welcome:after{position:relative;right:auto;bottom:auto;margin-top:12px}

  .ah-wrap{padding:14px}
  .ah-hero,
  .ah-hero-in{min-height:780px}
  .ah-hero-in{padding:28px 18px 24px}

  .ah-flow,
  .ah-grid,
  .ah-links,
  .ah-template-grid{
    grid-template-columns:1fr;
  }

  .ah-head{display:block}

  .ah-actions,
  .ah-prompt{
    width:100%;
    flex-direction:column;
  }

  .ah-btn,
  .ah-prompt button{
    width:100%;
  }

  .ah-section{padding:24px 18px}
  .ah-final{padding:20px 18px}
}
