/* ══════════════════════════════════════
   AI Projelerim — Project Detail Styles
   Used on projects/linkvlc.html etc.
   ══════════════════════════════════════ */

/* ── BREADCRUMB ── */
.breadcrumb {
    max-width: 1100px; margin: 0 auto;
    padding: 6rem 0 0;
    display: flex; align-items: center; gap: .5rem;
    font-size: .85rem; color: #64748b;
}
.breadcrumb a {
    color: #64748b; transition: color .25s;
}
.breadcrumb a:hover { color: #38bdf8; }
.breadcrumb .sep { color: #334155; }
.breadcrumb .current { color: #94a3b8; font-weight: 600; }

/* ── PROJECT DETAIL ── */
.project-detail {
    max-width: 1100px; margin: 0 auto;
    padding-top: 2rem;
}
.detail-header {
    display: flex; align-items: center; gap: 1.5rem;
    margin-bottom: 3rem;
}
.detail-icon {
    width: 80px; height: 80px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(124,58,237,.2));
    border: 1px solid rgba(56,189,248,.2);
    flex-shrink: 0;
}
.detail-title-group h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800;
    margin-bottom: .3rem;
}
.detail-title-group p {
    color: #94a3b8; font-size: 1.05rem;
}

/* ── Features grid ── */
.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.detail-feature {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 1.8rem;
    transition: all .35s;
    position: relative; overflow: hidden;
}
.detail-feature::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56,189,248,.06), transparent 40%);
    opacity: 0; transition: opacity .4s;
}
.detail-feature:hover::before { opacity: 1; }
.detail-feature:hover {
    border-color: rgba(56,189,248,.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}
.detail-feature .feat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
    border: 1px solid rgba(56,189,248,.12);
    position: relative;
}
.detail-feature h4 {
    font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; color: #f1f5f9;
    position: relative;
}
.detail-feature p { color: #94a3b8; font-size: .9rem; line-height: 1.6; position: relative; }

/* ── Tech stack ── */
.tech-stack { margin-bottom: 4rem; }
.tech-stack h3 {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 1.2rem;
    color: #cbd5e1;
}
.tech-pills {
    display: flex; flex-wrap: wrap; gap: .6rem;
}
.tech-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1.1rem; border-radius: 12px;
    font-size: .82rem; font-weight: 600;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #cbd5e1;
    font-family: 'JetBrains Mono', monospace;
    transition: all .3s;
}
.tech-pill:hover {
    border-color: rgba(56,189,248,.2);
    background: rgba(56,189,248,.06);
    transform: translateY(-2px);
}
.tech-pill .pill-dot {
    width: 8px; height: 8px; border-radius: 50%;
}

/* ── Milestones ── */
.milestones { margin-bottom: 4rem; }
.milestones h3 {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem;
    color: #cbd5e1;
}
.milestone-track {
    position: relative; padding-left: 2.5rem;
}
.milestone-track::before {
    content: ''; position: absolute; left: 11px; top: 4px; bottom: 4px;
    width: 2px;
    background: linear-gradient(180deg, #2563eb, #7c3aed, #06b6d4, transparent);
}
.milestone {
    position: relative; margin-bottom: 1.8rem;
}
.milestone:last-child { margin-bottom: 0; }
.milestone::before {
    content: '';
    position: absolute; left: -2.5rem; top: 6px;
    width: 12px; height: 12px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: 2px solid #050a18;
    box-shadow: 0 0 0 3px rgba(37,99,235,.2);
    z-index: 1;
}
.milestone.completed::before {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    box-shadow: 0 0 0 3px rgba(34,197,94,.2);
}
.milestone-version {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem; font-weight: 600; color: #60a5fa;
    margin-bottom: .15rem;
}
.milestone h4 {
    font-size: .95rem; font-weight: 700; color: #f1f5f9;
    margin-bottom: .2rem;
}
.milestone p {
    font-size: .85rem; color: #64748b; line-height: 1.5;
}

/* ── Screenshot area ── */
.screenshot-area {
    background: rgba(255,255,255,.02);
    border: 1px dashed rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative; overflow: hidden;
}
.screenshot-area::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,.03), rgba(124,58,237,.03));
}
.screenshot-area .placeholder-icon {
    font-size: 3rem; margin-bottom: 1rem; opacity: .3;
}
.screenshot-area h4 {
    font-size: 1rem; font-weight: 600; color: #475569; position: relative;
}
.screenshot-area p {
    font-size: .85rem; color: #334155; position: relative;
}

