/* ==========================================================================
   CEPTECEP STUDIO - MODERN DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #0a0e17;
  --bg-surface: #111827;
  --bg-surface-elevated: #1f2937;
  --bg-glass: rgba(17, 24, 39, 0.75);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(34, 211, 238, 0.35);

  --primary: #06b6d4;
  --primary-light: #22d3ee;
  --primary-glow: rgba(6, 182, 212, 0.3);
  --secondary: #8b5cf6;
  --secondary-light: #a78bfa;
  --secondary-glow: rgba(139, 92, 246, 0.25);
  --accent: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.18), transparent 70%);
  --gradient-card: linear-gradient(145deg, rgba(31, 41, 55, 0.6) 0%, rgba(17, 24, 39, 0.8) 100%);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Ambient Background Grid */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Links & Typography */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

p {
  color: var(--text-muted);
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 14, 23, 0.85);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 12px var(--primary-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 3px 6px;
  border-radius: var(--radius-full);
}

.lang-switcher-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switcher-btn:hover {
  color: #ffffff;
}

.lang-switcher-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.4);
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(6, 182, 212, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(6, 182, 212, 0.25);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-green, .badge-status-published {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-red, .badge-status-draft {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* File Upload & Dropzone Area */
.file-dropzone {
  border: 2px dashed rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  background: rgba(6, 182, 212, 0.03);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  margin-bottom: 24px;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--primary-light);
  background: rgba(6, 182, 212, 0.08);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.2);
}

.file-dropzone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 90px 0 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-content h1 {
  font-size: 3.4rem;
  letter-spacing: -1.5px;
  margin: 18px 0 20px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.2);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  transition: transform 0.5s ease;
}

.hero-visual-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.hero-visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-pill {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   APP SHOWCASE SECTION
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin: 12px 0 16px;
  letter-spacing: -0.8px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

@media (max-width: 440px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

.app-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.app-card-identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.app-card-titles {
  min-width: 0;
  flex: 1;
}

.app-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.app-card-category {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: block;
}

.app-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.app-card:hover::before {
  opacity: 1;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface-elevated);
}

.app-titles h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.app-category {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 500;
}

.app-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.app-features {
  list-style: none;
  margin-bottom: 24px;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.app-features li svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
}

.play-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--border-glass);
}

.play-badge-btn:hover {
  background: #ffffff;
  color: #000000;
}

.policy-mini-link {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: underline;
}

.policy-mini-link:hover {
  color: var(--primary-light);
}

/* ==========================================================================
   GOOGLE PLAY COMPLIANCE CARDS (POLICIES BANNER)
   ========================================================================== */
.compliance-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.compliance-item {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border-glass);
  padding: 22px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.compliance-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.compliance-item h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.compliance-item p {
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.compliance-item a {
  color: var(--primary-light);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   POLICY & LEGAL CONTENT PAGES (BILINGUAL)
   ========================================================================== */
.legal-page-header {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 40px;
}

.legal-lang-switch {
  display: inline-flex;
  gap: 8px;
  background: var(--bg-surface-elevated);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  margin-top: 16px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary);
  color: #000000;
}

.legal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: #ffffff;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 20px 0 8px;
  color: var(--primary-light);
}

