/* ============================================
   Global Responsive Styles
   COON Technology - All Pages
   ============================================ */

/* ============================================
   Tablet Breakpoint (768px - 1023px)
   ============================================ */
@media (max-width: 1023px) and (min-width: 768px) {
    /* Container */
    .container {
        padding: 0 24px;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Grids - 2 columns on tablet */
    .solutions-grid,
    .features-grid,
    .blog-grid,
    .partners-grid,
    .advantages-grid,
    .tech-features {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    /* Two column to single */
    .two-column-layout,
    .s1-content,
    .pdks-content,
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    /* Hero Carousel */
    .hero-carousel {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 8px);
    }
    
    /* Inner Page Hero */
    .guvenlik-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .guvenlik-hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ============================================
   Mobile Breakpoint (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 16px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Hero Carousel */
    .hero-carousel {
        height: auto;
        min-height: auto;
        padding: 0px 0 60px;
    }
    
    .hero-carousel .hero-content {
        grid-template-columns: 1fr !important;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .stat-item {
        flex: none;
        text-align: center;
        padding: 12px;
         
        border-radius: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Grids - Single column on mobile */
    .solutions-grid,
    .features-grid,
    .blog-grid,
    .partners-grid,
    .advantages-grid,
    .tech-features,
    .types-grid,
    .features-grid-3,
    .usecases-list,
    .brands-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Key stats */
    .key-stats {
        flex-direction: column;
    }
    
    /* Solution Cards */
    .solution-card {
        padding: 24px;
    }
    
    .solution-icon {
        width: 56px;
        height: 56px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 32px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Inner Page Hero */
    .guvenlik-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .guvenlik-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guvenlik-hero-visual {
        order: -1;
    }
    
    .guvenlik-hero-title {
        font-size: 2.5rem !important;
    }
    
    .guvenlik-hero-actions {
        flex-direction: column;
    }
    
    .guvenlik-hero-actions .btn {
        width: 100%;
    }
    
    .hero-floating-stats {
        flex-direction: column;
        bottom: -60px;
        gap: 8px;
    }
    
    /* Inner Page Sections */
    .guvenlik-section {
        padding: 60px 0;
    }
    
    /* Tab Navigation */
    .tab-navigation,
    .inner-tab-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 16px;
    }
    
    .tab-navigation::-webkit-scrollbar,
    .inner-tab-bar::-webkit-scrollbar {
        display: none;
    }
    
    .tab-navigation .container,
    .inner-tab-bar .container {
        display: flex;
        gap: 8px;
        padding: 0;
        min-width: max-content;
    }
    
    .tab-link {
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Type Cards with Image */
    .type-card-image {
        margin-bottom: 16px;
    }
    
    .type-image-area {
        aspect-ratio: 16/10;
    }
    
    /* CTA Section */
    .cta-box {
        padding: 32px 24px;
        text-align: center;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    .hub-frame {
        width: 150px;
        height: 150px;
    }

    .hub-logo {
        width: 103px;
        height: 80px;
        display: flex;
        padding-left: 27px;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   Small Mobile Breakpoint (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 12px;
    }
    
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }
    
    /* Sections */
    section {
        padding: 48px 0;
    }
    
    /* Cards */
    .solution-card,
    .blog-card,
    .type-card,
    .feature-card,
    .advantage-card {
        padding: 20px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Hero */
    .guvenlik-hero-title {
        font-size: 2rem !important;
    }
    
    .guvenlik-hero-desc {
        font-size: 15px;
    }
    
    /* Floating Stats */
    .floating-stat {
        padding: 12px;
    }
    
    .floating-stat-value {
        font-size: 20px;
    }
    
    /* Partners */
    
    
    .partner-item {
        height: 60px;
    }
}

/* ============================================
   Touch Device Optimizations
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    .nav-link,
    .mobile-nav-link {
        min-height: 44px;
    }
    
    /* Remove hover effects */
    .solution-card:hover,
    .blog-card:hover,
    .type-card:hover,
    .type-card-image:hover {
        transform: none;
    }
    
    /* Better tap feedback */
    .btn:active,
    .nav-link:active,
    .mobile-nav-link:active {
        opacity: 0.7;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .mobile-menu,
    .mobile-menu-overlay,
    .footer,
    .scroll-to-top,
    .whatsapp-button,
    .hero-carousel-controls,
    .hero-carousel-indicators {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}





/* Layout temel */
.article-layout {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 24px;
    align-items: start;
}

.article-container {
    min-width: 0;
}

.table-of-contents {
    min-width: 0;
}

/* 1024px ve altı = tek kolon */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr !important;
    }

    .article-container {
        grid-column: 1 / -1 !important;
    }

    .table-of-contents {
        grid-column: 1 / -1 !important;
        order: 2;
        position: static !important;
    }
}
.article-container img {
    max-width: 100%;
    height: auto;
}

.article-container pre {
    overflow: auto;
}

.article-container table {
    display: block;
    overflow: auto;
}

/* FAB - sadece mobilde görünsün */
.toc-fab {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Overlay */
.toc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 9997;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

/* Mobil drawer davranışı */
@media (max-width: 1024px) {

    .toc-fab {
        display: flex;
    }

    /* TOC'yi drawer yap */
    .table-of-contents {
        position: fixed !important;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 86vw);
        z-index: 9999;
        background: #fff;
        border-left: 1px solid #e5e7eb;
        padding: 16px;
        overflow: auto;
        transform: translateX(110%);
        transition: transform .25s ease;
    }

    /* Açıkken içeri gelsin */
    body.toc-open .table-of-contents {
        transform: translateX(0);
    }

    body.toc-open .toc-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* İstersen başlığı sabitle */
    .table-of-contents .toc-title {
        po
