@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #d90b1c;
  --primary-dark: #b50715;
  --primary-light: #fff1f3;
  --accent: #ffccd3;
  --text: #24262b;
  --muted: #6f7480;
  --border: #ececef;
  --white: #ffffff;
  --bg-1: #fffefe;
  --bg-2: #fff5f6;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 18px 50px rgba(17, 24, 39, 0.10);
  --shadow-lg: 0 35px 80px rgba(217, 11, 28, 0.12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(217,11,28,.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fff7f8 45%, #fff1f3 100%);
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select {
  font-family: inherit;
}

.cn-page {
  padding: 40px 16px 80px;
}

.cn-container {
  max-width: 920px;
  margin: 0 auto;
}

/* Step Panels */
.cn-step-panel {
  display: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.cn-step-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #ff6b7c);
}

.cn-step-panel.active {
  display: block;
  animation: cnFadeUp .45s ease;
}

@keyframes cnFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
}

h3 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 800;
}

/* =========================================
   Ultra Premium Stepper
========================================= */
.tcx-stepper-wrapper {
    max-width: 900px;
    margin: 40px auto 50px;
    padding: 0 15px;
}

.tcx-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 28px 36px;
    border-radius: 36px;
    box-shadow:
        0 25px 60px rgba(217, 0, 17, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.85);
    position: relative;
}

.tcx-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
    cursor: pointer;
}

.tcx-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    border: 2px solid #e5e7eb;
    color: #9ca3af;
    font-size: 22px;
    transition: all 0.35s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.tcx-step-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    transition: all 0.35s ease;
    text-align: center;
    line-height: 1.3;
}

/* Connector line */
.tcx-step-line {
    flex: 1;
    height: 4px;
    margin: 0 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #eceff3, #f3f4f6);
    position: relative;
    top: -12px;
    transition: all 0.35s ease;
}

.tcx-step-line.active {
    background: linear-gradient(90deg, #d90011, #ff4d5f);
    box-shadow: 0 0 10px rgba(217, 0, 17, 0.25);
}

/* Active step */
.tcx-step.active .tcx-step-icon {
    background: linear-gradient(135deg, #fff0f2, #ffe4e8);
    border-color: #d90011;
    color: #d90011;
    box-shadow:
        0 15px 35px rgba(217, 0, 17, 0.20),
        0 0 0 8px rgba(217, 0, 17, 0.06);
}

.tcx-step.active .tcx-step-label {
    color: #d90011;
}

/* Completed step */
.tcx-step.completed .tcx-step-icon {
    background: linear-gradient(135deg, #d90011, #b8000e);
    border-color: #d90011;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(217, 0, 17, 0.25);
}

.tcx-step.completed .tcx-step-label {
    color: #111827;
}

/* Hover */
.tcx-step:hover .tcx-step-icon {
    transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 768px) {
    .tcx-stepper {
        padding: 20px 15px;
        border-radius: 24px;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 12px;
    }

    .tcx-step {
        min-width: 90px;
        flex-shrink: 0;
    }

    .tcx-step-icon {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }

    .tcx-step-label {
        font-size: 11px;
    }

    .tcx-step-line {
        min-width: 40px;
        top: -10px;
    }
}


/* Form Grid */
.cn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cn-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.cn-field input,
.cn-field select {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, #fafafa);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: all .3s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.cn-field input:focus,
.cn-field select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(217,11,28,.08),
    0 8px 20px rgba(217,11,28,.06);
}

/* Buttons */
.cn-btn {
  position: relative;
  border: none;
  border-radius: 16px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  overflow: hidden;
}

.cn-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .6s ease;
}

.cn-btn:hover::before {
  left: 140%;
}

.cn-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(217,11,28,.28);
}

.cn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(217,11,28,.34);
}

.cn-btn-light {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cn-btn-light:hover {
  transform: translateY(-2px);
}

.cn-btn.full {
  width: 100%;
}

.cn-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.cn-actions.right {
  justify-content: flex-end;
}

.cn-actions.between {
  justify-content: space-between;
}

.mt-15 { margin-top: 15px; }

/* Package Selector */
.cn-packages {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.cn-packages label {
  position: relative;
  padding: 12px 22px;
  border: 2px solid #ececec;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: all .3s ease;
}

.cn-packages input { display: none; }

.cn-packages label:has(input:checked) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 8px 20px rgba(217,11,28,.08);
}

/* Accordion */
.cn-accordion {
  background: #fff;
  border: 1px solid #f0f0f2;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  overflow: hidden;
}

.cn-accordion-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
}

.cn-accordion-head span {
  margin-left: auto;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.cn-accordion-head i {
  color: var(--primary);
  transition: transform .3s ease;
}

.cn-accordion.active .cn-accordion-head i {
  transform: rotate(180deg);
}

.cn-accordion-body {
  display: none;
  padding: 0 24px 24px;
}

.cn-accordion.active .cn-accordion-body {
  display: block;
}

/* Menu Cards */
.cn-menu-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.cn-menu-scroll::-webkit-scrollbar {
  height: 6px;
}

.cn-menu-scroll::-webkit-scrollbar-thumb {
  background: #d7d7d7;
  border-radius: 999px;
}

.cn-menu-card {
  min-width: 190px;
  background: linear-gradient(180deg, #ffffff, #fff6f7);
  border: 1px solid #f5e2e5;
  border-radius: 24px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(17,24,39,.05);
  transition: all .3s ease;
}

.cn-menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(217,11,28,.10);
}

.cn-menu-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.cn-menu-card h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.cn-menu-card button {
  margin-top: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(217,11,28,.24);
}

/* Note Box */
.cn-note {
  background: linear-gradient(135deg, #fff7f7, #fffdfd);
  border: 1px solid #ffdede;
  border-radius: 18px;
  padding: 18px 20px;
  color: #4b5563;
  margin-bottom: 22px;
}

/* Modal */
.cn-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(circle at center, rgba(217,11,28,.15), rgba(30,0,0,.82));
  backdrop-filter: blur(8px);
  z-index: 999;
}

.cn-modal.active {
  display: flex;
}

.cn-modal-box {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 40px 90px rgba(0,0,0,.28);
  position: relative;
}

.cn-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 22px;
  cursor: pointer;
}

.cn-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-weight: 600;
}

.cn-price-row.total {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .cn-progress {
    border-radius: 28px;
    padding: 16px;
    gap: 8px;
  }

  .cn-step {
    min-width: 72px;
  }

  .cn-icon {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .cn-arrow {
    display: none;
  }

  .cn-step-panel {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .cn-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cn-actions,
  .cn-actions.between {
    flex-direction: column;
  }

  .cn-actions .cn-btn {
    width: 100%;
  }

  .cn-menu-card {
    min-width: 160px;
  }

  .cn-modal-box {
    padding: 26px 22px;
    border-radius: 24px;
  }

  h2 {
    font-size: 30px;
  }
}