/* ----------------------------------------
   Pricing Page Specific Styles V3 (Full Redesign)
---------------------------------------- */

/* Full Hero Section with Curve */
.pricing-hero-full {
  background: linear-gradient(to right, rgba(14, 42, 107, 0.9), rgba(23, 84, 192, 0.8)), url('assets/images/197646-1163x654-1-1163x654.jpg') center/cover no-repeat;
  padding: calc(var(--nav-height, 80px) + 80px) 0 120px;
  text-align: center;
  color: #fff;
  position: relative;
}
.pricing-hero-full h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 16px 0;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.pricing-hero-full p {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin: 0;
  font-weight: 500;
}
.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.hero-curve svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}
.hero-curve .shape-fill {
  fill: #fdfdfd;
}

/* Common Section Title with Lines */
.section-title-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.section-title-lines::before,
.section-title-lines::after {
  content: '';
  height: 1px;
  width: 60px;
  background: #1e3a8a;
}
.section-title-lines h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #1e3a8a;
  margin: 0;
  letter-spacing: 2px;
}

/* Pricing Tables V3 */
.pricing-tables-section {
  padding: 60px 0 20px;
  background: #fdfdfd;
}
.pt-row-v3 {
  display: flex;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(14, 58, 138, 0.05);
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s;
}
.pt-row-v3:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(14, 58, 138, 0.08);
}
.pt-info-v3 {
  width: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.pt-info-v3 img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}
.pt-info-title h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0e3b8a;
  margin: 0 0 4px 0;
}
.pt-info-title p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  font-weight: 600;
}
.pt-features-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.pt-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}
.pt-tag .icon {
  width: 20px;
  height: 20px;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-table-wrap-v3 {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pt-table-v3 {
  width: 100%;
  border-collapse: collapse;
  height: 100%;
}
.pt-table-v3 th {
  background: #1e3a8a;
  color: #fff;
  padding: 12px 8px;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.pt-table-v3 th:last-child {
  border-right: none;
}
.pt-table-v3 th .time {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-top: 2px;
}
.pt-table-v3 td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  font-size: 1.1rem;
  font-weight: 800;
  color: #334155;
}
.pt-table-v3 td:last-child {
  border-right: none;
}
.pt-table-v3 tr:last-child td {
  border-bottom: none;
}
.pt-table-v3 td.row-label {
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: #0e3b8a;
  background: #f8fafc;
  width: 140px;
}
.pt-table-v3 td.row-label span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}
.pt-table-v3 td .unit {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Global Rules Toggle - Removed */
/* btn-toggle-global replaced with btn-toggle-room */
.btn-toggle-room {
  width: 100%;
  background: #f8fafc;
  border: none;
  border-top: 1px solid #e2e8f0;
  color: #3b82f6;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s;
}
.btn-toggle-room:hover {
  background: #f1f5f9;
}
.btn-toggle-room span {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

/* Room Rules Drawer */
.rules-drawer {
  background: #fdfdfd;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}
.rules-drawer-inner {
  padding: 20px 30px;
  border-top: 1px solid #e2e8f0;
}
.rules-toggle-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.rules-toggle-group .btn-toggle-room {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.rules-toggle-group .btn-toggle-room:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-yellow-solid {
  background: #fef9c3 !important;
  color: #1e293b !important;
}
.btn-yellow-solid:hover {
  background: #fef08a !important;
}
.btn-gray-solid {
  background: #e2e8f0 !important;
  color: #475569 !important;
}
.btn-gray-solid:hover {
  background: #cbd5e1 !important;
}
.rules-content-placeholder {
  min-height: 100px;
  color: #94a3b8;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}
.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #1e3a8a;
  font-weight: 800;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #64748b;
  cursor: pointer;
}
.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}
.modal-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.modal-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.modal-body ul li::before {
  content: '•';
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1;
}

.btn-toggle-global {
  background: #fdfdfd;
  padding: 0;
  margin: 0;
}
.rules-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rules-drawer ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}
.rules-drawer ul li::before {
  content: '•';
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1;
}
.btn-toggle-global {
  background: #fdfdfd;
  border: 1px solid #cbd5e1;
  color: #1e3a8a;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
/* Rules Combined Block removed */

/* Notes Section V3 (Cards) */
.notes-section-v3 {
  padding: 40px 0 80px;
  background: #fdfdfd;
}
.notes-grid-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.note-card-v3 {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s;
}
.note-card-v3:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(14, 58, 138, 0.08);
}
.note-icon-v3 {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
}
.note-card-v3 h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 12px 0;
}
.note-card-v3 p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Contact Area V3 (Gray Background) */
.contact-area-v3 {
  background: #f4f6f8;
  padding: 30px 0 60px;
}
.ca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ca-info h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1e3a8a;
  line-height: 1.3;
  margin-bottom: 16px;
}
.ca-info p {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 40px;
  font-weight: 600;
}
.ca-form-wrap {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}
.ca-form-wrap input,
.ca-form-wrap select,
.ca-form-wrap textarea {
  background: #fdfdfd;
}
.btn-yellow {
  background: #fbbf24;
  color: #1e293b;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px;
  border-radius: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-yellow:hover {
  background: #f59e0b;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

@media (max-width: 1024px) {
  .pt-row-v3 { flex-direction: column; }
  .pt-info-v3 { width: 100%; border-right: none; border-bottom: 1px solid #f1f5f9; flex-direction: row; align-items: center; }
  .pt-info-v3 img { width: 160px; height: 120px; }
  .pt-table-wrap-v3 { overflow-x: auto; }
  .notes-grid-v3 { grid-template-columns: repeat(2, 1fr); }
  .ca-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .pt-info-v3 { flex-direction: column; align-items: flex-start; }
  .pt-info-v3 img { width: 100%; height: 200px; }
  .notes-grid-v3 { grid-template-columns: 1fr; }
}

/* Fix for modal close button */
.modal-box { position: relative; }
