/* Contact Feedback Area (above form) */
.feedback-area {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 1.5em auto;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1);
  max-height: 0;
}
.feedback-area--open {
  max-height: 800px;
}
.contact-error {
  background: #222f47;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px #1bbf6b;
  font-size: 1.1em;
  padding: 1em 2em;
  margin: 0;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s, max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  pointer-events: none;
  display: block;
}
.contact-success {
  display: block;
}
.contact-error {
  background: #e74c3c;
}
.feedback-visible {
  opacity: 1;
  max-height: 800px;
  pointer-events: auto;
  padding: 1em 2em;
  margin-bottom: 0.5em;
}
.feedback-hidden {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
  padding: 0 2em;
  margin-bottom: 0;
}
.puzzl-thankyou {
  background: #0b1622;
  color: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  max-width: 420px;
  margin: 2rem auto;
  box-shadow: 0 4px 24px 0 #0b1622bb;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  text-align: center;
}
.puzzl-thankyou h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  letter-spacing: -1px;
}
.puzzl-thankyou p {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.puzzl-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
  font-size: 1rem;
  flex-wrap: wrap;
}
.puzzl-actions a {
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 500;
}
.puzzl-actions a:hover {
  color: #20C9D2;
  text-decoration: underline;
}
.puzzl-actions span {
  color: #20C9D2;
  font-weight: 700;
}
.puzzl-copilot {
  background: rgba(32, 201, 210, 0.08);
  color: #fff;
  border-radius: 0.8rem;
  padding: 1rem 0.7rem 0.7rem 0.7rem;
  margin-top: 0.6rem;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}
.puzzl-copilot .slash {
  font-weight: 500;
  margin-top: 0.1rem;
  font-size: 1.08rem;
}
.puzzl-copilot kbd {
  background: none;
  border-radius: 0.4em;
  padding: 0.14em 0.5em;
  font-size: 0.98em;
  font-family: inherit;
  font-weight: 700;
  border: 1px solid #20C9D2;
  margin-left: 0.2em;
}
@media (max-width: 500px) {
  .puzzl-thankyou {
    padding: 1.4rem 0.8rem;
    max-width: 98vw;
  }
  .puzzl-actions {
    gap: 0.5rem;
    font-size: 0.98rem;
  }
}
.form-notification-error {
  background: #e74c3c !important;
  color: #fff !important;
  transition: background 0.3s, color 0.3s;
}
/* CTA Button */
.cta-button {
  padding: 0.5em 1em;
  justify-self: center;
  border: 1px solid #FFD464;
  border-radius: 8px;
  background: transparent;
  color: #FFD464;
  font-weight: 700;
  text-align: center;
  max-width: 240px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  -webkit-transition:
    color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 226, 126, 0.1) 0%,
    rgba(255, 226, 126, 0.25) 80%,
    rgba(255, 226, 126, 0.1) 100%
  );
  background-size: 200% 100%;
  background-position: 0% 0;
  transition: background-position 0.2s ease-in-out;
  -webkit-transition: background-position 0.2s ease-in-out;
  z-index: 0;
  pointer-events: none;
}
/* Contact form CTA button states */
.cta-button-disabled {
  color: #ccc;
  border: 1px solid #ccc;
  background: none;
  cursor: not-allowed;
  filter: grayscale(1) brightness(0.8);
  transition: filter 0.2s, background 0.3s, color 0.3s;
}
.cta-button:hover::before {
  background-position: 100% 0;
}
.cta-button:hover {
  box-shadow: 0 0 8px #FFD46488;
  color: #fff7cc;
  text-decoration: none;
}
.cta-button span {
  position: relative;
  z-index: 1;
}
.cta-button.metallic-blue {
  border-color: #4C9ED9;
  color: #4C9ED9;
}
.cta-button.metallic-blue::before {
  background: linear-gradient(
    120deg,
    rgba(76, 158, 217, 0.1) 0%,
    rgba(76, 158, 217, 0.25) 80%,
    rgba(76, 158, 217, 0.1) 100%
  );
}
.cta-button.metallic-blue:hover {
  box-shadow: 0 0 8px #4C9ED9;
}
.cta-button.metallic-teal {
  border-color: #20C9D2;
  color: #20C9D2;
}
.cta-button.metallic-teal::before {
  background: linear-gradient(
    120deg,
    rgba(32, 201, 210, 0.1) 0%,
    rgba(32, 244, 208, 0.25) 80%,
    rgba(32, 201, 210, 0.1) 100%
  );
}
.cta-button.metallic-teal:hover {
  box-shadow: 0 0 8px #20F4D0;
}
.fa-icon {
  width: 20px;
}
.arrow {
  width: 60px;
}

