/* ============================================
   Enigma Mind Trust Center - Main Styles
   ============================================ */
@font-face {
  font-family: "Marcos";
  src: url("../fonts/Marcos.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --color-bg:         #060E1A;
  --color-bg-2:       #0A1628;
  --color-bg-3:       #0D1E35;
  --color-cyan:       #17D3E8;
  --color-cyan-dark:  #0BAABB;
  --color-cyan-glow:  rgba(23, 211, 232, 0.15);
  --color-white:      #FFFFFF;
  --color-text:       #FFFFFF;
  --color-text-muted: rgba(255,255,255,0.65);
  --color-border:     rgba(23,211,232,0.2);
  --color-card-bg:    rgba(255,255,255,0.04);

  --font-heading: "Marcos", sans-serif;
  --font-body:    "Open Sans", sans-serif;

  --container-max: 1440px;
  --container-pad: clamp(20px, 5vw, 80px);
  --nav-height: 70px;
}

/*html { scroll-behavior: smooth; }

body {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

!* ============================================
   NAVIGATION
   ============================================ *!
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: linear-gradient(180deg, rgba(6,14,26,0.95) 0%, rgba(6,14,26,0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23,211,232,0.1);
  transition: border-bottom-color 0.3s;
  overflow: hidden;
}

.site-header.scrolled {
  border-bottom-color: rgba(23,211,232,0.25);
}

!* Left decorative image *!
.header-side-image {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: clamp(80px, 12vw, 200px);
  pointer-events: none;
  overflow: hidden;
}
.header-side-image img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  !* fade out to the right so it blends into the dark header *!
  mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  !* push content right of the side image on larger screens *!
  padding-left: calc(clamp(80px, 12vw, 200px) + 24px);
}

@media (max-width: 480px) {
  .header-side-image {
    display: none;
  }
  .site-header .container {
    padding-left: var(--container-padding, 24px);
  }
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-logo .logo-mind span { color: var(--color-cyan); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--color-white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-cyan);
  color: var(--color-bg);
}
.btn-primary:hover {
  background: var(--color-cyan-dark);
  transform: translateY(-1px);
}

!* ============================================
   HERO SECTION
   ============================================ *!
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 75% 50%, rgba(0,50,80,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 50%, rgba(23,211,232,0.07) 0%, transparent 50%),
    linear-gradient(135deg, #060E1A 0%, #081422 50%, #091828 100%);
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  top: 0; right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 15%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.55) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.2) 15%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.55) 100%);
  opacity: 0.75;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 0;
}

.hero__headline {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero__headline .highlight { color: var(--color-cyan); }

.hero__description {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero__cta .btn {
  padding: 14px 40px;
  font-size: 15px;
}

!* ============================================
   TRUST CENTER TABS
   ============================================ *!
.trust-tabs {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}

.trust-tabs .container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-tabs .container::-webkit-scrollbar { display: none; }

.trust-tab {
  padding: 18px 30px;
  font-size: 15px;
  font-weight: 500;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-tab:hover { color: #111827; }
.trust-tab[data-tab="faq"] { text-transform: uppercase; }
.trust-tab.active {
  color: var(--color-cyan-dark);
  border-bottom-color: var(--color-cyan-dark);
}

!* ============================================
   TRUST CONTENT
   ============================================ *!
.trust-content {
  padding: 48px 0 100px;
  background: #ffffff;
  color: #111827;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }*/

/* ============================================
   FAQ LAYOUT
   ============================================ */
/*
.faq-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.faq-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 80px);
  min-width: 0;
}

!* grid column must have min-width:0 so content can't stretch it beyond 1fr *!
.faq-main {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

!* Toolbar: search + collapse/expand — lives in main area *!
.faq-main__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.faq-search-wrap {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 320px;
}
.faq-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}
.faq-sidebar__search {
  width: 100%;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 9px 14px 9px 36px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}
.faq-sidebar__search::placeholder { color: #9ca3af; }
.faq-sidebar__search:focus {
  border-color: var(--color-cyan-dark);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(23, 211, 232, 0.15);
}

.faq-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.faq-controls button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.faq-controls button:hover {
  color: #111827;
  border-color: #9ca3af;
}
.ctrl-arrow { font-size: 11px; opacity: 0.7; }

!* Old sidebar controls — keep selector for backwards compat but hide *!
.faq-sidebar__controls {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
}
.faq-sidebar__controls button {
  color: var(--color-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-sidebar__controls button:hover { opacity: 0.75; }

.faq-categories { display: flex; flex-direction: column; gap: 2px; }

.faq-category {
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.faq-category:hover { background: #f3f4f6; color: #111827; }
.faq-category.active { background: rgba(11,170,187,0.1); color: var(--color-cyan-dark); }

!* FAQ Main *!
.faq-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111827;
  margin: 40px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-section-title:first-child { margin-top: 0; }

.faq-section-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #6b7280;
  transition: transform 0.25s;
}
.faq-section-toggle[aria-expanded="false"] {
  transform: rotate(-90deg);
}

@media (max-width: 480px) {
  .faq-section-toggle {
    display: flex;
  }
}

.accordion-group { margin-bottom: 32px; }

.accordion-item { border-bottom: 1px solid #e5e7eb; }
.accordion-item:first-child { border-top: 1px solid #e5e7eb; }

.accordion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  text-align: left;
  font-size: 15px;
  color: #374151;
  transition: color 0.2s;
}
.accordion-header:hover { color: #111827; }
.accordion-header.active { color: var(--color-cyan-dark); }

.accordion-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s;
}
.accordion-header.active .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 4px 0 20px 32px;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.75;
}
.accordion-body p,
.accordion-body ul,
.accordion-body ol {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.accordion-body pre {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: inherit;
  max-width: 100%;
}
.accordion-body.open { display: block; }

mark.faq-highlight {
  display: inline;
  background: #fef08a;
  color: inherit;
  border-radius: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  unicode-bidi: normal;
}
*/

/* ============================================
   CONTENT PANELS (Overview / Resources / Updates)
   ============================================ */
.content-panel { max-width: 860px; padding: 40px 0; }
.content-panel h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; color: #111827; }
.content-panel > p { color: #6b7280; font-size: 16px; line-height: 1.75; margin-bottom: 12px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}
a.card:hover {
  border-color: var(--color-cyan-dark);
  background: rgba(11,170,187,0.04);
}
.card h3 { color: #111827; }
.card p { color: #6b7280; }

.card__icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--color-cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; margin: 0; }

/* Updates */
.updates-list { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.update-item {
  display: flex;
  gap: 24px;
  padding: 20px 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color 0.2s;
}
.update-item:hover { border-color: var(--color-cyan-dark); }
.update-date { font-size: 13px; color: var(--color-cyan-dark); white-space: nowrap; min-width: 96px; padding-top: 2px; }
.update-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #111827; }
.update-item p { font-size: 14px; color: #6b7280; margin: 0; }

/* ============================================
   REQUEST ACCESS PAGE
   ============================================ */
.request-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 60px) var(--container-pad) 80px;
}

.request-form-wrap {
  width: 100%;
  max-width: 560px;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 56px);
}
.request-form-wrap h1 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 8px; }
.request-form-wrap > p { color: var(--color-text-muted); margin-bottom: 32px; font-size: 15px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-body);
}
.form-control:focus { border-color: var(--color-cyan); }
.form-control::placeholder { color: rgba(255,255,255,0.25); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-success {
  background: rgba(23,211,232,0.1);
  border: 1px solid var(--color-cyan);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 24px;
  color: var(--color-cyan);
  font-size: 14px;
}

/* ============================================
   DEFAULT PAGE (Privacy Policy etc.)
   ============================================ */
.policy-page {
  padding: calc(var(--nav-height) + 60px) var(--container-pad) 80px;
  max-width: 860px;
  margin: 0 auto;
}
.policy-page h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 8px; }
.policy-page .updated { color: var(--color-text-muted); font-size: 14px; margin-bottom: 48px; }
.policy-page h2 { font-size: 20px; margin: 36px 0 10px; color: var(--color-cyan); }
.policy-page p, .policy-page li { font-size: 15px; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 12px; }
.policy-page ul { padding-left: 20px; list-style: disc; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 24px 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 220px 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --container-pad: 20px; }

  .hero__bg-image {
    width: 100%;
    mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.55) 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.55) 100%);
    opacity: 0.4;
  }
  .hero__content { max-width: 100%; padding: 60px 0; }
  .nav-link { display: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { display: none; }
  .faq-categories { flex-direction: row; flex-wrap: wrap; }
  .faq-search-wrap { max-width: 100%; }
  .faq-main__toolbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 32px; }
  .hero__cta .btn { width: 100%; }
}

