﻿:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #191a16;
  --muted: #595b54;
  --line: #d8d3c6;
  --accent: #b75a33;
  --accent-2: #7d3420;
  --ok: #14613b;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: #111111;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: env(safe-area-inset-top, 0px);
  background: #111111;
  z-index: 9999;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  width: 100vw;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 1.1rem);
  padding: calc(clamp(0.34rem, 0.8vw, 0.44rem) + env(safe-area-inset-top, 0px)) clamp(0.55rem, 2.6vw, 3rem) clamp(0.4rem, 0.95vw, 0.52rem) clamp(0.5rem, 1.1vw, 0.74rem);
  background: transparent;
  border-radius: 0;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}

.logo {
  margin-right: auto;
  text-decoration: none;
  margin-left: 0.2rem;
}

.logo img {
  width: clamp(96px, 11vw, 128px);
  height: auto;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  font-size: clamp(0.7rem, 1vw, 0.92rem);
  padding: 0.2rem 0.14rem;
}

.topbar a:not(.logo)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  opacity: 0.95;
}

.topbar a:not(.logo):hover::after,
.topbar a:not(.logo):focus-visible::after {
  transform: scaleX(1);
}

.topbar a:not(.logo):hover,
.topbar a:not(.logo):focus-visible {
  color: #f3e8df;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

section {
  margin-top: 0;
}

main > section:not(:first-child) {
  margin-top: 2.6rem;
}

.hero-shape {
  position: relative;
  min-height: 170px;
  clip-path: none;
  border: 0;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(35, 27, 18, 0.15);
}

.hero-full {
  width: calc(100dvw + 6px);
  margin-left: calc(50% - 50dvw - 3px);
  margin-right: calc(50% - 50dvw - 3px);
  margin-top: 0;
  overflow: hidden;
}

.hero-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(18, 14, 11, 0.65), rgba(18, 14, 11, 0.2));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  padding: clamp(0.42rem, 1.3vw, 1rem) clamp(0.5rem, 1.8vw, 1rem);
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.88rem, 2.5vw, 2rem);
  line-height: clamp(1.14, 1.2vw, 1.26);
  max-width: min(92vw, 900px);
  margin-left: auto;
  margin-right: auto;
  margin: 0;
}

.hero p {
  margin: clamp(0.18rem, 0.7vw, 0.45rem) auto clamp(0.35rem, 1vw, 0.8rem);
  max-width: min(90vw, 640px);
  font-size: clamp(0.66rem, 1.35vw, 0.92rem);
  line-height: clamp(1.2, 1.2vw, 1.4);
}

.hero .btn {
  padding: clamp(0.26rem, 0.75vw, 0.5rem) clamp(0.62rem, 2.2vw, 1.78rem);
  font-size: clamp(0.66rem, 1.4vw, 1.05rem);
  border-radius: 999px;
  width: fit-content;
  justify-self: center;
  line-height: 1.1;
  white-space: nowrap;
}

.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  display: inline-block;
}

.btn:hover {
  background: var(--accent-2);
}

.btn-alt {
  background: #e9e3d5;
  color: var(--ink);
}

.countdown-wrap,
.modules,
.testimonials,
.event-details,
.registration,
.review-admin {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
}

h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.countdown-wrap h2 {
  text-align: center;
}

.time-card {
  min-width: 74px;
  text-align: center;
  padding: 0.35rem 0.2rem;
}

.time-card strong {
  display: block;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1;
  font-family: "Sora", sans-serif;
  letter-spacing: 0.02em;
}

.time-card span {
  display: block;
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.time-sep {
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  font-family: "Sora", sans-serif;
  line-height: 1.4;
  color: var(--ink);
  margin-top: 0.04rem;
}

.event-date {
  margin-bottom: 0;
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.about {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.2rem 0 0;
}

.about-text h2 {
  margin-bottom: 0.5rem;
  text-align: center;
}

.about-text p {
  margin: 0;
  color: var(--muted);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.75;
}

.about .company-image-wrap {
  margin-top: 1rem;
}

.company-image-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.modules article,
.detail-grid article,
.plan,
.testimonial-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fffdf8;
}

.modules article {
  text-align: center;
}

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.sponsors h2 {
  text-align: center;
}

.sponsor-logos div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
}

.sponsor-logos img {
  max-width: 170px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.speaker-grid,
.testimonial-grid,
.detail-grid,
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.speaker-grid article {
  text-align: center;
}

.speakers h2 {
  text-align: center;
}

.speaker-grid img {
  width: 82%;
  max-width: 220px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: 0 auto 0.6rem;
}

.speaker-grid h3 {
  margin: 0;
  text-align: center;
}

.testimonial-grid img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.65rem;
}

