/* SiteYönetim — Landing Page Styles (self-contained, Materialize theme) */

/* ── Landing Layout ── */
.landing-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #5d596c;
  background: #fff;
}

.landing-content {
  flex: 1;
  padding-top: 64px;
  overflow-x: hidden;
}

/* ── Landing Header / Navbar ── */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dbdade;
  backdrop-filter: blur(12px);
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.landing-nav-link {
  padding: 0.5rem 1rem;
  color: #a5a3ae;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
}

.landing-nav-link:hover,
.landing-nav-link.active {
  color: #7367f0;
  background: rgba(115, 103, 240, 0.08);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.landing-layout .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.5;
}

.landing-layout .btn-primary {
  background: #7367f0;
  color: #fff;
  border-color: #7367f0;
}
.landing-layout .btn-primary:hover {
  background: #5e50ee;
  border-color: #5e50ee;
}

.landing-layout .btn-secondary {
  background: #f8f7fa;
  color: #5d596c;
  border-color: #dbdade;
}
.landing-layout .btn-secondary:hover {
  background: #eeedf0;
}

.landing-layout .btn-ghost {
  background: transparent;
  color: #5d596c;
  border-color: transparent;
}
.landing-layout .btn-ghost:hover {
  background: #f8f7fa;
  color: #7367f0;
}

.landing-layout .btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Mobile hamburger */
.landing-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #5d596c;
}

.landing-hamburger svg {
  width: 24px;
  height: 24px;
}

/* ── Sections ── */
.landing-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-section-alt {
  background: #f8f7fa;
  margin: 0 -2rem;
  padding: 3rem 2rem;
  max-width: none;
}

.landing-container { max-width: 1200px; margin: 0 auto; }

.landing-module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.landing-module-badge {
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.landing-module-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #4b4b4b;
  margin-bottom: 0.75rem;
}

.landing-module-desc {
  color: #a5a3ae;
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.landing-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.landing-feature-list {
  font-size: 0.8125rem;
  color: #a5a3ae;
  padding-left: 1.25rem;
  margin: 0;
  line-height: 1.8;
}

.landing-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.landing-hero-badge {
  display: inline-block;
  background: rgba(115, 103, 240, 0.1);
  color: #7367f0;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.landing-hero-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: #a5a3ae;
}

.landing-trust-bar {
  padding: 2rem 0;
  border-top: 1px solid #dbdade;
  border-bottom: 1px solid #dbdade;
  background: #f8f7fa;
}

.landing-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.landing-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
}

.landing-trust-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #a5a3ae;
}

.landing-cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #7367f0, #5e50ee);
  border-radius: 1rem;
  padding: 3rem 2rem;
}

/* ── Hero ── */
.landing-hero {
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: #4b4b4b;
}

.landing-hero-subtitle {
  font-size: 1.125rem;
  color: #a5a3ae;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ── Features Grid ── */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Cards used in landing */
.landing-layout .card {
  background: #fff;
  border: 1px solid #dbdade;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.landing-layout .card:hover {
  box-shadow: 0 8px 24px rgba(115, 103, 240, 0.1);
  transform: translateY(-2px);
}

.landing-layout .card-body {
  padding: 1.5rem;
}

.landing-layout .card.card-body {
  padding: 1.5rem;
}

/* ── Steps (How It Works) ── */
.landing-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.landing-step-number {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #7367f0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ── Stats Bar ── */
.landing-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

.landing-stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  color: #7367f0;
  line-height: 1.2;
}

/* ── Testimonials ── */
.landing-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ── Pricing Grid ── */
.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.landing-price {
  padding: 1.5rem 0;
}

.landing-price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #4b4b4b;
  line-height: 1;
}

.landing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #7367f0;
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.landing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-plan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #dbdade;
  font-size: 0.875rem;
  color: #a5a3ae;
}

.landing-plan-features li::before {
  content: "\2713 ";
  color: #28c76f;
  font-weight: 700;
}

.landing-plan-features li:last-child {
  border-bottom: none;
}

/* ── Accordion ── */
.accordion {
  border: 1px solid #dbdade;
  border-radius: 0.75rem;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #dbdade;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b4b4b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}

.accordion-trigger:hover {
  background: #f8f7fa;
}

.accordion-trigger::after {
  content: "+";
  font-size: 1.125rem;
  color: #a5a3ae;
  transition: transform 0.15s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-item.open .accordion-trigger::after {
  content: "\2212";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.875rem;
  color: #a5a3ae;
  line-height: 1.6;
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 0 1.5rem 1rem;
}

/* ── Contact Grid ── */
.landing-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* ── Blog Content ── */
.landing-blog-content {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #5d596c;
}

.landing-blog-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #4b4b4b;
}

.landing-blog-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4b4b4b;
}

