@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

:root {
  --bg: #07101f;
  --panel: rgba(10, 20, 38, .80);
  --surface: rgba(255,255,255,.055);
  --surface-hover: rgba(255,255,255,.085);
  --border: rgba(255,255,255,.105);
  --border-strong: rgba(255,255,255,.18);
  --text: #f7f9fd;
  --muted: #a8b3c6;
  --subtle: #738098;
  --accent: #75e5c2;
  --accent-dark: #071813;
  --danger: #ffb2b2;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(74,104,225,.18), transparent 32rem),
    radial-gradient(circle at 90% 78%, rgba(38,214,161,.11), transparent 29rem),
    linear-gradient(145deg, #060c18 0%, #091427 55%, #07101e 100%);
}

body.dialog-open { overflow: hidden; }

button, input, textarea, select { font: inherit; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .22;
  pointer-events: none;
}

.ambient-a { top: -150px; right: -130px; background: #607fff; }
.ambient-b { bottom: -170px; left: -140px; background: #32d9a8; }

.shell {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
  padding: 32px 0 46px;
}

.profile {
  position: relative;
  padding: 42px clamp(18px, 5vw, 42px) 28px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.share-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: 180ms ease;
}

.share-button:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

.share-button svg { width: 17px; fill: currentColor; }

.portrait-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 2px auto 20px;
}

.portrait {
  width: 100%;
  height: 100%;
  display: block;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(0,0,0,.32);
}

.online-dot {
  position: absolute;
  right: 4px;
  bottom: 7px;
  width: 18px;
  height: 18px;
  border: 4px solid #0b1628;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  margin: 0;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 6vw, 2.55rem);
  letter-spacing: -.055em;
}

.role {
  margin: 10px 0 0;
  color: var(--accent);
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.55;
}

.intro {
  max-width: 540px;
  margin: 15px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: .96rem;
  line-height: 1.65;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 21px;
}

.socials a {
  color: var(--subtle);
  font-size: .8rem;
  text-decoration: none;
  transition: 160ms ease;
}

.socials a:hover { color: var(--text); }

.meeting-cta {
  width: 100%;
  min-height: 78px;
  margin-top: 30px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(117,229,194,.42);
  border-radius: 18px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(115deg, rgba(117,229,194,.17), rgba(117,154,255,.08)),
    rgba(255,255,255,.045);
  cursor: pointer;
  transition: 190ms ease;
}

.meeting-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(117,229,194,.67);
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
}

.meeting-cta span:first-child {
  display: grid;
  gap: 5px;
}

.meeting-cta strong { font-size: 1rem; }
.meeting-cta small { color: var(--muted); line-height: 1.35; }
.cta-arrow { color: var(--accent); font-size: 1.35rem; }

.link-group { margin-top: 38px; }

.group-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}

.group-heading h2 {
  margin: 0;
  color: var(--subtle);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.group-heading span {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.link-row {
  min-height: 76px;
  padding: 12px 4px;
  display: grid;
  grid-template-columns: 43px 1fr 25px;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: 170ms ease;
}

.link-row:hover {
  padding-inline: 10px;
  background: rgba(255,255,255,.026);
}

.link-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
  background: rgba(255,255,255,.045);
  font-size: .72rem;
  font-weight: 800;
}

.link-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.link-text strong { font-size: .95rem; }
.link-text small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.link-arrow { color: var(--subtle); font-size: 1.1rem; transition: 170ms ease; }
.link-row:hover .link-arrow { color: var(--accent); transform: translate(2px,-2px); }

footer {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--subtle);
  font-size: .72rem;
}

