/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2147483000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.68);
  padding: 24px 16px;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  margin: 0;
  padding: 20px;
  border: 1px solid #888;
  width: min(980px, 96vw);
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  z-index: 2147483001;
  border-radius: 10px;
}

body.modal-open {
  overflow: hidden;
}

.modal-obscured {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.modal-text {
  font-size: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 9999;
  border-top: 3px solid #4da6e7;
}

.cookie-consent.is-visible {
  display: block;
}

.cookie-consent .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-consent p {
  margin: 0;
  color: #2a2a2a;
  font-size: 14px;
  flex: 1;
  min-width: 280px;
}

.cookie-consent .buttons {
  display: flex;
  gap: 10px;
}

.cookie-consent button {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-consent .accept-btn {
  background: #4da6e7;
  color: white;
}

.cookie-consent .accept-btn:hover {
  background: #2186d6;
}

.cookie-consent .decline-btn {
  background: #e7e7e7;
  color: #2a2a2a;
}

.cookie-consent .decline-btn:hover {
  background: #d7d7d7;
}

/* bccAI-R Popup */
.ai-popup-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.5s ease-in-out;
}

.ai-popup-modal.is-open {
  display: block;
}

.ai-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  width: auto;
  height: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.6s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-popup-content h3 {
  color: #03a4ed;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
}

.ai-popup-gif {
  max-width: 500px;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 0;
}

.ai-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #999;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.ai-popup-close:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
  color: #666;
}

.ai-popup-button {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.ai-popup-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
  color: #333;
  text-decoration: none;
}

.ai-popup-description {
  color: #333;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* bccAI-R content */
.ai-section-title {
  color: #03a4ed;
  margin-bottom: 20px;
  font-weight: 600;
}

.ai-list {
  list-style: none;
  padding: 0;
}

.ai-list-features {
  margin-bottom: 30px;
}

.ai-list-benefits {
  margin-bottom: 25px;
}

.ai-list-item {
  padding-left: 25px;
  position: relative;
}

.ai-list-features .ai-list-item {
  margin-bottom: 15px;
}

.ai-list-benefits .ai-list-item {
  margin-bottom: 12px;
}

.ai-bullet {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.ai-bullet-primary {
  color: #03a4ed;
}

.ai-bullet-accent {
  color: #ff695f;
}

.ai-note {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #03a4ed;
}

.ai-note-text {
  color: #666;
  font-style: italic;
}

.ai-cta-box {
  background: linear-gradient(
    105deg,
    rgba(255, 104, 95, 1) 0%,
    rgba(255, 144, 104, 1) 100%
  );
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-top: 25px;
}

.ai-cta-text {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 500;
}

.ai-cta-button-wrap {
  margin-top: 15px;
}

.ai-cta-link {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.ai-cta-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.ai-cta-icon {
  margin-right: 8px;
}

.ai-main-gif {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Reused inline styles */
.pricing-logo {
  width: 100px;
  height: 50px;
}

.third-item-overlay {
  position: absolute;
  background-color: rgba(220, 220, 220, 0.5);
  width: 100%;
  height: 100%;
  border-radius: 9%;
  top: 0;
  left: 0;
}

.video-thumb-image {
  border-radius: 23px;
}

.map-frame {
  border: 0;
}

.contact-select {
  width: 100%;
  height: 46px;
  border-radius: 0;
  background-color: transparent;
  border-bottom: 1px solid #9bdbf8;
  border-top: none;
  border-left: none;
  border-right: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
  padding: 0;
  margin-bottom: 35px;
}

.kvkk-fieldset {
  display: flex;
  align-items: center;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kvkk-checkbox {
  height: 15px;
  width: 15px;
  margin-right: 10px;
}

form#contact input.kvkk-checkbox {
  width: 15px;
  min-width: 15px;
  height: 15px;
  margin: 0 10px 0 0;
  flex: 0 0 15px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .ai-popup-content {
    padding: 20px;
    margin: 20px;
  }

  .ai-popup-gif {
    max-width: 350px;
    height: auto;
  }
}
