:root {
  --dark: #0a1628;
  --dark-blue: #0f2847;
  --accent: #e63946;
  --accent-hover: #c1121f;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
.navbar {
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--white) !important;
}
.navbar-brand span {
  color: var(--accent);
}
.navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}
.navbar .nav-link:hover {
  color: var(--white) !important;
}
.navbar .btn-cta {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  text-decoration: none;
}
.navbar .btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230,57,70,0.4);
}
.navbar-toggler {
  border: 2px solid rgba(255,255,255,0.3);
  padding: 0.4rem 0.7rem;
}
.navbar-toggler-icon {
  filter: invert(1);
}

@media (max-width: 991px) {
  #navbarNav {
    background: var(--dark);
    border-radius: 16px;
    margin-top: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }
  #navbarNav .btn-cta {
    margin: 1rem auto 0;
    display: inline-block;
  }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: url(../images/trida-karate-cover-mobile.png) no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,22,40,0.3) 0%,
    rgba(10,22,40,0.5) 40%,
    rgba(10,22,40,0.92) 100%
  );
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  text-align: left;
  margin: 0;
}
.hero h1 .accent {
  color: var(--accent);
}
.hero .hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: 1.2rem;
  line-height: 1.7;
}
.hero .hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero .btn-hero-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero .btn-hero-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230,57,70,0.4);
  color: var(--white);
}
.hero .btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero .btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

@media (min-width: 992px) {
  .hero {
    background-image: url(../images/trida-karate-cover.png);
    align-items: center;
    padding-bottom: 0;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(10,22,40,0.95) 0%,
      rgba(10,22,40,0.7) 50%,
      rgba(10,22,40,0.2) 100%
    );
  }
  .hero h1 {
    font-size: 4.5rem;
  }
  .hero .hero-subtitle {
    font-size: 1.15rem;
    max-width: 500px;
  }
}

/* ── SECTION COMMON ── */
section {
  padding: 5rem 0;
}
.section-label {
  display: inline-block;
  background: rgba(230,57,70,0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.6rem;
  }
}

/* ── ABOUT ── */
.about-section {
  background: var(--white);
}
.about-card {
  background: var(--light);
  border-radius: 20px;
  padding: 2.5rem;
  border: none;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--dark-blue));
  border-radius: 4px 0 0 4px;
}
.about-card p {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: 0;
}

/* ── ENROLLMENT CTA ── */
.enrollment-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.enrollment-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.enrollment-section .section-title {
  color: var(--white);
}
.enrollment-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.8;
}
.enrollment-section .btn-enroll {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
}
.enrollment-section .btn-enroll:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230,57,70,0.4);
  color: var(--white);
}
.enrollment-section .btn-enroll-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
}
.enrollment-section .btn-enroll-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.date-highlight {
  display: inline-block;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  color: var(--accent);
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 12px;
  font-size: 1.05rem;
  margin: 0.5rem 0;
}

/* ── STEPS ── */
.steps-section {
  background: var(--light);
}
.step-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), #ff6b7a);
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 14px;
  margin-bottom: 1.2rem;
}
.step-card h4 {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
}
.step-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.highlight-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(230,57,70,0.2);
  border-radius: 50%;
}
.highlight-box .big-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.highlight-box p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0;
}
.highlight-box .label {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ── COACH ── */
.coach-section {
  background: var(--white);
}
.coach-card {
  background: var(--light);
  border-radius: 24px;
  overflow: hidden;
  border: none;
}
.coach-card img.coach-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}
.coach-info {
  padding: 2rem;
}
.coach-info h3 {
  font-weight: 800;
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.coach-info .coach-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.coach-info .badge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: #555;
}
.coach-info .badge-item i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.coach-award {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.coach-award img {
  height: 50px;
  border-radius: 8px;
}
.coach-award span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

@media (min-width: 992px) {
  .coach-card {
    display: flex;
    flex-direction: row;
  }
  .coach-card img.coach-photo {
    width: 40%;
    height: auto;
    min-height: 400px;
  }
  .coach-info {
    padding: 3rem;
    flex: 1;
  }
}

/* ── CONTACT ── */
.contact-section {
  background: var(--dark);
  color: var(--white);
}
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  color: var(--white);
}
.contact-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  color: var(--white);
}
.contact-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.contact-card .contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.3rem;
}
.contact-card .contact-value {
  font-weight: 600;
  font-size: 1rem;
}
.link-card {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95rem;
}
.link-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

