/* 
   Oğuz Bulut Kişisel Blog Portalı - Tasarım Sistemi & CSS
   Vanilla CSS ile Premium Estetik, Bento Grid, 3D ve Animasyonlar
*/

/* --- Google Fonts Entegrasyonu --- */
:root {
    /* Genel Font Tanımları */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Ortak Renk Değişkenleri */
    --bg-dark-base: #0a0b10;
    --card-bg-glass: rgba(20, 22, 35, 0.45);
    --card-border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Persona Bazlı Temalandırma --- */

/* 1. TASARIMCI TEMASI (🎨 - Varsayılan) */
body.persona-designer {
    --accent: #ff007f; /* Canlı Fuşya */
    --accent-glow: rgba(255, 0, 127, 0.4);
    --secondary: #ff7700; /* Neon Turuncu */
    --secondary-glow: rgba(255, 119, 0, 0.2);
    --theme-bg: radial-gradient(circle at 50% 50%, #1a081c 0%, #060209 100%);
    --exhibit-color: #ff007f;
}

/* 2. GELİŞTİRİCİ TEMASI (💻) */
body.persona-developer {
    --accent: #00ffcc; /* Neon Turkuaz */
    --accent-glow: rgba(0, 255, 204, 0.4);
    --secondary: #0066ff; /* Elektrik Mavi */
    --secondary-glow: rgba(0, 102, 255, 0.2);
    --theme-bg: radial-gradient(circle at 50% 50%, #041a18 0%, #010608 100%);
    --exhibit-color: #00ffcc;
}

/* 3. GİRİŞİMCİ TEMASI (🚀) */
body.persona-entrepreneur {
    --accent: #ffd700; /* Neon Altın/Sarı */
    --accent-glow: rgba(255, 215, 0, 0.4);
    --secondary: #ff3c00; /* Alev Kırmızısı */
    --secondary-glow: rgba(255, 60, 0, 0.2);
    --theme-bg: radial-gradient(circle at 50% 50%, #1f1b03 0%, #070601 100%);
    --exhibit-color: #ffd700;
}

/* --- Temel Sıfırlamalar (Global Reset) --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark-base);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--theme-bg);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background var(--transition-smooth);
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0e15;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* --- Arka Plan Parçacıkları ve Işık (Background Dynamics) --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.cursor-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
    transition: width var(--transition-smooth), height var(--transition-smooth);
    opacity: 0.8;
}

/* --- Header ve Persona Switcher --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border-glass);
    background: rgba(10, 11, 16, 0.7);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent);
    transition: background var(--transition-smooth);
}

/* Persona Seçici */
.persona-selector-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.persona-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.persona-selector {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid var(--card-border-glass);
}

.persona-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.persona-btn:hover {
    color: var(--text-primary);
}

/* Seçili buton tarzı */
body.persona-designer #btn-designer,
body.persona-developer #btn-developer,
body.persona-entrepreneur #btn-entrepreneur {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

body.persona-designer #btn-designer::after,
body.persona-developer #btn-developer::after,
body.persona-entrepreneur #btn-entrepreneur::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    border-radius: 3px 3px 0 0;
}

/* UI Sound Toggle Button */
.sound-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background: var(--card-bg-glass);
    border: 1px solid var(--card-border-glass);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-bounce);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.sound-toggle-btn:hover {
    transform: scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    color: var(--accent);
}

/* --- Hero Section & Hareketli Tipografi --- */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.hero-top-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.motion-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 5.5rem;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 30px;
    user-select: none;
}

/* Hareketli Tipografi Harfleri */
.motion-title span {
    display: inline-block;
    transition: var(--transition-bounce);
    cursor: pointer;
}

.motion-title span:hover {
    color: var(--accent);
    transform: scale(1.2) translateY(-10px) rotate(5deg);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 50px;
}

/* Scroll İndikatör */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    box-shadow: 0 0 5px var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 1.8s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* --- Kayan Yazı (Marquee) --- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 20px 0;
    border-top: 1px solid var(--card-border-glass);
    border-bottom: 1px solid var(--card-border-glass);
    background: rgba(255, 255, 255, 0.01);
    margin-bottom: 100px;
}

.marquee-content {
    display: inline-block;
    animation: marqueeAnim 35s linear infinite;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.marquee-content span {
    margin-right: 20px;
}

@keyframes marqueeAnim {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --- Bento Grid Bölümü --- */
.grid-section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 24px;
}

/* Bento Kart Tasarımı */
.bento-card {
    background: var(--card-bg-glass);
    border: 1px solid var(--card-border-glass);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 2px rgba(255, 255, 255, 0.1);
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    transform: translateZ(30px); /* 3D derinlik hissi */
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    align-self: flex-start;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Bento Boyut Seçenekleri */
.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-double {
    grid-column: span 2;
    grid-row: span 2;
}

.card-medium {
    grid-column: span 1;
    grid-row: span 2;
}

.card-small {
    grid-column: span 1;
    grid-row: span 2;
}

/* Profil Kartı (Card 1) Özel */
.card-profile {
    display: flex;
    align-items: flex-end;
}

.card-profile .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) grayscale(0.2);
    transition: transform var(--transition-smooth);
}

