/* ===== Portfolio Detail Page ===== */

body {
    background: #fff;
}

/* Hero */
.pf-hero {
    position: relative;
    padding: 120px 24px 80px;
    color: #fff;
    overflow: hidden;
}

.pf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pf-hero-inner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

.pf-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 40px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: background 0.2s;
}
.pf-back:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.pf-hero-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: center;
}

.pf-hero-logo {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.pf-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pf-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.pf-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.pf-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.pf-hero-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
    line-height: 1.5;
}

.pf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: #fff;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.pf-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    transition: background 0.2s;
}
.pf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.pf-btn-light {
    background: #fff;
}
.pf-btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Section */
.pf-section {
    padding: 80px 24px;
}
.pf-section-gray {
    background: #f8fafc;
}
.pf-container {
    max-width: 1080px;
    margin: 0 auto;
}
.pf-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.pf-section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.pf-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

.pf-overview {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

/* Features */
.pf-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pf-feature-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 28px 28px 36px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pf-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.pf-feature-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}
.pf-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}
.pf-feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Screenshots */
.pf-shots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.pf-shot {
    margin: 0;
}
.pf-shot-frame {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pf-shot-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}
.pf-shot-frame img {
    display: block;
    width: 100%;
    height: auto;
}
.pf-shot figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

/* Tech */
.pf-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.pf-tech-block {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
}
.pf-tech-block h4 {
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}
.pf-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pf-tech-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.pf-tech-platform {
    background: #eff6ff;
    color: #2563eb;
}

/* CTA */
.pf-cta {
    padding: 80px 24px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pf-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}
.pf-cta-inner {
    position: relative;
}
.pf-cta h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}
.pf-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
}
.pf-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 768px) {
    .pf-hero {
        padding: 100px 20px 60px;
    }
    .pf-hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .pf-hero-logo {
        width: 140px;
        height: 140px;
        padding: 20px;
        margin: 0 auto;
    }
    .pf-hero-title {
        font-size: 32px;
    }
    .pf-hero-tagline {
        font-size: 16px;
    }
    .pf-hero-actions {
        justify-content: center;
    }
    .pf-section {
        padding: 60px 20px;
    }
    .pf-section-title,
    .pf-cta h2 {
        font-size: 26px;
    }
    .pf-features-grid,
    .pf-tech-grid,
    .pf-shots {
        grid-template-columns: 1fr;
    }
}
