:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --text: #ffffff;
    --text-dim: #88889b;
    --accent: #00f2ff;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: rgba(0, 0, 0, 0.6);
}

body.light-mode {
    --bg: #f0f0f5;
    --surface: #ffffff;
    --text: #1a1a1c;
    --text-dim: #666670;
    --accent: #0070f3;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background 0.4s ease;
    overflow-x: hidden;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; }
.nav-brand { font-weight: 800; display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.brand-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 0px; box-shadow: 0 0 10px var(--accent); }

.nav-controls { display: flex; align-items: center; gap: 20px; }
.github-icon { color: var(--text); opacity: 0.8; transition: 0.3s; }
.github-icon:hover { opacity: 1; transform: scale(1.1); }

.theme-btn { background: none; border: none; cursor: pointer; color: var(--text); font-size: 1.2rem; }
.mode-icon::before { content: '🌙'; }
body.light-mode .mode-icon::before { content: '☀️'; }

.hero-showcase { margin-top: 20px; text-align: center; }
.slider-container { position: relative; width: 100%; margin-bottom: 40px; }

.slider-wrapper { 
    width: 100%; 
    border-radius: 0px; 
    overflow: hidden; 
    box-shadow: 0 30px 60px var(--shadow); 
    border: 1px solid var(--border); 
    aspect-ratio: 16 / 9; 
    position: relative; 
}

.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease-in-out; }
.slide.active { opacity: 1; }

.slider-arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: none; 
    color: var(--accent); 
    border: none; 
    font-size: 2.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    cursor: pointer; 
    z-index: 10; 
    opacity: 0; 
    transition: 0.4s; 
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}
.slider-container:hover .slider-arrow { opacity: 0.8; }
.slider-arrow:hover { opacity: 1 !important; scale: 1.1; color: var(--text); }

.prev { left: 20px; }
.next { right: 20px; }

.hero-text h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 10px; }
.hero-text p { color: var(--text-dim); margin-bottom: 50px; }
.gradient-text { background: linear-gradient(135deg, var(--text) 30%, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 40px 0; }
.feature-card { background: var(--surface); padding: 30px; border-radius: 0px; border: 1px solid var(--border); transition: 0.3s; text-align: left; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 30px var(--shadow); }
.feature-icon { font-size: 2rem; margin-bottom: 15px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.feature-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

/* INSTALL SECTION FIXES */
.install-section { margin: 60px 0 100px; }
.install-section h2 { font-size: 1.2rem; margin-bottom: 20px; opacity: 0.9; }

.code-block { 
    background: var(--surface); 
    padding: 20px; 
    border-radius: 0px; 
    border: 1px solid var(--border); 
    display: flex; 
    flex-direction: column; /* Mobilde ve dar alanda buton alta insin */
    align-items: flex-start;
    gap: 15px;
    font-family: 'JetBrains Mono', monospace; 
}

@media (min-width: 600px) {
    .code-block { flex-direction: row; align-items: center; justify-content: space-between; }
}

.code-block code { font-size: 0.85rem; word-break: break-all; }

.copy-btn { 
    background: var(--accent); 
    color: #000; 
    border: none; 
    padding: 8px 20px; 
    border-radius: 0px; 
    font-weight: 800; 
    cursor: pointer; 
    transition: 0.3s; 
    white-space: nowrap;
}

.install-note { margin-top: 30px; text-align: left; }
.note-title { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 10px; font-weight: 600; }

.mini-code-block { 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid var(--border); 
    padding: 15px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px;
}

@media (min-width: 600px) {
    .mini-code-block { flex-direction: row; justify-content: space-between; align-items: center; }
}

.mini-code-block code { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 0.75rem; 
    color: var(--accent); 
    word-break: break-all; 
    line-height: 1.5;
}

.mini-copy { 
    background: transparent; 
    border: 1px solid var(--accent); 
    color: var(--accent); 
    padding: 5px 12px; 
    font-size: 0.7rem; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.2s; 
    white-space: nowrap;
}

.mini-copy:hover { background: var(--accent); color: #000; }

body.light-mode .mini-code-block { background: rgba(0, 0, 0, 0.03); }
.reveal { opacity: 0; transform: translateY(20px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
footer { padding: 40px 0; text-align: center; color: var(--text-dim); font-size: 0.8rem; border-top: 1px solid var(--border); }