.meeting-dialog {
  width: min(calc(100% - 28px), 760px);
  max-height: min(92vh, 880px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 25px;
  color: var(--text);
  background: #0b172a;
  box-shadow: 0 40px 120px rgba(0,0,0,.58);
  overflow: auto;
}

.meeting-dialog::backdrop {
  background: rgba(1, 5, 12, .76);
  backdrop-filter: blur(9px);
}

.meeting-form { padding: clamp(22px, 5vw, 38px); }

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.dialog-kicker {
  margin: 0 0 8px !important;
  color: var(--accent) !important;
  font-size: .72rem !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dialog-head h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  letter-spacing: -.045em;
}

.dialog-head p {
  max-width: 570px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.close-dialog {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-size: 1.4rem;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label, .consent-row {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  color: #c5ccda;
  font-size: .78rem;
  font-weight: 600;
}

.full-width { grid-column: 1 / -1; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: rgba(255,255,255,.045);
  transition: 160ms ease;
}

input, select { height: 47px; padding: 0 13px; }
textarea { padding: 13px; resize: vertical; min-height: 125px; }
select { color-scheme: dark; }

input:focus, select:focus, textarea:focus {
  border-color: rgba(117,229,194,.65);
  box-shadow: 0 0 0 3px rgba(117,229,194,.09);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
}

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  margin-top: 22px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.form-footer {
  min-height: 52px;
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

#formStatus {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}

#formStatus.error { color: var(--danger); }
#formStatus.success { color: var(--accent); }

.submit-button {
  flex: 0 0 auto;
  min-width: 150px;
  height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 12px;
  color: var(--accent-dark);
  background: var(--accent);
  font-weight: 700;
  cursor: pointer;
  transition: 170ms ease;
}

.submit-button:hover { transform: translateY(-2px); }
.submit-button:disabled { opacity: .55; cursor: wait; transform: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  background: #122038;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: 180ms ease;
  pointer-events: none;
}

.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 600px) {
  .shell { width: 100%; padding: 0; }
  .profile { min-height: 100vh; border: 0; border-radius: 0; padding-top: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .meeting-dialog { width: 100%; max-height: 94vh; margin-top: auto; border-radius: 24px 24px 0 0; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
  footer { align-items: center; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* DYNAMIC SOCIAL ICONS */

.socials {
  gap: 12px;
}

.social-icon-link {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.social-icon-link:hover {
  transform: translateY(-3px);
  border-color: rgba(117,229,194,.48);
  background: rgba(255,255,255,.075);
}

.social-icon-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.link-symbol-image {
  padding: 5px;
  overflow: hidden;
}

.link-symbol-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}


/* MEETING AVAILABILITY OPTIONS */

.availability-section {
  display: grid;
  gap: 14px;
}

.availability-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.availability-heading > div {
  display: grid;
  gap: 5px;
}

.availability-heading span {
  color: #c5ccda;
  font-size: .78rem;
  font-weight: 600;
}

.availability-heading small {
  color: var(--muted);
  font-size: .74rem;
}

.add-option-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  background: rgba(255,255,255,.035);
  cursor: pointer;
}

.add-option-button:hover {
  border-color: rgba(117,229,194,.48);
  background: rgba(117,229,194,.07);
}

.add-option-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.availability-options {
  display: grid;
  gap: 11px;
}

.availability-option {
  position: relative;
  padding: 15px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(0, 1fr) 34px;
  align-items: end;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.026);
}

.option-number {
  align-self: center;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
}

.availability-option label {
  display: grid;
  gap: 7px;
}

.availability-option label > span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}

.remove-option-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: #ffb2b2;
  background: rgba(255,255,255,.035);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 620px) {
  .availability-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .availability-option {
    grid-template-columns: 1fr;
  }

  .option-number {
    margin-bottom: 2px;
  }

  .remove-option-button {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}


/* COMPACT TURNSTILE */

.turnstile-area {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 72px;
}

#turnstileWidget {
  width: fit-content;
  max-width: 100%;
}

#turnstileWidget iframe {
  max-width: 100%;
}

@media (max-width: 600px) {
  .turnstile-area {
    justify-content: center;
  }
}


/* TURNSTILE CENTERED COMPACT FIX */

.turnstile-area {
  margin-top: 12px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#turnstileWidget {
  width: fit-content;
  margin-inline: auto;
}

#turnstileWidget iframe {
  display: block;
  margin-inline: auto;
}


/* FINAL TURNSTILE LAYOUT */

.turnstile-area {
  width: 100%;
  margin: 20px 0 0;
  padding: 20px 0 0;
  display: block;
  border-top: 1px solid var(--border);
  min-height: 0;
}

#turnstileWidget {
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
}

#turnstileWidget > div {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

#turnstileWidget iframe {
  width: 100% !important;
  max-width: none !important;
  display: block;
  margin: 0 !important;
}

/* Consent ve gönderme bölümü Turnstile'dan önce kalır */

.form-footer {
  margin-top: 22px;
}

@media (max-width: 600px) {
  .turnstile-area {
    margin-top: 18px;
    padding-top: 18px;
  }
}

