/* ============================================================
   Vojtěch Straka — portfolio
   Apple-style light theme · liquid glass · blue accents
   ============================================================ */

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-dim: #6e6e73;
  --text-faint: #aeaeb2;
  --blue: #0071e3;
  --blue-soft: rgba(0, 113, 227, 0.1);
  --blue-border: rgba(0, 113, 227, 0.22);
  --green: #28cd41;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.07);
  --glass-shadow: 0 2px 24px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(0, 113, 227, 0.18); color: var(--text); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.16); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.28); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ============================================================
   Pozadí — minimalistické prvky / minimalist background
   ============================================================ */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

/* Jemná mřížka teček / subtle dot grid */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 1;
}

/* Jemný modrý odlesk nahoře / faint blue haze at top */
.bg::after {
  content: "";
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 95vw);
  height: 520px;
  background: radial-gradient(ellipse, rgba(0, 113, 227, 0.11) 0%, transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

/* Orby jsou skryté v light mode — nahrazeny statickými subtilními prvky */
.orb { display: none; }

/* Jemné geometrické dekorativní elementy / decorative line accents */
.bg-line {
  position: absolute;
  border-radius: 1px;
  opacity: 0.045;
  background: #1d1d1f;
  pointer-events: none;
}

/* ============================================================
   Dynamic Island — navigace
   ============================================================ */

.island {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease, top 0.4s ease;
  animation: island-in 0.9s cubic-bezier(0.32, 0.72, 0, 1) 0.15s both;
  max-width: calc(100vw - 24px);
}

@keyframes island-in {
  from { transform: translateX(-50%) scale(0.35); opacity: 0; filter: blur(8px); }
  to   { transform: translateX(-50%) scale(1); opacity: 1; filter: blur(0); }
}

.island > * { animation: island-content 0.5s ease 0.6s both; }

@keyframes island-content {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.island.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.island-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3, #5e5ce6);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 3px 12px rgba(0, 113, 227, 0.38);
  flex-shrink: 0;
}

.island-links { display: flex; gap: 2px; }

.island-link {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease;
}

.island-link:hover { color: var(--text); background: rgba(0, 0, 0, 0.05); }
.island-link.active { color: var(--text); background: rgba(0, 0, 0, 0.08); font-weight: 600; }

.lang-switch {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lang-btn {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.22s ease, background 0.22s ease;
}

.lang-btn:hover { color: var(--text); }

.lang-btn.active {
  background: var(--text);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 90px;
}

.hero-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: min(700px, 85vw);
  height: 320px;
  background: radial-gradient(closest-side, rgba(0, 113, 227, 0.12), transparent);
  filter: blur(50px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.hero-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(40, 205, 65, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(40, 205, 65, 0.5); }
  70%  { box-shadow: 0 0 0 11px rgba(40, 205, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 205, 65, 0); }
}

.hero-name {
  margin-top: 28px;
  font-size: clamp(50px, 10vw, 112px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text);
}

.hero-tagline {
  margin-top: 22px;
  max-width: 780px;
  min-height: 1.5em;
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-dim);
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 3px;
  border-radius: 2px;
  background: var(--blue);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s ease;
}

.hero-scroll:hover { color: var(--text-dim); }

.hero-scroll svg {
  width: 16px;
  height: 16px;
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

.fx { opacity: 0; animation: rise 1s var(--ease) forwards; }
.d1 { animation-delay: 0.45s; }
.d2 { animation-delay: 0.6s; }
.d3 { animation-delay: 0.8s; }
.d4 { animation-delay: 1.05s; }
.d5 { animation-delay: 1.7s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ============================================================
   Tlačítka / Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.96) !important; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 113, 227, 0.3);
}

.btn-primary:hover {
  background: #0077ed;
  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.4);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.btn-glass:hover {
  background: #fff;
  border-color: rgba(0,0,0,0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-block { width: 100%; margin-top: 26px; }

/* ============================================================
   Sekce — společné / sections shared
   ============================================================ */

.section { padding: 120px 24px; position: relative; }
.wrap { max-width: 1100px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 60px; }

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-title {
  margin-top: 10px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
}

.section-sub {
  margin: 16px auto 0;
  max-width: 580px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  font-weight: 400;
}

/* Liquid glass karta / card */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--glass-shadow);
  transition: transform 0.5s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.card { padding: 28px 30px; }

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 113, 227, 0.08);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Štítky / chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ============================================================
   O mně — kompletně přepracovaný layout / About — full redesign
   ============================================================ */

/* Velký úvodní citát / large intro quote */
.about-intro {
  max-width: 880px;
  margin: 0 auto 70px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--text-dim);
  text-align: center;
  border-left: none;
  font-style: italic;
  quotes: "\201E" "\201C";
}

.about-intro::before { content: open-quote; color: var(--blue); font-size: 1.2em; font-style: normal; }
.about-intro::after  { content: close-quote; color: var(--blue); font-size: 1.2em; font-style: normal; }

/* Hlavní dvoupanel / main two-column layout */
.about-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 72px;
}

/* Levý panel — profil / profile card */
.about-profile {
  padding: 36px 28px;
  text-align: center;
  position: sticky;
  top: 90px;
}

.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3, #5e5ce6);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 auto 18px;
  box-shadow: 0 8px 28px rgba(0, 113, 227, 0.32);
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.profile-role {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
}

.profile-divider {
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), #5e5ce6);
  margin: 18px auto;
}

.profile-facts { text-align: left; }

.profile-fact {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-fact:last-child { border-bottom: none; }

.fact-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1;
}

.fact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 3px;
}

.fact-val {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

/* Pravý panel — příběh / story blocks */
.about-story {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-block {
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.story-block:first-child { padding-top: 0; }
.story-block:last-child { border-bottom: none; }

.story-block h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 10px;
}

.story-block p {
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.7;
  color: #3a3a3c;
  font-weight: 400;
}

/* Zájmy — nadpis sekce / interests sub-heading */
.interests-head {
  text-align: center;
  margin-bottom: 36px;
}

.interests-title {
  margin-top: 8px;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* 4 karty zájmů / 4 interest cards */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}

.interest-card {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.interest-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
}

.interest-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 8px;
}

.interest-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* Statistiky / stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat {
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue);
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ============================================================
   Dovednosti / Skills
   ============================================================ */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-card { padding: 24px 22px; }

.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.tile-py   { background: linear-gradient(135deg, #306998, #4b8bbe); font-size: 17px; }
.tile-html { background: linear-gradient(135deg, #e34c26, #f06529); font-size: 14px; }
.tile-php  { background: linear-gradient(135deg, #5d61a8, #777bb3); font-size: 14px; text-transform: lowercase; }
.tile-ps   { background: linear-gradient(135deg, #001e36, #00385f); color: #31a8ff; font-size: 17px; }

.skill-pct { font-size: 13px; font-weight: 600; color: var(--text-faint); }

.skill-card h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; }

.skill-card p {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
  min-height: 3em;
}

.bar {
  margin-top: 16px;
  height: 5px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.bar-fill {
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0071e3, #5e9ef0);
  transition: width 1.4s var(--ease) 0.3s;
}

.skill-card.in-view .bar-fill { width: var(--level, 50%); }

/* ============================================================
   Projekty / Projects
   ============================================================ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eaed;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s var(--ease);
}

.project-card:hover .project-preview img { transform: scale(1.05); }

.preview-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(160deg, #e8edf5, #dde3ee);
}

.preview-fallback b { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-dim); }
.preview-fallback i { font-style: normal; font-size: 12px; color: var(--text-faint); }

.project-preview.no-img img { display: none; }
.project-preview.no-img .preview-fallback { display: flex; }

.preview-host {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-dim);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-body h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }

.project-body p {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
  flex: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.3s ease;
}

.project-link:hover { gap: 9px; }
.project-link svg { width: 14px; height: 14px; }

/* ============================================================
   Ceník / Pricing
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 880px;
  margin: 0 auto;
}

.plan { position: relative; padding: 40px 32px 32px; display: flex; flex-direction: column; }

.plan.featured {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 8px 40px rgba(0, 113, 227, 0.14), 0 1px 3px rgba(0,0,0,0.05);
}

.plan.featured:hover {
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: 0 14px 52px rgba(0, 113, 227, 0.2), 0 1px 3px rgba(0,0,0,0.05);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0071e3, #5e5ce6);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.38);
  white-space: nowrap;
}

.plan-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.plan-desc { margin-top: 7px; font-size: 14.5px; color: var(--text-dim); }

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 22px;
}

.price {
  font-size: clamp(40px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.price-old {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-faint);
  text-decoration: line-through;
}

.per { font-size: 13px; color: var(--text-dim); }

.plan-features { list-style: none; margin-top: 24px; flex: 1; }

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-features li:last-child { border-bottom: none; }

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--blue-soft);
  flex-shrink: 0;
  margin-top: 1px;
}

.check svg { width: 10px; height: 10px; color: var(--blue); }

.pricing-note {
  margin-top: 36px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-dim);
}

/* ============================================================
   Kontakt / Contact
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 28px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  color: var(--blue);
}

.contact-icon svg { width: 24px; height: 24px; }

.contact-label {
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-faint);
}

.contact-value {
  margin-top: 6px;
  font-size: clamp(15px, 2.2vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-word;
  color: var(--text);
  -webkit-user-select: all;
  user-select: all;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* ============================================================
   Patička / Footer
   ============================================================ */

.footer {
  padding: 50px 24px 40px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3, #5e5ce6);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.32);
}

.footer-tag { margin-top: 14px; font-size: 14px; color: var(--text-dim); }
.footer-copy { margin-top: 6px; font-size: 12.5px; color: var(--text-faint); }

/* ============================================================
   Responzivita / Responsive
   ============================================================ */

@media (max-width: 1020px) {
  .about-main { grid-template-columns: 1fr; }
  .about-profile { position: static; }
  .profile-facts { max-width: 440px; margin: 0 auto; }
  .interests-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 500px; }
  .plan.featured { order: -1; }
}

@media (max-width: 720px) {
  .island { top: 10px; padding: 5px; gap: 4px; }
  .island-link { padding: 7px 11px; font-size: 12.5px; }
  .island-logo { width: 30px; height: 30px; font-size: 10px; }
  .lang-btn { padding: 4px 9px; font-size: 11px; }
  .section { padding: 88px 18px; }
  .hero { padding: 128px 18px 86px; }
  .hero-tagline { min-height: 3em; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about-intro { margin-bottom: 48px; }
}

@media (max-width: 640px) {
  .interests-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: min(100%, 300px); }
  .stats { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 400px) {
  .island-logo { display: none; }
  .interests-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Omezený pohyb / Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .fx { opacity: 1; transform: none; }
  .skill-card .bar-fill { width: var(--level, 50%); }
}
