/* =====================================================

   AI PROMPT STUDIO
   Production Quality CSS

   Font:
   Google Font Prompt

===================================================== */



/* =========================
   GLOBAL RESET
========================= */


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Prompt', sans-serif;

}



html {

    scroll-behavior: smooth;

}



body {

    background: #f5f7fb;

    color: #1f2937;

    line-height: 1.6;

}



a {

    text-decoration: none;

    color: inherit;

}



button,

textarea,

input {

    font-family: 'Prompt', sans-serif;

}





/* =========================
   HEADER
========================= */


.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 80px;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(10px);

    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0,0,0,0.08);

}



.header-container {

    max-width: 1200px;

    height: 100%;

    margin: auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}





/* LOGO */


.logo {

    font-size: 24px;

    font-weight: 600;

    color: #111827;

    letter-spacing: .5px;

}





/* NAVIGATION */


.nav-menu {

    display: flex;

    align-items: center;

    gap: 35px;

}



.nav-menu a {

    font-size: 16px;

    font-weight: 400;

    color: #374151;

    transition: .3s;

}



.nav-menu a:hover {

    color: #2563eb;

}





/* HAMBURGER */


.hamburger {

    display: none;

    width: 45px;

    height: 45px;

    border: none;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    gap: 6px;

}



.hamburger span {

    display: block;

    width: 28px;

    height: 3px;

    background: #111827;

    border-radius: 10px;

    transition: .3s;

}





/* =========================
   HERO SECTION
========================= */


.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

    linear-gradient(

        135deg,

        #111827,

        #2563eb

    );

    overflow: hidden;

}



.hero-overlay {

    position: absolute;

    inset: 0;

    background:

    rgba(0,0,0,.35);

}



.hero-content {

    position: relative;

    z-index: 2;

    max-width: 900px;

    text-align: center;

    padding: 30px;

    color:white;

}



.hero-content h1 {

    font-size: clamp(40px,5vw,70px);

    line-height: 1.15;

    font-weight: 700;

    margin-bottom: 25px;

}



.hero-content p {

    font-size: 20px;

    font-weight: 300;

    max-width: 650px;

    margin:0 auto 40px;

}



.hero-button {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 40px;

    background:white;

    color:#2563eb;

    border-radius:50px;

    font-size:18px;

    font-weight:500;

    transition:.3s;

}



.hero-button:hover {

    transform:translateY(-3px);

}
/* =========================
   MAIN STUDIO SECTION
========================= */


.studio-section {

    padding: 100px 20px;

}



.container {

    width:100%;

    max-width:900px;

    margin:0 auto;

}





/* =========================
   STUDIO HEADER
========================= */


.studio-header {

    text-align:center;

    margin-bottom:40px;

}



.studio-header h2 {

    font-size:36px;

    font-weight:600;

    color:#111827;

    margin-bottom:10px;

}



.studio-header p {

    color:#6b7280;

    font-size:17px;

}





/* =========================
   FORM CARD
========================= */


#promptForm {

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:

    0 20px 50px rgba(0,0,0,.08);

}





/* =========================
   FORM GROUP
========================= */


.form-group {

    margin-bottom:30px;

}



label.title {

    display:block;

    font-size:18px;

    font-weight:500;

    color:#111827;

    margin-bottom:15px;

}





/* =========================
   RADIO GROUP
========================= */


.radio-group {

    display:flex;

    flex-wrap:wrap;

    gap:25px;

}



.radio-group label {

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 20px;

    border:1px solid #e5e7eb;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;

    background:#fafafa;

}



.radio-group label:hover {

    border-color:#2563eb;

    background:#eff6ff;

}



.radio-group input {

    width:18px;

    height:18px;

    accent-color:#2563eb;

}





/* =========================
   TEXTAREA
========================= */


textarea {

    width:100%;

    min-height:130px;

    padding:18px;

    border:1px solid #d1d5db;

    border-radius:14px;

    resize:vertical;

    font-size:15px;

    color:#374151;

    background:#fff;

    transition:.3s;

}



textarea:focus {

    outline:none;

    border-color:#2563eb;

    box-shadow:

    0 0 0 4px rgba(37,99,235,.12);

}





