/* 金豐企管 品牌專業風格 CSS */
:root {
  --kf-navy: #0b2545;
  --kf-navy-dark: #06162a;
  --kf-navy-light: #163e72;
  --kf-gold: #c5a880;
  --kf-gold-hover: #b39265;
  --kf-gold-light: #fdfaf4;
  --kf-gold-border: #e6d5be;
  --kf-text-main: #1f2937;
  --kf-text-muted: #6b7280;
  --kf-bg-light: #f8fafc;
  --kf-border: #e2e8f0;
  --kf-card-shadow: 0 10px 25px -5px rgba(11, 37, 69, 0.08), 0 8px 10px -6px rgba(11, 37, 69, 0.04);
  --kf-hover-shadow: 0 20px 25px -5px rgba(11, 37, 69, 0.15), 0 8px 10px -6px rgba(11, 37, 69, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
}

body {
  color: var(--kf-text-main);
  background-color: #f3f6fa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
.kf-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--kf-gold-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-badge {
  background: linear-gradient(135deg, var(--kf-navy), var(--kf-navy-light));
  color: var(--kf-gold);
  font-weight: 900;
  font-size: 20px;
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(11, 37, 69, 0.15);
  border: 1px solid rgba(197, 168, 128, 0.4);
}

.brand-titles h1 {
  font-size: 19px;
  font-weight: 800;
  color: var(--kf-navy);
  line-height: 1.2;
}

.brand-titles p {
  font-size: 12px;
  color: var(--kf-text-muted);
  letter-spacing: 0.5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-secondary-link {
  color: var(--kf-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--kf-border);
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary-link:hover {
  background: #f1f5f9;
  border-color: var(--kf-navy);
}

.btn-cta-gold {
  background: linear-gradient(135deg, #d4af37, #b89047);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(184, 144, 71, 0.35);
  transition: all 0.2s;
}

.btn-cta-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(184, 144, 71, 0.45);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #07192f 0%, #0b2545 60%, #153c6d 100%);
  color: #ffffff;
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 168, 128, 0.2);
  border: 1px solid rgba(197, 168, 128, 0.4);
  color: #f7e6cf;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-title .highlight-gold {
  color: #e5c38c;
  background: linear-gradient(120deg, #f7dfb9, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 28px;
  border-left: 3px solid var(--kf-gold);
  padding-left: 14px;
}

.hero-price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 22px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.hero-price-original {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
}

.hero-price-current {
  font-size: 34px;
  font-weight: 900;
  color: #fbbf24;
}

.hero-price-benefit {
  font-size: 14px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  padding: 4px 10px;
  border-radius: 6px;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #e5be58, #bf942e);
  color: #0b2545;
  font-size: 17px;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(229, 190, 88, 0.35);
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(229, 190, 88, 0.45);
}

.btn-hero-secondary {
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Hero Right Card (Benefit Highlights) */
.hero-card {
  background: #ffffff;
  color: var(--kf-text-main);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-header {
  border-bottom: 1px solid var(--kf-border);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.hero-card-header h3 {
  font-size: 19px;
  color: var(--kf-navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-header p {
  font-size: 13px;
  color: #d9383a;
  font-weight: 700;
  margin-top: 4px;
}

.bonus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.bonus-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bonus-icon {
  background: #fef3c7;
  color: #b45309;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  font-weight: 900;
}

.bonus-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--kf-navy);
  margin-bottom: 2px;
}

.bonus-text p {
  font-size: 12.5px;
  color: var(--kf-text-muted);
  line-height: 1.4;
}

.lla-cert-box {
  background: #f8fafc;
  border: 1px dashed var(--kf-gold);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lla-cert-badge {
  background: var(--kf-navy);
  color: var(--kf-gold);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  text-align: center;
}

.lla-cert-text {
  font-size: 12.5px;
  color: #334155;
  font-weight: 600;
}

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  color: var(--kf-gold-hover);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--kf-navy);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--kf-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Sessions Grid */
.city-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.city-tab {
  padding: 8px 20px;
  background: #fff;
  border: 1px solid var(--kf-border);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kf-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.city-tab.active,
.city-tab:hover {
  background: var(--kf-navy);
  color: #ffffff;
  border-color: var(--kf-navy);
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
}

.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.session-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--kf-border);
  padding: 24px;
  box-shadow: var(--kf-card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s;
}

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

.session-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.city-pill {
  background: #eff6ff;
  color: #1e40af;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

.status-badge {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 20px;
}

.session-date {
  font-size: 20px;
  font-weight: 800;
  color: var(--kf-navy);
  margin-bottom: 8px;
}

.session-detail-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 6px;
}

.session-detail-line svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.session-deadline {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--kf-border);
  font-size: 12px;
  color: #dc2626;
  font-weight: 600;
}

.btn-select-session {
  margin-top: 18px;
  width: 100%;
  background: var(--kf-navy);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-select-session:hover {
  background: var(--kf-navy-light);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}

/* Feature Traps Section */
.traps-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--kf-card-shadow);
  margin-bottom: 60px;
  border: 1px solid var(--kf-border);
}

.traps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.trap-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 22px;
  border-left: 4px solid var(--kf-navy);
}

.trap-card.alert {
  border-left-color: #ef4444;
}

.trap-card.warning {
  border-left-color: #f59e0b;
}

.trap-card.info {
  border-left-color: #3b82f6;
}

.trap-card.success {
  border-left-color: #10b981;
}

.trap-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--kf-navy);
  margin-bottom: 8px;
}

.trap-card p {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.5;
}

/* Videos Section */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.video-wrapper {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--kf-card-shadow);
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Registration Form Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 37, 69, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: linear-gradient(135deg, var(--kf-navy), var(--kf-navy-light));
  color: #fff;
  padding: 20px 24px;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
}

/* Selected Session Summary inside Form */
.selected-session-bar {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-session-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: #1e3a8a;
}

.selected-session-info p {
  font-size: 13px;
  color: #3b82f6;
}

.selected-session-price {
  text-align: right;
}

.selected-session-price span {
  font-size: 22px;
  font-weight: 900;
  color: #b45309;
}

/* Form Styles */
.form-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--kf-navy);
  margin: 18px 0 12px;
  padding-left: 8px;
  border-left: 3px solid var(--kf-gold);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}

