:root{
  --bg:#0b1020;
  --bg-soft:#0f1530;
  --card:#111936;
  --muted:#9aa3b2;
  --text:#ecf0f6;
  --brand:#7c3aed;
  --brand-2:#22c55e;
  --accent:#f59e0b;
  --danger:#ef4444;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.35)
}

*{
  box-sizing:border-box
}

html,body{
  margin:0;
  height:100%
}

body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:radial-gradient(1200px 600px at 80% -10%,rgba(124,58,237,.15),transparent),var(--bg);
  color:var(--text);
  line-height:1.5
}

a{
  color:inherit
}

.container{
  max-width:1080px;
  margin:0 auto;
  padding:24px
}

header{
  position:sticky;
  top:0;
  backdrop-filter:saturate(180%) blur(10px);
  background:linear-gradient(180deg,rgba(11,16,32,.9),rgba(11,16,32,.6));
  z-index:40;
  border-bottom:1px solid rgba(255,255,255,.06)
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700
}

.brand .dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%,#fff, var(--brand));
  box-shadow:0 0 16px var(--brand)
}

.cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,var(--brand),#4f46e5);
  border:none;
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-weight:600;
  box-shadow:0 8px 20px rgba(79,70,229,.35);
  cursor:pointer;
  text-decoration:none
}

.cta:hover{
  transform:translateY(-1px)
}

.hero{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:28px;
  align-items:stretch;
  padding:28px 0
}

.hero-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}

.hero-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

.hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.6))
}

.hero-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:rgba(34,197,94,.18);
  color:#d1fae5;
  padding:8px 12px;
  border-radius:999px;
  font-weight:600;
  font-size:.9rem;
  backdrop-filter:blur(6px);
  border:1px solid rgba(34,197,94,.4);
  z-index:2
}

.hero-price{
  position:absolute;
  bottom:14px;
  left:14px;
  background:rgba(15,23,42,.85);
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  z-index:2
}

.hero-price strong{
  font-size:1.1rem
}

.product{
  background:linear-gradient(180deg,rgba(255,255,255,.03),transparent);
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);
  padding:20px
}

.product h1{
  font-size:clamp(26px,4vw,40px);
  margin:8px 0 6px
}

.rating{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fde68a
}

.muted{
  color:var(--muted)
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px
}

.chip{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  padding:8px 10px;
  border-radius:999px;
  font-weight:600;
  font-size:.9rem
}

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:14px
}

.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow)
}

.card h3{
  margin:0 0 8px
}

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

.amenities li{
  list-style:none;
  display:flex;
  align-items:center;
  gap:10px;
  word-wrap:break-word;
  overflow-wrap:break-word;
  hyphens:auto
}

.amenities span{
  font-size:1.25rem;
  flex-shrink:0
}

.sticky-cta{
  position:sticky;
  bottom:8px;
  display:flex;
  justify-content:flex-end;
  z-index:30;
  margin-top:10px
}

/* Form */
#form{
  scroll-margin-top:100px
}

form{
  background:linear-gradient(180deg,var(--bg-soft),#0b0f22);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow)
}

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

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

label{
  font-weight:600;
  margin-bottom:6px;
  display:block
}

input,select,textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  background:#0a0f20;
  border:1px solid rgba(255,255,255,.12);
  color:var(--text)
}

input::placeholder,textarea::placeholder{
  color:#8a93a3
}

/* Checkbox štýly pre doplnky */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.checkbox-group .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 10px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.checkbox-group .checkbox-label:hover {
  background: rgba(124,58,237,.1);
  border-color: var(--brand);
}

.checkbox-group .checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 1.5px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-group .checkbox-label input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}

.checkbox-group .checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10px;
  font-weight: bold;
}

.checkbox-group .checkbox-label span {
  font-size: 16px;
  color: var(--text);
}

.help{
  font-size:.9rem;
  color:var(--muted)
}

.submit{
  display:flex;
  align-items:center;
  gap:10px
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer
}

.btn-primary{
  background:linear-gradient(135deg,var(--brand),#4f46e5);
  color:#fff;
  font-weight:700
}

.btn-muted{
  background:rgba(255,255,255,.06);
  color:var(--text)
}

/* GDPR container rozšírený na celý container */
.gdpr-container {
  margin: 20px -20px 0 -20px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

.gdpr-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  width: 100%;
}

.gdpr-label input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 6px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gdpr-label input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}

.gdpr-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.gdpr-label span {
  flex: 1;
  line-height: 1.4;
}

.legal{
  font-size:.85rem;
  color:var(--muted);
  text-align:center;
  margin-top:20px;
  padding:16px 0;
  border-top:1px solid rgba(255,255,255,.08);
  width:100%;
  max-width:100%;
}

.notice{
  background:rgba(245,158,11,.12);
  border:1px solid rgba(245,158,11,.4);
  color:#fde68a;
  padding:10px 12px;
  border-radius:12px
}

footer{
  color:var(--muted);
  padding:40px 0
}

@media (max-width: 900px){
  .hero{
    grid-template-columns:1fr
  }
  .grid{
    grid-template-columns:1fr
  }
  .form-row,.form-row-3{
    grid-template-columns:1fr
  }
  .sticky-cta{
    justify-content:center
  }
}

@media (max-width: 600px){
  .amenities{
    grid-template-columns:1fr
  }
}

/* --- Mobile preview simulator --- */
.sim-toolbar{
  position:fixed;
  inset:auto 16px 16px auto;
  z-index:9999;
  display:flex;
  gap:8px
}

.sim-toolbar button{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  padding:8px 12px;
  border-radius:10px;
  color:var(--text);
  cursor:pointer;
  font-weight:600
}

.sim-toolbar button:hover{
  background:rgba(255,255,255,.12)
}

html.mobile-sim body{
  max-width:390px;
  margin:20px auto;
  border:12px solid #0a0f20;
  border-radius:32px;
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  overflow:hidden
}

html.mobile-sim header{
  position:sticky
}

html.mobile-sim .hero{
  grid-template-columns:1fr !important
}

html.mobile-sim .grid{
  grid-template-columns:1fr !important
}

html.mobile-sim .form-row, html.mobile-sim .form-row-3{
  grid-template-columns:1fr !important
}

html.mobile-sim .sticky-cta{
  justify-content:center !important
}

html.mobile-sim .container{
  padding:18px
}
