/* =====================================================
   GOOGLE FONT
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
   RESET
===================================================== */

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

:root{

    --primary:#7c3aed;
    --secondary:#22d3ee;

    --bg:#08111f;

    --card:rgba(255,255,255,.05);

    --border:rgba(255,255,255,.08);

    --text:#ffffff;

    --text2:#b8c3d4;

    --shadow:
        0 20px 60px rgba(0,0,0,.35);

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Poppins",sans-serif;

    color:var(--text);

    background:
        radial-gradient(circle at top left,#5b21b6 0%,transparent 35%),
        radial-gradient(circle at bottom right,#0891b2 0%,transparent 30%),
        linear-gradient(135deg,#08111f,#111827);

    min-height:100vh;

    overflow-x:hidden;

}

/* =====================================================
   BACKGROUND BLUR
===================================================== */

.blur{

    position:fixed;

    width:340px;

    height:340px;

    border-radius:50%;

    filter:blur(120px);

    opacity:.35;

    z-index:-1;

}

.blur1{

    background:#7c3aed;

    left:-120px;

    top:-80px;

}

.blur2{

    background:#06b6d4;

    right:-120px;

    bottom:-100px;

}

/* =====================================================
   CONTAINER
===================================================== */

.container{

    width:92%;

    max-width:1400px;

    margin:auto;

    padding:35px 0 40px;

}

/* =====================================================
   HERO
===================================================== */

.hero{

    display:grid;

    grid-template-columns:1.5fr 1fr;

    gap:40px;

    margin-bottom:35px;

    align-items:center;

}

/* =====================================================
   BADGE
===================================================== */

.badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    border-radius:999px;

    padding:10px 18px;

    font-size:14px;

    margin-bottom:22px;

    backdrop-filter:blur(15px);

}

/* =====================================================
   TITLE
===================================================== */

.hero h1{

    font-size:72px;

    line-height:1.05;

    font-weight:800;

    margin-bottom:20px;

}

.gradient{

    background:linear-gradient(90deg,#60a5fa,#d946ef);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero p{

    max-width:760px;

    color:var(--text2);

    line-height:1.9;

    font-size:20px;

}

/* =====================================================
   HERO RIGHT
===================================================== */

.hero-right{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

}

/* =====================================================
   MINI CARD
===================================================== */

.mini-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    backdrop-filter:blur(16px);

    padding:30px 18px;

    text-align:center;

    transition:.35s;

    box-shadow:var(--shadow);

}

.mini-card:hover{

    transform:translateY(-6px);

    border-color:#7c3aed;

}

.mini-card i{

    font-size:32px;

    color:#a855f7;

    margin-bottom:18px;

}

.mini-card h2{

    font-size:36px;

    font-weight:700;

    margin-bottom:10px;

}

.mini-card span{

    display:block;

    color:#cbd5e1;

    line-height:1.6;

    font-size:15px;

}

/* =====================================================
   GRID
===================================================== */

.grid{

    display:grid;

    grid-template-columns:560px 1fr;

    gap:25px;

    margin-bottom:30px;

}

/* =====================================================
   CARD
===================================================== */

.card{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:26px;

    backdrop-filter:blur(18px);

    box-shadow:0 20px 60px rgba(0,0,0,.35);

    padding:30px;

    animation:fade .5s ease;

}

.card h2{

    font-size:34px;

    margin-bottom:15px;

}

.desc{

    color:#b8c3d4;

    line-height:1.8;

    margin-bottom:25px;

}

/* =====================================================
   ANIMATION
===================================================== */

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ======================================
   HERO LEFT
====================================== */

.hero-left{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.hero-left .badge{

    width:fit-content;

}

/* ======================================
   HERO TITLE
====================================== */

.hero-left h1{

    font-size:68px;

    font-weight:800;

    line-height:1.1;

    margin-bottom:20px;

}

.gradient{

    background:linear-gradient(
        90deg,
        #60a5fa,
        #c084fc
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero-left p{

    color:#cbd5e1;

    font-size:18px;

    line-height:1.9;

    max-width:700px;

}

/* ======================================
   HERO RIGHT
====================================== */

.hero-right{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

    align-items:stretch;

}

/* ======================================
   MINI CARD
====================================== */

.mini-card{

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border-radius:22px;

    padding:28px 18px;

    text-align:center;

    transition:.35s;

    box-shadow:0 12px 35px rgba(0,0,0,.25);

}

.mini-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;

    box-shadow:0 20px 40px rgba(124,58,237,.35);

}

.mini-card i{

    font-size:30px;

    color:#a855f7;

    margin-bottom:15px;

}

.mini-card h2{

    font-size:32px;

    margin-bottom:8px;

}

.mini-card span{

    color:#cbd5e1;

    font-size:14px;

    line-height:1.6;

}

/* ======================================
   HERO ANIMATION
====================================== */

.hero-left{

    animation:slideLeft .8s ease;

}

.hero-right{

    animation:slideRight .8s ease;

}

@keyframes slideLeft{

    from{

        opacity:0;

        transform:translateX(-40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes slideRight{

    from{

        opacity:0;

        transform:translateX(40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/* ======================================
   RESPONSIVE HERO
====================================== */

@media(max-width:1100px){

.hero{

    grid-template-columns:1fr;

}

.hero-right{

    margin-top:20px;

}

}

@media(max-width:768px){

.hero-left h1{

    font-size:46px;

}

.hero-left p{

    font-size:16px;

}

.hero-right{

    grid-template-columns:1fr;

}

}

/* =====================================================
   FORM
===================================================== */

.form-group{

    margin-bottom:22px;

}

label{

    display:block;

    margin-bottom:10px;

    font-weight:600;

    font-size:15px;

    color:#f8fafc;

}

.input-wrapper{

    position:relative;

}

.input-wrapper span{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#94a3b8;

    font-weight:600;

}

.input-wrapper input{

    padding-left:55px;

}

input,
select{

    width:100%;

    height:56px;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.08);

    background:rgba(15,23,42,.7);

    color:white;

    font-size:15px;

    padding:0 18px;

    outline:none;

    transition:.3s;

}

select{

    cursor:pointer;

}

input::placeholder{

    color:#94a3b8;

}

input:focus,
select:focus{

    border-color:#7c3aed;

    box-shadow:
        0 0 0 4px rgba(124,58,237,.15);

}

/* =====================================================
   BUTTON
===================================================== */

.button-group{

    display:flex;

    gap:15px;

    margin-top:30px;

}

.button-group button{

    flex:1;

    height:56px;

    border:none;

    border-radius:16px;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.35s;

}

#generateBtn{

    background:linear-gradient(
        135deg,
        #7c3aed,
        #2563eb
    );

    color:white;

}

#generateBtn:hover{

    transform:translateY(-4px);

    box-shadow:
        0 15px 30px rgba(124,58,237,.35);

}

#fillExampleBtn{

    background:rgba(255,255,255,.08);

    color:white;

    border:1px solid rgba(255,255,255,.08);

}

#fillExampleBtn:hover{

    background:#334155;

}

/* =====================================================
   OUTPUT CARD
===================================================== */

.output-card{

    display:flex;

    flex-direction:column;

    min-height:760px;

}

.output-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}

.output-header h2{

    font-size:26px;

}

.copy-btn{

    border:none;

    background:#16a34a;

    color:white;

    padding:12px 18px;

    border-radius:12px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.copy-btn:hover{

    background:#15803d;

}

/* =====================================================
   RESULT BOX
===================================================== */

.result-box{

    flex:1;

    overflow-y:auto;

    background:#0f172a;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.05);

    padding:25px;

    min-height:500px;

}

.result-box::-webkit-scrollbar{

    width:10px;

}

.result-box::-webkit-scrollbar-thumb{

    background:#7c3aed;

    border-radius:30px;

}

.result-box::-webkit-scrollbar-track{

    background:#111827;

}

/* =====================================================
   PLACEHOLDER
===================================================== */

.placeholder{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    height:100%;

    color:#94a3b8;

    text-align:center;

}

.placeholder i{

    font-size:70px;

    color:#8b5cf6;

    margin-bottom:20px;

}

.placeholder h3{

    margin-bottom:10px;

    color:white;

}

/* =====================================================
   AI CARD
===================================================== */

.ai-card{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.ai-title{

    color:#60a5fa;

    font-size:19px;

    font-weight:700;

}

.ai-card p{

    color:#e2e8f0;

    line-height:1.8;

}

.ai-card hr{

    border:none;

    border-top:1px solid rgba(255,255,255,.08);

}

/* =====================================================
   STATS
===================================================== */

.stats-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin:20px 0;

}

.stat-box{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.05);

    border-radius:16px;

    padding:18px;

}

.stat-box h4{

    color:#94a3b8;

    font-size:14px;

    margin-bottom:8px;

}

.stat-box p{

    font-size:20px;

    font-weight:700;

}

/* =====================================================
   SWOT
===================================================== */

.swot-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

    margin-top:20px;

}

.swot-item{

    background:rgba(255,255,255,.04);

    border-radius:16px;

    padding:18px;

}

.swot-item h4{

    margin-bottom:12px;

    font-size:16px;

}

.swot-item:nth-child(1){

    border-left:5px solid #22c55e;

}

.swot-item:nth-child(2){

    border-left:5px solid #ef4444;

}

.swot-item:nth-child(3){

    border-left:5px solid #3b82f6;

}

.swot-item:nth-child(4){

    border-left:5px solid #f59e0b;

}

.swot-item p{

    color:#cbd5e1;

    line-height:1.7;

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:900px){

.stats-grid{

    grid-template-columns:1fr;

}

.swot-grid{

    grid-template-columns:1fr;

}

.button-group{

    flex-direction:column;

}

}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.tags span {
    padding: 10px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.tags span:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}