/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9fb;
  color: #333;
  line-height: 1.6;
}

/* Konteyner */
.container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
}

/* Başlık */
header {
  background-color: #4f46e5;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Butonlar */
a.cta-button,
button,
input[type="submit"] {
  display: inline-block;
  background-color: #10b981;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

a.cta-button:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #059669;
}

a.cta-secondary {
  display: inline-block;
  margin-left: 10px;
  color: #e0e7ff;
  text-decoration: underline;
  font-weight: bold;
}

/* Özellik Kutuları */
.features {
  background-color: #fff;
  padding: 40px 20px;
}

.feature-box {
  margin-bottom: 20px;
}

.feature-box h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 1rem;
  color: #555;
}

/* Footer */
footer {
  background-color: #e5e7eb;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #666;
}

/* Formlar */
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  max-width: 500px;
  margin-top: 20px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  width: 100%;
}

/* Postlar */
.post {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}

.post h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #333;
}

.comment {
  margin-left: 16px;
  padding-left: 10px;
  border-left: 2px solid #d1d5db;
  font-size: 0.95rem;
  color: #444;
}

/* Mobil Uyum */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  .cta-button, .cta-secondary {
    display: block;
    margin: 10px auto;
  }

  form {
    padding: 15px;
  }
}
/* Form Container */
.form-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.btn {
  width: 100%;
  padding: 12px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #4338ca;
}

.error {
  color: #ef4444;
  margin-bottom: 20px;
}

/* Auth Form Styles */
.auth-form {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #4f46e5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #4f46e5;
  outline: none;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #4338ca;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
}

.auth-links p {
  margin-bottom: 10px;
}

.text-link {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

.alert {
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
  text-align: center;
}

.alert.error {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .auth-form {
    padding: 20px;
    margin: 20px auto;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  header p {
    font-size: 1rem;
  }
}

/* Yeni Eklenen Stiller */

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.feature-box {
  position: relative;
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-link {
  display: inline-block;
  margin-top: 15px;
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

.feature-link:hover {
  text-decoration: underline;
}

.demo-section {
  background: #f0f9ff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}

.demo-section h2 {
  color: #4f46e5;
  margin-bottom: 15px;
}

.demo-section p {
  max-width: 700px;
  margin: 0 auto 25px;
}

.demo-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons a {
    width: 100%;
    text-align: center;
  }
  
  .feature-box {
    padding: 20px;
  }
  
  .demo-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .demo-buttons a {
    width: 100%;
  }
}

/* -------------------------------------------------------
   COMMUNITY SAYFASI (scope: .community-page)
--------------------------------------------------------*/
.community-page {
  background: transparent; /* topbar ile uyumlu */
}

.community-wrap {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 16px;
}

.community-header {
  margin: 8px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.community-header h1 {
  margin: 0;
  font-size: 22px;
  color: #0f172a;
}
.community-header p {
  margin: 6px 0 0;
  color: #64748b;
}

.filters {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filters input[type="text"],
.filters select {
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
}
.filters button {
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  background: #2563eb;   /* filtre butonunu mavi yap */
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.filters button:hover {
  opacity: .95;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2,8,23,.04);
}
.card + .card { margin-top: 14px; }
.card-h { padding: 12px 14px; border-bottom: 1px solid #e5e7eb; font-weight: 700; color: #0f172a; }
.card-c { padding: 14px; }

/* Yorum ve Yeni Gönderi textarea’ları */
.community-page .post-form textarea,
.community-page .comment-form textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
}

/* Post içerikleri */
.community-page .post { padding: 14px; }
.community-page .post + .post { border-top: 1px solid #e5e7eb; }
.community-page .post .top { display: flex; gap: 10px; align-items: center; }
.community-page .avatar { width: 36px; height: 36px; border-radius: 50%; background: #0f172a; color: #fff; display: grid; place-items: center; font-weight: 700; }
.community-page .meta .name { font-weight: 700; color: #0f172a; line-height: 1.1; }
.community-page .meta .sub { color: #64748b; font-size: 12px; }
.community-page .post .content { margin: 10px 0 10px; white-space: pre-wrap; color: #0f172a; }

/* Beğeni / Düzenle / Sil hizalama */
.community-page .post-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}
.community-page .chip {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.community-page .chip.danger {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
.community-page .like-btn {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}
.community-page .like-btn.liked {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.community-page .comment-form { margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; }

.community-page .comments { margin-top: 10px; padding-left: 10px; border-left: 3px solid #e5e7eb; }
.community-page .comment { margin-top: 10px; }
.community-page .comment em { color: #64748b; font-style: normal; font-weight: 600; }

/* Sayfalama */
.community-page .pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 16px 0;
}
.community-page .pagination a,
.community-page .pagination span {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: #0f172a;
  background: #fff;
}
.community-page .pagination .active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* Edit form */
.community-page .edit-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  resize: vertical;
  outline: none;
}
.community-page .btn-cancel {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}


.mvp-page { background: transparent; }
.mvp-wrap { max-width: 980px; margin: 24px auto; padding: 0 16px; }

.mvp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2,8,23,.04);
  padding: 16px;
}

.mvp-head h2 { margin: 0 0 8px; color: #0f172a; font-size: 22px; }
.mvp-head p  { margin: 0 0 16px; color: #64748b; }

.mvp-progress {
  height: 10px;
  background: #e0e7ff;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}
.mvp-progress .bar {
  height: 100%;
  width: 0%;
  background: #4f46e5;
  transition: width .3s ease;
}

.mvp-form { margin-top: 8px; }
.mvp-category {
  margin: 18px 0 10px;
  color: #4f46e5;
  font-size: 18px;
}

.mvp-question {
  margin-bottom: 16px;
  padding: 14px;
  background: #f9f9fb;
  border-radius: 10px;
  border: 1px solid #eef;
}
.mvp-question-text { font-weight: 600; margin-bottom: 10px; color:#0f172a; }
.mvp-question-text .req { color: #ef4444; margin-left: 4px; }

.mvp-question textarea,
.mvp-question input[type="text"],
.mvp-question select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.mvp-mc label { margin-right: 14px; }

.mvp-scale {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 6px;
  color: #64748b;
  font-size: 13px;
}

.mvp-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.btn-secondary {
  display:inline-block; background:#0ea5e9; color:#fff; padding:10px 14px; border-radius:8px; border:none; cursor:pointer;
}
.btn-secondary:hover { filter:brightness(.95); }

.ai-suggestions { display:flex; flex-direction:column; gap:8px; }
.ai-suggestions-list { margin-top: 8px; }
.ai-suggestion-item {
  padding: 10px 12px; border:1px solid #e5e7eb; border-radius:8px; background:#fff; color:#0f172a;
  box-shadow: 0 2px 8px rgba(2,8,23,.04);
}

/* --- MVP Slides print optimizasyonu --- */
@media print {
  body { background: #fff !important; }
  .slides-topbar { display:none !important; }
  .slides-container {
    height:auto !important; overflow:visible !important;
    background:#fff !important; border:none !important; box-shadow:none !important;
  }
  .slide {
    min-height:auto !important; page-break-after: always;
    color:#111827 !important; background:#fff !important;
  }
  .cardish { background:#fff !important; border-color:#e5e7eb !important; }
  .badge { color:#111827 !important; background:#f3f4f6 !important; border-color:#e5e7eb !important; }
}
