:root {
  --bg: #020617;
  --body-bg: radial-gradient(circle at top,#111633,#050816);
  --surface: rgba(255,255,255,0.05);
  --surface-strong: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.12);

  --text: #e2e8f0;
  --muted: #94a3b8;

  --primary: #3b82f6;
  --secondary: #8b5cf6;

  --radius: 16px;
  --radius-sm: 12px;

  --shadow: 0 10px 30px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.6);

  --transition: .25s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin:0;
  background:var(--body-bg);
  color:var(--text);
  overflow-x:hidden;
}

nav{
  position:fixed;
  width:100%;
  top:0;
  background:rgba(10,15,30,0.7);
  backdrop-filter:blur(10px);
  padding:15px 30px;
  display:flex;
  justify-content:space-between;
  z-index:1000;
}

.navbar {
    position: fixed;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(2,6,23,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

nav a, footer p > a{color:white;text-decoration:none;margin-left:20px}

.container{max-width:1200px;margin:auto;padding:20px}

header{
  padding:140px 20px 100px;
  text-align:center;
}

h1, h2, h3 {
    color: #ffffff;
}

p {
    color: var(--muted)
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

section {
    padding: 80px 20px;
}

#top-contact {
  background:linear-gradient(90deg,#4f9fff,#9f6bff);
  color:white;
  text-decoration: none;
}

.btn{
  display:inline-block;
  padding:14px 28px;
  margin-top:25px;
  background:linear-gradient(90deg,#4f9fff,#9f6bff);
  border-radius:10px;
  text-decoration:none;
  color:white;
  transition:0.3s;
  cursor:pointer;
}

.btn:hover{transform:scale(1.05)}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 10px 30px rgba(59,130,246,0.4);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59,130,246,0.5);
}

.section{padding:100px 20px}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.service-detail {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.nav-pills .nav-link {
    background: rgba(255,255,255,0.08);
    margin: 0 10px;
    border-radius: 12px;
    color: #fff;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/*.service-detail {
    margin-top: 40px;
    padding: 30px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 120px;
    transition: all 0.3s ease;
}*/

.service-btn {
    cursor: pointer;
    transition: 0.2s;
}

.service-btn:hover {
    transform: translateY(-5px);
}

.service-btn.active {
    border: 1px solid #8b5cf6;
}

.card {
    background: #1e293b;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 25px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    box-shadow: 0 20px 60px rgba(99,102,241,0.3);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.fade{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

.fade.visible{
  opacity:1;
  transform:translateY(0);
}

.highlight{
  color:#4f9fff;
  font-weight:600;
}

footer{
  text-align:center;
  padding:60px;
  color:#777;
}

.hero {
    position: relative;
    overflow: hidden;
    /*padding: 140px 20px 120px;*/
}

.hero {
    /*padding: 160px 20px 140px;*/
    text-align: center;
    background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.2), transparent),
                radial-gradient(circle at 70% 80%, rgba(139,92,246,0.2), transparent),
                #020617;
}

.hero::before {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;

    /* jemnější gradient */
    background: linear-gradient(90deg, #93c5fd, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab {
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.tab:hover {
  transform: translateY(-3px);
}

.tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fade .3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px);}
  to { opacity: 1; transform: translateY(0);}
}

/* ACCORDION */
.accordion {
  margin-top: 20px;
}

.acc-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.acc-header {
  width: 100%;
  background: none;
  border: none;
  color: white;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  padding: 0 18px;
}

.acc-item.active .acc-body {
  max-height: 200px;
  padding: 10px 18px 20px;
}

.acc-icon {
  transition: 0.3s;
}

.acc-item.active .acc-icon {
  transform: rotate(45deg);
}

.contact-box {
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #94a3b8;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
}

.alert-success {
    background: #22c55e;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.form select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: #1e2235;
  color: #fff;
  border: 1px solid #2e3350;
}

.form select:focus {
  outline: none;
  border-color: #6c63ff;
}

/**********************************************************************/
/**********************************************************************/
/* custom select */
/**********************************************************************/
/**********************************************************************/
.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.custom-select:focus-within .custom-select__trigger {
  border-color: #6c63ff;
}

.custom-select__trigger {
  padding: 14px 16px;
  border-radius: 12px;
  background: #1e2235;
  border: 1px solid #2e3350;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  cursor: pointer;
}

.custom-select__trigger span {
  color: #aaa;
}

.custom-select.has-value .custom-select__trigger span {
  color: #fff;
}

.custom-select__trigger:hover {
  border-color: #6c63ff;
  background: #22263d;
}

.custom-select.open .custom-select__trigger {
  border-color: #6c63ff;
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.25);
}

.custom-options {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #1e2235;
  border-radius: 12px;
  border: 1px solid #2e3350;
  display: none;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s ease;
  margin-top: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  max-height: 220px;
  overflow-y: auto;
}

.custom-options::-webkit-scrollbar {
  width: 6px;
}

.custom-options::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

.custom-select.open .custom-options {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.custom-option {
  padding: 12px 16px;
  transition: 0.2s;
}

.custom-option.hovered {
  background: rgba(108, 99, 255, 0.1);
}

.custom-option:hover {
  background: rgba(108, 99, 255, 0.15);
}

.custom-option.selected {
  background: linear-gradient(90deg, #4facfe, #8e44ad);
  color: #fff;
  font-weight: 500;
}

.custom-option:not(.selected):hover {
  background: rgba(108, 99, 255, 0.15);
}

.arrow {
  width: 10px;
  height: 10px;
  border-left: 2px solid #aaa;
  border-bottom: 2px solid #aaa;
  transform: rotate(-45deg);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}

.custom-select.open .arrow {
  transform: rotate(135deg);
}

.hidden-select {
  display: none;
}