.card-profile:hover .card-background {
    transform: scale(1.05);
}

.card-profile .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10,11,16,0.95) 0%, rgba(10,11,16,0.4) 60%, rgba(10,11,16,0) 100%);
    z-index: 1;
}

.card-profile .card-desc {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 8px;
}

.card-profile .card-desc p {
    margin-bottom: 12px;
}

.card-profile .card-desc p:last-child {
    margin-bottom: 0;
}

.card-profile .card-desc::-webkit-scrollbar {
    width: 4px;
}

.card-profile .card-desc::-webkit-scrollbar-track {
    background: transparent;
}

.card-profile .card-desc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.card-profile .card-desc::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* AI Sandbox Kartı (Card 3) */
.card-ai-sandbox {
    justify-content: flex-start;
}

.card-ai-sandbox .card-content {
    justify-content: flex-start;
}

.ai-chat-widget {
    margin-top: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ai-output {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border-glass);
    border-radius: 12px;
    padding: 12px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--text-secondary);
    min-height: 120px;
    max-height: 130px;
    overflow-y: auto;
    font-family: var(--font-body);
}

.ai-input-group {
    display: flex;
    gap: 8px;
}

.ai-input-group input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.ai-input-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.ai-input-group button {
    background: var(--accent);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.ai-input-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--accent);
}

/* Canlı İstatistikler Kartı (Card 4) */
.card-stats .card-content {
    justify-content: flex-start;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.grid-stat {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border-glass);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
}

.grid-stat:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.02);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-name {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
}

/* Persona Highlight Kartı (Card 5) */
.card-persona-highlight .card-content {
    justify-content: flex-start;
}

/* Blog Listesi Kartı (Card 6) */
.card-blog-feed .card-content {
    justify-content: flex-start;
}

.blog-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    max-height: 250px;
    padding-right: 5px;
}