/* ── Download Section ── */
.download-section {
    margin-bottom: 4rem;
    text-align: center;
}
.download-section h3 {
    font-size: 1.4rem; font-weight: 800; margin-bottom: .6rem;
    color: #f1f5f9;
}
.download-section .download-subtitle {
    color: #64748b; font-size: .95rem; margin-bottom: 2rem;
}
.download-cards {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}
.download-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    text-align: center;
    min-width: 220px;
    transition: all .35s;
    position: relative;
    overflow: hidden;
}
.download-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(400px circle at 50% 50%, rgba(37,99,235,.06), transparent 60%);
    opacity: 0; transition: opacity .4s;
}
.download-card:hover::before { opacity: 1; }
.download-card:hover {
    border-color: rgba(56,189,248,.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.download-card .dl-icon {
    font-size: 2.5rem; margin-bottom: .8rem;
    position: relative;
}
.download-card h4 {
    font-size: 1.05rem; font-weight: 700; color: #e2e8f0;
    margin-bottom: .3rem; position: relative;
}
.download-card .dl-version {
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem; color: #60a5fa; font-weight: 600;
    margin-bottom: .8rem; position: relative;
}
.download-card .dl-size {
    font-size: .75rem; color: #475569; margin-bottom: 1.2rem;
    position: relative;
}
.btn-download {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.8rem; border-radius: 50px;
    font-size: .85rem; font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff; transition: all .3s;
    position: relative;
}
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.download-note {
    margin-top: 1.5rem;
    font-size: .8rem; color: #475569;
}

/* ── Project Guide / README ── */
.project-guide {
    margin-bottom: 4rem;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}
.project-guide::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(800px circle at 30% 20%, rgba(37,99,235,.04), transparent 50%),
                radial-gradient(600px circle at 80% 80%, rgba(124,58,237,.03), transparent 50%);
    pointer-events: none;
}

.guide-intro {
    margin-bottom: 2.5rem;
    position: relative;
}
.guide-intro p {
    font-size: 1.05rem; color: #94a3b8; line-height: 1.8;
    margin-bottom: .5rem;
}
.guide-intro p strong { color: #cbd5e1; }
.guide-highlight {
    display: inline-block;
    margin-top: .5rem !important;
    padding: .5rem 1.2rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(124,58,237,.1));
    border: 1px solid rgba(56,189,248,.12);
    font-weight: 700 !important;
    color: #60a5fa !important;
    font-size: .9rem !important;
}

.guide-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
    position: relative;
}
.guide-block:last-child {
    margin-bottom: 0; padding-bottom: 0; border-bottom: none;
}
.guide-block h3 {
    font-size: 1.1rem; font-weight: 700; color: #e2e8f0;
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: .6rem;
}
.guide-block-icon {
    font-size: 1.1rem;
}
.guide-block p {
    font-size: .9rem; color: #94a3b8; line-height: 1.7;
    margin-bottom: .6rem;
}
.guide-block p strong { color: #cbd5e1; }

/* Checklist */
.guide-checklist {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .5rem;
}
.guide-checklist li {
    display: flex; align-items: center; gap: .6rem;
    font-size: .88rem; color: #94a3b8; line-height: 1.6;
    padding: .45rem .8rem;
    border-radius: 10px;
    transition: background .3s;
}
.guide-checklist li:hover { background: rgba(255,255,255,.03); }
.guide-checklist li::before {
    content: '✓';
    display: flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 6px;
    background: rgba(74,222,128,.1);
    color: #4ade80; font-size: .7rem; font-weight: 800;
    flex-shrink: 0;
}

/* Clean list */
.guide-list-clean {
    list-style: none; padding: 0;
    margin: .8rem 0;
}
.guide-list-clean li {
    font-size: .88rem; color: #94a3b8; line-height: 1.7;
    padding: .35rem 0 .35rem 1.4rem;
    position: relative;
}
.guide-list-clean li::before {
    content: '';
    position: absolute; left: 0; top: .75rem;
    width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.guide-list-clean li strong { color: #cbd5e1; }

.guide-muted {
    font-size: .82rem !important; color: #475569 !important;
    font-style: italic;
    margin-top: .6rem;
}

/* Format tags */
.guide-format-grid {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin: .8rem 0;
}
.format-tag {
    display: inline-block;
    padding: .4rem 1rem; border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem; font-weight: 600;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #94a3b8;
    transition: all .3s;
}
.format-tag:hover {
    border-color: rgba(56,189,248,.2);
    background: rgba(56,189,248,.06);
    color: #cbd5e1;
    transform: translateY(-1px);
}

/* Steps */
.guide-steps {
    list-style: none; padding: 0;
    margin: .8rem 0;
}
.guide-steps li {
    display: flex; align-items: center; gap: .8rem;
    font-size: .9rem; color: #94a3b8; line-height: 1.7;
    padding: .5rem 0;
}
.guide-steps li strong { color: #cbd5e1; }
.guide-step-num {
    width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem; font-weight: 800; color: #fff;
    flex-shrink: 0;
}

/* Security block */
.guide-security {
    background: rgba(245,158,11,.03);
    border: 1px solid rgba(245,158,11,.1) !important;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: .5rem;
}

/* Footer note */
.guide-footer-note {
    text-align: center;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.guide-footer-note p {
    font-size: .82rem !important; color: #475569 !important;
}
.guide-link {
    color: #60a5fa !important;
    text-decoration: underline;
    text-decoration-color: rgba(96,165,250,.3);
    text-underline-offset: 3px;
    transition: text-decoration-color .3s;
}
.guide-link:hover {
    text-decoration-color: #60a5fa;
}

/* ── Hero Download Button ── */
.btn-download-hero {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: 1.1rem 3rem; border-radius: 60px;
    font-size: 1.15rem; font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed, #06b6d4);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: #fff;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 6px 30px rgba(37,99,235,.4), 0 0 60px rgba(124,58,237,.15);
    position: relative; overflow: hidden;
    text-decoration: none;
}
.btn-download-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform .6s;
}
.btn-download-hero:hover::before { transform: translateX(100%); }
.btn-download-hero:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 45px rgba(37,99,235,.5), 0 0 80px rgba(124,58,237,.25);
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Trust Badges ── */
.trust-badges {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem;
    margin-top: 1.5rem;
}
.trust-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem 1rem; border-radius: 50px;
    font-size: .78rem; font-weight: 600;
    color: #94a3b8;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}
.trust-badge svg { color: #4ade80; flex-shrink: 0; }

/* ── SmartScreen Note ── */
.smartscreen-note {
    display: flex; align-items: flex-start; gap: .8rem;
    max-width: 560px; margin: 1.5rem auto 0;
    padding: 1rem 1.4rem; border-radius: 14px;
    background: rgba(245,158,11,.04);
    border: 1px solid rgba(245,158,11,.12);
    text-align: left;
}
.smartscreen-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.smartscreen-note p {
    font-size: .78rem; color: #94a3b8; line-height: 1.6;
}

/* ── COMMENTS SECTION ── */
.comments-section {
    max-width: 800px; margin: 0 auto 4rem;
}
.comments-section h3 {
    font-size: 1.3rem; font-weight: 800; color: #f1f5f9;
    margin-bottom: .4rem;
}
.comments-section .comments-subtitle {
    color: #64748b; font-size: .9rem; margin-bottom: 2rem;
}

/* Comment form */
.comment-form {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}
.comment-form .form-row {
    display: flex; gap: 1rem; margin-bottom: 1rem;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: .85rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(56,189,248,.3);
    box-shadow: 0 0 0 3px rgba(56,189,248,.08);
}
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #475569;
}
.comment-form textarea {
    min-height: 100px;
    resize: vertical;
    margin-bottom: 1rem;
}
.comment-form .form-footer {
    display: flex; justify-content: space-between; align-items: center;
}
.comment-form .form-note {
    font-size: .75rem; color: #475569;
}
.btn-comment {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.8rem; border-radius: 50px;
    font-size: .85rem; font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff; border: none; cursor: pointer;
    transition: all .3s;
    font-family: 'Inter', sans-serif;
}
.btn-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.35);
}
.btn-comment:disabled {
    opacity: .5; cursor: not-allowed;
    transform: none; box-shadow: none;
}

/* Comment list */
.comments-list { display: flex; flex-direction: column; gap: 1rem; }
.comment-item {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color .3s;
}
.comment-item:hover { border-color: rgba(255,255,255,.1); }
.comment-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: .6rem;
}
.comment-author {
    font-weight: 700; font-size: .9rem; color: #e2e8f0;
    display: flex; align-items: center; gap: .5rem;
}
.comment-author .avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; color: #fff; font-weight: 800;
}
.comment-date {
    font-size: .75rem; color: #475569;
    font-family: 'JetBrains Mono', monospace;
}
.comment-body {
    color: #94a3b8; font-size: .9rem; line-height: 1.65;
}
.comments-empty {
    text-align: center; padding: 3rem 1rem;
    color: #475569;
}
.comments-empty .empty-icon { font-size: 2.5rem; margin-bottom: .8rem; opacity: .3; }
.comments-empty p { font-size: .9rem; }