.legal-content p, .legal-content ul {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #cbd5e1;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.highlight-box {
  background: rgba(6, 182, 212, 0.08);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

/* ==========================================================================
   FORMS (DATA DELETION & CONTACT)
   ========================================================================== */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  display: none;
  font-size: 0.92rem;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: rgba(8, 11, 18, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin: 14px 0 20px;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
.responsive-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .btn-mobile-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 99;
  }
  .nav-links.open {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .legal-content {
    padding: 20px 16px;
  }
  .responsive-two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-section {
    padding: 50px 0 35px;
  }
  .hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.22;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 12px;
    justify-content: space-around;
  }
  .stat-item h4 {
    font-size: 1.25rem;
  }
  .stat-item span {
    font-size: 0.72rem;
  }
  .compliance-banner {
    padding: 24px 16px;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .app-card {
    padding: 22px 18px;
  }
  .form-card {
    padding: 22px 16px;
  }
}

/* ==========================================================================
   CANLI SAYFA EDİTÖRÜ (INDEX.HTML KLONU) STİLLERİ
   ========================================================================== */
.clone-editor-canvas {
  background: var(--bg-body);
  border: 2px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  margin-top: 20px;
}

.editor-toolbar-top {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.editor-quick-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.editor-nav-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.editor-nav-pill:hover, .editor-nav-pill.active {
  background: rgba(6, 182, 212, 0.2);
  color: var(--primary-light);
  border-color: var(--primary);
}

/* Düzenlenebilir elemanlar */
.clone-editor-canvas [contenteditable="true"] {
  outline: 1px dashed transparent;
  transition: all 0.2s ease;
  border-radius: 4px;
  padding: 2px 4px;
  cursor: text;
}

.clone-editor-canvas [contenteditable="true"]:hover {
  outline: 1px dashed rgba(6, 182, 212, 0.6);
  background: rgba(6, 182, 212, 0.08);
}

.clone-editor-canvas [contenteditable="true"]:focus {
  outline: 2px solid var(--primary);
  background: rgba(6, 182, 212, 0.15);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

/* Hücre ve Kart Sarıcıları */
.editor-cell-wrapper {
  position: relative;
  transition: all 0.2s ease;
}

.editor-cell-wrapper:hover {
  outline: 2px solid rgba(6, 182, 212, 0.4);
  outline-offset: 4px;
}

.editor-cell-toolbar {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  gap: 6px;
  z-index: 50;
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.editor-cell-wrapper:hover > .editor-cell-toolbar {
  display: flex;
}

.editor-cell-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.editor-btn-delete {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.editor-btn-delete:hover {
  background: #ef4444;
  color: #fff;
}

.editor-btn-add {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.editor-btn-add:hover {
  background: var(--primary);
  color: #000;
}

.editor-section-header {
  background: rgba(17, 24, 39, 0.9);
  border-bottom: 1px solid var(--border-glass);
  border-top: 2px solid var(--primary);
  padding: 8px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 14px;
}

.editor-inline-add-card {
  border: 2px dashed rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: rgba(6, 182, 212, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  min-height: 120px;
}

.editor-inline-add-card:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.editor-view-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
}

.editor-view-btn:hover {
  color: #fff;
}

.editor-view-btn.active {
  background: var(--primary);
  color: #000;
  font-weight: 700;
}

/* Tam Ekran / Odaklanma Modu (Fullscreen Zen Mode) */
#tab-page-editor.fullscreen-editor {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  z-index: 999999 !important;
  background: #06090e !important;
  padding: 12px 20px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

#tab-page-editor.fullscreen-editor #editor-iframe-wrapper {
  flex: 1 !important;
  min-height: calc(100vh - 180px) !important;
  width: 100% !important;
}

/* Yatay kaydırma çubuğunu görünür ve şık yap */
#editor-iframe-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #06b6d4 rgba(15, 23, 42, 0.9);
}

#editor-iframe-wrapper::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

#editor-iframe-wrapper::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 8px;
}

#editor-iframe-wrapper::-webkit-scrollbar-thumb {
  background: #06b6d4;
  border-radius: 8px;
  border: 2px solid rgba(15, 23, 42, 0.9);
}

#editor-iframe-wrapper::-webkit-scrollbar-thumb:hover {
  background: #22d3ee;
}

/* =========================================================================
   TEK SAYFA (SINGLE PAGE) AÇILIR PENCERELER (MODAL DIALOGS)
   ========================================================================= */
.site-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.site-modal-dialog {
  background: #0b1120;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(6, 182, 212, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.site-modal-backdrop.active .site-modal-dialog {
  transform: translateY(0) scale(1);
}

.site-modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.8);
}

.site-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.site-modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.site-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
  transform: rotate(90deg);
}

.site-modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.site-modal-body h2, .site-modal-body h3, .site-modal-body h4 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 10px;
}

.site-modal-body p {
  margin-bottom: 16px;
}

.site-modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.site-modal-body li {
  margin-bottom: 8px;
}

.site-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* =========================================================================
   EN ALT İLETİŞİM & DESTEK BÖLÜMÜ (#contact)
   ========================================================================= */
.contact-section {
  padding: 80px 0 60px;
  position: relative;
  border-top: 1px solid var(--border-glass);
  background: radial-gradient(circle at 50% 10%, rgba(6, 182, 212, 0.06), transparent 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.contact-info-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-channel-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.contact-social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-social-btn:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================================
   ADMİN SAYFASI KAYDIRMA DÜZELTMESİ (ADMIN SCROLL RECOVERY)
   ========================================================================= */
body.admin-page, html:has(body.admin-page) {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
  min-height: 100vh !important;
}

.admin-page .admin-layout {
  min-height: calc(100vh - 120px);
}

.admin-page .tab-panel {
  overflow: visible !important;
  height: auto !important;
}


