/* --- DIJIWORKS ONE DESIGN SYSTEM --- */
:root {
    --primary: #3b82f6; 
    --primary-dark: #2563eb;
    --secondary: #0f172a; 
    --bg-light: #f8fafc;
}


/* 1. HERO SECTION */
.one-hero {
    background: radial-gradient(circle at top center, #1e293b 0%, #020617 100%);
    padding: 160px 0 140px;
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hero-glow {
    position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
    filter: blur(100px); pointer-events: none;
}
.badge-one {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 99px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1);
    color: #93c5fd; font-size: 0.85rem; font-weight: 700; margin-bottom: 30px;
    backdrop-filter: blur(5px);
}
.hero-title {
    font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 25px;
    background: linear-gradient(to bottom, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}
.hero-desc {
    color: #cbd5e1; font-size: 1.25rem; max-width: 750px; margin: 0 auto 50px; line-height: 1.6; font-weight: 300;
}

/* 2. CORE PACKAGE CARD */
.core-wrapper { margin-top: -100px; position: relative; z-index: 10; padding: 0 24px; padding-bottom: 100px; }
.core-card {
    max-width: 1100px; margin: 0 auto;
    background: white; border-radius: 30px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.25);
    display: grid; grid-template-columns: 1.4fr 1fr;
    overflow: hidden; border: 1px solid #e2e8f0; position: relative;
}
.cc-left { padding: 60px; }
.cc-title { font-size: 2.2rem; font-weight: 900; color: #0f172a; margin-bottom: 10px; }
.cc-sub { font-size: 1.1rem; color: #64748b; margin-bottom: 40px; display: block; }
.cc-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cc-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #334155; }
.cc-icon { width: 32px; height: 32px; background: #eff6ff; color: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.cc-right {
    background: #f8fafc; padding: 60px; border-left: 1px solid #e2e8f0;
    display: flex; flex-direction: column; justify-content: center; text-align: center; position: relative;
}

/* PRICING TOGGLE */
.pricing-toggle-wrap {
    display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 30px;
    background: white; padding: 8px 10px; border-radius: 50px; border: 1px solid #e2e8f0;
    width: fit-content; margin-left: auto; margin-right: auto;
}
.pt-label { font-size: 0.9rem; font-weight: 700; color: #64748b; cursor: pointer; padding: 5px 10px; transition: 0.3s; }
.pt-label.active { color: var(--secondary); }
.switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(22px); }

.price-display { transition: 0.3s; }
.price-tag { font-size: 3.5rem; font-weight: 900; color: #0f172a; line-height: 1; letter-spacing: -2px; }
.currency { font-size: 1.5rem; vertical-align: super; color: #64748b; margin-right: 5px; }
.period { font-size: 0.9rem; color: #64748b; font-weight: 700; text-transform: uppercase; margin-top: 10px; display: block; }

.buy-btn {
    background: var(--secondary); color: white; padding: 20px 40px; border-radius: 16px;
    font-size: 1.1rem; font-weight: 700; text-decoration: none; margin-top: 30px;
    transition: 0.3s; box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.buy-btn:hover { background: var(--primary); transform: translateY(-5px); }

/* 3. READY THEMES */
.themes-section { padding: 100px 0; background: white; border-bottom: 1px solid #e2e8f0; }
.theme-cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 30px; padding: 80px 40px; text-align: center; color: white;
    position: relative; overflow: hidden;
}
.theme-cta-bg {
    position: absolute; inset: 0; opacity: 0.2;
    background-image: url('https://cdn.dribbble.com/users/1615584/screenshots/15967006/media/9d6756265e330f6222b07e77747e4367.jpg?resize=1200x800');
    background-size: cover; background-position: center; filter: blur(5px);
}
.tc-content { position: relative; z-index: 10; }
.tc-btn {
    background: white; color: #0f172a; padding: 15px 35px; border-radius: 50px;
    font-weight: 800; text-decoration: none; margin-top: 30px; display: inline-block;
    transition: 0.3s;
}
.tc-btn:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,255,255,0.3); }

/* 4. FEATURES VERTICAL TABS */
.features-section { padding: 80px 0; background: white; }
.fs-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.fs-title { font-size: 2.5rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.ft-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; min-height: 500px; }

.ft-sidebar { display: flex; flex-direction: column; gap: 5px; border-right: 1px solid #e2e8f0; padding-right: 20px; }
.ft-tab-btn {
    display: flex; align-items: center; gap: 12px; padding: 15px 20px;
    width: 100%; text-align: left; background: transparent; border: none; border-radius: 12px;
    font-weight: 600; color: #64748b; cursor: pointer; transition: 0.3s; position: relative; overflow: hidden;
}
.ft-tab-btn i:not(.arrow) { width: 24px; text-align: center; }
.ft-tab-btn .arrow { margin-left: auto; font-size: 0.8rem; opacity: 0; transform: translateX(-10px); transition: 0.3s; }
.ft-tab-btn:hover { background: #f8fafc; color: #3b82f6; }
.ft-tab-btn.active { background: #eff6ff; color: #3b82f6; font-weight: 700; box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1); }
.ft-tab-btn.active .arrow { opacity: 1; transform: translateX(0); }

.ft-content-area { background: #fff; padding: 10px; }
.ft-panel { display: none; animation: fadeInRight 0.4s ease; }
.ft-panel.active { display: block; }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

.ft-mobile-head { display: none; font-size: 1.2rem; font-weight: 800; color: #0f172a; margin-bottom: 20px; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 2px solid #f1f5f9; }
.ft-mobile-head i { color: #3b82f6; }
.ft-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

.ft-item {
    display: flex; align-items: center; gap: 12px; padding: 15px;
    border: 1px solid #f1f5f9; border-radius: 12px; transition: 0.2s;
}
.ft-item:hover { border-color: #e2e8f0; background: #fafafa; transform: translateY(-2px); }
.ft-icon { width: 24px; height: 24px; background: #dcfce7; color: #16a34a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }
.ft-text { display: flex; align-items: center; gap: 8px; flex: 1; }
.ft-name { font-size: 0.95rem; font-weight: 600; color: #334155; }

.ft-tooltip-wrap { position: relative; cursor: help; margin-left: auto; }
.info-icon { color: #cbd5e1; transition: 0.3s; }
.ft-tooltip-wrap:hover .info-icon { color: #3b82f6; }
.ft-tooltip {
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: #1e293b; color: white; padding: 10px 15px; border-radius: 8px;
    font-size: 0.8rem; width: 250px; text-align: center; z-index: 20;
    opacity: 0; visibility: hidden; transition: 0.3s; pointer-events: none; line-height: 1.4;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); margin-bottom: 10px;
}
.ft-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border-width: 6px; border-style: solid; border-color: #1e293b transparent transparent transparent; }
.ft-tooltip-wrap:hover .ft-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* 5. MODULES (YENİ TASARIM) */
.modules-section { padding: 80px 0 120px; background: #f8fafc; }
.sec-head { text-align: center; margin-bottom: 50px; }
.sec-title { font-size: 2.5rem; font-weight: 800; color: #0f172a; margin-bottom: 15px; }
.sec-desc { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; }

/* Tabs */
.mod-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; flex-wrap: wrap;padding: 0 30px ; }
.mt-btn {
    padding: 10px 25px; border-radius: 50px; border: 1px solid #e2e8f0;
    background: white; color: #64748b; font-weight: 700; font-size: 0.9rem;
    cursor: pointer; transition: 0.3s;
}
.mt-btn:hover, .mt-btn.active {
    background: var(--secondary); color: white; border-color: var(--secondary);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

/* Grid */
.mod-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; 
    max-width: 1300px; margin: 0 auto; padding: 0 24px; 
}

/* Card */
.mod-card {
    background: white; border-radius: 24px; overflow: hidden;
    border: 1px solid #e2e8f0; cursor: pointer; position: relative;
    display: flex; flex-direction: column; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.mod-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* Header Background (Pattern) */
.mod-header-bg {
    height: 80px; width: 100%; background-color: #0f172a;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
                        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    position: relative; overflow: hidden;
}
/* Çizgisel desen */
.mod-header-bg::after {
    content: ""; position: absolute; inset: 0; opacity: 0.1;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
}

/* Icon Area */
.mod-icon-wrap {
    width: 80px; height: 80px; margin: -40px auto 0; 
    background: white; border-radius: 50%; padding: 5px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
}
.mod-icon-img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

/* Body */
.mod-body { padding: 20px 24px; text-align: center; flex: 1; }
.mod-title { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; line-height: 1.3; }
.mod-desc { font-size: 0.85rem; color: #64748b; line-height: 1.5; margin: 0; }

/* Footer */
.mod-footer {
    padding: 20px 24px; border-top: 1px solid #f1f5f9;
    display: flex; justify-content: space-between; align-items: center;
    background: #fff;
}
.mod-price { font-size: 1.1rem; font-weight: 800; color: #3b82f6; }

.mod-btn {
    background: #f1f5f9; color: #64748b; padding: 8px 20px; 
    border-radius: 8px; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; transition: 0.3s;
}
.mod-card:hover .mod-btn { background: #0f172a; color: white; }

/* Selected State */
.mod-card.selected { border-color: #3b82f6; box-shadow: 0 0 0 2px #3b82f6; }
.mod-card.selected .mod-btn { background: #ef4444; color: white; content: 'ÇIKAR'; }

.selected-badge {
    position: absolute; top: 10px; right: 10px;
    width: 24px; height: 24px; background: #22c55e; color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; opacity: 0; transform: scale(0); transition: 0.3s;
}
.mod-card.selected .selected-badge { opacity: 1; transform: scale(1); }

/* Animation Classes */
.mod-card.hidden { display: none; }
.mod-card.visible { animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* 6. STICKY TOTAL BAR */
.total-bar {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(200%);
    background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px);
    padding: 15px 30px; border-radius: 50px; width: 90%; max-width: 600px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); z-index: 100;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}
.total-bar.active { transform: translateX(-50%) translateY(0); }
.tb-info { color: white; }
.tb-label { font-size: 0.75rem; color: #94a3b8; display: block; margin-bottom: 2px; }
.tb-amount { font-size: 1.5rem; font-weight: 800; color: white; }
.tb-detail { font-size: 0.75rem; color: #60a5fa; font-weight: 600; margin-left: 5px; }
.tb-btn {
    background: var(--primary); color: white; padding: 12px 30px; border-radius: 30px;
    font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: 0.3s;
}
.tb-btn:hover { background: var(--primary-dark); }

/* RESPONSIVE */
@media (max-width: 1200px) { 
    .core-card { grid-template-columns: 1fr; }
    .cc-right { padding: 40px 24px; border-left: none; border-top: 1px solid #e2e8f0; }
    .cc-left { padding: 40px 24px; }
    .mod-grid { grid-template-columns: repeat(3, 1fr); }
    .ft-list-grid {grid-template-columns: repeat(1, 1fr);}
}
@media (max-width: 900px) { .mod-grid { grid-template-columns: repeat(2, 1fr); }.ft-list-grid {grid-template-columns: repeat(1, 1fr);} }
@media (max-width: 768px) {
    .ft-list-grid {grid-template-columns: repeat(1, 1fr);}
    .one-hero { padding: 120px 0 80px; }
    .hero-title { font-size: 2.5rem; letter-spacing: -1px; }
    .hero-desc { font-size: 1.1rem; }
    .core-wrapper { margin-top: -60px; padding: 0 15px; padding-bottom: 60px; }
    .cc-features-grid { grid-template-columns: 1fr; gap: 15px; }
    .price-tag { font-size: 3rem; }
    
    /* Modül Mobil */
    .mod-grid { grid-template-columns: 1fr; gap: 20px; }
    .mod-tabs { gap: 8px; margin-bottom: 30px; }
    .mt-btn { padding: 8px 16px; font-size: 0.8rem; flex: 1 1 auto; text-align: center; }
    
    /* Sticky Bar Mobil */
    .total-bar { flex-direction: column; gap: 15px; border-radius: 20px; padding: 20px; bottom: 20px; width: 95%; max-width: none; }
    .tb-btn { width: 100%; text-align: center; }
    .tb-info { text-align: center; }
    
    /* Features Tabs Mobil */
    .ft-layout { display: block; min-height: auto; }
    .ft-sidebar { 
        flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid #e2e8f0; 
        padding-right: 0; padding-bottom: 10px; margin-bottom: 20px; gap: 10px;
        -webkit-overflow-scrolling: touch; white-space: nowrap;
    }
    .ft-sidebar::-webkit-scrollbar { display: none; }
    .ft-tab-btn { width: auto; padding: 10px 15px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 0.9rem; flex-shrink: 0; }
    .ft-tab-btn.active { background: #3b82f6; color: white; border-color: #3b82f6; }
    .ft-tab-btn.active i { color: white; }
    .arrow { display: none; }
    .ft-content-area { padding: 0; }
    .ft-mobile-head { display: flex; font-size: 1.1rem; }
    .ft-tooltip { left: auto; right: 0; transform: translateY(10px); width: 220px; }
    .ft-tooltip::after { left: auto; right: 10px; }
    .ft-tooltip-wrap:hover .ft-tooltip { transform: translateY(0); }
}