/* ===============================
   IronYou – cleaned CSS
   (deduped, fixed hero layout after removing video)
================================= */

/* ===== CSS variables (easy tweaks) ===== */
:root{
  --bg: #0b0f16;
  --bg2: rgba(5,8,15,.95);
  --panel: rgba(10,14,24,.85);
  --panel2: rgba(11,15,24,.92);

  --accentA: #7a6dff;
  --accentB: #3fb8ff;
  --cyan: #00eaff;

  --text: #ffffff;
  --textSoft: rgba(255,255,255,.90);
  --textMuted: rgba(255,255,255,.75);
  --borderSoft: rgba(255,255,255,.10);
  --border: rgba(255,255,255,.14);
}

/* ===== Scrollbar ===== */
html{
  scrollbar-width: thin;
  scrollbar-color: #3fb8ff #0b0f16;
  scroll-behavior: smooth;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, var(--accentA), var(--accentB));
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(120,97,255,.35);
}
::-webkit-scrollbar-thumb:hover{ filter: brightness(1.15); }

/* ===== Fonts / base ===== */
@font-face{
  font-family: 'texts';
  src: url('Roboto_Slab/RobotoSlab-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 800;
  font-style: normal;
}

*,
*::before,
*::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "texts", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(120, 97, 255, 0.25), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(0, 183, 255, 0.20), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
  background-size: cover;
  background-attachment: fixed;

  animation: cyberPulse 12s ease-in-out infinite;
}

@keyframes cyberPulse{
  0%, 100%{ filter: brightness(1); }
  50%{ filter: brightness(1.08); }
}

a{
  color: inherit;
  text-decoration: none;
}

/* On mobile, fixed backgrounds can stutter */
@media (max-width: 900px){
  body{ background-attachment: scroll; }
}

/* ===== Layout ===== */
.main-container{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px;
}

.section{
  padding: 30px 0;
}

.section-dark{
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(120,97,255,.14), transparent 60%),
    radial-gradient(800px 400px at 90% 100%, rgba(0,183,255,.16), transparent 60%),
    rgba(5,8,15,0.9);
}

/* ===== Typography helpers ===== */
.section-title{
  font-size: 32px;
  margin-bottom: 14px;
  text-align: center;
}

.section-lead,
.section-sub{
  font-size: 18px;
  opacity: .9;
  max-width: 700px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-lead{ margin-top: 4px; }

/* ===== Buttons ===== */
.btn-ghost,
.btn-solid,
.btn-outline{
  font-family: "texts";
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;

  padding: 14px 20px;
  border-radius: 12px;
  cursor: pointer;

  transition: transform .15s ease, box-shadow .25s ease,
              background .25s ease, border-color .25s ease, color .25s ease;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}

.btn-ghost{
  color: #eaf0ff;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
}
.btn-ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

.btn-solid{
  color: #0a0e16;
  background: linear-gradient(90deg, var(--accentA), var(--accentB));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 20px rgba(120, 97, 255, .28);
}
.btn-solid:hover{
  transform: translateY(-1px) scale(1.02);
}

.btn-outline{
  color: #bcd7ff;
  border: 1px solid rgba(140,160,255,.35);
  background: transparent;
}
.btn-outline:hover{
  border-color: rgba(190,210,255,.85);
  color: #eaf0ff;
}

/* ===============================
   HERO (video removed → single column)
================================= */
.hero{
  min-height: 80vh;
  padding: 90px 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr; /* IMPORTANT: no second column now */
  gap: 0;
  align-items: center;
}

.hero-inner{
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow{
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: 16px;
  opacity: .75;
}

.hero-title{
  font-size: clamp(52px, 6vw, 64px);
  margin-top: 10px;
  margin-bottom: 8px;
}

.hero-subtitle{
  width: auto;
  margin: 0;
  font-size: 18px;
  opacity: .9;
  line-height: 1.55;
}

.hero-question{
  margin-top: 10px;
  opacity: .85;
}

.hero-buttons{
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}

.hero-note{
  margin-top: 14px;
  opacity: .75;
  font-size: 14px;
}

/* Mobile tweaks */
@media (max-width: 900px){
  .hero{ padding: 60px 0 40px; }
  .hero-buttons{ flex-direction: column; gap: 10px; align-items: flex-start; }
  /* You had these hidden on mobile — keeping it */
  .hero-subtitle,
  .hero-note{ display: none; }
}

/* ===== Cards (How it works / Why) ===== */
.cards-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card{
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(60,35,155,.22), rgba(7,38,82,.22));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 10px 26px rgba(0,0,0,.45),
    0 0 20px rgba(120,97,255,.18);
}

.card-title{
  font-size: 20px;
  margin-bottom: 8px;
}

.card-text{
  font-size: 15px;
  opacity: .9;
}

/* default = PC */
.pc-text{ display: block; }
.mobile-text{ display: none; }

/* mobile */
@media (max-width: 600px){
  .pc-text{ display: none; }
  .mobile-text{ display: block; }
}

/* ===== Early access ===== */
.early-access{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  align-items: center;
}

.early-benefits{
  padding-left: 18px;
  margin: 12px 0 0;
  list-style-position: outside;
}
.early-benefits li{ margin: 8px 0; }

.early-form{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 8px 26px rgba(0,0,0,.45);
}

.early-label{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200,215,255,.8);
}

