/* =====================================================
   RE:BOOT
   Repurpose Studio
   Part 1
===================================================== */

/* ===============================
   RESET
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --background:#f8fafc;
    --surface:#ffffff;

    --text:#111827;
    --text-light:#6b7280;

    --border:#e5e7eb;

    --success:#10b981;
    --warning:#f59e0b;
    --danger:#ef4444;

    --shadow-sm:0 4px 12px rgba(15,23,42,.05);
    --shadow-md:0 12px 32px rgba(15,23,42,.08);

    --radius:18px;

    --transition:.28s ease;

    --max-width:1220px;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.7;

    -webkit-font-smoothing:antialiased;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

.container{

    width:min(92%,var(--max-width));

    margin:auto;

}

/* ===============================
   NAVBAR
================================ */

.navbar{

    position:sticky;

    top:0;

    z-index:999;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(14px);

    border-bottom:1px solid var(--border);

}

.nav-wrapper{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:76px;

}

.logo{

    display:flex;

    align-items:center;

    gap:.8rem;

    font-size:1.25rem;

    font-weight:700;

}

.logo img{

    width:42px;

    height:42px;

}

nav{

    display:flex;

    gap:2rem;

}

nav a{

    font-weight:500;

    color:var(--text-light);

    transition:var(--transition);

}

nav a:hover{

    color:var(--primary);

}

/* ===============================
   HERO
================================ */

.hero{

    padding:5rem 0 3rem;

    text-align:center;

}

.tag{

    display:inline-block;

    padding:.6rem 1rem;

    border-radius:999px;

    background:#eaf2ff;

    color:var(--primary);

    font-size:.9rem;

    font-weight:600;

    margin-bottom:1.4rem;

}

.hero h1{

    font-size:3.5rem;

    letter-spacing:-2px;

    margin-bottom:1rem;

}

.hero p{

    max-width:760px;

    margin:auto;

    color:var(--text-light);

    font-size:1.08rem;

}

/* ===============================
   SUMMARY
================================ */

.summary-section{

    padding:2rem 0;

}

.summary-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:2rem;

}

.card{

    background:var(--surface);

    border-radius:18px;

    border:1px solid var(--border);

    padding:2rem;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

}

.card:hover{

    box-shadow:var(--shadow-md);

}

.card h3{

    margin-bottom:1.5rem;

    font-size:1.35rem;

}

.info-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:1rem 0;

    border-bottom:1px solid #eef2f7;

}

.info-row:last-child{

    border-bottom:none;

}

.info-row span{

    color:var(--text-light);

}

.info-row strong{

    font-size:1rem;

}

/* ===============================
   COMPATIBILITY METER
================================ */

.compatibility{

    margin-top:2rem;

}

.compatibility h4{

    margin-bottom:1rem;

}

.progress{

    width:100%;

    height:14px;

    border-radius:999px;

    background:#e5e7eb;

    overflow:hidden;

}

.progress-fill{

    width:82%;

    height:100%;

    background:linear-gradient(
        90deg,
        #2563eb,
        #10b981
    );

    border-radius:999px;

}

.progress-text{

    margin-top:.8rem;

    color:var(--text-light);

    font-size:.95rem;

}
/* =====================================================
   WORKING COMPONENTS
   Part 2
===================================================== */

.component-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:1rem;

}

.component-item{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:1rem 1.2rem;

    border:1px solid var(--border);

    border-radius:14px;

    background:#fff;

    transition:var(--transition);

}

.component-item:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow-sm);

}

.component-name{

    font-weight:600;

}

.component-status{

    font-size:.9rem;

    font-weight:600;

}

.component-status.good{

    color:var(--success);

}

.component-status.bad{

    color:var(--danger);

}

/* =====================================================
   SECTION TITLE
===================================================== */

.section-title{

    text-align:center;

    margin-bottom:2.5rem;

}

.section-title h2{

    font-size:2.2rem;

    margin-bottom:.8rem;

    letter-spacing:-1px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:var(--text-light);

}

/* =====================================================
   IDEA GRID
===================================================== */

.matches{

    padding:5rem 0;

}

.ideas-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:2rem;

}

/* =====================================================
   IDEA CARD
===================================================== */

.idea-card{

    background:#ffffff;

    border:1px solid var(--border);

    border-radius:20px;

    padding:2rem;

    cursor:pointer;

    transition:var(--transition);

    box-shadow:var(--shadow-sm);

}

.idea-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-md);

    border-color:#bfdbfe;

}

.idea-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:1rem;

}

.idea-title{

    font-size:1.25rem;

    font-weight:700;

}