/* ============================================
   REQUEST ACCESS POPUP
   ============================================ */
/*.popup-overlay {*/
/*  position: fixed;*/
/*  inset: 0;*/
/*  z-index: 1000;*/
/*  background: rgba(6, 14, 26, 0.75);*/
/*  backdrop-filter: blur(4px);*/
/*  -webkit-backdrop-filter: blur(4px);*/
/*  overflow-y: auto;*/
/*  padding: 24px;*/
/*}*/
/*.popup-overlay[hidden] { display: none; }*/

/*.popup-success-modal {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 480px;
  background: #0d1b2e;
  border-radius: 16px;
  border: 1px solid rgba(23, 211, 232, 0.12);
  padding: 56px 48px 48px;
  text-align: center;
}

.popup-success-icon {
  margin-bottom: 24px;
}

.popup-success-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.popup-success-message {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0;
}*/

/*.popup-spinner-overlay {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  z-index: 20;*/
/*  background: rgba(6, 14, 26, 0.7);*/
/*  backdrop-filter: blur(2px);*/
/*  border-radius: 16px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*}*/
/*.popup-spinner-overlay[hidden] { display: none; }*/

/*.popup-spinner {*/
/*  width: 44px;*/
/*  height: 44px;*/
/*  border: 3px solid rgba(23, 211, 232, 0.2);*/
/*  border-top-color: #17D3E8;*/
/*  border-radius: 50%;*/
/*  animation: popup-spin 0.7s linear infinite;*/
/*}*/