.early-input{
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  padding: 11px 12px;
  font-size: 15px;
  color: #eaf0ff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.early-input::placeholder{
  color: rgba(210,220,255,.7);
}

.early-input:focus{
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0,234,255,.35);
  background: rgba(8,16,26,.95);
}

.early-btn{
  margin-top: 4px;
  width: 100%;
}

/* ===============================
   TRY IRONYOU – DEMO
================================= */
.section-block{
  max-width: 1100px;
  margin: 120px auto 0;
  padding: 72px 24px 80px;
}

.demo-card{
  padding: 24px 24px 28px;
  border-radius: 20px;
  background:
    radial-gradient(650px 320px at 10% 0%, rgba(120,97,255,.25), transparent 60%),
    radial-gradient(700px 280px at 90% 100%, rgba(0,183,255,.18), transparent 65%),
    var(--panel2);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(0,0,0,.65);
  position: relative;
  overflow: hidden;

  width: 100%;
  max-width: 860px;
  margin: 32px auto 0;
}

.demo-view{
  display: none;
  animation: fadeSlide .3s ease;
}
.demo-view.active{ display: block; }

@keyframes fadeSlide{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

.demo-step-label{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 4px;
}

.demo-title{
  font-size: 24px;
  margin-bottom: 6px;
}

.demo-helper{
  opacity: .85;
  margin-bottom: 18px;
}

/* Step 1 */
.demo-exercise-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-ex-btn{
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #eaf0ff;
  font-size: 16px;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.demo-ex-btn:hover{
  transform: translateY(-2px);
  border-color: var(--accentB);
  background: rgba(63,184,255,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.55);
}

/* Step 2 */
.demo-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.demo-inputs-column{ max-width: 480px; }

.demo-input-row{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.demo-input-row label{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}

.demo-input-row input{
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: #eaf0ff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.demo-input-row input:focus{
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,234,255,.35);
  background: rgba(255,255,255,.08);
}

.demo-actions{
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

/* Preview chart column */
.demo-chart-column-preview{
  max-width: 340px;
  margin-left: auto;
  border-radius: 16px;
  padding: 10px 12px 12px;
  background:
    radial-gradient(420px 220px at 20% 0%, rgba(120,97,255,.28), transparent 65%),
    radial-gradient(420px 220px at 80% 100%, rgba(0,183,255,.22), transparent 65%),
    rgba(7,11,20,.95);
  border: 1px solid rgba(255,255,255,.08);
}

.demo-chart-title{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 2px;
}

.demo-chart-sub{
  font-size: 12px;
  opacity: .7;
  margin-bottom: 8px;
}

.demo-chart-wrap-preview{
  height: 160px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(400px 220px at 0% 0%, rgba(120,97,255,.18), transparent 60%),
    radial-gradient(400px 220px at 100% 100%, rgba(0,183,255,.20), transparent 60%),
    rgba(3,6,14,0.96);
  padding: 12px 10px 8px;
  box-shadow: 0 12px 24px rgba(0,0,0,.7);
}

.demo-chart-wrap-preview canvas{
  display: block;
  height: 100% !important;
}

/* Step 3 */
#demo-result{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#demo-result .demo-title{
  font-size: 28px;
  margin-bottom: 4px;
}

#demo-result .demo-helper{
  font-size: 16px;
  opacity: .9;
  max-width: 420px;
  margin: 0 auto 8px;
}

#demo-result .demo-points{
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accentA), var(--accentB));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(120,97,255,.3);
  margin-top: 6px;
  margin-bottom: 2px;
}

#demo-result .demo-set{
  font-size: 16px;
  opacity: .85;
  margin-bottom: 12px;
}

.demo-chart-wrap-result{
  width: min(680px, 100%);
  height: 200px;
  margin: 16px auto 18px;
  padding: 14px 14px 10px;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(120,97,255,.22), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(0,183,255,.24), transparent 60%),
    rgba(3,6,14,0.96);
  box-shadow: 0 12px 28px rgba(0,0,0,.7);

  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-chart-wrap-result canvas{
  display: block;
  height: 100% !important;
}

.demo-note{
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 18px;
  opacity: .88;
}

.demo-result-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===============================
   Screenshot strip (single source of truth)
