/* ============================================
   YENİ STILLER - FEATURES PAGE
   ============================================ */

/* Features Hero */
.features-hero {
     background: #2D5016;
background: linear-gradient(90deg,rgba(45, 80, 22, 1) 24%, rgba(99, 133, 99, 1) 80%, rgba(143, 176, 138, 1) 92%, rgba(232, 245, 224, 1) 100%);
    padding: 0;
    min-height: 500px; /* Sabit yükseklik */
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 
        50px 50px,
        70px 70px,
        90px 90px,
        60px 60px;
    background-position:
        0 0,
        20px 20px,
        40px 40px,
        10px 30px;
    opacity: 0.5;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% {
        background-position:
            0 0,
            20px 20px,
            40px 40px,
            10px 30px;
    }
    100% {
        background-position:
            50px 50px,
            70px 70px,
            130px 130px,
            60px 90px;
    }
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-left {
    max-width: 600px;
    text-align: center;
}
.hero-left h1 {
   font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-left p {
   font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-badges {
   display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-badge {
display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    min-width: 250px; /* Minimum genişlik */
    min-height: 55px; /* Minimum yükseklik */
    white-space: nowrap; /* Tek satırda kalması için */
    text-align: center;
}

.hero-badge i {
    font-size: 1.15rem;
    color: var(--extra-light-green);
    flex-shrink: 0;
}

/* Mockup Preview */
.mockup-preview {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mockup-header {
    background: linear-gradient(135deg, var(--primary-green), var(--soft-green));
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-title {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
}

.mockup-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mini-stat {
    background: var(--off-white);
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 3px solid var(--soft-green);
}

.mini-stat i {
    font-size: 1.75rem;
    color: var(--soft-green);
}

.mini-stat div strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
}

.mini-stat div span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Quick Access */
.quick-access {
    background: var(--off-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.search-box {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--soft-green);
    box-shadow: 0 0 0 3px rgba(107, 157, 74, 0.1);
}

.filter-chips {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chip {
    padding: 0.65rem 1.5rem;
    border: 2px solid var(--gray-light);
    background: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
}

.chip:hover {
    border-color: var(--soft-green);
    background: var(--extra-light-green);
}

.chip.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* Features Main */
.features-main {
    padding: 4rem 0;
    background: var(--off-white);
}

.features-layout {
    display: block; /* Değişti: grid yerine block */
}

/* Sidebar - Yorum Satırına Alındı */
/*
.features-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 180px;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.sidebar-sticky h3 {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    color: var(--gray-dark);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    background: var(--extra-light-green);
    color: var(--primary-green);
}

.sidebar-nav a.active {
    background: var(--primary-green);
    color: var(--white);
}

.sidebar-nav a span {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.sidebar-nav a.active span {
    background: rgba(255, 255, 255, 0.2);
}
*/

/* Features Content */
.features-content {
    width: 100%; /* Tam genişlik */
    max-width: 1200px; /* Maksimum genişlik */
    margin: 0 auto; /* Ortala */
}

/* Module Section */
.module-section {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
}

.module-section.hidden {
    display: none;
}

.module-head {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
}

.module-head-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--soft-green));
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.module-head-icon.health {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.module-head-icon.pharmacy {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}



.module-head-icon.hr {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.module-head-icon.admin {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.module-head h2 {
    font-size: 1.85rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.module-head p {
    font-size: 1.05rem;
    color: var(--gray);
}

.module-count {
    margin-left: auto;
    background: var(--extra-light-green);
    color: var(--primary-green);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Accordion */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.accordion-item {
    border: 2px solid var(--gray-light);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--pale-green);
}

.accordion-header {
    width: 100%;
    background: var(--off-white);
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    transition: var(--transition);
    text-align: left;
}

.accordion-header:hover {
    background: var(--extra-light-green);
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accordion-header i:last-child {
    transition: var(--transition);
    color: var(--soft-green);
}

.accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
    background: var(--extra-light-green);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-body {
    max-height: 1000px;
}

.feature-list {
    list-style: none;
    padding: 1.5rem;
}

.feature-list > li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-list > li:hover {
    background: var(--off-white);
}

.feature-list > li > i {
    color: var(--soft-green);
    font-size: 1.15rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.nested-list {
    list-style: none;
    margin-top: 0.75rem;
    margin-left: 2rem;
    border-left: 2px solid var(--pale-green);
    padding-left: 1rem;
}

.nested-list li {
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.nested-list li::before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--soft-green);
}

/* Sample Outputs */
.sample-outputs {
    padding: 5rem 0;
    background: var(--white);
}

.sample-outputs h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.sample-outputs > p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.output-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.output-card {
    background: var(--off-white);
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.output-card:hover {
    border-color: var(--pale-green);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.output-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--soft-green));
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.output-card h3 {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.output-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-sample {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sample:hover {
    background: var(--light-green);
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gray-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--gray-dark);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-green);
    color: var(--white);
}

.modal-content h3 {
    font-size: 1.75rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-weight: 700;
}

.sample-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--off-white);
    border-radius: 12px;
}

.sample-placeholder i {
    font-size: 4rem;
    color: var(--pale-green);
    margin-bottom: 1.5rem;
}

.sample-placeholder p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quick-access {
        top: 70px;
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 40px 0;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

    .hero-left p {
        font-size: 1.05rem;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .filter-chips {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }

    .chip {
        white-space: nowrap;
    }

    .module-section {
        padding: 1.75rem;
    }

    .module-head {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .module-count {
        margin-left: 0;
    }

    .output-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}
/* =========================
   FEATURES PAGE - RESPONSIVE PACK
   Bunu features.css en altına ekle
   ========================= */

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

/* Container güvenlik ağı (index.css yoksa bile) */
.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Tipografi clamp: dev ekranda şişmesin, mobilde minik kalmasın */
.hero-left h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  line-height: 1.1;
}

.hero-left p {
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.3rem);
}

/* HERO: sabit 500px yerine akıllı yükseklik + padding */
.features-hero {
  min-height: clamp(420px, 55vh, 560px);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

/* Badge taşmasını bitir */
.hero-badges {
  flex-wrap: wrap;              /* nowrap -> wrap */
  gap: 0.85rem;
  justify-content: center;
}

.hero-badge {
  min-width: 0;                 /* 250px sabitlemesini mobilde “yumuşat” */
  width: fit-content;
  max-width: 100%;
  padding: 0.8rem 1.15rem;
}

.hero-badge span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;      /* taşarsa kes */
}

/* QUICK ACCESS: arama kutusu ve chipler */
.quick-access {
  padding: 1.75rem 0;
}

.search-box {
  max-width: 680px;
}

.search-box input {
  font-size: 1rem;
}

/* Mobilde chip bar daha temiz kayar */
.filter-chips {
  gap: 0.6rem;
}

/* FEATURES MAIN spacing */
.features-main {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

/* Module Section: kartlar taşmasın */
.module-section {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Module head: uzun metinde düzgün sar */
.module-head {
  flex-wrap: wrap;
  row-gap: 1rem;
}

.module-head > div {
  min-width: 0;
}

.module-head p {
  word-break: break-word;
}

.module-count {
  white-space: nowrap;
}

/* Accordion: mobilde daha okunur */
.accordion-header {
  gap: 1rem;
  line-height: 1.25;
}

.accordion-header span {
  min-width: 0;
}

.accordion-header span i {
  flex-shrink: 0;
}

/* Feature list taşmaları */
.feature-list > li {
  flex-wrap: wrap;
}

.feature-list > li > i {
  margin-top: 0.2rem;
}

/* Nested list mobilde çok sağa kaçmasın */
.nested-list {
  margin-left: 1.25rem;
  padding-left: 0.85rem;
}

/* Hover animasyonu mobilde zıplatmasın */
@media (hover: none) {
  .output-card:hover { transform: none; }
  .btn-sample:hover { transform: none; }
}

/* =========================
   BREAKPOINTS
   ========================= */

/* 1024px altı: daha kompakt */
@media (max-width: 1024px) {
  .features-hero {
    padding: 3.5rem 0;
  }

  .hero-grid {
    gap: 2.25rem;
  }

  .features-content {
    max-width: 980px;
  }

  .module-head-icon {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
  }

  .module-head h2 {
    font-size: 1.65rem;
  }
}

/* 900px altı: badge’ler 2 sütun gibi dursun */
@media (max-width: 900px) {
  .hero-badge {
    width: calc(50% - 0.5rem);
    justify-content: flex-start;
  }
}

/* 768px altı: telefon modu */
@media (max-width: 768px) {
  .features-hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-left {
    max-width: 680px;
  }

  .hero-left h1 {
    font-size: 2.05rem;
  }

  .hero-left p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  /* Badge full width */
  .hero-badge {
    width: 100%;
    justify-content: center;
  }

  /* Quick access: chip bar horizontal scroll ama düzgün */
  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
  }

  .chip {
    white-space: nowrap;
    scroll-snap-align: start;
  }

  /* Module head dikey */
  .module-head {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
  }

  .module-count {
    margin-left: 0;
  }

  /* Accordion padding küçült */
  .accordion-header {
    padding: 1.05rem 1.1rem;
    font-size: 1rem;
  }

  .feature-list {
    padding: 1.1rem;
  }

  .feature-list > li {
    padding: 0.75rem;
  }

  /* Modal daha rahat */
  .modal-content {
    padding: 1.75rem;
    width: calc(100% - 1.5rem);
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
  }

  /* CTA */
  .cta-section {
    padding: 4rem 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.05rem;
  }
}

/* 560px altı: çok küçük ekran */
@media (max-width: 560px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .search-box input {
    padding: 0.95rem 1rem 0.95rem 3.25rem;
  }

  .module-section {
    border-radius: 16px;
  }

  .module-head-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .module-head h2 {
    font-size: 1.45rem;
  }

  .module-head p {
    font-size: 1rem;
  }

  .nested-list {
    margin-left: 1rem;
  }
}

/* 380px altı: “minik telefon” kabusu */
@media (max-width: 380px) {
  .hero-left h1 { font-size: 1.85rem; }
  .hero-left p { font-size: 1rem; }

  .accordion-header {
    padding: 0.95rem 1rem;
  }

  .module-section {
    padding: 1.25rem;
  }
}

/* Touch hedefleri büyüsün */
@media (pointer: coarse) {
  .chip, .accordion-header, .btn-sample {
    min-height: 44px;
  }
}