/* ============================================
   S1 Ziyaretçi Takip Yazılımı - Clean Grid System
   ============================================ */

/* Hero Section */
.ziyaretci-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 40px 0 40px;
    overflow: hidden;
}

.ziyaretci-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1), transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

.ziyaretci-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ziyaretci-hero-text {
    max-width: 600px;
}

.ziyaretci-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.ziyaretci-hero-title {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: #f8fafc;
    margin-bottom: 24px;
}

.ziyaretci-hero-title .title-line {
    display: block;
}

.ziyaretci-hero-title .title-gradient {
    display: block;
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ziyaretci-hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 32px;
}

.ziyaretci-hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #818cf8;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ziyaretci-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-glow {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(248, 250, 252, 0.3);
    color: #f8fafc;
}

.btn-outline-light:hover {
    background: rgba(248, 250, 252, 0.1);
    border-color: rgba(248, 250, 252, 0.5);
}

/* Hero Visual - Visitor Card */
.ziyaretci-hero-visual {
    display: flex;
    justify-content: center;
}

.visitor-card-mockup {
    width: 320px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.visitor-card-header {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.visitor-photo {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.visitor-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.visitor-status.approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.visitor-card-body {
    padding: 24px;
}

.visitor-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.visitor-company {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.visitor-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.detail-label {
    font-size: 12px;
    color: #64748b;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.visitor-qr {
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
}

/* Tab Navigation */
.inner-page-tabs {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.tabs-wrapper {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s;
}

.tab-link:hover {
    color: #f8fafc;
    background: rgba(248, 250, 252, 0.05);
}

.tab-link.active {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
}

.tab-link.tab-cta {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-weight: 600;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: #6366f1;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title-large {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 16px;
}

.section-title-large .text-gradient {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
}

.section-desc-large {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ============================================
   3-COLUMN FEATURES GRID
   ============================================ */
.ziyaretci-features {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card-v2 {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}

.feature-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon-v2 {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.gradient-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.gradient-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.gradient-violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.gradient-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.gradient-green { background: linear-gradient(135deg, #10b981, #059669); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #ea580c); }

.feature-card-v2 h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-card-v2 p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-bullets li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 13px;
    color: #475569;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
}

/* ============================================
   TRACKING SECTION
   ============================================ */
.ziyaretci-tracking {
    background: #0f172a;
}

.ziyaretci-tracking .section-title-large {
    color: #f8fafc;
}

.ziyaretci-tracking .section-desc {
    color: #94a3b8;
}

.tracking-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.tracking-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.tracking-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.tracking-card.main-card {
    grid-row: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.live-counter {
    display: flex;
    justify-content: center;
}

.counter-ring {
    position: relative;
    width: 180px;
    height: 180px;
}

.counter-ring svg {
    width: 100%;
    height: 100%;
}

.counter-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter-value .count {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #818cf8;
}

.counter-value .label {
    font-size: 12px;
    color: #94a3b8;
}

.tracking-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
}

.tracking-content p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tracking-stats {
    display: flex;
    gap: 24px;
}

.t-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t-value {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #818cf8;
}

.t-label {
    font-size: 12px;
    color: #64748b;
}

.tc-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    margin-bottom: 16px;
}

.tracking-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}

.tracking-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.ziyaretci-security {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.security-card {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.security-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.security-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.security-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.security-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* ============================================
   COMPLIANCE SECTION
   ============================================ */
.ziyaretci-compliance {
    background: #0f172a;
}

.ziyaretci-compliance .section-title-large {
    color: #f8fafc;
}

.ziyaretci-compliance .section-desc-large {
    color: #94a3b8;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.column-content .section-badge {
    display: inline-block;
}

.column-content .section-title-large {
    text-align: left;
}

.compliance-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.compliance-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.ci-icon {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    flex-shrink: 0;
}

.compliance-item strong {
    display: block;
    font-size: 15px;
    color: #f8fafc;
    margin-bottom: 4px;
}

.compliance-item span {
    font-size: 13px;
    color: #94a3b8;
}

.compliance-badge-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.badge-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.compliance-badge-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 8px;
}

.compliance-badge-card p {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.badge-labels {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.badge-labels span {
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #818cf8;
}

/* ============================================
   INTEGRATION SECTION
   ============================================ */
.ziyaretci-integration {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.integration-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.int-card {
    background: white;
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}

.int-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.int-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
}

.int-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.int-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.ziyaretci-cta {
    background: #0f172a;
    padding: 80px 0;
}

.ziyaretci-cta-box {
    position: relative;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 32px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ziyaretci-cta-box .cta-content {
    position: relative;
}

.ziyaretci-cta-box h2 {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.ziyaretci-cta-box p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cta-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.cta-actions {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-white {
    background: white;
    color: #4f46e5;
    font-weight: 600;
}

.btn-white:hover {
    background: #f8fafc;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .ziyaretci-hero-content,
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .features-grid-3,
    .integration-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tracking-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tracking-card.main-card {
        grid-column: span 2;
        grid-row: auto;
    }
    
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ziyaretci-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 48px 32px;
    }
    
    .cta-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ziyaretci-hero {
        padding: 30px 0 20px;
    }
    
    .ziyaretci-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .ziyaretci-hero-actions {
        flex-direction: column;
    }
    
    .ziyaretci-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid-3,
    .tracking-grid,
    .security-grid,
    .integration-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .tracking-card.main-card {
        grid-column: auto;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tracking-stats {
        justify-content: center;
    }
    
    .compliance-badge-card {
        padding: 32px 24px;
    }
}


#pageTabs {
    position: sticky;
    top: 90px; /* header yüksekliğine göre ayarla */
    z-index: 50;
    backdrop-filter: blur(8px);
}