.form-group label .req {
  color: #dc2626;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 10px 14px;
  border: 1px solid var(--kf-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--kf-text-main);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--kf-navy);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 70px;
}

.form-hint {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 4px;
}

/* Payment Option Radio Cards */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.payment-card-option {
  border: 2px solid var(--kf-border);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-card-option.active {
  border-color: var(--kf-navy);
  background: #f0f7ff;
}

.payment-card-option input[type="radio"] {
  accent-color: var(--kf-navy);
  width: 18px;
  height: 18px;
}

.payment-card-option label {
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--kf-navy);
}

/* Bank Remittance Box */
.bank-info-alert {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}

.bank-info-header {
  font-size: 14px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bank-detail-item {
  font-size: 13.5px;
  color: #78350f;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.btn-copy-account {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.btn-copy-account:hover {
  background: #fde68a;
}

.btn-submit-registration {
  background: linear-gradient(135deg, #d4af37, #b89047);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 14px;
  width: 100%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 144, 71, 0.35);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.btn-submit-registration:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(184, 144, 71, 0.45);
}

/* Success Modal & Ticket Pass */
.success-card {
  text-align: center;
  padding: 20px;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 14px;
}

.success-order-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0;
  text-align: left;
}

.qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0;
}

.qr-canvas-box {
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.ticket-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.ticket-actions button,
.ticket-actions a {
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-report-five {
  background: var(--kf-navy);
  color: #fff;
}

.btn-report-five:hover {
  background: var(--kf-navy-light);
}

.btn-cal-add {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--kf-border) !important;
}

.btn-cal-add:hover {
  background: #e2e8f0;
}

/* Floating Quick Lookup Button */
.floating-lookup-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--kf-navy);
  color: var(--kf-gold);
  border: 2px solid var(--kf-gold);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.35);
  cursor: pointer;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.floating-lookup-btn:hover {
  background: var(--kf-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 37, 69, 0.45);
}

/* Footer */
.kf-footer {
  background: var(--kf-navy-dark);
  color: #94a3b8;
  padding: 50px 24px 30px;
  font-size: 13.5px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .videos-grid {
    grid-template-columns: 1fr;
  }
}