.detail-grid .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #efe5d5;
  margin-bottom: 0.6rem;
}

.detail-grid svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-2);
}

.step-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.step {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--muted);
}

.step.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 700;
}

input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  font: inherit;
}

.actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.full {
  grid-column: 1 / -1;
}

.plan {
  cursor: pointer;
}

.plan ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
}

.plan.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #e7b8a5;
}

.price {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  margin: 0.3rem 0 0;
}

.payment-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fffdf8;
}

.feedback {
  min-height: 1.2rem;
  margin-bottom: 0;
  color: var(--ok);
  font-weight: 700;
}

.muted-note {
  color: var(--muted);
  margin-top: 0.35rem;
}

.admin-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.review-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fffdf8;
}

.review-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.review-meta {
  margin: 0.2rem 0;
  color: var(--muted);
}

.review-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn-danger {
  background: #8f2f2f;
  color: #fff;
}

.btn-danger:hover {
  background: #6f2222;
}

footer {
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .topbar {
    gap: 1rem;
    padding: 0.56rem 1.8rem 0.7rem 0.75rem;
  }

  .logo img {
    width: 136px;
  }

  main > section:not(:first-child) {
    margin-top: 2.2rem;
  }
}

@media (max-width: 920px) {

  .countdown,
  .modules,
  .sponsor-logos,
  .speaker-grid,
  .testimonial-grid,
  .detail-grid,
  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .section-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-full {
    margin-top: -1rem;
  }

  .hero-content {
    padding: 0.8rem;
  }

  .company-image-wrap img {
    height: 280px;
  }

  h2 {
    font-size: 1.35rem;
  }

  .modules article,
  .detail-grid article,
  .plan,
  .testimonial-grid article {
    padding: 0.9rem;
  }

  .price {
    font-size: 1.18rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.6rem 0.66rem;
  }

  .logo img {
    width: 126px;
  }

  .topbar a {
    font-size: 0.9rem;
  }

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

  .countdown-wrap,
  .modules,
  .testimonials,
  .event-details,
  .registration,
  .review-admin {
    padding: 1rem;
  }

  .sponsor-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .sponsor-logos img {
    max-width: 132px;
    max-height: 48px;
  }

  .speaker-grid img {
    width: 76%;
    max-width: 170px;
  }

  .speaker-grid h3 {
    font-size: 0.95rem;
  }

  .about-text p,
  .testimonial-grid p,
  .detail-grid p,
  .plan li {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  label {
    font-size: 0.92rem;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: absolute;
    width: 100vw;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0.34rem 0.5rem 0.35rem;
    gap: 0.35rem;
    background: transparent;
  }

  .logo {
    flex-basis: auto;
    margin-left: 0.1rem;
    margin-bottom: 0;
  }

  .logo img {
    width: clamp(64px, 15vw, 82px);
  }

  .topbar a:not(.logo) {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: clamp(0.56rem, 1.9vw, 0.7rem);
    font-weight: 700;
    padding: 0.14rem 0.3rem;
    background: transparent;
    border-radius: 999px;
    box-shadow: none;
  }

  .modules,
  .sponsor-logos,
  .speaker-grid,
  .testimonial-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .countdown {
    justify-content: center;
    gap: 0.45rem;
  }

  .countdown-wrap,
  .modules,
  .testimonials,
  .event-details,
  .registration,
  .review-admin {
    padding: 1rem;
  }

  h2 {
    font-size: 1.18rem;
  }

  .hero-full {
    margin-top: 0;
  }

  .hero-shape {
    min-height: clamp(108px, 30vw, 138px);
  }

  .hero h1 {
    font-size: clamp(0.66rem, 3.3vw, 0.84rem);
    line-height: 1.34;
  }

  .hero p {
    font-size: 0.58rem;
    line-height: 1.58;
    max-width: 92%;
    margin: 0.1rem auto 0.36rem;
  }

  .hero .btn {
    padding: 0.16rem 0.44rem;
    font-size: 0.54rem;
  }

  .time-card {
    min-width: 62px;
    padding: 0.2rem 0.1rem;
  }

  .time-card strong {
    font-size: 1rem;
  }

  .time-card span {
    font-size: 0.68rem;
  }

  .about-text p {
    line-height: 1.6;
    font-size: 0.88rem;
  }

  .company-image-wrap img {
    height: 220px;
  }

  .actions .btn {
    width: 100%;
    text-align: center;
  }

  .payment-box .actions .btn {
    width: auto;
  }

  .feedback {
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 0.75rem 2rem;
  }

  main > section:not(:first-child) {
    margin-top: 2rem;
  }

  .countdown {
    justify-content: center;
  }

  .speaker-grid img {
    width: 74%;
  }

  .step {
    font-size: 0.82rem;
  }

  .step-indicator {
    gap: 0.35rem;
  }

  .step {
    padding: 0.3rem 0.48rem;
    font-size: 0.72rem;
  }

  label {
    font-size: 0.92rem;
  }

  input {
    padding: 0.6rem 0.62rem;
  }

  .topbar a:not(.logo) {
    font-size: 0.56rem;
    padding: 0.16rem 0.3rem;
  }

  .sponsor-logos {
    grid-template-columns: 1fr;
  }

  .sponsor-logos img {
    max-width: 124px;
    max-height: 42px;
  }

  .countdown-wrap,
  .modules,
  .testimonials,
  .event-details,
  .registration,
  .review-admin {
    padding: 0.85rem 0.72rem;
  }

  .modules article,
  .detail-grid article,
  .plan,
  .testimonial-grid article {
    padding: 0.74rem;
  }

  .price {
    font-size: 1rem;
  }

  footer {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .topbar {
    top: 0;
    padding: 0.14rem 0.2rem 0.14rem;
    gap: 0.24rem;
  }

  .logo img {
    width: 64px;
  }

  main {
    padding: 0 0.72rem 2.3rem;
  }

  .hero-full {
    margin-top: 0;
  }

  .hero-shape {
    min-height: clamp(96px, 28vw, 122px);
    border-radius: 0 0 12px 12px;
  }

  .hero-content {
    padding: 0.24rem 0.28rem;
  }

  .eyebrow {
    font-size: 0.5rem;
    margin-bottom: 0.14rem;
  }

  .hero h1 {
    font-size: clamp(0.56rem, 3.2vw, 0.72rem);
    line-height: 1.38;
  }

  .hero p {
    font-size: 0.52rem;
    line-height: 1.64;
    margin: 0.06rem auto 0.2rem;
  }

  .hero .btn {
    font-size: 0.5rem;
    padding: 0.12rem 0.34rem;
  }

  .about-text p,
  .testimonial-grid p,
  .detail-grid p,
  .plan li {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  main > section:not(:first-child) {
    margin-top: 2.25rem;
  }

  .countdown {
    gap: 0.3rem;
  }

  .time-card {
    min-width: 54px;
  }

  .time-card strong {
    font-size: 0.88rem;
  }

  .time-card span {
    font-size: 0.58rem;
  }

  .time-sep {
    font-size: 0.92rem;
  }

  .countdown-wrap,
  .modules,
  .testimonials,
  .event-details,
  .registration,
  .review-admin {
    padding: 1.05rem 0.82rem;
  }

  .about {
    padding-top: 0.35rem;
  }

  .about-text p {
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .company-image-wrap img {
    height: 205px;
  }

  .sponsor-logos {
    gap: 0.9rem;
  }

  .sponsor-logos img {
    max-width: 148px;
    max-height: 54px;
  }

  .speaker-grid img {
    width: 72%;
    max-width: 185px;
  }

  .detail-grid article,
  .plan,
  .testimonial-grid article,
  .modules article {
    padding: 0.86rem;
  }

  .step-indicator {
    gap: 0.45rem;
    margin-bottom: 0.8rem;
  }

  .step {
    font-size: 0.8rem;
    padding: 0.38rem 0.6rem;
  }

  .actions {
    gap: 0.55rem;
  }

  .admin-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .topbar {
    top: 0;
  }

  .hero-full {
    margin-top: 0;
  }
}

@media (min-width: 1025px) {
  .topbar {
    top: 10px;
  }

  .logo {
    margin-left: 0.9rem;
  }

  .hero-full {
    margin-top: -1rem;
  }
}

@media (max-width: 380px) {
  .countdown {
    gap: 0.24rem;
  }

  .topbar {
    padding: 0.16rem 0.22rem 0.18rem;
  }

  .logo img {
    width: 58px;
  }

  .topbar a:not(.logo) {
    font-size: 0.46rem;
    padding: 0.1rem 0.18rem;
  }

  .hero-shape {
    min-height: 88px;
  }

  .hero h1 {
    font-size: 0.5rem;
  }

  .hero p {
    font-size: 0.46rem;
  }

  .countdown-wrap,
  .modules,
  .testimonials,
  .event-details,
  .registration,
  .review-admin {
    padding: 0.75rem 0.62rem;
  }

  h2 {
    font-size: 1.02rem;
  }

  .step {
    font-size: 0.66rem;
    padding: 0.24rem 0.42rem;
  }

  label {
    font-size: 0.84rem;
  }

  input {
    padding: 0.52rem 0.54rem;
    font-size: 0.84rem;
  }
}
