* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f5efe6, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
}

.card{
    width: 90%;
    max-width: 420px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.badge {
    display: inline-block;
    padding: 7px 14px;
    background: #f1e2d0;
    color: #7a4a24;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

h1 {
    margin: 5px 0;
    color: #222;
    font-size: 28px;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}

.steps {
    background: #faf7f3;
    padding: 14px;
    border-radius: 16px;
    text-align: left;
    color: #444;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.8;
}

textarea {
    width: 100%;
    height: 140px;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 16px;
    resize: none;
    font-size: 15px;
    outline: none;
    background: #fcfcfc;
    margin-bottom: 10px;
}

textarea:focus {
    border-color: #8b5e3c;
    background: white;
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 11px;
    border: none;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.copy {
    background: #222;
    color: white;
}

.review {
    background: #0f9d58;
    color: white;
}

.generate {
    background: #8b5e3c;
    color: white;
}

.whatsapp {
    background: #25D366;
    color: white;
}

button:hover {
    opacity: 0.92;
}

a {
    text-decoration: none;
}

#toast {
    display: none;
    margin-top: 14px;
    background: #e9f8ef;
    color: #0f7a3a;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
}

.logo{
    width:140px;
    max-width:70%;
    height:auto;
    display:block;
    margin:0 auto 16px;
    cursor:pointer;
    transition:0.3s;
}

.logo:hover{
    transform:scale(1.05);
}

.card {
    width: 100%;
    max-width: 380px;
    padding: 24px;
}

textarea {
    height: 160px;
    font-size: 16px;
}

button {
    padding: 16px;
    font-size: 16px;
}

.website{
    background:#f5f5f5;
    color:#222;
    border:1px solid #ddd;
}

@media (max-width: 768px){

    body{
        padding: 10px;
    }

    .card{
        width: 95%;
        max-width: none;
        padding: 20px;
    }

    h1{
        font-size: 28px;
    }

    textarea{
        width: 100%;
        min-height: 140px;
        font-size: 16px;
    }

    button{
        width: 100%;
        padding: 14px;
        font-size: 16px;
        margin-top: 10px;
    }

    .logo{
        width: 120px;
    }
}