/* Bread Crumbs */
.page .breadcrumbs li {
  padding: 0;
}
.page .breadcrumbs li::before {
  display: none;
}
.page .breadcrumb-nav {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.4px;
}
.page .breadcrumbs {
  list-style: none;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  gap: 0.5rem;
  color: #88ccff;
  padding: 0;
  margin: 0;
}
.page .breadcrumbs li::after {
  list-style: none;
  content: "›";
  color: #20C9D2;
  margin-left: 0.5rem;
}
.page .breadcrumbs li:last-child::after {
  content: "";
}
.page .breadcrumb-link {
  color: #88ccff;
  text-decoration: none;
  transition: color 0.2s ease;
  -webkit-transition: color 0.2s ease;
}
.page .breadcrumb-link:hover {
  color: #20C9D2;
}
.page .breadcrumb-current {
  color: #ccddee;
  font-weight: 500;
  opacity: 0.85;
}

/* Simple Navigator bar */
.page-nav {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  align-items: center;
  -webkit-align-items: center;
  margin: 1rem 0 2rem;
  font-size: 0.9rem;
}
.page-link {
  display: inline-flex;
  display: -webkit-inline-flex;
  align-items: center;
  -webkit-align-items: center;
  gap: 0.5rem;
  color: #88ccff;
  transition: color 0.2s ease;
  -webkit-transition: color 0.2s ease;
  opacity: 0.8;
}
.page-link:hover {
  color: #20C9D2;
  opacity: 1;
  text-decoration: none;
}
.page-link .arrow {
  width: 12px;
  height: 12px;
  vertical-align: middle;
}
.page-link.prev .arrow {
  transform: translateY(1px);
  -webkit-transform: translateY(1px);
}
.page-link.next .arrow {
  transform: translateY(1px);
  -webkit-transform: translateY(1px);
}

/* Contact Form */
.contact {
  background-color: #050A12ee;
  padding: 1em;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  flex-direction: column;
  -webkit-flex-direction: column;
}
.contact .page-content {
  padding: 2em;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
}
.contact .contact-form {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  -webkit-align-items: center;
  width: 70vw;
}
.contact-form-area {
  width:100%;
  max-width:420px;
  position:relative;
}
.contact .form-fields {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}
.contact .contact-form input[type="text"] {
  background: #232c3d;
  border: none;
  color: #fff;
  font-size: 1.08rem;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  outline: none;
  width: 100%;
  transition: box-shadow 0.2s;
  -webkit-transition: box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.contact .contact-form input[type="text"]:focus {
  box-shadow: 0 0 12px #00f2ff66;
}
.contact h2 {
  text-align: center;
}

/* Socials */
.social-follow {
  margin: auto;
  padding: 1em;
  text-align: center;
  width: 250px;
  border-radius: 16px;
}
.social-follow h3 {
  margin-top: 0;
  margin-bottom: 1em;
}
.social-icons {
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  gap: 1.5rem;
}
.social-icons a {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  -webkit-transition: -webkit-transform 0.2s ease, filter 0.2s ease;
}
.social-icons img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 4px #20C9D233);
}
.social-icons a:hover {
  transform: scale(1.15);
  -webkit-transform: scale(1.15);
}

/* Footer */
.site-footer {
  background: #151d2d;
  color: #c0ccda;
  padding: 2rem 1.5rem;
  padding-bottom: 6em;
  font-size: 0.95rem;
  border-top: 1.5px solid #222f47;
}
.footer-container {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  align-items: center;
  -webkit-align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-logo img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
}
.footer-links-rows {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  align-items: center;
  -webkit-align-items: center;
  text-align: center;
}
.footer-link-row {
  font-size: 0.95rem;
  color: #dde5f4;
  opacity: 0.95;
}
.footer-link-row a {
  color: #dde5f4;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.25rem;
}
.footer-link-row a:hover {
  color: #ffb347;
  text-decoration: underline;
}
.footer-meta {
  font-size: 0.85rem;
  color: #8ea3c2;
  opacity: 0.85;
  line-height: 1.5;
}
.footer-email {
   color: #dde5f4;
   text-decoration: none;
   font-size: 0.97em;
}
.footer-email:hover {
  color: #20C9D2;
  text-decoration: underline;
}