================================= */
.shot-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.shot{
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;

  border-radius: 18px;
  overflow: hidden;
  position: relative;

  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.55);
  transition: transform .18s ease, border-color .18s ease;
}

.shot:hover{
  transform: translateY(-2px);
  border-color: rgba(63,184,255,.55);
}

.shot img{
  display: block;
  width: 100%;
  height: auto;
}

.shot-label{
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(235,245,255,.95);
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
}

/* Mobile = swipe carousel */
@media (max-width: 900px){
  .shot-grid{
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 6px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .shot{
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .shot img{
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
  }

  .shot-grid::-webkit-scrollbar{ height: 8px; }
}

/* ===============================
   Screenshot Modal
================================= */
body.modal-open{ overflow: hidden; }

.shot-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  padding: 16px;
}

.shot-modal.is-open{
  display: grid;
  place-items: center;
}

.shot-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.shot-modal-dialog{
  position: relative;
  width: min(980px, calc(100vw - 32px));
  height: min(calc(100dvh - 32px), 900px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(5,8,15,.95);
  box-shadow: 0 22px 60px rgba(0,0,0,.75);

  display: grid;
  place-items: center;
}

.shot-modal-img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.shot-modal-close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(235,245,255,.95);
  cursor: pointer;
  z-index: 2;
}

/* ===== Footer ===== */
.footer{
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--bg2);
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.footer-links{
  display: flex;
  gap: 12px;
}

.footer-links a{
  color: rgba(220,230,255,.9);
  font-size: 14px;
  margin-left: 10px;
}

.footer-links a:hover{ text-decoration: underline; }

.footer-tagline{
  opacity: .55;
  font-size: 16px;
}

/* Optional icons */
.footer-icon img{
  width: 20px;
  height: 20px;
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.footer-icon img:hover{
  opacity: 1;
  transform: translateY(-2px);
}

/* Fix: weird underline char */
.footer-email:hover{
  text-decoration: underline;
}

/* ===============================
   Legal pages
================================= */
.legal-page{
  min-height: 100vh;
  padding: 80px 0 60px;
}

.legal-container{
  max-width: 860px;
}

.legal-back{
  display: inline-block;
  margin-bottom: 18px;
  opacity: .85;
  font-size: 14px;
}
.legal-back:hover{ text-decoration: underline; }

.legal-updated{
  opacity: .75;
  margin-bottom: 26px;
}

.legal-container h1{
  font-size: 42px;
  margin-bottom: 10px;
}

.legal-container h2{
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 22px;
}

.legal-container p{
  opacity: .9;
  line-height: 1.65;
  margin: 10px 0;
  font-size: 16px;
}

.legal-container ul{
  margin: 10px 0 14px 20px;
  opacity: .9;
}

.legal-container li{ margin: 8px 0; }

.legal-container a{
  color: #bcd7ff;
}
.legal-container a:hover{ text-decoration: underline; }

/* ===============================
   Responsive (global)
================================= */
@media (max-width: 1024px){
  .main-container{ padding: 20px; }
  .cards-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .early-access{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .cards-3{ grid-template-columns: 1fr; }
  .demo-layout{ grid-template-columns: 1fr; }
  .demo-inputs-column,
  .demo-input-row,
  .demo-actions{ max-width: none; }

  .demo-chart-column-preview{
    max-width: none;
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 768px){
  .main-container{ padding: 16px; }

  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .section-block{
    margin-top: 80px;
    padding: 0 16px 60px;
  }

  .demo-card{
    padding: 20px 16px 22px;
    border-radius: 18px;
  }

  .demo-actions{
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .demo-actions .btn-solid,
  .demo-actions .btn-ghost{
    justify-content: center;
    width: 100%;
  }

  .legal-page{ padding: 50px 0 40px; }
  .legal-container h1{ font-size: 32px; }
}

/* ===============================
   Scroll reveal animation
================================= */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  will-change: opacity, transform;
}

.reveal-visible{
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1{ transition-delay: .12s; }
.reveal-delay-2{ transition-delay: .24s; }
.reveal-delay-3{ transition-delay: .36s; }

@media (max-width: 900px){
  /* nech první subtitle viditelný */
  .hero-subtitle { 
    display: block;
    font-size: 16px;
    line-height: 1.5;
    opacity: .92;
    margin-top: 10px;
  }

  /* schovej jen otázku + note (jsou dlouhý) */
  .hero-question,
  .hero-note { 
    display: none; 
  }
}

@media (max-width: 900px){
  body{
    animation: none;   /* vypne cyberPulse */
    filter: none;      /* jistota */
  }
}

@media (prefers-reduced-motion: reduce){
  body{
    animation: none;
    filter: none;
  }

  .reveal{
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease-out, transform .55s ease-out;
  will-change: opacity, transform;
}
.reveal-visible{
  opacity: 1;
  transform: translateY(0);
}