/*@keyframes popup-spin {*/
/*  to { transform: rotate(360deg); }*/
/*}*/

/*.popup-modal {*/
/*  position: relative;*/
/*  margin: auto;*/
/*  display: grid;*/
/*  grid-template-columns: 1fr 1fr;*/
/*  width: 100%;*/
/*  max-width: 960px;*/
/*  background: #0d1b2e;*/
/*  border-radius: 16px;*/
/*  border: 1px solid rgba(23, 211, 232, 0.12);*/
/*  overflow: hidden;*/
/*}*/

/*.popup-close {*/
/*  position: absolute;*/
/*  top: 16px;*/
/*  right: 16px;*/
/*  z-index: 10;*/
/*  width: 36px;*/
/*  height: 36px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  color: rgba(255,255,255,0.5);*/
/*  border-radius: 50%;*/
/*  transition: color 0.2s, background 0.2s;*/
/*}*/
/*.popup-close:hover { color: #fff; background: rgba(255,255,255,0.08); }*/

/*.popup-note {*/
/*  font-size: 13px;*/
/*  line-height: 1.5;*/
/*  color: rgba(255,255,255,0.45);*/
/*  margin: 4px 0 16px;*/
/*}*/

/*!* Left column *!*/
/*.popup-left {*/
/*  padding: 48px 40px;*/
/*  background: #0a1525;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 20px;*/
/*}*/

/*.popup-badge {*/
/*  display: inline-flex;*/
/*  align-self: flex-start;*/
/*  padding: 5px 14px;*/
/*  border: 1px solid rgba(255,255,255,0.25);*/
/*  border-radius: 100px;*/
/*  font-size: 11px;*/
/*  font-weight: 600;*/
/*  letter-spacing: 0.1em;*/
/*  color: rgba(255,255,255,0.7);*/
/*  text-transform: uppercase;*/
/*}*/

