body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Flexbox wrapper to handle layout flow */
.s-pagewrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Base: Mobile Layout */
.ama-main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem; 
}

.ama-card {
    width: 100%;
    max-width: 500px; 
}

/* Typography Base (Mobile) */
.ama-header {
    margin-bottom: 2.5rem;
}
.ama-header h2 {
    margin-bottom: 0.8rem; 
    color: var(--color-1); 
    font-size: 1.3rem; 
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}
.ama-header h1 {
    margin-bottom: 1rem; 
    line-height: 1.1;
    font-size: 3.2rem; 
}
.ama-header p {
    color: rgba(255, 255, 255, 0.5); 
    font-size: 1.5rem; 
    line-height: 1.6; 
    margin-bottom: 0;
}

/* Form Field (Mobile) */
.form-field {
    margin-bottom: 2rem; 
}
.form-field label {
    font-size: 1.6rem; 
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.45); 
    font-weight: 500;
    display: block;
}

/* Input & Textarea (Brutalist Base) */
textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    transition: all 0.3s ease-in-out;
    border-radius: 0 !important; 
    padding: 1.4rem 1.6rem !important; 
    height: 140px; 
    font-size: 1.6rem !important; 
    resize: vertical;
}
textarea:focus {
    border-color: var(--color-1) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    outline: none;
}

/* Brutalist Buttons (Fixed Hover) */
.btn, .btn--primary, .btn--stroke {
    border-radius: 0 !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 1.6rem 2rem; 
    font-size: 1.3rem; 
    letter-spacing: 0.1rem;
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent;
}

.btn--primary {
    background-color: var(--color-1);
    color: #000000;
}
.btn--primary:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn--stroke {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.6);
}

/* 🚨 FIX: Kontras hover untuk tombol stroke biar nggak "putih semua" */
.btn--stroke:hover,
.btn--stroke:focus {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important; /* Teks jadi hitam pas background putih */
}

/* Redirect for Serious Feedback */
.ama-redirect {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.392);
    line-height: 1.5;
}
.ama-redirect a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.ama-redirect a:hover {
    color: var(--color-1);
    border-bottom-color: var(--color-1);
}

/* Success State */
.success-state {
    display: none;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3rem 2rem; 
    border-radius: 0;
    animation: fadeIn 0.4s ease;
}
.success-state h3 { color: #ffffff; margin-bottom: 0.8rem; font-size: 2.8rem; }
.success-state p { color: rgba(255, 255, 255, 0.5); font-size: 1.6rem; line-height: 1.6; margin-bottom: 2.5rem; }

/* Logic & Security */
.bot-field { display: none !important; position: absolute; left: -9999px; opacity: 0; }
.btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

/* Desktop Scaling */
@media screen and (min-width: 600px) {
    .ama-main-content {
        padding: 4rem 2rem;
    }
    .ama-header {
        margin-bottom: 4rem;
    }
    .ama-header h1 {
        font-size: 5.2rem; 
    }
    .ama-header p {
        font-size: 1.6rem;
    }
    .form-field {
        margin-bottom: 3rem; 
    }
    textarea {
        padding: 2rem 2.2rem !important; 
        height: 180px; 
    }
    .btn, .btn--primary, .btn--stroke {
        padding: 2rem 2.4rem;
        font-size: 1.5rem;
    }
    .success-state {
        padding: 4rem 3.5rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }