/* ============================================================
   CASSIS — Aktuální verze (pixel-art styl)
   Font sizes: cassis_contrast_fix reference
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #0D0B0E;
  --cream:  #FAF7F2;
  --cassis: #7C1F6B;
  --cp:     #B03A99;
  --cpale:  #F5E8F2;
  --sand:   #F0EBE0;
  --border: rgba(0,0,0,0.11);
  --sans:   'DM Sans', sans-serif;
  --mono:   'DM Mono', monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.6; }
.mt  { margin-top: 16px; }

/* ---------- NAV ---------- */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; background: var(--ink);
  position: sticky; top: 0; z-index: 100;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-gem  { image-rendering: pixelated; flex-shrink: 0; }
.logo-word { font-family: var(--mono); font-size: 14px; font-weight: 500; color: #fff; letter-spacing: 2px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color .2s; }
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-cta {
  padding: 9px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px;
  color: #fff; background: transparent; cursor: pointer; transition: all .2s;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.nav-cta:hover { border-color: var(--cp); background: rgba(176,58,153,.1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: all .25s; }

/* ---------- HERO ---------- */
.hero { background: var(--ink); padding: 80px 48px 0; overflow: hidden; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--cp);
  letter-spacing: 1.5px; margin-bottom: 36px;
}
.blink { display: inline-block; width: 8px; height: 8px; background: var(--cp); animation: blink 1.1s step-end infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-h1 {
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 300; line-height: 1.05; letter-spacing: -2px;
  color: #fff; max-width: 750px; margin-bottom: 28px;
}
.hero-h1 em { color: transparent; -webkit-text-stroke: 1px var(--cp); font-style: normal; font-weight: 300; }

.hero-intro { font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 520px; margin-bottom: 40px; }
.hero-intro strong { color: rgba(255,255,255,.9); font-weight: 400; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-fill {
  padding: 14px 28px; background: var(--cp); color: #fff; border: none;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px;
  cursor: pointer; transition: opacity .2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-fill:hover { opacity: .85; }

.btn-ghost {
  padding: 14px 24px; background: transparent; color: rgba(255,255,255,.8);
  border: 2px solid rgba(255,255,255,.3);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px;
  cursor: pointer; transition: all .2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.6); }

.founders-strip { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 28px 0; display: flex; align-items: center; gap: 20px; }
.founders-avatars { display: flex; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; font-weight: 500; margin-left: -8px; }
.avatar:first-child { margin-left: 0; }
.av1 { background: #3D1635; color: #CC77BB; }
.av2 { background: #1A2840; color: #6B9BD4; }
.founders-text { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.5; }
.founders-text strong { color: rgba(255,255,255,.85); font-weight: 400; }

/* ---------- TAPE ---------- */
.tape { background: var(--cp); padding: 14px 0; overflow: hidden; white-space: nowrap; position: relative; }
.tape::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,.08) 3px,rgba(0,0,0,.08) 4px); pointer-events: none; }
.tape-inner { display: inline-flex; animation: scroll 22s linear infinite; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@media (prefers-reduced-motion: reduce) { .tape-inner { animation: none; } }

.tape-item { font-family: var(--mono); font-size: 11px; font-weight: 500; color: #fff; padding: 0 28px; letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 16px; }
.tape-dot  { width: 4px; height: 4px; background: rgba(255,255,255,.5); flex-shrink: 0; }

/* ---------- PIXEL DIVIDER ---------- */
.pixel-divider { height: 4px; background: repeating-linear-gradient(90deg,var(--cp) 0,var(--cp) 8px,transparent 8px,transparent 12px); opacity: .35; }

/* ---------- SHARED ---------- */
.section-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }

.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--cassis); margin-bottom: 20px; }

h2 { font-size: 34px; font-weight: 300; line-height: 1.15; letter-spacing: -.8px; color: var(--ink); margin-bottom: 16px; }

.body-text { font-size: 16px; font-weight: 300; line-height: 1.75; color: #4a4a4a; }

/* ---------- ABOUT ---------- */
.about-left  { padding: 72px 48px; border-right: 1px solid var(--border); }
.about-right { padding: 72px 48px; display: flex; flex-direction: column; justify-content: space-between; }

.honest-box { background: var(--cpale); padding: 20px 24px; margin-top: 28px; }
.honest-box p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--cassis); }
.honest-box p strong { font-weight: 500; }