/*.popup-headline {*/
/*  font-size: clamp(22px, 2.5vw, 32px);*/
/*  font-weight: 700;*/
/*  color: #ffffff;*/
/*  line-height: 1.25;*/
/*  font-family: var(--font-heading);*/
/*}*/
/*.popup-highlight { color: var(--color-cyan); }*/

/*.popup-description {*/
/*  font-size: 14px;*/
/*  color: rgba(255,255,255,0.55);*/
/*  line-height: 1.7;*/
/*}*/

/*.popup-checklist {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 16px;*/
/*  list-style: none;*/
/*  padding: 0;*/
/*  margin: 0;*/
/*}*/
/*.popup-checklist__item {*/
/*  display: flex;*/
/*  align-items: flex-start;*/
/*  gap: 12px;*/
/*}*/
/*.popup-checklist__icon {*/
/*  flex-shrink: 0;*/
/*  color: var(--color-cyan);*/
/*  margin-top: 1px;*/
/*}*/
/*.popup-checklist__text {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 2px;*/
/*}*/
/*.popup-checklist__text strong {*/
/*  font-size: 15px;*/
/*  font-weight: 600;*/
/*  color: #ffffff;*/
/*}*/
/*.popup-checklist__text span {*/
/*  font-size: 13px;*/
/*  color: rgba(255,255,255,0.5);*/
/*}*/

/*!* Right column *!*/
/*.popup-right {*/
/*  padding: 48px 40px;*/
/*  background: #0d1b2e;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 20px;*/
/*}*/

/*.popup-form-title {*/
/*  font-size: 20px;*/
/*  font-weight: 700;*/
/*  color: #ffffff;*/
/*  font-family: var(--font-heading);*/
/*}*/

/*.popup-form-subtitle {*/
/*  font-size: 13px;*/
/*  color: rgba(255,255,255,0.5);*/
/*  line-height: 1.6;*/
/*  margin-top: -8px;*/
/*}*/

/*.popup-form-error {*/
/*  color: rgba(255,255,255,0.5);*/
/*  font-size: 14px;*/
/*}*/

/* Forminator 2-column layout inside popup */
.popup-right form.forminator-custom-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.forminator-edit-module { display: none; }

.popup-right form.forminator-custom-form .forminator-response-message,
.popup-right form.forminator-custom-form .forminator-row:has(textarea),
.popup-right form.forminator-custom-form .forminator-row:has(.forminator-button),
.popup-right form.forminator-custom-form .forminator-row-last {
  grid-column: 1 / -1;
}

/* Forminator overrides inside popup */
.popup-right .forminator-custom-form .forminator-field label {
  color: rgba(255,255,255,0.7) !important;
  font-size: 13px !important;
}
.popup-right .forminator-custom-form input,
.popup-right .forminator-custom-form textarea,
.popup-right .forminator-custom-form select {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
.popup-right .forminator-custom-form input::placeholder,
.popup-right .forminator-custom-form textarea::placeholder {
  color: rgba(255,255,255,0.25) !important;
}
.popup-right .forminator-custom-form input:focus,
.popup-right .forminator-custom-form textarea:focus {
  border-color: var(--color-cyan) !important;
  outline: none !important;
}
.popup-right .forminator-custom-form .forminator-button-submit {
  width: 100% !important;
  background: var(--color-cyan) !important;
  color: #060e1a !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 14px !important;
  font-size: 15px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.popup-right .forminator-custom-form .forminator-button-submit:hover {
  background: var(--color-cyan-dark) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .popup-modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .popup-left { padding: 32px 24px; }
  .popup-right { padding: 32px 24px; }
  .popup-right form.forminator-custom-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .popup-overlay { padding: 0; align-items: flex-end; }
  .popup-modal { border-radius: 16px 16px 0 0; max-height: 95vh; }
}