.match-score{

    font-size:.9rem;

    font-weight:700;

    color:var(--primary);

    background:#eff6ff;

    padding:.35rem .8rem;

    border-radius:999px;

}

.idea-rating{

    margin-bottom:1rem;

    font-size:1rem;

    color:#f59e0b;

}

.idea-description{

    color:var(--text-light);

    margin-bottom:1.4rem;

    line-height:1.7;

}

/* =====================================================
   PROJECT META
===================================================== */

.meta-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:1rem;

    margin-top:1rem;

}

.meta-card{

    border:1px solid var(--border);

    border-radius:12px;

    padding:1rem;

    background:#f9fbfd;

}

.meta-card h5{

    margin-bottom:.4rem;

    font-size:.85rem;

    color:var(--text-light);

    text-transform:uppercase;

    letter-spacing:.5px;

}

.meta-card p{

    font-weight:600;

}

/* =====================================================
   OPEN BUTTON
===================================================== */

.idea-button{

    width:100%;

    margin-top:1.8rem;

    border:none;

    background:var(--primary);

    color:white;

    border-radius:12px;

    padding:.95rem;

    cursor:pointer;

    font-weight:600;

    transition:var(--transition);

}

.idea-button:hover{

    background:var(--primary-dark);

}
/* =====================================================
   RE:BOOT
   Repurpose Studio
   Part 3
===================================================== */

/* ===============================
   PROJECT DETAILS
================================ */

.details{

    padding:0 0 5rem;

}

#projectDetails{

    min-height:320px;

}

#projectDetails h2{

    font-size:2rem;

    margin-bottom:1rem;

}

#projectDetails p{

    color:var(--text-light);

    margin-bottom:1rem;

}

.project-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:1rem;

    margin-top:2rem;

}

.project-box{

    background:#f8fafc;

    border:1px solid var(--border);

    border-radius:14px;

    padding:1rem;

}

.project-box h4{

    font-size:.9rem;

    color:var(--text-light);

    margin-bottom:.5rem;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.project-box p{

    color:var(--text);

    font-weight:600;

    margin:0;

}

/* ===============================
   FEATURE GRID
================================ */

.why-section{

    padding:2rem 0 5rem;

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:1.5rem;

    margin-top:2rem;

}

.feature-card{

    border:1px solid var(--border);

    border-radius:16px;

    background:#f8fafc;

    padding:1.5rem;

    transition:var(--transition);

}

.feature-card:hover{

    transform:translateY(-5px);

    box-shadow:var(--shadow-sm);

}

.feature-card h3{

    margin-bottom:.8rem;

    font-size:1.1rem;

}

.feature-card p{

    color:var(--text-light);

}

/* ===============================
   FOOTER
================================ */

footer{

    background:#111827;

    color:white;

    margin-top:3rem;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:2rem;

    padding:2.5rem 0;

}

.footer-content h3{

    margin-bottom:.5rem;

}

.footer-content p{

    color:#d1d5db;

}

/* ===============================
   UTILITIES
================================ */

.hidden{

    display:none !important;

}

.fade-in{

    animation:fadeIn .5s ease;

}

/* ===============================
   ANIMATIONS
================================ */

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(18px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

@keyframes pop{

    from{

        transform:scale(.96);
        opacity:0;

    }

    to{

        transform:scale(1);
        opacity:1;

    }

}

/* ===============================
   SCROLLBAR
================================ */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

::-webkit-scrollbar-thumb{

    background:#cbd5e1;

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#94a3b8;

}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width:992px){

    .hero h1{

        font-size:2.7rem;

    }

    .summary-grid{

        grid-template-columns:1fr;

    }

    .footer-content{

        flex-direction:column;
        align-items:flex-start;

    }

}

@media (max-width:768px){

    .nav-wrapper{

        flex-direction:column;

        height:auto;

        padding:1rem 0;

        gap:1rem;

    }

    nav{

        gap:1rem;

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero{

        padding:4rem 0 2rem;

    }

    .hero h1{

        font-size:2.2rem;

    }

    .component-list{

        grid-template-columns:1fr;

    }

    .ideas-grid{

        grid-template-columns:1fr;

    }

    .meta-grid{

        grid-template-columns:1fr;

    }

    .feature-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:480px){

    .container{

        width:94%;

    }

    .card{

        padding:1.3rem;

    }

    .hero h1{

        font-size:1.9rem;

    }

    .section-title h2{

        font-size:1.8rem;

    }

    #projectDetails h2{

        font-size:1.5rem;

    }

}