/* =========================================
   GLOBAL & VARIABLES (Premium Czech Fintech)
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #0a192f;
  --primary: #1a3a6b;
  --primary-light: #2a5a9c;
  --accent-gold: #f5b342;
  --accent-gold-light: #fce8b2;
  --success-green: #10b981;
  --danger-red: #ef4444;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(26, 58, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 58, 107, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 58, 107, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Globální reset pro odkazy */
a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(26, 58, 107, 0.2);
}

.brand span {
  color: var(--accent-gold);
}

.header-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-trust .stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
}

/* =========================================
   HERO SECTION (Nový prémiový background)
   ========================================= */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background-color: var(--primary-dark);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(245, 179, 66, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(42, 90, 156, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #0a192f 0%, #112240 100%);
  color: #fff;
  overflow: hidden;
}

/* Jemná mřížka na pozadí */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 16px;
}

.hero-content h1 span {
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(245, 179, 66, 0.3);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 28px;
  max-width: 520px;
}

/* Kryptoměnový ticker */
.crypto-ticker {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.ticker-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  animation: pulse 3s infinite;
}

.ticker-item:nth-child(2) { animation-delay: 0.5s; }
.ticker-item:nth-child(3) { animation-delay: 1s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.ticker-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
}

.ticker-icon.btc { background: #f7931a; }
.ticker-icon.eth { background: #627eea; }
.ticker-icon.ltc { background: #345d9d; }

.ticker-amount {
  color: var(--success-green);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  width: fit-content;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-dark);
  margin-left: -10px;
  object-fit: cover;
}

.avatar-group img:first-child { margin-left: 0; }

.social-proof-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
}

.social-proof-text .stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
}

/* =========================================
   REGISTRATION FORM (Světlá karta na tmavém pozadí)
   ========================================= */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: var(--text-main);
  scroll-margin-top: 96px;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary));
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form_block {
  width: 100%;
  min-width: 0;
}

/* Tlačítko s prémiovým efektem */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e0a020 100%);
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(245, 179, 66, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 179, 66, 0.5);
}

.btn-submit:hover::after {
  left: 100%;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.form-footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =========================================
   CELEBRITY ENDORSEMENTS
   ========================================= */
.endorsements {
  padding: 48px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.endorsements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.endorsement-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-body);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.endorsement-card img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-gold);
}

.endorsement-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.endorsement-content .role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.endorsement-content blockquote {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.6;
  position: relative;
}

.endorsement-content blockquote::before {
  content: '„';
  font-size: 2.5rem;
  color: var(--accent-gold);
  position: absolute;
  top: -16px;
  left: -12px;
  font-family: serif;
  opacity: 0.5;
}

/* =========================================
   ALGORITHMS / APP MOCKUP SECTION
   ========================================= */
.algorithms {
  padding: 72px 0;
  background: var(--bg-body);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.algorithms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.algo-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.algo-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.algo-list {
  list-style: none;
}

.algo-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.algo-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--success-green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* 3D Mockup telefonu */
.app-mockup {
  position: relative;
  text-align: center;
  perspective: 1000px;
}

.phone-frame {
  position: relative;
  display: inline-block;
  width: 280px;
  height: 580px;
  background: #1e293b;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 30px 60px -12px rgba(0,0,0,0.4),
    inset 0 0 0 2px #334155;
  transform: rotateY(-8deg) rotateX(2deg);
  transition: var(--transition);
}

.phone-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 12px 12px;
}

/* Graf uvnitř telefonu */
.phone-chart {
  width: 100%;
  height: 180px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 100%);
  border-bottom: 2px solid var(--success-green);
  position: relative;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.phone-chart svg {
  width: 100%;
  height: 100%;
}

.phone-stats {
  margin-top: auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #94a3b8;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.phone-stat-row span:last-child {
  color: var(--success-green);
  font-weight: 700;
}

.live-counter {
  background: var(--primary-dark);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.live-counter .dot {
  width: 10px;
  height: 10px;
  background: var(--success-green);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
  padding: 72px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

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

.testimonial-card {
  background: var(--bg-body);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.testimonial-stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.testimonial-author-info .name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.testimonial-author-info .amount {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--success-green);
}

/* =========================================
   AD BANNER / OFFER
   ========================================= */
.offer-banner {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.offer-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 179, 66, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.offer-banner h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -1px;
  position: relative;
}

.offer-banner h2 span {
  color: var(--accent-gold);
}

.offer-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 28px;
  position: relative;
}

.offer-banner .btn-submit {
  width: auto;
  min-width: 280px;
  display: inline-block;
  position: relative;
  padding: 18px 48px;
}

/* =========================================
   LEGAL DISCLAIMER & FOOTER
   ========================================= */
.legal-footer {
  background: var(--primary-dark);
  color: #64748b;
  padding: 32px 0;
  font-size: 0.7rem;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.legal-footer p {
  margin-bottom: 8px;
  text-align: justify;
}

.legal-links {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.legal-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--accent-gold);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid,
  .algorithms-grid,
  .endorsements-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-mockup {
    order: -1;
  }
}

@media (max-width: 640px) {
  .header-trust {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .crypto-ticker {
    gap: 8px;
  }

  .ticker-item {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .offer-banner h2 {
    font-size: 1.8rem;
  }

  .endorsement-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .phone-frame {
    transform: none;
    width: 240px;
    height: 500px;
  }
}

.phone-header {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.phone-live {
  color: var(--success-green);
}

.phone-balance-label {
  color: #94a3b8;
  font-size: 0.65rem;
  margin-bottom: 4px;
}

.phone-balance {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.live-counter-wrapper {
  text-align: center;
  margin-top: 48px;
}

.footer-copyright {
  color: #475569;
  margin-left: auto;
}

.phone-image {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .phone-image {
    width: 240px;
  }
}
