/* FAQs Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Conditions Trigger Link */
.conditions-trigger {
  text-decoration: underline;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.conditions-trigger:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.faqs-content {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faqs-left {
  margin-top: 100px;
  margin-left: 60px;
}

.faqs-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 24px;
  line-height: 1.2;
}

.faqs-section {
  margin-bottom: 32px;
  border: 1px solid #E3E3E3;
  border-radius: 10px;
  padding: 24px;
}

.faqs-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.4;
}

.faqs-section p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

.faqs-section p:last-child {
  margin-bottom: 0;
}

.faqs-section strong {
  font-weight: 600;
  color: #1a1a2e;
}

.faqs-section a {
  color: #12AFFD;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.faqs-section a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.faqs-section ul {
  margin: 12px 0 12px 24px;
  padding: 0;
}

.faqs-section ul li {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Right Column - Illustration */
.faqs-right {
  position: sticky;
  top: 120px;
}

.faqs-illustration {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rori-image {
  width: 100%;
  max-width: clamp(400px, 35vw, 606px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.faqs-info-box {
  background: #00D1FF14;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faqs-info-box p {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 16px;
}

.faqs-info-box p:last-child {
  margin-bottom: 0;
}

.faqs-info-box strong {
  font-weight: 600;
  color: #1a1a2e;
}

.faqs-disclaimer {
  font-size: 16px !important;
  font-weight: 400;
  color: #666 !important;
  font-style: italic;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .faqs-container {
    padding: 130px 50px 60px;
  }

  .faqs-content {
    gap: 40px;
  }

  .faqs-left {
    margin-left: 40px;
    margin-top: 80px;
  }

  .faqs-title {
    font-size: 2rem;
  }

  .faqs-right {
    top: 100px;
  }

  .rori-image {
    max-width: clamp(350px, 30vw, 500px);
  }
}

@media (max-width: 768px) {
  .faqs-container {
    padding: 120px 30px 50px;
  }

  .faqs-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faqs-left {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .faqs-title {
    font-size: 1.75rem;
  }

  .faqs-section {
    padding: 20px;
  }

  .faqs-section h2 {
    font-size: 1.15rem;
  }

  .faqs-section p,
  .faqs-section ul li {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .faqs-right {
    position: relative;
    top: 0;
  }

  .rori-image {
    max-width: 400px;
  }

  .faqs-info-box {
    padding: 20px;
  }

  .faqs-info-box p {
    font-size: 14px;
    line-height: 140%;
  }

  .faqs-disclaimer {
    font-size: 13px !important;
    line-height: 140%;
  }
}

@media (max-width: 480px) {
  .faqs-container {
    padding: 110px 24px 40px;
  }

  .faqs-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .faqs-section {
    margin-bottom: 24px;
    padding: 18px;
  }

  .faqs-section h2 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .faqs-section p,
  .faqs-section ul li {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .rori-image {
    max-width: 100%;
  }

  .faqs-info-box {
    padding: 18px;
  }

  .faqs-info-box p {
    font-size: 13px;
    line-height: 140%;
  }

  .faqs-disclaimer {
    font-size: 12px !important;
    line-height: 140%;
  }
}

@media (max-width: 375px) {
  .faqs-container {
    padding: 105px 20px 35px;
  }

  .faqs-title {
    font-size: 1.35rem;
  }

  .faqs-section {
    padding: 16px;
    margin-bottom: 20px;
  }

  .faqs-section h2 {
    font-size: 1rem;
  }

  .faqs-section p,
  .faqs-section ul li {
    font-size: 0.85rem;
  }

  .faqs-info-box {
    padding: 16px;
  }

  .faqs-info-box p {
    font-size: 12px;
    line-height: 140%;
  }

  .faqs-disclaimer {
    font-size: 11px !important;
  }
}

/* Conditions Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

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

.modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px 60px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #000;
}

.modal-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border: 1px solid #E3E3E3;
  border-radius: 10px;
  padding: 30px;
}

.conditions-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.condition-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.condition-check {
  width: 20px;
  height: 20px;
  background: #F5A623;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.condition-name {
  font-size: 0.9rem;
  font-weight: 400;
  color: #1a1a2e;
  line-height: 1.3;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    padding: 50px 40px;
    width: 95%;
    max-height: 90vh;
  }

  .modal-title {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }

  .modal-close {
    top: 20px;
    right: 24px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 40px 24px;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .conditions-grid {
    padding: 24px;
    gap: 20px;
  }

  .conditions-column {
    gap: 14px;
  }

  .condition-item {
    gap: 10px;
  }

  .condition-check {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .condition-name {
    font-size: 0.9rem;
  }

  .modal-close {
    top: 16px;
    right: 20px;
    font-size: 1.75rem;
    width: 36px;
    height: 36px;
  }
}