/* =========================
   COUNTER
========================= */


.counter {

    text-align:right;

    margin-top:8px;

    font-size:13px;

    color:#9ca3af;

}





/* =========================
   BUTTON AREA
========================= */


.buttons {

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:35px;

}



.buttons button {

    flex:1;

    min-width:180px;

    padding:15px 25px;

    border:none;

    border-radius:12px;

    font-size:16px;

    font-weight:500;

    cursor:pointer;

    transition:.3s;

}





.buttons button:hover {

    transform:translateY(-2px);

}





.btn-generate {

    background:#2563eb;

    color:white;

}



.btn-copy {

    background:#16a34a;

    color:white;

}



.btn-clear {

    background:#6b7280;

    color:white;

}





/* =========================
   RESULT AREA
========================= */


.result-container {

    margin-top:40px;

}



.result-box {

    min-height:350px;

    background:#111827;

    color:#f9fafb;

    font-size:15px;

    line-height:1.8;

}



.result-box::placeholder {

    color:#9ca3af;

}
/* =========================
   ABOUT SECTION
========================= */


.about-section {

    padding:80px 20px;

    background:#ffffff;

    text-align:center;

}



.about-section h2 {

    font-size:32px;

    font-weight:600;

    margin-bottom:20px;

}



.about-section p {

    max-width:700px;

    margin:auto;

    color:#6b7280;

    font-size:17px;

}





/* =========================
   FOOTER
========================= */


.footer {

    background:#111827;

    color:white;

    text-align:center;

    padding:25px 20px;

    font-size:14px;

}





/* =========================
   MOBILE MENU
========================= */


@media(max-width:768px){



    .header {

        height:70px;

    }



    .header-container {

        padding:0 20px;

    }



    .logo {

        font-size:20px;

    }





    .nav-menu {

        position:absolute;

        top:70px;

        left:0;

        width:100%;

        background:white;

        flex-direction:column;

        gap:0;

        padding:20px 0;

        box-shadow:

        0 10px 30px rgba(0,0,0,.1);

        transform:translateY(-150%);

        opacity:0;

        pointer-events:none;

        transition:.35s;

    }



    .nav-menu.active {

        transform:translateY(0);

        opacity:1;

        pointer-events:auto;

    }



    .nav-menu a {

        width:100%;

        text-align:center;

        padding:15px;

    }





    .hamburger {

        display:flex;

    }



    .hamburger.active span:nth-child(1){

        transform:translateY(9px) rotate(45deg);

    }



    .hamburger.active span:nth-child(2){

        opacity:0;

    }



    .hamburger.active span:nth-child(3){

        transform:translateY(-9px) rotate(-45deg);

    }







    .hero-content {

        padding:20px;

    }



    .hero-content h1 {

        font-size:42px;

    }



    .hero-content p {

        font-size:16px;

    }





    #promptForm {

        padding:25px 20px;

        border-radius:15px;

    }





    .studio-section {

        padding:70px 15px;

    }





    .studio-header h2 {

        font-size:28px;

    }





    .radio-group {

        flex-direction:column;

        gap:12px;

    }





    .radio-group label {

        width:100%;

    }





    .buttons {

        flex-direction:column;

    }





    .buttons button {

        width:100%;

        min-width:0;

    }



}







/* =========================
   SMALL MOBILE
========================= */


@media(max-width:480px){



    .hero-content h1 {

        font-size:34px;

    }



    .hero-content p {

        font-size:15px;

    }



    .hero-button {

        width:100%;

        padding:14px;

    }



    textarea {

        min-height:110px;

        font-size:14px;

    }



    .studio-header h2 {

        font-size:24px;

    }



}







/* =========================
   ANIMATION
========================= */


@keyframes fadeUp {


    from {

        opacity:0;

        transform:translateY(30px);

    }


    to {

        opacity:1;

        transform:translateY(0);

    }


}



.hero-content {

    animation:fadeUp 1s ease forwards;

}





/* =========================
   ACCESSIBILITY
========================= */


button:focus-visible,

a:focus-visible,

textarea:focus-visible,

input:focus-visible {

    outline:3px solid rgba(37,99,235,.35);

    outline-offset:3px;

}