/* Tables */
.futuristic-table-wrapper {
  padding: 2rem;
}
.futuristic-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e0eaff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}
.futuristic-table th,
.futuristic-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.futuristic-table thead th {
  background: rgba(0, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.futuristic-table tbody tr:hover {
  background: rgba(0, 255, 255, 0.06);
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
  transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  -webkit-transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.futuristic-table td {
  font-weight: 300;
}
.futuristic-table tr:last-child td {
  border-bottom: none;
}

/* Effects */
.lift-on-hover:hover {
  transform: translateY(-4px) scale(1.03);
  -webkit-transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255, 180, 71, 0.13);
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-transition: -webkit-transform 0.2s, box-shadow 0.2s;
}
.gradient-blue {
  background: linear-gradient(90deg, #20C9D2, #7DE2EB, #1E5E8A, #20C9D2);
}
.gradient-yellow {
  background: linear-gradient(90deg, #FFD464, #2AE9BB, #FFD464);
}
.gradient-text {
  background-size: 200% 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: text-gradient 10s linear infinite;
  -webkit-animation: text-gradient 10s linear infinite;
}
@keyframes text-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@-webkit-keyframes text-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px #FFD46477;
  border-color: #FFD464;
  transition: box-shadow 0.2s, border-color 0.2s;
  -webkit-transition: box-shadow 0.2s, border-color 0.2s;
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  -webkit-transform: translateY(24px);
  animation: fadeInUp 0.7s 0.2s forwards;
  -webkit-animation: fadeInUp 0.7s 0.2s forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}
@-webkit-keyframes fadeInUp {
  to {
    opacity: 1;
    -webkit-transform: none;
  }
}
.gradient-border {
  border: 1.5px solid;
  border-image: linear-gradient(45deg, #FFD464, #20C9D2, #F26430, #FFD464) 1;
  box-shadow: 0 2px 24px #2AE9BB33;
  animation: border-gradient-move 4s linear infinite;
  -webkit-animation: border-gradient-move 4s linear infinite;
}
.accent-bar {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #FFD464, #2AE9BB, #FFD464);
  background-size: 200% 100%;
  animation: bar-gradient 4s linear infinite;
  -webkit-animation: bar-gradient 4s linear infinite;
  border-radius: 3px;
  margin: 2em;
}
@keyframes bar-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@-webkit-keyframes bar-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Responsive: Tablet */
@media (min-width: 786px) {
  .cta-button {
    padding: 1em 1.5em;
  }
  .contact .contact-form {
    width: 40vw;
  }
  .footer-container {
    padding-bottom: 2em;
  }
}
/* Responsive: Desktop */
@media (min-width: 1400px) {
  .contact .page-content {
    padding: 2em;
  }
  .contact .contact-form {
    width: 30vw;
  }
  .scale-on-scroll {
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
    will-change: transform, opacity;
  }
}

@media (max-width: 785px) {
  .futuristic-table.responsive-stacked {
    display: none;
  }
  .futuristic-table-wrapper {
    padding: 0.5rem;
  }
  .futuristic-table-mobile {
    display: block;
    width: 100%;
    background: #181c24;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    color: #fff;
    font-size: 1.1em;
    line-height: 1.7;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 1.2em 1.5em;
  }
  .futuristic-table-mobile .ftm-col {
    margin-bottom: 2em;
    border-bottom: 1px solid #2a2e39;
    padding-bottom: 1em;
  }
  .futuristic-table-mobile .ftm-col:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .futuristic-table-mobile .ftm-header {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    color: #FFD464;
  }
  .futuristic-table-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .futuristic-table-mobile li {
    margin-bottom: 0.7em;
    color: #cfd8dc;
  }
}