.why-list { list-style: none; margin-top: 4px; }
.why-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.why-item:first-child { border-top: 1px solid var(--border); }
.why-num  { font-family: var(--mono); font-size: 10px; color: var(--cp); letter-spacing: 1px; flex-shrink: 0; padding-top: 2px; }
.why-text { font-size: 16px; font-weight: 300; color: #3a3a3a; line-height: 1.6; }
.why-text strong { font-weight: 500; color: var(--ink); }

/* ---------- SERVICES ---------- */
.services { padding: 72px 48px; border-bottom: 1px solid var(--border); }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--border); margin-top: 40px; overflow: hidden; }
.svc-card { padding: 32px; background: #fff; transition: background .2s; position: relative; }
.svc-card::after { content: ''; position: absolute; top: 0; right: 0; width: 6px; height: 6px; background: var(--cp); opacity: .25; transition: opacity .2s; }
.svc-card:hover { background: var(--cpale); }
.svc-card:hover::after { opacity: .7; }

.svc-title { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 10px; letter-spacing: -.2px; }
.svc-desc  { font-size: 14px; font-weight: 300; color: #666; line-height: 1.65; }
.svc-price { display: block; font-family: var(--mono); font-size: 10px; color: var(--cp); letter-spacing: 1px; margin-top: 16px; }

/* ---------- PROCESS ---------- */
.process { border-bottom: 1px solid var(--border); }
.process-left  { padding: 72px 48px; border-right: 1px solid var(--border); }
.process-right { padding: 72px 48px; }

.steps { list-style: none; }
.step  { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step:first-child { border-top: 1px solid var(--border); }
.step-num   { font-family: var(--mono); font-size: 10px; color: var(--cp); letter-spacing: 1px; flex-shrink: 0; padding-top: 2px; }
.step-title { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 6px; letter-spacing: -.2px; }
.step-desc  { font-size: 14px; font-weight: 300; color: #555; line-height: 1.65; }

/* ---------- OFFER ---------- */
.offer { padding: 72px 48px; background: var(--ink); }
.offer-kicker { color: rgba(176,58,153,.9); }
.offer-h { font-size: 32px; font-weight: 300; color: #fff; letter-spacing: -.5px; margin-bottom: 10px; }
.offer-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 500px; margin-bottom: 36px; }

.offer-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.offer-card  { padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.07); }
.offer-card:last-child { border-right: none; }
.offer-percent { font-family: var(--mono); font-size: 24px; font-weight: 500; color: #fff; letter-spacing: -.5px; margin-bottom: 6px; }
.offer-name    { font-size: 16px; font-weight: 400; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.offer-desc    { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.65; }
.offer-tag     { display: block; font-family: var(--mono); font-size: 10px; color: var(--cp); letter-spacing: 1px; margin-top: 16px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--cp); padding: 72px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent,transparent 7px,rgba(0,0,0,.04) 7px,rgba(0,0,0,.04) 8px); pointer-events: none; }
.cta h2 { color: #fff; font-size: 40px; letter-spacing: -1px; margin-bottom: 8px; }
.cta p  { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.82); line-height: 1.65; max-width: 420px; }

.cta-right  { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; position: relative; z-index: 1; }
.contact-line { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.85); letter-spacing: .5px; }

.btn-white {
  padding: 16px 32px; background: #fff; color: var(--cassis); border: none;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px;
  cursor: pointer; transition: opacity .2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  position: relative; z-index: 1;
}
.btn-white:hover { opacity: .9; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-logo-word { color: rgba(255,255,255,.5); }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: rgba(255,255,255,.85); }
.foot-copy { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.25); letter-spacing: 1px; }

/* ---------- CONTACT FORM ---------- */
.contact-form-section {
  background: var(--sand);
  padding: 72px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cf-inner { max-width: 820px; margin: 0 auto; }
.cf-header { margin-bottom: 40px; }
.cf-header h2 { margin-bottom: 10px; }
.cf-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field-full { width: 100%; }

.cf-field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px;
  color: var(--cassis); text-transform: uppercase;
}
.cf-req { color: var(--cp); }
.cf-opt { color: #999; font-size: 9px; letter-spacing: 1px; }

.cf-field input,
.cf-field select,
.cf-field textarea {
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 2px solid transparent;
  padding: 13px 16px;
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
.cf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237C1F6B'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--border);
  border-bottom-color: var(--cp);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: #bbb; }
.cf-field textarea { resize: vertical; min-height: 130px; }
.cf-field input.cf-invalid,
.cf-field textarea.cf-invalid { border-bottom-color: #e05050; }

.cf-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-top: 4px;
}
.cf-privacy { font-size: 12px; font-weight: 300; color: #999; line-height: 1.5; max-width: 420px; }
.cf-submit { padding: 16px 36px; font-size: 11px; }
.cf-submit:disabled { opacity: .6; cursor: not-allowed; }

.cf-success {
  display: flex; align-items: center; gap: 16px;
  background: #e8f5e9; border-left: 3px solid #4caf50;
  padding: 18px 20px; margin-top: 4px;
}
.cf-success-icon { font-size: 20px; color: #4caf50; }
.cf-success strong { font-size: 15px; font-weight: 500; color: #2e7d32; }
.cf-success p { font-size: 14px; font-weight: 300; color: #388e3c; margin-top: 2px; }

.cf-error {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fdecea; border-left: 3px solid #e05050;
  padding: 16px 20px; margin-top: 4px;
  font-size: 14px; font-weight: 300; color: #c62828; line-height: 1.6;
}
.cf-error strong { font-weight: 500; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .section-row  { grid-template-columns: 1fr; }
  .about-left   { border-right: none; border-bottom: 1px solid var(--border); }
  .process-left { border-right: none; border-bottom: 1px solid var(--border); }
  .svc-grid     { grid-template-columns: 1fr; }
  .offer-cards  { grid-template-columns: 1fr; }
  .offer-card   { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .cta          { flex-direction: column; align-items: flex-start; }
  .cta-right    { align-items: flex-start; }
  footer        { flex-direction: column; align-items: flex-start; }
  .cf-row       { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav        { padding: 16px 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 20px 0; }
  .hero-h1 { font-size: 36px; }
  .about-left, .about-right, .process-left, .process-right, .services, .offer, .cta { padding: 40px 20px; }
  .contact-form-section { padding: 40px 20px; }
  footer { padding: 28px 20px; }
  .cf-footer { flex-direction: column; align-items: stretch; }
  .cf-submit { width: 100%; text-align: center; }
}
