/* ============ UNIlife promo web ============ */
:root {
  --blue: #1130E8;
  --blue-deep: #0A1ED1;
  --navy: #060E4F;
  --ink: #0B1140;
  --cyan: #00E2F0;
  --purple: #8A5CFF;
  --pink: #FF7ADE;
  --magenta: #F45FFF;
  --bg: #FFFFFF;
  --bg-tint: #F4F6FF;
  --muted: #5A618C;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(11, 24, 122, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }

.grad-text {
  background: linear-gradient(92deg, var(--cyan) 0%, #4D8DFF 35%, var(--purple) 68%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text--warm {
  background: linear-gradient(92deg, var(--cyan), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .5em 1.1em; border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .16);
  color: #fff; backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25);
}
.pill--soft { background: #EDF0FF; color: var(--blue); border-color: transparent; }
.pill--light { background: rgba(255, 255, 255, .12); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: .95em 1.9em; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue) 10%, var(--purple) 90%);
  box-shadow: 0 12px 28px -10px rgba(17, 48, 232, .55);
}
.btn--primary:hover { box-shadow: 0 18px 34px -10px rgba(17, 48, 232, .65); }
.btn--white { background: #fff; color: var(--blue); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); }
.btn--sm { padding: .7em 1.4em; font-size: .92rem; }

/* store badges */
.stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.stores--center { justify-content: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 11px 22px 12px 16px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 14px 30px -14px rgba(6, 14, 79, .55);
}
.store-btn:hover { transform: translateY(-3px) scale(1.02); background: #151d5e; }
.store-btn__icon { width: 30px; height: 30px; flex: 0 0 auto; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.05rem; }
.store-btn span small { font-weight: 500; font-size: .68rem; opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.store-btn--light { background: #fff; color: var(--ink); border-color: transparent; }
.store-btn--light:hover { background: #f2f4ff; }

/* ---------- navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(11, 17, 64, .35);
}
.nav__inner { display: flex; align-items: center; gap: 34px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.nav__brand em { font-style: normal; font-weight: 500; opacity: .85; }
.nav.is-scrolled .nav__brand { color: var(--ink); }
.nav__logo { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .95rem; transition: color .2s ease; }
.nav__links a:hover { color: #fff; }
.nav.is-scrolled .nav__links a { color: var(--muted); }
.nav.is-scrolled .nav__links a:hover { color: var(--blue); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 24px; height: 2.5px; border-radius: 2px; background: #fff; transition: background .3s; }
.nav.is-scrolled .nav__burger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 700px at 85% -10%, #2B1DA8 0%, transparent 55%),
    linear-gradient(160deg, #0A1ED1 0%, var(--blue) 45%, #2417B8 100%);
  color: #fff;
  padding: 160px 0 140px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.blob--cyan  { width: 560px; height: 560px; left: -180px; top: -160px; background: radial-gradient(circle at 35% 35%, var(--cyan), rgba(0, 226, 240, 0)); animation: drift 13s ease-in-out infinite alternate; }
.blob--pink  { width: 520px; height: 520px; right: -140px; bottom: -180px; background: radial-gradient(circle at 60% 40%, var(--pink), rgba(255, 122, 222, 0)); animation: drift 16s ease-in-out infinite alternate-reverse; }
.blob--purple{ width: 420px; height: 420px; left: 42%; top: 55%; background: radial-gradient(circle at 50% 50%, rgba(138, 92, 255, .8), rgba(138, 92, 255, 0)); animation: drift 19s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}

.dots {
  position: absolute; width: 300px; height: 220px; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .8) 2.5px, transparent 2.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.dots--tr { top: 90px; right: 4%; }
.dots--bl { bottom: 60px; left: 3%; opacity: .2; }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero__sub { margin-top: 22px; font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 34em; }
.hero h1 { margin-top: 18px; }

.hero__meta { display: flex; align-items: center; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
.hero__meta-item { display: flex; flex-direction: column; line-height: 1.3; }
.hero__meta-item strong { font-size: 1.05rem; }
.hero__meta-item span { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.hero__meta-sep { width: 1px; height: 34px; background: rgba(255, 255, 255, .25); }

/* phone */
.hero__visual { display: flex; justify-content: center; }
.phone-wrap { position: relative; will-change: transform; }
.phone {
  position: relative; width: 300px; border-radius: 44px;
  background: #0d1230; padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .08),
    0 50px 100px -30px rgba(3, 8, 60, .8);
  overflow: hidden;
}
.phone img { border-radius: 34px; width: 100%; }
.phone__notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 999px; background: #0d1230; z-index: 3;
}
.phone--hero { animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-16px) rotate(-.5deg); }
}
.phone-glow {
  position: absolute; inset: 10% -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 226, 240, .35), rgba(244, 95, 255, .18), transparent);
  filter: blur(30px);
}

.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  border-radius: 16px; padding: 10px 14px;
  font-size: .78rem; line-height: 1.3;
  box-shadow: 0 20px 40px -18px rgba(3, 8, 60, .55);
  backdrop-filter: blur(6px);
  animation: cardFloat 5s ease-in-out infinite;
}
.float-card--ticket { top: 16%; left: -110px; animation-delay: .8s; }
.float-card--discount { bottom: 14%; right: -96px; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 3; }
.hero__wave svg { width: 100%; height: 90px; }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tint { background: var(--bg-tint); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section__head h2 { margin-top: 16px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid #E7EAFB; border-radius: var(--radius);
  padding: 36px 30px; transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__icon {
  width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; }
.card__icon--blue { background: #E9EDFF; color: var(--blue); }
.card__icon--pink { background: #FFE9F8; color: #E840B9; }
.card__icon--cyan { background: #DFFBFD; color: #00A9B8; }
.card p { margin-top: 10px; color: var(--muted); font-size: .97rem; }

/* ---------- ČSOB dark section ---------- */
.section--dark {
  background:
    radial-gradient(900px 500px at 110% 10%, rgba(244, 95, 255, .25), transparent 60%),
    radial-gradient(700px 500px at -10% 90%, rgba(0, 226, 240, .18), transparent 60%),
    linear-gradient(150deg, #071059 0%, #0A1ED1 55%, #1B0F8F 100%);
  color: #fff; overflow: hidden;
}
.dots--csob { top: 60px; left: 6%; opacity: .18; }
.csob { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.csob__copy h2 { margin-top: 16px; }
.csob__copy > p { margin-top: 18px; color: rgba(255, 255, 255, .82); max-width: 36em; }

.phone--tilt {
  width: 320px; margin-inline: auto; padding: 0; background: none; border-radius: 34px;
  box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .7);
  transform: rotate(-5deg);
  transition: transform .6s ease;
}
.phone--tilt img { border-radius: 34px; }
.phone--tilt:hover { transform: rotate(-2deg) scale(1.02); }

.steps { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps__num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 226, 240, .6);
}
.steps strong { font-size: 1.05rem; }
.steps p { color: rgba(255, 255, 255, .75); font-size: .93rem; margin-top: 2px; }
.section--dark .btn { margin-top: 38px; }

/* ---------- how (ověření studenta) ---------- */
.how { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how__line {
  position: absolute; top: 29px; left: 8%; right: 8%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple), var(--pink));
  opacity: .35;
}
.how__step {
  position: relative; text-align: center; padding: 0 8px;
}
.how__num {
  position: relative; z-index: 2;
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 30px -12px rgba(17, 48, 232, .6), 0 0 0 8px #fff;
}
.how__step h3 { font-size: 1.05rem; }
.how__step p { margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* ---------- gallery ---------- */
.gallery {
  display: flex; gap: 28px; padding: 10px 6vw 30px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 auto; width: 270px; scroll-snap-align: center;
  border-radius: 30px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(11, 17, 64, .45);
  transition: transform .4s ease;
}
.gallery__item:hover { transform: translateY(-10px) scale(1.02); }

/* ---------- CTA ---------- */
.cta { padding-bottom: 130px; }
.cta__box {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 36px; padding: 90px 40px;
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(0, 226, 240, .35), transparent 55%),
    radial-gradient(700px 420px at 90% 100%, rgba(255, 122, 222, .4), transparent 55%),
    linear-gradient(140deg, #0A1ED1, #1130E8 55%, #4A18C8);
  color: #fff;
  box-shadow: 0 50px 110px -40px rgba(10, 30, 209, .55);
}
.cta__icon { width: 84px; margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5); }
.cta__box p { margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.dots--cta { top: 40px; right: 8%; opacity: .25; }
.blob--cta1 { width: 380px; height: 380px; left: -120px; top: -120px; background: radial-gradient(circle, rgba(0, 226, 240, .55), transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.blob--cta2 { width: 380px; height: 380px; right: -120px; bottom: -140px; background: radial-gradient(circle, rgba(244, 95, 255, .5), transparent 70%); animation: drift 17s ease-in-out infinite alternate-reverse; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 46px 0; }
.footer__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.footer__links a { color: rgba(255, 255, 255, .75); font-size: .92rem; font-weight: 600; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__copy { width: 100%; margin-top: 18px; font-size: .82rem; color: rgba(255, 255, 255, .45); }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone--hero, .float-card, .blob { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__visual { margin-top: 70px; }
  .csob { grid-template-columns: 1fr; gap: 50px; }
  .csob__visual { order: 2; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .how { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .how__line { display: none; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 0;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -20px rgba(11, 17, 64, .3);
  }
  .nav__links.open a { color: var(--ink) !important; padding: 13px 6vw; }
  .hero { padding: 130px 0 110px; }
  .float-card--ticket { left: -18px; top: 6%; }
  .float-card--discount { right: -14px; }
  .how { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .cta__box { padding: 64px 22px; border-radius: 26px; }
  .store-btn { width: 100%; justify-content: center; }
  .stores { width: 100%; }
}
