/* ============================================
   S1 Bina Yönetimi Yazılımı - Page Styles
   ============================================ */

:root {
    --s1-primary: #3b82f6;
    --s1-primary-light: #60a5fa;
    --s1-primary-dark: #2563eb;
    --s1-secondary: #0ea5e9;
    --s1-accent: #06b6d4;
    --s1-gradient: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 50%, #06b6d4 100%);
    --s1-gradient-soft: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
}

/* Hero Section */
.s1-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.s1-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.2), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(14, 165, 233, 0.15), transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    color: #3b82f6;
}

.floating-element-1 {
    top: 15%;
    right: 10%;
    width: 150px;
    animation: floatElement 8s ease-in-out infinite;
}

.floating-element-2 {
    bottom: 20%;
    left: 5%;
    width: 100px;
    animation: floatElement 10s ease-in-out infinite;
    animation-delay: -3s;
}

.floating-element-3 {
    top: 60%;
    right: 5%;
    width: 120px;
    animation: floatElement 12s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.s1-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.s1-hero-text {
    max-width: 600px;
}

.s1-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.s1-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;
    letter-spacing: -0.02em;
}

.s1-hero-title .title-line {
    display: block;
}

.s1-hero-title .title-gradient {
    display: block;
    background: var(--s1-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s1-hero-desc {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 32px;
}

.s1-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;
    background: var(--s1-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.s1-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-glow {
    position: relative;
    box-shadow: 0 0 30px rgba(59, 130, 246, 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 - Dashboard Mockup */
.s1-hero-visual {
    position: relative;
}

.dashboard-mockup {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.2),
        inset 0 0 60px rgba(59, 130, 246, 0.05);
}

.dashboard-mock {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.5);
}

.mock-title {
    color: #f8fafc;
    font-weight: 600;
    font-size: 14px;
}

.mock-content {
    padding: 0px!important;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mock-stat {
    text-align: center;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.mock-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 4px;
}

.mock-stat-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mock-chart {
    height: 120px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(14, 165, 233, 0.1));
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.mock-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.4), transparent);
    border-radius: 0 0 12px 12px;
}

.mock-modules {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mock-module {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mock-module.active {
    background: var(--s1-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Tab Navigation */
.page-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 0;
}

.tabs-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: none;
}

.tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tab-item {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: fit-content;
}

.tab-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.tab-item.active {
    background: var(--s1-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--s1-gradient-soft);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: var(--s1-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title-large {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc-large {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
    color: #475569;
}

.section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
}

/* Overview Features */
.overview-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.overview-feature {
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.overview-feature:hover {
    border-color: var(--s1-primary);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.overview-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--s1-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.overview-feature h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.overview-feature p {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

/* Video Section */
.video-section {
    margin-top: 60px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    text-align: center;
    margin-top: 16px;
    color: #64748b;
    font-size: 14px;
}

/* Module Categories */
.module-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    margin-bottom: 32px;
}

.category-icon {
    width: 64px;
    height: 64px;
    background: var(--s1-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.category-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.category-info p {
    font-size: 16px;
    color: #64748b;
}

.category-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.module-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-chip:hover {
    background: var(--s1-gradient-soft);
    border-color: var(--s1-primary);
    color: var(--s1-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.module-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.module-icon-blue {
    background: var(--s1-gradient);
}

/* Responsive */
@media (max-width: 1024px) {
    .s1-hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .s1-hero-visual {
        order: -1;
    }

    .overview-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .s1-hero-content {
        gap: 40px;
    }
    
    .s1-hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .s1-hero-actions {
        flex-direction: column;
    }
    
    .s1-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .overview-features {
        grid-template-columns: 1fr;
    }
    
    .category-modules {
        gap: 8px;
    }
    
    .module-chip {
        padding: 10px 16px;
        font-size: 13px;
    }

    .tabs-wrapper {
        padding: 12px 0;
    }

    .tab-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .section-title-large {
        font-size: clamp(28px, 6vw, 40px);
    }
    
    .dashboard-mockup {
        max-width: 100%;
    }
}
#pageTabs {
    position: sticky;
    top: 90px; /* header yüksekliğine göre ayarla */
    z-index: 50;
    backdrop-filter: blur(8px);
}