/* Comment status messages */
.comment-status {
    padding: .8rem 1.2rem; border-radius: 12px;
    font-size: .85rem; margin-bottom: 1rem;
    display: none;
}
.comment-status.success {
    display: block;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.2);
    color: #4ade80;
}
.comment-status.error {
    display: block;
    background: rgba(239,68,68,.08);
    border: 1px solid rgba(239,68,68,.2);
    color: #f87171;
}
.comments-loading {
    text-align: center; padding: 2rem;
    color: #475569; font-size: .9rem;
}

/* ── RESPONSIVE (project page) ── */
@media (max-width: 768px) {
    .detail-features { grid-template-columns: 1fr; }
    .detail-header { flex-direction: column; text-align: center; }
    .milestone-track { padding-left: 2rem; }
    .milestone-track::before { left: 7px; }
    .milestone::before { left: -2rem; }
    .download-cards { flex-direction: column; align-items: center; }
    .comment-form .form-row { flex-direction: column; }
    .comment-form .form-footer { flex-direction: column; gap: .8rem; }
    .breadcrumb { padding: 5rem 0 0; }
    .btn-download-hero { font-size: 1rem; padding: 1rem 2rem; }
    .trust-badges { gap: .5rem; }
    .smartscreen-note { flex-direction: column; align-items: center; text-align: center; }
    .project-guide { padding: 2rem 1.5rem; }
    .guide-checklist { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .download-card { min-width: unset; width: 100%; }
}