.blog-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.blog-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.blog-date {
    font-size: 0.72rem;
    font-weight: bold;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.blog-details {
    flex-grow: 1;
}

.blog-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.blog-item-summary {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.blog-read-more {
    font-size: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--card-border-glass);
    padding: 4px 10px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.blog-read-more:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* --- 3D DIJİTAL SERGİ KARTI (Card 2) --- */
.card-3d-exhibit {
    grid-column: span 2;
    grid-row: span 2;
}

.card-3d-exhibit .card-content {
    justify-content: flex-start;
    height: 100%;
}

.scene-3d {
    width: 100%;
    height: 220px;
    margin-top: 15px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: grab;
}

.scene-3d:active {
    cursor: grabbing;
}

.object-3d {
    width: 180px;
    height: 180px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(45deg);
    transition: transform 0.1s ease-out;
}

/* 3D Nesne Katmanları */
.layer-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Katman 1: Alt Panel */
.layer-base {
    background: rgba(20, 22, 35, 0.85);
    border: 2px solid var(--accent);
    transform: translateZ(-45px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.layer-glowing-ring {
    width: 75%;
    height: 75%;
    border: 2px dashed var(--accent);
    border-radius: 50%;
    animation: rotateRing 15s linear infinite;
    box-shadow: inset 0 0 15px var(--accent-glow), 0 0 15px var(--accent-glow);
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Katman 2: Orta Devre Kartı */
.layer-chip {
    background: rgba(30, 35, 55, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-image: url('assets/code_concept.png');
    background-size: 150%;
    background-position: center;
    transform: translateZ(0px);
}

.layer-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.8);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 20px var(--secondary-glow);
    border-radius: 8px;
}

/* Katman 3: Üst Enerji Kristali */
.layer-crystal {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transform: translateZ(45px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.crystal-light {
    width: 35px;
    height: 35px;
    background: var(--accent);
    box-shadow: 0 0 30px 10px var(--accent);
    border-radius: 50%;
    animation: crystalPulse 2s ease-in-out infinite alternate;
}

@keyframes crystalPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 40px 15px var(--accent); }
}

/* Hover Esnasında Katmanların Patlaması (3D Exploded View) */
.card-3d-exhibit:hover .layer-base {
    transform: translateZ(-80px);
}
.card-3d-exhibit:hover .layer-chip {
    transform: translateZ(0px) scale(1.02);
}
.card-3d-exhibit:hover .layer-crystal {
    transform: translateZ(80px) scale(1.05);
    border-color: var(--accent);
}

.exhibit-control-tip {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    text-align: center;
}

/* --- SCROLLYTELLING BÖLÜMÜ --- */
.scrolly-section {
    padding: 100px 0;
}

.scrolly-container {
    display: flex;
    position: relative;
    gap: 5%;
}

/* Sabit Kalan Görsel Panel */
.scrolly-visual-panel {
    flex: 1;
    position: sticky;
    top: 15vh;
    height: 70vh;
    border-radius: 30px;
    background: rgba(13, 14, 22, 0.6);
    border: 1px solid var(--card-border-glass);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
}

.visual-stage {
    position: absolute;
    width: 90%;
    height: 90%;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    z-index: 1;
}

.visual-stage.stage-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 2;
}

.glow-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.45;
    animation: floatSphere 8s ease-in-out infinite alternate;
}

.s-violet { background: #b026ff; top: 10%; left: 10%; }
.s-cyan { background: #00ffcc; bottom: 10%; right: 10%; }
.s-green { background: #39ff14; top: 20%; right: 20%; }
.s-gold { background: #ffd700; bottom: 20%; left: 20%; }

@keyframes floatSphere {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.15); }
}

.visual-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.visual-graphic {
    width: 100%;
    height: 75%;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Aşağı Kayan Metin Paneli */
.scrolly-text-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-step {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    opacity: 0.25;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.story-step.step-active {
    opacity: 1;
    transform: translateX(0);
}

.step-num-bubble {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    padding: 6px 12px;
    border-radius: 30px;
    width: flex;
    align-self: flex-start;
    margin-bottom: 20px;
}

.story-step h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.story-step p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- DİNAMİK FEEDBACK OVERLAY (Geri Bildirim Ekranı) --- */
.feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.feedback-overlay.overlay-active {
    opacity: 1;
    pointer-events: auto;
}

.feedback-box {
    background: var(--card-bg-glass);
    border: 2px solid var(--accent);
    box-shadow: 0 15px 50px var(--accent-glow);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feedback-overlay.overlay-active .feedback-box {
    transform: scale(1);
}

.close-overlay {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.close-overlay:hover {
    color: var(--accent);
}

.feedback-box h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feedback-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- FOOTER (Alt Bilgi) --- */
.main-footer {
    border-top: 1px solid var(--card-border-glass);
    background: rgba(10, 11, 16, 0.9);
    padding: 40px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 100px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Yazılım Listesi Kartı (Card 7) */
.card-software .card-content {
    justify-content: flex-start;
}

.software-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 190px;
    padding-right: 5px;
}

.software-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border-glass);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.software-item:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.02);
}

.software-info {
    flex-grow: 1;
}

.software-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.software-version {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border-glass);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 4px;
}

.software-desc-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
}

.software-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.software-btn-dl {
    background: var(--accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.software-btn-dl:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--accent);
}

.software-btn-req {
    background: transparent;
    color: var(--text-primary);
    font-size: 0.72rem;
    border: 1px solid var(--card-border-glass);
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.software-btn-req:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Lisans Talep Kartı (Card 8) */
.card-license .card-content {
    justify-content: flex-start;
}

.license-form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.license-form input,
.license-form select,
.license-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.license-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%2394a3b8'><path d='M0 0l5 6 5-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.license-form select option {
    background: #0d0e15;
    color: var(--text-primary);
}

.license-form textarea {
    resize: none;
    height: 60px;
}

.license-form input:focus,
.license-form select:focus,
.license-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.license-form button {
    background: var(--accent);
    border: none;
    color: #000;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: var(--transition-bounce);
}

.license-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--accent);
}

.software-loading,
.blog-loading {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    padding: 20px 0;
}

/* --- RESPONSIVE TASARIM (Bileşen Uyumları) --- */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
    
    .card-large, .card-double {
        grid-column: span 2;
    }
    
    .card-medium, .card-small {
        grid-column: span 1;
    }
    
    .motion-title {
        font-size: 4rem;
    }
    
    .scrolly-container {
        flex-direction: column;
    }
    
    .scrolly-visual-panel {
        position: sticky;
        top: 100px;
        width: 100%;
        height: 40vh;
        z-index: 10;
        margin-bottom: 30px;
    }
    
    .story-step {
        min-height: 40vh;
        padding: 40px 10px;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 380px;
    }
    
    .card-profile {
        height: 450px;
    }
    
    .card-blog-feed {
        height: 420px;
    }

    .main-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 4%;
    }
    
    .persona-selector-container {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .persona-selector {
        width: 100%;
        justify-content: space-around;
    }
    
    .motion-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .main-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
/* --- HABERLER & DUYURULAR SLIDER --- */
.card-slider .card-content {
    justify-content: flex-start;
}

.slider-container {
    margin-top: 15px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--card-border-glass);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.slider-slides {
    flex-grow: 1;
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    padding: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slider-slide h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.slider-slide p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.slider-slide .slider-cat {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 0.7rem;
    color: var(--accent);
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 4px;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.slider-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.slider-btn:hover {
    color: var(--accent);
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}
