:root {
  --cdk-accent: #0f766e;
  --cdk-accent-dark: #115e59;
  --cdk-ink: #17202a;
  --cdk-muted: #64748b;
  --cdk-line: #e5e7eb;
  --cdk-surface: #ffffff;
  --cdk-bg: #f1f5f9;
}

.cdk-page {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 32px 16px 56px;
  background: radial-gradient(circle at top, #dff7f3 0, var(--cdk-bg) 340px);
  color: var(--cdk-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cdk-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.cdk-orb-one { top: 50px; left: max(20px, calc(50% - 470px)); width: 230px; height: 230px; }
.cdk-orb-two { right: max(20px, calc(50% - 450px)); bottom: 90px; width: 170px; height: 170px; }

.cdk-page *, .cdk-page *::before, .cdk-page *::after { box-sizing: border-box; }

.cdk-card {
  width: min(100%, 680px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, .12);
  border-radius: 28px;
  background: var(--cdk-surface);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.cdk-hero {
  padding: 26px 28px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, var(--cdk-accent-dark), var(--cdk-accent));
}

.cdk-brand { margin-bottom: 20px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.cdk-photo-wrap { display: flex; justify-content: center; margin-bottom: 16px; }
.cdk-photo { width: 132px; height: 132px; margin: 0; border: 5px solid rgba(255,255,255,.88); border-radius: 50%; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.cdk-photo-placeholder { display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff; font-size: 52px; font-weight: 700; }
.cdk-hero h1 { margin: 0; color: #fff; font-size: clamp(28px, 6vw, 38px); line-height: 1.15; }
.cdk-title { margin: 8px 0 0; font-size: 18px; font-weight: 650; }
.cdk-company { margin: 6px 0 0; font-size: 14px; opacity: .82; }

.cdk-actions { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--cdk-line); }
.cdk-action { display: flex; min-width: 0; padding: 16px 8px; align-items: center; justify-content: center; gap: 6px; border-right: 1px solid var(--cdk-line); color: var(--cdk-accent-dark); font-size: 13px; font-weight: 700; text-decoration: none !important; }
.cdk-action:last-child { border-right: 0; }
.cdk-action:hover, .cdk-action:focus { background: #f0fdfa; color: var(--cdk-accent-dark); }
.cdk-action span { font-size: 18px; }

.cdk-body { padding: 26px; }
.cdk-save { display: flex; width: 100%; padding: 15px 18px; align-items: center; justify-content: center; gap: 12px; border-radius: 15px; background: var(--cdk-accent); color: #fff !important; text-decoration: none !important; box-shadow: 0 9px 22px rgba(15,118,110,.25); }
.cdk-save:hover, .cdk-save:focus { background: var(--cdk-accent-dark); transform: translateY(-1px); }
.cdk-save-plus { display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; font-size: 25px; line-height: 1; }
.cdk-save strong, .cdk-save small { display: block; }
.cdk-save strong { font-size: 17px; }
.cdk-save small { margin-top: 2px; opacity: .8; }

.cdk-section { margin-top: 30px; }
.cdk-section h2 { margin: 0 0 13px; color: var(--cdk-ink); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.cdk-about { color: #475569; font-size: 16px; line-height: 1.7; }
.cdk-about > :first-child { margin-top: 0; }
.cdk-about > :last-child { margin-bottom: 0; }

.cdk-details { overflow: hidden; border: 1px solid var(--cdk-line); border-radius: 16px; }
.cdk-details h2 { padding: 16px 18px 10px; margin: 0; }
.cdk-details > a { display: flex; padding: 13px 18px; flex-direction: column; gap: 2px; border-top: 1px solid var(--cdk-line); color: var(--cdk-ink); text-decoration: none !important; }
.cdk-details > a:hover, .cdk-details > a:focus { background: #f8fafc; }
.cdk-details span { color: var(--cdk-muted); font-size: 12px; }
.cdk-details strong { overflow-wrap: anywhere; font-size: 15px; font-weight: 650; }
.cdk-location { display: flex; padding: 14px 18px 18px; flex-direction: column; gap: 3px; border-top: 1px solid var(--cdk-line); }
.cdk-map-button { display: inline-flex; width: fit-content; margin-top: 12px; padding: 10px 15px; align-items: center; gap: 7px; border-radius: 10px; background: var(--cdk-accent); color: #fff !important; font-size: 13px; font-weight: 750; text-decoration: none !important; box-shadow: 0 7px 16px rgba(15, 23, 42, .16); }
.cdk-map-button:hover, .cdk-map-button:focus { background: var(--cdk-accent-dark); transform: translateY(-1px); }
.cdk-map-button span { color: inherit; font-size: 18px; }

.cdk-social div { display: flex; flex-wrap: wrap; gap: 10px; }
.cdk-social a { padding: 9px 14px; border: 1px solid var(--cdk-line); border-radius: 999px; color: var(--cdk-accent-dark); font-size: 14px; font-weight: 700; text-decoration: none !important; }
.cdk-social a:hover, .cdk-social a:focus { border-color: var(--cdk-accent); background: #f0fdfa; }

/* Premium Koyu */
.cdk-template-premium {
  --cdk-accent: #7c3aed;
  --cdk-accent-dark: #5b21b6;
  --cdk-ink: #f8fafc;
  --cdk-muted: #a8b3cf;
  --cdk-line: rgba(255,255,255,.11);
  --cdk-surface: rgba(10, 15, 35, .88);
  background: radial-gradient(circle at 70% 0, #312e81 0, transparent 32%), linear-gradient(145deg, #050816, #111937 55%, #080b1a);
}
.cdk-template-premium .cdk-orb-one { background: rgba(124,58,237,.24); box-shadow: 0 0 90px #7c3aed; }
.cdk-template-premium .cdk-orb-two { background: rgba(14,165,233,.16); box-shadow: 0 0 80px #0ea5e9; }
.cdk-template-premium .cdk-card { border-color: rgba(255,255,255,.14); background: rgba(8,13,31,.86); box-shadow: 0 35px 90px rgba(0,0,0,.46); backdrop-filter: blur(18px); }
.cdk-template-premium .cdk-hero { position: relative; background: radial-gradient(circle at 75% 15%, rgba(192,132,252,.42), transparent 31%), linear-gradient(145deg, rgba(30,41,85,.92), rgba(88,28,135,.82)); }
.cdk-template-premium .cdk-photo { border-color: rgba(255,255,255,.72); box-shadow: 0 0 0 8px rgba(255,255,255,.06), 0 18px 35px rgba(0,0,0,.38); }
.cdk-template-premium .cdk-actions, .cdk-template-premium .cdk-action { border-color: var(--cdk-line); }
.cdk-template-premium .cdk-action { color: #ddd6fe; background: rgba(255,255,255,.025); }
.cdk-template-premium .cdk-action:hover { background: rgba(124,58,237,.17); color: #fff; }
.cdk-template-premium .cdk-about { color: #cbd5e1; }
.cdk-template-premium .cdk-section h2 { color: #fff; }
.cdk-template-premium .cdk-details, .cdk-template-premium .cdk-social a { border-color: var(--cdk-line); background: rgba(255,255,255,.025); }
.cdk-template-premium .cdk-details > a { color: #f8fafc; }
.cdk-template-premium .cdk-details > a:hover { background: rgba(255,255,255,.05); }
.cdk-template-premium .cdk-location strong { color: #f8fafc; }
.cdk-template-premium .cdk-social a { color: #ddd6fe; }
.cdk-template-premium .cdk-social a:hover { background: rgba(124,58,237,.18); }

/* Kurumsal Mavi */
.cdk-template-corporate {
  --cdk-accent: #0875bd;
  --cdk-accent-dark: #075985;
  background: linear-gradient(135deg, #e8f3fa, #f8fafc 48%, #e4eef5);
}
.cdk-template-corporate .cdk-orb-one { background: rgba(8,117,189,.10); box-shadow: 0 0 80px rgba(8,117,189,.20); }
.cdk-template-corporate .cdk-orb-two { background: rgba(245,158,11,.10); box-shadow: 0 0 60px rgba(245,158,11,.18); }
.cdk-template-corporate .cdk-card { border-radius: 20px; border-top: 5px solid #f59e0b; }
.cdk-template-corporate .cdk-hero { background: linear-gradient(135deg, #052f55, #0875bd); }
.cdk-template-corporate .cdk-brand { color: #fcd34d; opacity: 1; }
.cdk-template-corporate .cdk-photo { border-radius: 20px; }
.cdk-template-corporate .cdk-save { background: linear-gradient(135deg, #0875bd, #075985); }

/* Minimal Açık */
.cdk-template-minimal {
  --cdk-accent: #0f766e;
  --cdk-accent-dark: #115e59;
  background: #f7faf9;
}
.cdk-template-minimal .cdk-orb { display: none; }
.cdk-template-minimal .cdk-card { max-width: 720px; border-color: #dbe7e4; border-radius: 18px; box-shadow: 0 12px 40px rgba(15,23,42,.07); }
.cdk-template-minimal .cdk-hero { padding-top: 38px; color: var(--cdk-ink); background: #fff; }
.cdk-template-minimal .cdk-brand { color: var(--cdk-accent); opacity: 1; }
.cdk-template-minimal .cdk-hero h1 { color: var(--cdk-ink); }
.cdk-template-minimal .cdk-title { color: var(--cdk-accent-dark); }
.cdk-template-minimal .cdk-company { color: var(--cdk-muted); opacity: 1; }
.cdk-template-minimal .cdk-photo { border: 0; border-radius: 24px; box-shadow: 0 10px 28px rgba(15,23,42,.12); }
.cdk-template-minimal .cdk-photo-placeholder { color: #fff; background: var(--cdk-accent); }
.cdk-template-minimal .cdk-actions { margin: 0 22px; border: 1px solid var(--cdk-line); border-radius: 14px; background: #fff; }
.cdk-template-minimal .cdk-action { color: var(--cdk-accent-dark); }
.cdk-template-minimal .cdk-action:first-child { border-radius: 14px 0 0 14px; }
.cdk-template-minimal .cdk-action:last-child { border-radius: 0 14px 14px 0; }
.cdk-template-minimal .cdk-save { box-shadow: none; }

@media (max-width: 560px) {
  .cdk-page { padding: 0; background: #fff; }
  .cdk-card { border: 0; border-radius: 0; box-shadow: none; }
  .cdk-hero { padding-top: 24px; }
  .cdk-actions { grid-template-columns: repeat(2, 1fr); }
  .cdk-action:nth-child(2) { border-right: 0; }
  .cdk-action:nth-child(n+3) { border-top: 1px solid var(--cdk-line); }
  .cdk-body { padding: 22px 18px 38px; }
  .cdk-template-premium { background: #080d1f; }
  .cdk-template-premium .cdk-card { background: #080d1f; }
  .cdk-template-corporate .cdk-card, .cdk-template-minimal .cdk-card { border-radius: 0; }
  .cdk-template-minimal .cdk-actions { margin: 0 14px; }
}

@media (prefers-reduced-motion: no-preference) {
  .cdk-action, .cdk-save, .cdk-details > a, .cdk-map-button { transition: background-color .18s ease, color .18s ease, transform .18s ease; }
}
