:root{
  --bg: #070A12;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.62);
  --muted2: rgba(255,255,255,0.48);
  --accent: #7C5CFF;
  --accent2: #00D4FF;
  --shadow: 0 12px 34px rgba(0,0,0,0.35);
}

html, body { height: 100%; }
body{
  background: radial-gradient(1200px 700px at 20% -10%, rgba(124,92,255,0.22), transparent 60%),
              radial-gradient(1200px 700px at 95% 10%, rgba(0,212,255,0.16), transparent 50%),
              var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

a { color: rgba(255,255,255,0.92); }
a:hover { color: white; }

.bg-aurora{
  pointer-events:none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(124,92,255,0.20), transparent 60%),
    radial-gradient(800px 500px at 100% 30%, rgba(0,212,255,0.14), transparent 60%),
    radial-gradient(900px 500px at 40% 110%, rgba(124,92,255,0.12), transparent 60%);
  filter: blur(18px);
  opacity: 0.9;
  z-index: 0;
}

/* NAV */
.nav-glass{
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(7,10,18,0.68);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-dot{
  width: 10px; height: 10px;
  border-radius: 99px;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(124,92,255,0.12);
}

/* HERO */
.hero{
  position: relative;
  z-index: 1;
}

.hero-title{
  letter-spacing: -0.02em;
}

.hero-sub{
  font-size: 0.78em;
}

.badge-pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-mini{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-card{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
}

.mini-icon{
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(124,92,255,0.25), rgba(0,212,255,0.18));
  border: 1px solid rgba(255,255,255,0.12);
}

.mini-title{
  font-weight: 600;
  line-height: 1.1;
}

.mini-link{
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}
.mini-link:hover{ color: white; }

.hero-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-card-top{
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar{
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  background: linear-gradient(135deg, rgba(124,92,255,0.45), rgba(0,212,255,0.26));
  border: 1px solid rgba(255,255,255,0.14);
}

.hr-soft{
  border-color: rgba(255,255,255,0.10);
  opacity: 1;
}

.info-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--muted);
}
.info-list i{
  margin-top: 2px;
  color: rgba(255,255,255,0.75);
}

/* SECTIONS */
.section{
  position: relative;
  z-index: 1;
  padding: 68px 0;
}

.section-alt{
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* CHIPS */
.stack{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
}

/* CARDS GRID */
.grid-cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 992px){
  .grid-cards{ grid-template-columns: 1fr; }
}

.glass-card{
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

.card-icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: linear-gradient(140deg, rgba(124,92,255,0.24), rgba(0,212,255,0.14));
  border: 1px solid rgba(255,255,255,0.10);
}

/* FEATURES */
.feature{
  height: 100%;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.feature-ico{
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}
.feature-title{
  font-weight: 650;
  margin-bottom: 6px;
}

/* CTA */
.cta-card{
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  position: relative;
}
.cta-card::before{
  content:"";
  position:absolute;
  inset:-40% -40% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(124,92,255,0.35), transparent 60%);
  filter: blur(10px);
  opacity: 0.85;
  pointer-events:none;
}
.cta-actions{
  display: grid;
  gap: 10px;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
}
.pill i{ color: rgba(255,255,255,0.78); }

/* METRICS */
.mini-metric{
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px 16px;
  text-align: center;
}
.metric-num{
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, rgba(124,92,255,0.95), rgba(0,212,255,0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-label{
  color: var(--muted2);
}

/* TIMELINE */
.timeline{
  position: relative;
  padding-left: 18px;
}
.timeline::before{
  content:"";
  position:absolute;
  top: 0; bottom: 0;
  left: 6px;
  width: 2px;
  background: rgba(255,255,255,0.10);
}
.t-item{
  position: relative;
  padding: 12px 0 12px 20px;
}
.t-dot{
  position:absolute;
  left: 0;
  top: 18px;
  width: 14px; height: 14px;
  border-radius: 99px;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(124,92,255,0.10);
}
.t-content{
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px 16px;
}
.t-year{
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.t-title{
  font-weight: 650;
  margin-top: 2px;
}
.t-text{
  margin-top: 6px;
}

/* FOOTER */
.footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(7,10,18,0.55);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}
.footer-link{
  color: var(--muted);
  text-decoration: none;
}
.footer-link:hover{ color: white; }

/* Buttons */
.btn-primary{
  border: 0;
  background: linear-gradient(120deg, rgba(124,92,255,0.95), rgba(0,212,255,0.85));
  box-shadow: 0 10px 24px rgba(124,92,255,0.22);
}
.btn-primary:hover{
  filter: brightness(1.05);
}
.btn-outline-light{
  border-color: rgba(255,255,255,0.18);
}
.btn-outline-light:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}
/* --- Bootstrap text colors override for dark UI --- */
body .text-muted{
  color: rgba(255,255,255,0.70) !important;
}

body .text-secondary{
  color: rgba(255,255,255,0.60) !important;
}

/* Linky v tmavých kartách nech sú čitateľné */
body a{
  color: rgba(255,255,255,0.92);
}
body a:hover{
  color: #fff;
}
/* Extra kontrast len v kartách */
.glass-card p,
.feature .small,
.t-content .text-muted{
  color: rgba(255,255,255,0.72) !important;
}

/* PROJECTS */
.project-card{
  display: block;
  height: 100%;
  text-decoration: none;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.project-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
}

.pc-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

.pc-badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(124,92,255,0.22), rgba(0,212,255,0.14));
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
}

.pc-meta{
  flex: 1;
  min-width: 0;
}

.pc-title{
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.pc-domain{
  color: rgba(255,255,255,0.60);
  font-size: 0.92rem;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-arrow{
  color: rgba(255,255,255,0.55);
}

.pc-desc{
  margin-top: 12px;
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.45;
  min-height: 70px;
}

.pc-tags{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.62);
  font-size: 0.86rem;
}