.landing-blog-content p {
  margin-bottom: 1rem;
}

.landing-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.landing-blog-content ul,
.landing-blog-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.landing-blog-content blockquote {
  border-left: 3px solid #7367f0;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #a5a3ae;
  font-style: italic;
}

/* ── Landing Footer ── */
.landing-footer {
  background: #2f3349;
  color: #a5a3ae;
}

.landing-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 0;
}

/* Main Footer Grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 2.7fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #7a7994;
  margin: 1rem 0 1.25rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #a5a3ae;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: rgba(115, 103, 240, 0.2);
  color: #7367f0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.landing-footer-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col a {
  color: #7a7994;
  text-decoration: none;
  font-size: 0.8125rem;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: #7a7994;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #7a7994;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #a5a3ae;
}

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-primary { color: #7367f0 !important; }
.text-secondary { color: #a5a3ae !important; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-semibold { font-weight: 600; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 2.5rem; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.gap-3 { gap: 1rem; }
.flex-mobile-column { flex-wrap: wrap; }

/* Alert styles for flash messages */
.alert { padding: 0.75rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; display: flex; align-items: center; justify-content: space-between; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; opacity: 0.7; }
.alert-close:hover { opacity: 1; }

/* Form elements for contact page */
.landing-layout .form-label { display: block; font-weight: 500; font-size: 0.875rem; color: #5d596c; margin-bottom: 0.375rem; }
.landing-layout .form-control { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid #dbdade; border-radius: 0.375rem; font-size: 0.875rem; color: #5d596c; background: #fff; transition: border-color 0.15s; box-sizing: border-box; }
.landing-layout .form-control:focus { outline: none; border-color: #7367f0; box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.1); }
.landing-layout textarea.form-control { resize: vertical; min-height: 120px; }

/* ══════════════════════════════════════════════ */
/* RESPONSIVE — Landing Page                     */
/* ══════════════════════════════════════════════ */

/* ── Tablet: <= 1024px ── */
@media (max-width: 1024px) {
  .landing-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile: <= 768px ── */
@media (max-width: 768px) {

  /* -- Header & Nav -- */
  .landing-header {
    padding: 0 1rem;
  }

  .landing-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #dbdade;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    z-index: 99;
  }

  .landing-nav.mobile-open {
    display: flex;
  }

  .landing-nav-link {
    width: 100%;
    padding: 1rem;
  }

  .landing-hamburger {
    display: block;
  }

  /* Hide "Giris Yap" on small screens */
  .landing-nav-actions .btn-ghost {
    display: none;
  }

  /* -- Hero -- */
  .landing-hero {
    padding: 2.5rem 1rem 2rem;
  }

  .landing-hero-title {
    font-size: 1.75rem;
  }

  .landing-hero-subtitle {
    font-size: 0.875rem;
  }

  .landing-hero > div {
    max-width: 100% !important;
    padding: 0;
  }

  /* -- Sections -- */
  .landing-section {
    padding: 2rem 1rem;
  }

  .landing-section-alt {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .landing-module-title {
    font-size: 1.375rem !important;
  }

  .landing-container {
    max-width: 100% !important;
  }

  /* -- Grids: force single column -- */
  .landing-card-grid {
    grid-template-columns: 1fr !important;
  }

  .landing-features-grid {
    grid-template-columns: 1fr;
  }

  /* -- Stats Bar -- */
  .landing-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  /* -- Trust bar -- */
  .landing-trust-logos {
    gap: 1.25rem !important;
  }

  .landing-trust-logo {
    font-size: 1rem !important;
  }

  /* -- Steps Grid -- */
  .landing-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* -- Contact Grid -- */
  .landing-contact-grid {
    grid-template-columns: 1fr;
  }

  /* -- CTA Section -- */
  .landing-cta-box {
    padding: 2rem 1rem !important;
    border-radius: 0.75rem !important;
  }

  /* -- Footer -- */
  .landing-footer-inner {
    padding: 2rem 1rem 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ── Small mobile: <= 480px ── */
@media (max-width: 480px) {
  .landing-hero-title {
    font-size: 1.5rem;
  }

  .landing-hero-subtitle {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .landing-stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .landing-stat-number {
    font-size: 1.25rem;
  }

  /* Buttons stack properly */
  .flex-mobile-column {
    flex-direction: column;
    gap: 0.5rem !important;
  }

  .landing-hero .btn,
  .landing-section .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .landing-layout .card.card-body {
    padding: 1rem;
  }

  .landing-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .landing-icon-box {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.25rem !important;
  }

  .landing-trust-logo {
    font-size: 0.875rem !important;
  }

  .landing-module-badge {
    font-size: 0.6875rem !important;
  }

  .footer-links {
    gap: 1rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
}