/* ── PARTNERS ── */
.partners-section {
  background: var(--light);
  padding: 4rem 0;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
}
.partner-logo {
  opacity: 0.5;
  transition: opacity 0.3s;
  max-height: 55px;
}
.partner-logo:hover {
  opacity: 1;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 0;
  text-align: center;
}
footer p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  margin: 0;
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── UTILITY ── */
.text-accent { color: var(--accent) !important; }
.fw-900 { font-weight: 900 !important; }

/* ── SUB-PAGE HERO ── */
.hero.hero-sub {
  min-height: 50vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
  align-items: flex-end;
  padding-bottom: 4rem;
}
.hero.hero-sub::before {
  background: none;
}
.hero.hero-sub h1 {
  font-size: 2.2rem;
}
@media (min-width: 992px) {
  .hero.hero-sub {
    min-height: 50vh;
    align-items: flex-end;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
  }
  .hero.hero-sub::before {
    background: none;
  }
  .hero.hero-sub h1 {
    font-size: 3.2rem;
  }
}

/* ── SCORING MAX BADGE ── */
.scoring-max {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #ff6b7a);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-top: 1rem;
}

/* ── LINK CARD LIGHT ── */
.link-card-light {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95rem;
}
.link-card-light:hover {
  background: var(--white);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.link-card-light i {
  color: var(--accent);
}

/* ── SCORING TABLES ── */
.zk-table-wrap {
  background: var(--light);
  border-radius: 20px;
  overflow: hidden;
  border: none;
}
.zk-table-label {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
}
.zk-table {
  margin-bottom: 0;
  font-size: 0.9rem;
}
.zk-table thead th {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
  border: none;
  white-space: nowrap;
}
.zk-table tbody td {
  padding: 0.65rem 1rem;
  vertical-align: middle;
  border-color: #e9ecef;
  color: #444;
}
.zk-table tbody tr:hover {
  background: rgba(230,57,70,0.04);
}
.zk-table tbody td:first-child {
  font-weight: 600;
  color: var(--dark);
}

/* ── TEST CARDS ── */
.test-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.test-card-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  background: var(--light);
  padding: 1.5rem;
}
.test-card-body {
  padding: 2rem;
  position: relative;
}
.test-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), #ff6b7a);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}
.test-card-body h3 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.test-card-subtitle {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.test-card-desc {
  background: var(--light);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
}

/* ── ZKOUSKA PAGE — compact light layout ── */
.zk-page {
  background: var(--white);
  padding: 3rem 0 0;
}

.zk-date-box {
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1.3rem;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2.5rem;
}
.zk-date-box i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.zk-heading {
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--light);
}
.zk-subheading {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-blue);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.zk-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: #555;
}

.zk-total-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-blue));
  color: var(--white);
  text-align: center;
  font-size: 1.05rem;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.zk-note {
  display: flex;
  gap: 0.8rem;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 1rem;
}
.zk-note > i {
  color: #f9a825;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.zk-row-sum {
  background: var(--light) !important;
  font-weight: 700;
}
.zk-row-sum td {
  border-top: 2px solid #dee2e6;
}

/* Test blocks */
.zk-test {
  background: var(--light);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.zk-test h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.zk-test-focus {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.zk-test p:last-child {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0;
}
.zk-test-img {
  width: 100%;
  border-radius: 12px;
  object-fit: contain;
  background: var(--white);
  padding: 0.5rem;
}

.zk-sources {
  background: var(--light);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--gray);
  margin-top: 2rem;
}

.zk-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(10,22,40,0.2);
}
.zk-back-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.3);
}
